Skip to content

Commit

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

The following keys were changed:
- schemas.Endpoint.description

#### serviceconsumermanagement:v1

The following keys were changed:
- schemas.Endpoint.description
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent 0d40c39 commit 65627d0
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 134 deletions.
4 changes: 2 additions & 2 deletions discovery/serviceconsumermanagement-v1.json
Expand Up @@ -542,7 +542,7 @@
}
}
},
"revision": "20210428",
"revision": "20210517",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"AddTenantProjectRequest": {
Expand Down Expand Up @@ -1060,7 +1060,7 @@
"type": "object"
},
"Endpoint": {
"description": "`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true",
"description": "`Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true",
"id": "Endpoint",
"properties": {
"allowCors": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/serviceconsumermanagement-v1beta1.json
Expand Up @@ -500,7 +500,7 @@
}
}
},
"revision": "20210428",
"revision": "20210517",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"Api": {
Expand Down Expand Up @@ -930,7 +930,7 @@
"type": "object"
},
"Endpoint": {
"description": "`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true",
"description": "`Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true",
"id": "Endpoint",
"properties": {
"allowCors": {
Expand Down
37 changes: 16 additions & 21 deletions src/apis/serviceconsumermanagement/v1.ts
Expand Up @@ -512,7 +512,7 @@ export namespace serviceconsumermanagement_v1 {
*/
export interface Schema$Empty {}
/**
* `Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
* `Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true
*/
export interface Schema$Endpoint {
/**
Expand Down Expand Up @@ -2620,8 +2620,8 @@ export namespace serviceconsumermanagement_v1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await serviceconsumermanagement.services.tenancyUnits.applyProjectConfig(
* {
* const res =
* await serviceconsumermanagement.services.tenancyUnits.applyProjectConfig({
* // Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* name: 'services/my-service/[^/]+/[^/]+/tenancyUnits/my-tenancyUnit',
*
Expand All @@ -2633,8 +2633,7 @@ export namespace serviceconsumermanagement_v1 {
* // "tag": "my_tag"
* // }
* },
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -2765,8 +2764,8 @@ export namespace serviceconsumermanagement_v1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await serviceconsumermanagement.services.tenancyUnits.attachProject(
* {
* const res =
* await serviceconsumermanagement.services.tenancyUnits.attachProject({
* // Required. Name of the tenancy unit that the project will be attached to. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* name: 'services/my-service/[^/]+/[^/]+/tenancyUnits/my-tenancyUnit',
*
Expand All @@ -2779,8 +2778,7 @@ export namespace serviceconsumermanagement_v1 {
* // "tag": "my_tag"
* // }
* },
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -3184,8 +3182,8 @@ export namespace serviceconsumermanagement_v1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await serviceconsumermanagement.services.tenancyUnits.deleteProject(
* {
* const res =
* await serviceconsumermanagement.services.tenancyUnits.deleteProject({
* // Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* name: 'services/my-service/[^/]+/[^/]+/tenancyUnits/my-tenancyUnit',
*
Expand All @@ -3196,8 +3194,7 @@ export namespace serviceconsumermanagement_v1 {
* // "tag": "my_tag"
* // }
* },
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -3470,8 +3467,8 @@ export namespace serviceconsumermanagement_v1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await serviceconsumermanagement.services.tenancyUnits.removeProject(
* {
* const res =
* await serviceconsumermanagement.services.tenancyUnits.removeProject({
* // Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* name: 'services/my-service/[^/]+/[^/]+/tenancyUnits/my-tenancyUnit',
*
Expand All @@ -3482,8 +3479,7 @@ export namespace serviceconsumermanagement_v1 {
* // "tag": "my_tag"
* // }
* },
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -3614,8 +3610,8 @@ export namespace serviceconsumermanagement_v1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await serviceconsumermanagement.services.tenancyUnits.undeleteProject(
* {
* const res =
* await serviceconsumermanagement.services.tenancyUnits.undeleteProject({
* // Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
* name: 'services/my-service/[^/]+/[^/]+/tenancyUnits/my-tenancyUnit',
*
Expand All @@ -3626,8 +3622,7 @@ export namespace serviceconsumermanagement_v1 {
* // "tag": "my_tag"
* // }
* },
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down

0 comments on commit 65627d0

Please sign in to comment.