Skip to content

Commit

Permalink
feat(serviceconsumermanagement)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### serviceconsumermanagement:v1
The following keys were deleted:
- schemas.Endpoint.properties.features.description
- schemas.Endpoint.properties.features.items.type
- schemas.Endpoint.properties.features.type

#### serviceconsumermanagement:v1beta1
The following keys were deleted:
- schemas.Endpoint.properties.features.description
- schemas.Endpoint.properties.features.items.type
- schemas.Endpoint.properties.features.type

The following keys were added:
- schemas.V1Beta1ConsumerQuotaMetric.properties.unit.description
- schemas.V1Beta1ConsumerQuotaMetric.properties.unit.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 10, 2020
1 parent 9d9db0f commit a294350
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 25 deletions.
9 changes: 1 addition & 8 deletions discovery/serviceconsumermanagement-v1.json
Expand Up @@ -542,7 +542,7 @@
}
}
},
"revision": "20200603",
"revision": "20200606",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"AddTenantProjectRequest": {
Expand Down Expand Up @@ -1074,13 +1074,6 @@
"description": "Allowing\n[CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the backends served from this endpoint to\nreceive and respond to HTTP OPTIONS requests. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.",
"type": "boolean"
},
"features": {
"description": "The list of features enabled on this endpoint.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The canonical name of this endpoint.",
"type": "string"
Expand Down
13 changes: 5 additions & 8 deletions discovery/serviceconsumermanagement-v1beta1.json
Expand Up @@ -437,7 +437,7 @@
}
}
},
"revision": "20200603",
"revision": "20200606",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"Api": {
Expand Down Expand Up @@ -881,13 +881,6 @@
"description": "Allowing\n[CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the backends served from this endpoint to\nreceive and respond to HTTP OPTIONS requests. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.",
"type": "boolean"
},
"features": {
"description": "The list of features enabled on this endpoint.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The canonical name of this endpoint.",
"type": "string"
Expand Down Expand Up @@ -2165,6 +2158,10 @@
"name": {
"description": "The resource name of the quota settings on this metric for this consumer.\n\nAn example name would be:\n`services/serviceconsumermanagement.googleapis.com/projects/123/quota/metrics/compute.googleapis.com%2Fcpus\n\nThe resource name is intended to be opaque and should not be parsed for\nits component strings, since its representation could change in the future.",
"type": "string"
},
"unit": {
"description": "The units in which the metric value is reported.",
"type": "string"
}
},
"type": "object"
Expand Down
4 changes: 0 additions & 4 deletions src/apis/serviceconsumermanagement/v1.ts
Expand Up @@ -525,10 +525,6 @@ export namespace serviceconsumermanagement_v1 {
* Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.
*/
allowCors?: boolean | null;
/**
* The list of features enabled on this endpoint.
*/
features?: string[] | null;
/**
* The canonical name of this endpoint.
*/
Expand Down
11 changes: 6 additions & 5 deletions src/apis/serviceconsumermanagement/v1beta1.ts
Expand Up @@ -451,10 +451,6 @@ export namespace serviceconsumermanagement_v1beta1 {
* Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.
*/
allowCors?: boolean | null;
/**
* The list of features enabled on this endpoint.
*/
features?: string[] | null;
/**
* The canonical name of this endpoint.
*/
Expand Down Expand Up @@ -1330,6 +1326,10 @@ export namespace serviceconsumermanagement_v1beta1 {
* The resource name of the quota settings on this metric for this consumer. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/quota/metrics/compute.googleapis.com%2Fcpus The resource name is intended to be opaque and should not be parsed for its component strings, since its representation could change in the future.
*/
name?: string | null;
/**
* The units in which the metric value is reported.
*/
unit?: string | null;
}
/**
* A default identity in the Identity and Access Management API.
Expand Down Expand Up @@ -1825,7 +1825,8 @@ export namespace serviceconsumermanagement_v1beta1 {
* // "consumerQuotaLimits": [],
* // "displayName": "my_displayName",
* // "metric": "my_metric",
* // "name": "my_name"
* // "name": "my_name",
* // "unit": "my_unit"
* // }
* }
*
Expand Down

0 comments on commit a294350

Please sign in to comment.