Skip to content

Commit

Permalink
feat(servicenetworking)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### servicenetworking:v1beta

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

#### servicenetworking: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 74cb0a2 commit d481dce
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 16 deletions.
9 changes: 4 additions & 5 deletions discovery/servicenetworking-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@
}
}
},
"revision": "20240102",
"revision": "20240430",
"rootUrl": "https://servicenetworking.googleapis.com/",
"schemas": {
"AddDnsRecordSetMetadata": {
Expand Down Expand Up @@ -2091,8 +2091,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 @@ -2790,10 +2789,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
9 changes: 4 additions & 5 deletions discovery/servicenetworking-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
}
}
},
"revision": "20240102",
"revision": "20240430",
"rootUrl": "https://servicenetworking.googleapis.com/",
"schemas": {
"AddDnsRecordSetMetadata": {
Expand Down Expand Up @@ -1190,8 +1190,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 @@ -1814,10 +1813,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
35 changes: 32 additions & 3 deletions src/apis/servicenetworking/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ export namespace servicenetworking_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 @@ -1403,11 +1403,11 @@ export namespace servicenetworking_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 @@ -2381,6 +2381,7 @@ export namespace servicenetworking_v1 {
{
url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2466,6 +2467,7 @@ export namespace servicenetworking_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2550,6 +2552,7 @@ export namespace servicenetworking_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2639,6 +2642,7 @@ export namespace servicenetworking_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2788,6 +2792,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2878,6 +2883,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'PATCH',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2968,6 +2974,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'PATCH',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3056,6 +3063,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3151,6 +3159,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3309,6 +3318,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3394,6 +3404,7 @@ export namespace servicenetworking_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3487,6 +3498,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3572,6 +3584,7 @@ export namespace servicenetworking_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3723,6 +3736,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3811,6 +3825,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3906,6 +3921,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3994,6 +4010,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4082,6 +4099,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4252,6 +4270,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4340,6 +4359,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4486,6 +4506,7 @@ export namespace servicenetworking_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4580,6 +4601,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4671,6 +4693,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'PATCH',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4798,6 +4821,7 @@ export namespace servicenetworking_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4892,6 +4916,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -5003,6 +5028,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -5089,6 +5115,7 @@ export namespace servicenetworking_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -5185,6 +5212,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -5309,6 +5337,7 @@ export namespace servicenetworking_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down
12 changes: 9 additions & 3 deletions src/apis/servicenetworking/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ export namespace servicenetworking_v1beta {
*/
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 @@ -1202,11 +1202,11 @@ export namespace servicenetworking_v1beta {
*/
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 @@ -2044,6 +2044,7 @@ export namespace servicenetworking_v1beta {
{
url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2148,6 +2149,7 @@ export namespace servicenetworking_v1beta {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2236,6 +2238,7 @@ export namespace servicenetworking_v1beta {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2324,6 +2327,7 @@ export namespace servicenetworking_v1beta {
'$1'
),
method: 'PATCH',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2464,6 +2468,7 @@ export namespace servicenetworking_v1beta {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2557,6 +2562,7 @@ export namespace servicenetworking_v1beta {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down

0 comments on commit d481dce

Please sign in to comment.