Skip to content

Commit

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

The following keys were changed:
- schemas.DocumentationRule.properties.description.description
- schemas.MonitoredResourceDescriptor.properties.type.description

#### serviceusage:v1

The following keys were changed:
- schemas.DocumentationRule.properties.description.description
- schemas.MonitoredResourceDescriptor.properties.type.description
  • Loading branch information
yoshi-automation authored and bcoe committed Aug 6, 2021
1 parent e84feac commit 5a48659
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions discovery/serviceusage-v1.json
Expand Up @@ -426,7 +426,7 @@
}
}
},
"revision": "20210707",
"revision": "20210804",
"rootUrl": "https://serviceusage.googleapis.com/",
"schemas": {
"AdminQuotaPolicy": {
Expand Down Expand Up @@ -1000,7 +1000,7 @@
"type": "string"
},
"description": {
"description": "The description is the comment in front of the selected proto element, such as a message, a method, a 'service' definition, or a field.",
"description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.",
"type": "string"
},
"selector": {
Expand Down Expand Up @@ -2100,7 +2100,7 @@
"type": "string"
},
"type": {
"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL.",
"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).",
"type": "string"
}
},
Expand Down
6 changes: 3 additions & 3 deletions discovery/serviceusage-v1beta1.json
Expand Up @@ -959,7 +959,7 @@
}
}
},
"revision": "20210707",
"revision": "20210804",
"rootUrl": "https://serviceusage.googleapis.com/",
"schemas": {
"AdminQuotaPolicy": {
Expand Down Expand Up @@ -1565,7 +1565,7 @@
"type": "string"
},
"description": {
"description": "The description is the comment in front of the selected proto element, such as a message, a method, a 'service' definition, or a field.",
"description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.",
"type": "string"
},
"selector": {
Expand Down Expand Up @@ -2783,7 +2783,7 @@
"type": "string"
},
"type": {
"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL.",
"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).",
"type": "string"
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/apis/serviceusage/v1.ts
Expand Up @@ -533,7 +533,7 @@ export namespace serviceusage_v1 {
*/
deprecationDescription?: string | null;
/**
* The description is the comment in front of the selected proto element, such as a message, a method, a 'service' definition, or a field.
* Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.
*/
description?: string | null;
/**
Expand Down Expand Up @@ -1260,7 +1260,7 @@ export namespace serviceusage_v1 {
*/
name?: string | null;
/**
* Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
* Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).
*/
type?: string | null;
}
Expand Down
4 changes: 2 additions & 2 deletions src/apis/serviceusage/v1beta1.ts
Expand Up @@ -569,7 +569,7 @@ export namespace serviceusage_v1beta1 {
*/
deprecationDescription?: string | null;
/**
* The description is the comment in front of the selected proto element, such as a message, a method, a 'service' definition, or a field.
* Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.
*/
description?: string | null;
/**
Expand Down Expand Up @@ -1369,7 +1369,7 @@ export namespace serviceusage_v1beta1 {
*/
name?: string | null;
/**
* Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
* Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. For a list of types, see [Monitoring resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).
*/
type?: string | null;
}
Expand Down

0 comments on commit 5a48659

Please sign in to comment.