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:v1beta1

The following keys were deleted:
- schemas.Endpoint.properties.aliases.deprecated

The following keys were added:
- schemas.V1Beta1QuotaBucket.properties.rolloutInfo.$ref
- schemas.V1Beta1QuotaBucket.properties.rolloutInfo.description
- schemas.V1Beta1RolloutInfo.description
- schemas.V1Beta1RolloutInfo.id
- schemas.V1Beta1RolloutInfo.properties.defaultLimitOngoingRollout.description
- schemas.V1Beta1RolloutInfo.properties.defaultLimitOngoingRollout.type
- schemas.V1Beta1RolloutInfo.type

The following keys were changed:
- schemas.Endpoint.properties.aliases.description
- schemas.MethodSettings.properties.longRunning.description
- schemas.MethodSettings.properties.selector.description

#### serviceconsumermanagement:v1

The following keys were deleted:
- schemas.Endpoint.properties.aliases.deprecated

The following keys were changed:
- schemas.Endpoint.properties.aliases.description
- schemas.MethodSettings.properties.longRunning.description
- schemas.MethodSettings.properties.selector.description
  • Loading branch information
yoshi-automation authored and sofisl committed May 2, 2024
1 parent 8b08aa2 commit 8878e94
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 16 deletions.
9 changes: 4 additions & 5 deletions discovery/serviceconsumermanagement-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
}
}
},
"revision": "20231218",
"revision": "20240429",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"AddTenantProjectRequest": {
Expand Down Expand Up @@ -1249,8 +1249,7 @@
"id": "Endpoint",
"properties": {
"aliases": {
"deprecated": true,
"description": "Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on.",
"description": "Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -1826,10 +1825,10 @@
},
"longRunning": {
"$ref": "LongRunning",
"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes"
"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes"
},
"selector": {
"description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.",
"description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...",
"type": "string"
}
},
Expand Down
24 changes: 19 additions & 5 deletions discovery/serviceconsumermanagement-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@
}
}
},
"revision": "20240319",
"revision": "20240429",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"Api": {
Expand Down Expand Up @@ -1119,8 +1119,7 @@
"id": "Endpoint",
"properties": {
"aliases": {
"deprecated": true,
"description": "Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on.",
"description": "Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -1660,10 +1659,10 @@
},
"longRunning": {
"$ref": "LongRunning",
"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes"
"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes"
},
"selector": {
"description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.",
"description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...",
"type": "string"
}
},
Expand Down Expand Up @@ -2872,6 +2871,10 @@
"producerQuotaPolicy": {
"$ref": "V1Beta1ProducerQuotaPolicy",
"description": "Producer policy inherited from the closet ancestor of the current consumer."
},
"rolloutInfo": {
"$ref": "V1Beta1RolloutInfo",
"description": "Rollout information of this quota bucket. This field is present only if the effective limit will change due to the ongoing rollout of the service config."
}
},
"type": "object"
Expand Down Expand Up @@ -2917,6 +2920,17 @@
"properties": {},
"type": "object"
},
"V1Beta1RolloutInfo": {
"description": "[Output only] Rollout information of a quota.",
"id": "V1Beta1RolloutInfo",
"properties": {
"defaultLimitOngoingRollout": {
"description": "Whether there is an ongoing rollout for the default limit or not.",
"type": "boolean"
}
},
"type": "object"
},
"V1Beta1ServiceIdentity": {
"description": "A service identity in the Identity and Access Management API.",
"id": "V1Beta1ServiceIdentity",
Expand Down
20 changes: 17 additions & 3 deletions src/apis/serviceconsumermanagement/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ export namespace serviceconsumermanagement_v1 {
*/
export interface Schema$Endpoint {
/**
* Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on.
* Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.
*/
aliases?: string[] | null;
/**
Expand Down Expand Up @@ -1026,11 +1026,11 @@ export namespace serviceconsumermanagement_v1 {
*/
autoPopulatedFields?: string[] | null;
/**
* Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes
* Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes
*/
longRunning?: Schema$LongRunning;
/**
* The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.
* The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...
*/
selector?: string | null;
}
Expand Down Expand Up @@ -2086,6 +2086,7 @@ export namespace serviceconsumermanagement_v1 {
{
url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2171,6 +2172,7 @@ export namespace serviceconsumermanagement_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2255,6 +2257,7 @@ export namespace serviceconsumermanagement_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2344,6 +2347,7 @@ export namespace serviceconsumermanagement_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2491,6 +2495,7 @@ export namespace serviceconsumermanagement_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2605,6 +2610,7 @@ export namespace serviceconsumermanagement_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2693,6 +2699,7 @@ export namespace serviceconsumermanagement_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2781,6 +2788,7 @@ export namespace serviceconsumermanagement_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2869,6 +2877,7 @@ export namespace serviceconsumermanagement_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2954,6 +2963,7 @@ export namespace serviceconsumermanagement_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3042,6 +3052,7 @@ export namespace serviceconsumermanagement_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3135,6 +3146,7 @@ export namespace serviceconsumermanagement_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3223,6 +3235,7 @@ export namespace serviceconsumermanagement_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3311,6 +3324,7 @@ export namespace serviceconsumermanagement_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down
28 changes: 25 additions & 3 deletions src/apis/serviceconsumermanagement/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ export namespace serviceconsumermanagement_v1beta1 {
*/
export interface Schema$Endpoint {
/**
* Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on.
* Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.
*/
aliases?: string[] | null;
/**
Expand Down Expand Up @@ -926,11 +926,11 @@ export namespace serviceconsumermanagement_v1beta1 {
*/
autoPopulatedFields?: string[] | null;
/**
* Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes
* Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes
*/
longRunning?: Schema$LongRunning;
/**
* The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.
* The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...
*/
selector?: string | null;
}
Expand Down Expand Up @@ -1825,6 +1825,10 @@ export namespace serviceconsumermanagement_v1beta1 {
* Producer policy inherited from the closet ancestor of the current consumer.
*/
producerQuotaPolicy?: Schema$V1Beta1ProducerQuotaPolicy;
/**
* Rollout information of this quota bucket. This field is present only if the effective limit will change due to the ongoing rollout of the service config.
*/
rolloutInfo?: Schema$V1Beta1RolloutInfo;
}
/**
* A quota override
Expand Down Expand Up @@ -1872,6 +1876,15 @@ export namespace serviceconsumermanagement_v1beta1 {
*/
labels?: string[] | null;
}
/**
* [Output only] Rollout information of a quota.
*/
export interface Schema$V1Beta1RolloutInfo {
/**
* Whether there is an ongoing rollout for the default limit or not.
*/
defaultLimitOngoingRollout?: boolean | null;
}
/**
* A service account in the Identity and Access Management API.
*/
Expand Down Expand Up @@ -1991,6 +2004,7 @@ export namespace serviceconsumermanagement_v1beta1 {
{
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2112,6 +2126,7 @@ export namespace serviceconsumermanagement_v1beta1 {
{
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2203,6 +2218,7 @@ export namespace serviceconsumermanagement_v1beta1 {
'/v1beta1/{+parent}/consumerQuotaMetrics:importProducerOverrides'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2298,6 +2314,7 @@ export namespace serviceconsumermanagement_v1beta1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2445,6 +2462,7 @@ export namespace serviceconsumermanagement_v1beta1 {
{
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2553,6 +2571,7 @@ export namespace serviceconsumermanagement_v1beta1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2639,6 +2658,7 @@ export namespace serviceconsumermanagement_v1beta1 {
{
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2735,6 +2755,7 @@ export namespace serviceconsumermanagement_v1beta1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2823,6 +2844,7 @@ export namespace serviceconsumermanagement_v1beta1 {
{
url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
},
options
),
Expand Down

0 comments on commit 8878e94

Please sign in to comment.