diff --git a/discovery/servicenetworking-v1.json b/discovery/servicenetworking-v1.json index f2d15eb517..5457bea36a 100644 --- a/discovery/servicenetworking-v1.json +++ b/discovery/servicenetworking-v1.json @@ -774,7 +774,7 @@ } } }, - "revision": "20201015", + "revision": "20201020", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1771,10 +1771,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" @@ -2648,7 +2644,7 @@ "description": "Billing configuration." }, "configVersion": { - "description": "The semantic version of the service configuration. The config version affects the interpretation of the service configuration. For example, certain features are enabled by default for certain config versions. The latest config version is `3`.", + "description": "This field is obsolete. Its value must be set to `3`.", "format": "uint32", "type": "integer" }, @@ -2764,25 +2760,6 @@ }, "type": "object" }, - "ServiceIdentity": { - "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": "ServiceIdentity", - "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" - }, "SourceContext": { "description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.", "id": "SourceContext", @@ -3011,10 +2988,6 @@ "$ref": "UsageRule" }, "type": "array" - }, - "serviceIdentity": { - "$ref": "ServiceIdentity", - "description": "The configuration of a per-product per-project service identity." } }, "type": "object" diff --git a/discovery/servicenetworking-v1beta.json b/discovery/servicenetworking-v1beta.json index e79ab4ad61..33e8c1a25a 100644 --- a/discovery/servicenetworking-v1beta.json +++ b/discovery/servicenetworking-v1beta.json @@ -307,7 +307,7 @@ } } }, - "revision": "20201015", + "revision": "20201020", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1200,10 +1200,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" @@ -1991,7 +1987,7 @@ "description": "Billing configuration." }, "configVersion": { - "description": "The semantic version of the service configuration. The config version affects the interpretation of the service configuration. For example, certain features are enabled by default for certain config versions. The latest config version is `3`.", + "description": "This field is obsolete. Its value must be set to `3`.", "format": "uint32", "type": "integer" }, @@ -2107,25 +2103,6 @@ }, "type": "object" }, - "ServiceIdentity": { - "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": "ServiceIdentity", - "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" - }, "SourceContext": { "description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.", "id": "SourceContext", @@ -2331,10 +2308,6 @@ "$ref": "UsageRule" }, "type": "array" - }, - "serviceIdentity": { - "$ref": "ServiceIdentity", - "description": "The configuration of a per-product per-project service identity." } }, "type": "object" diff --git a/src/apis/servicenetworking/v1.ts b/src/apis/servicenetworking/v1.ts index 62927d90be..4f8c47f98f 100644 --- a/src/apis/servicenetworking/v1.ts +++ b/src/apis/servicenetworking/v1.ts @@ -846,10 +846,6 @@ export namespace servicenetworking_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. */ @@ -1458,7 +1454,7 @@ export namespace servicenetworking_v1 { */ billing?: Schema$Billing; /** - * The semantic version of the service configuration. The config version affects the interpretation of the service configuration. For example, certain features are enabled by default for certain config versions. The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. */ configVersion?: number | null; /** @@ -1550,23 +1546,6 @@ export namespace servicenetworking_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$ServiceIdentity { - /** - * 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; - } /** * `SourceContext` represents information about the source of a protobuf element, like the file in which it is defined. */ @@ -1732,10 +1711,6 @@ export namespace servicenetworking_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$ServiceIdentity; } /** * 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/servicenetworking/v1beta.ts b/src/apis/servicenetworking/v1beta.ts index 9cd30867ba..e31d72646d 100644 --- a/src/apis/servicenetworking/v1beta.ts +++ b/src/apis/servicenetworking/v1beta.ts @@ -764,10 +764,6 @@ export namespace servicenetworking_v1beta { * 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. */ @@ -1311,7 +1307,7 @@ export namespace servicenetworking_v1beta { */ billing?: Schema$Billing; /** - * The semantic version of the service configuration. The config version affects the interpretation of the service configuration. For example, certain features are enabled by default for certain config versions. The latest config version is `3`. + * This field is obsolete. Its value must be set to `3`. */ configVersion?: number | null; /** @@ -1403,23 +1399,6 @@ export namespace servicenetworking_v1beta { */ 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$ServiceIdentity { - /** - * 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; - } /** * `SourceContext` represents information about the source of a protobuf element, like the file in which it is defined. */ @@ -1564,10 +1543,6 @@ export namespace servicenetworking_v1beta { * 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$ServiceIdentity; } /** * 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