Skip to content

Commit

Permalink
fix(monitoring): update the API
Browse files Browse the repository at this point in the history
#### monitoring:v3

The following keys were changed:
- resources.folders.resources.timeSeries.methods.list.parameters.name.description
- resources.organizations.resources.timeSeries.methods.list.parameters.name.description
- resources.projects.resources.alertPolicies.methods.create.parameters.name.description
- resources.projects.resources.alertPolicies.methods.list.parameters.name.description
- resources.projects.resources.collectdTimeSeries.methods.create.parameters.name.description
- resources.projects.resources.groups.methods.create.parameters.name.description
- resources.projects.resources.groups.methods.list.parameters.name.description
- resources.projects.resources.metricDescriptors.methods.create.parameters.name.description
- resources.projects.resources.metricDescriptors.methods.list.parameters.name.description
- resources.projects.resources.monitoredResourceDescriptors.methods.list.parameters.name.description
- resources.projects.resources.notificationChannelDescriptors.methods.list.parameters.name.description
- resources.projects.resources.notificationChannels.methods.create.parameters.name.description
- resources.projects.resources.notificationChannels.methods.list.parameters.name.description
- resources.projects.resources.timeSeries.methods.create.parameters.name.description
- resources.projects.resources.timeSeries.methods.list.parameters.name.description
- resources.projects.resources.timeSeries.methods.query.parameters.name.description
- resources.projects.resources.uptimeCheckConfigs.methods.create.parameters.parent.description
- resources.projects.resources.uptimeCheckConfigs.methods.list.parameters.parent.description
- resources.services.methods.create.parameters.parent.description
- resources.services.methods.list.parameters.parent.description
- schemas.TimeSeries.properties.resource.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent 689689d commit d6e98b3
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 63 deletions.
44 changes: 22 additions & 22 deletions discovery/monitoring-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"type": "string"
},
"name": {
"description": "Required. The project, organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name), organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] ",
"location": "path",
"pattern": "^folders/[^/]+$",
"required": true,
Expand Down Expand Up @@ -514,7 +514,7 @@
"type": "string"
},
"name": {
"description": "Required. The project, organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name), organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] ",
"location": "path",
"pattern": "^organizations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -674,7 +674,7 @@
],
"parameters": {
"name": {
"description": "Required. The project in which to create the alerting policy. The format is: projects/[PROJECT_ID_OR_NUMBER] Note that this field names the parent container in which the alerting policy will be written, not the name of the created policy. |name| must be a host project of a workspace, otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned will have a name that contains a normalized representation of this name as a prefix but adds a suffix of the form /alertPolicies/[ALERT_POLICY_ID], identifying the policy in the container.",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create the alerting policy. The format is: projects/[PROJECT_ID_OR_NUMBER] Note that this field names the parent container in which the alerting policy will be written, not the name of the created policy. |name| must be a host project of a workspace, otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned will have a name that contains a normalized representation of this name as a prefix but adds a suffix of the form /alertPolicies/[ALERT_POLICY_ID], identifying the policy in the container.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -761,7 +761,7 @@
"type": "string"
},
"name": {
"description": "Required. The project whose alert policies are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER] Note that this field names the parent container in which the alerting policies to be listed are stored. To retrieve a single alerting policy by name, use the GetAlertPolicy operation, instead.",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) whose alert policies are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER] Note that this field names the parent container in which the alerting policies to be listed are stored. To retrieve a single alerting policy by name, use the GetAlertPolicy operation, instead.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -843,7 +843,7 @@
],
"parameters": {
"name": {
"description": "The project in which to create the time series. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create the time series. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -877,7 +877,7 @@
],
"parameters": {
"name": {
"description": "Required. The project in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -984,7 +984,7 @@
"type": "string"
},
"name": {
"description": "Required. The project whose groups are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) whose groups are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1121,7 +1121,7 @@
],
"parameters": {
"name": {
"description": "Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: 4 projects/PROJECT_ID_OR_NUMBER",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1210,7 +1210,7 @@
"type": "string"
},
"name": {
"description": "Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1286,7 +1286,7 @@
"type": "string"
},
"name": {
"description": "Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1356,7 +1356,7 @@
],
"parameters": {
"name": {
"description": "Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this names the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.",
"description": "Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this names (https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1398,7 +1398,7 @@
],
"parameters": {
"name": {
"description": "Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container into which the channel will be written, this does not name the newly created channel. The resulting channel's name will have a normalized version of this field as a prefix, but will add /notificationChannels/[CHANNEL_ID] to identify the channel.",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container into which the channel will be written, this does not name the newly created channel. The resulting channel's name will have a normalized version of this field as a prefix, but will add /notificationChannels/[CHANNEL_ID] to identify the channel.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1519,7 +1519,7 @@
"type": "string"
},
"name": {
"description": "Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the GetNotificationChannel operation.",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the GetNotificationChannel operation.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1659,7 +1659,7 @@
],
"parameters": {
"name": {
"description": "Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1802,7 +1802,7 @@
"type": "string"
},
"name": {
"description": "Required. The project, organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name), organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1954,7 +1954,7 @@
],
"parameters": {
"name": {
"description": "Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1988,7 +1988,7 @@
],
"parameters": {
"parent": {
"description": "Required. The project in which to create the Uptime check. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create the Uptime check. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2081,7 +2081,7 @@
"type": "string"
},
"parent": {
"description": "Required. The project whose Uptime check configurations are listed. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) whose Uptime check configurations are listed. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2149,7 +2149,7 @@
],
"parameters": {
"parent": {
"description": "Required. Resource name of the parent workspace. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"description": "Required. Resource name (https://cloud.google.com/monitoring/api/v3#project_name) of the parent workspace. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^[^/]+/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2252,7 +2252,7 @@
"type": "string"
},
"parent": {
"description": "Required. Resource name of the parent containing the listed services, either a project or a Monitoring Workspace. The formats are: projects/[PROJECT_ID_OR_NUMBER] workspaces/[HOST_PROJECT_ID_OR_NUMBER] ",
"description": "Required. Resource name of the parent containing the listed services, either a project (https://cloud.google.com/monitoring/api/v3#project_name) or a Monitoring Workspace. The formats are: projects/[PROJECT_ID_OR_NUMBER] workspaces/[HOST_PROJECT_ID_OR_NUMBER] ",
"location": "path",
"pattern": "^[^/]+/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2541,7 +2541,7 @@
}
}
},
"revision": "20210322",
"revision": "20210326",
"rootUrl": "https://monitoring.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down Expand Up @@ -4878,7 +4878,7 @@
},
"resource": {
"$ref": "MonitoredResource",
"description": "The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data."
"description": "The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see Monitored resources for custom metrics (https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources)."
},
"unit": {
"description": "The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.",
Expand Down

0 comments on commit d6e98b3

Please sign in to comment.