diff --git a/discovery/serviceusage-v1.json b/discovery/serviceusage-v1.json index 79e63f2fce..cdd10ed777 100644 --- a/discovery/serviceusage-v1.json +++ b/discovery/serviceusage-v1.json @@ -426,7 +426,7 @@ } } }, - "revision": "20201019", + "revision": "20201026", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": { @@ -1400,25 +1400,6 @@ }, "type": "object" }, - "GoogleApiServiceIdentity": { - "description": "The per-product per-project service identity for a service. Use this field to configure per-product per-project service identity. Example of a service identity configuration. usage: service_identity: - service_account_parent: \"projects/123456789\" display_name: \"Cloud XXX Service Agent\" description: \"Used as the identity of Cloud XXX to access resources\"", - "id": "GoogleApiServiceIdentity", - "properties": { - "description": { - "description": "Optional. A user-specified opaque description of the service account. Must be less than or equal to 256 UTF-8 bytes.", - "type": "string" - }, - "displayName": { - "description": "Optional. A user-specified name for the service account. Must be less than or equal to 100 UTF-8 bytes.", - "type": "string" - }, - "serviceAccountParent": { - "description": "A service account project that hosts the service accounts. An example name would be: `projects/123456789`", - "type": "string" - } - }, - "type": "object" - }, "GoogleApiServiceusageV1OperationMetadata": { "description": "The operation metadata returned for the batchend services operation.", "id": "GoogleApiServiceusageV1OperationMetadata", @@ -1589,10 +1570,6 @@ }, "type": "array" }, - "allowHalfDuplex": { - "description": "When this flag is set to true, HTTP requests will be allowed to invoke a half-duplex streaming method.", - "type": "boolean" - }, "body": { "description": "The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.", "type": "string" @@ -2546,10 +2523,6 @@ "$ref": "UsageRule" }, "type": "array" - }, - "serviceIdentity": { - "$ref": "GoogleApiServiceIdentity", - "description": "The configuration of a per-product per-project service identity." } }, "type": "object" diff --git a/discovery/serviceusage-v1beta1.json b/discovery/serviceusage-v1beta1.json index 2a83db62c7..a6b4b57bae 100644 --- a/discovery/serviceusage-v1beta1.json +++ b/discovery/serviceusage-v1beta1.json @@ -834,7 +834,7 @@ } } }, - "revision": "20201019", + "revision": "20201026", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": { @@ -1833,25 +1833,6 @@ }, "type": "object" }, - "GoogleApiServiceIdentity": { - "description": "The per-product per-project service identity for a service. Use this field to configure per-product per-project service identity. Example of a service identity configuration. usage: service_identity: - service_account_parent: \"projects/123456789\" display_name: \"Cloud XXX Service Agent\" description: \"Used as the identity of Cloud XXX to access resources\"", - "id": "GoogleApiServiceIdentity", - "properties": { - "description": { - "description": "Optional. A user-specified opaque description of the service account. Must be less than or equal to 256 UTF-8 bytes.", - "type": "string" - }, - "displayName": { - "description": "Optional. A user-specified name for the service account. Must be less than or equal to 100 UTF-8 bytes.", - "type": "string" - }, - "serviceAccountParent": { - "description": "A service account project that hosts the service accounts. An example name would be: `projects/123456789`", - "type": "string" - } - }, - "type": "object" - }, "GoogleApiServiceusageV1OperationMetadata": { "description": "The operation metadata returned for the batchend services operation.", "id": "GoogleApiServiceusageV1OperationMetadata", @@ -2022,10 +2003,6 @@ }, "type": "array" }, - "allowHalfDuplex": { - "description": "When this flag is set to true, HTTP requests will be allowed to invoke a half-duplex streaming method.", - "type": "boolean" - }, "body": { "description": "The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.", "type": "string" @@ -3187,10 +3164,6 @@ "$ref": "UsageRule" }, "type": "array" - }, - "serviceIdentity": { - "$ref": "GoogleApiServiceIdentity", - "description": "The configuration of a per-product per-project service identity." } }, "type": "object" diff --git a/src/apis/serviceusage/v1.ts b/src/apis/serviceusage/v1.ts index 87d4167b4b..de4ae47f42 100644 --- a/src/apis/serviceusage/v1.ts +++ b/src/apis/serviceusage/v1.ts @@ -803,23 +803,6 @@ export namespace serviceusage_v1 { */ usage?: Schema$Usage; } - /** - * The per-product per-project service identity for a service. Use this field to configure per-product per-project service identity. Example of a service identity configuration. usage: service_identity: - service_account_parent: "projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used as the identity of Cloud XXX to access resources" - */ - export interface Schema$GoogleApiServiceIdentity { - /** - * Optional. A user-specified opaque description of the service account. Must be less than or equal to 256 UTF-8 bytes. - */ - description?: string | null; - /** - * Optional. A user-specified name for the service account. Must be less than or equal to 100 UTF-8 bytes. - */ - displayName?: string | null; - /** - * A service account project that hosts the service accounts. An example name would be: `projects/123456789` - */ - serviceAccountParent?: string | null; - } /** * Response message for getting service identity. */ @@ -942,10 +925,6 @@ export namespace serviceusage_v1 { * Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep). */ additionalBindings?: Schema$HttpRule[]; - /** - * When this flag is set to true, HTTP requests will be allowed to invoke a half-duplex streaming method. - */ - allowHalfDuplex?: boolean | null; /** * The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type. */ @@ -1589,10 +1568,6 @@ export namespace serviceusage_v1 { * A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. */ rules?: Schema$UsageRule[]; - /** - * The configuration of a per-product per-project service identity. - */ - serviceIdentity?: Schema$GoogleApiServiceIdentity; } /** * Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true diff --git a/src/apis/serviceusage/v1beta1.ts b/src/apis/serviceusage/v1beta1.ts index ae5ec43308..1c751db891 100644 --- a/src/apis/serviceusage/v1beta1.ts +++ b/src/apis/serviceusage/v1beta1.ts @@ -835,23 +835,6 @@ export namespace serviceusage_v1beta1 { */ usage?: Schema$Usage; } - /** - * The per-product per-project service identity for a service. Use this field to configure per-product per-project service identity. Example of a service identity configuration. usage: service_identity: - service_account_parent: "projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used as the identity of Cloud XXX to access resources" - */ - export interface Schema$GoogleApiServiceIdentity { - /** - * Optional. A user-specified opaque description of the service account. Must be less than or equal to 256 UTF-8 bytes. - */ - description?: string | null; - /** - * Optional. A user-specified name for the service account. Must be less than or equal to 100 UTF-8 bytes. - */ - displayName?: string | null; - /** - * A service account project that hosts the service accounts. An example name would be: `projects/123456789` - */ - serviceAccountParent?: string | null; - } /** * Response message for getting service identity. */ @@ -974,10 +957,6 @@ export namespace serviceusage_v1beta1 { * Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep). */ additionalBindings?: Schema$HttpRule[]; - /** - * When this flag is set to true, HTTP requests will be allowed to invoke a half-duplex streaming method. - */ - allowHalfDuplex?: boolean | null; /** * The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type. */ @@ -1777,10 +1756,6 @@ export namespace serviceusage_v1beta1 { * A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. */ rules?: Schema$UsageRule[]; - /** - * The configuration of a per-product per-project service identity. - */ - serviceIdentity?: Schema$GoogleApiServiceIdentity; } /** * Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true