Skip to content

Commit 1bc0084

Browse files
yoshi-automationquirogas
authored andcommitted
feat(networkservices): update the API
#### networkservices:v1beta1 The following keys were added: - schemas.WasmPlugin.properties.kmsKeyName.description - schemas.WasmPlugin.properties.kmsKeyName.type - schemas.WasmPlugin.properties.kmsKeyVersion.description - schemas.WasmPlugin.properties.kmsKeyVersion.readOnly - schemas.WasmPlugin.properties.kmsKeyVersion.type The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - schemas.AuthzExtension.properties.wireFormat.description - schemas.AuthzExtension.properties.wireFormat.enumDescriptions - schemas.Gateway.properties.envoyHeaders.enumDescriptions - schemas.ListOperationsResponse.properties.unreachable.description - schemas.Mesh.properties.envoyHeaders.enumDescriptions
1 parent 469b6fe commit 1bc0084

File tree

2 files changed

+34
-11
lines changed

2 files changed

+34
-11
lines changed

discovery/networkservices-v1beta1.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,7 +2145,7 @@
21452145
"type": "string"
21462146
},
21472147
"returnPartialSuccess": {
2148-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
2148+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
21492149
"location": "query",
21502150
"type": "boolean"
21512151
}
@@ -3100,7 +3100,7 @@
31003100
}
31013101
}
31023102
},
3103-
"revision": "20251105",
3103+
"revision": "20251203",
31043104
"rootUrl": "https://networkservices.googleapis.com/",
31053105
"schemas": {
31063106
"AuthzExtension": {
@@ -3181,7 +3181,7 @@
31813181
"type": "string"
31823182
},
31833183
"wireFormat": {
3184-
"description": "Optional. The format of communication supported by the callout extension. If not specified, the default value `EXT_PROC_GRPC` is used.",
3184+
"description": "Optional. The format of communication supported by the callout extension. This field is supported only for regional `AuthzExtension` resources. If not specified, the default value `EXT_PROC_GRPC` is used. Global `AuthzExtension` resources use the `EXT_PROC_GRPC` wire format.",
31853185
"enum": [
31863186
"WIRE_FORMAT_UNSPECIFIED",
31873187
"EXT_PROC_GRPC",
@@ -3190,7 +3190,7 @@
31903190
"enumDescriptions": [
31913191
"Not specified.",
31923192
"The extension service uses ext_proc gRPC API over a gRPC stream. This is the default value if the wire format is not specified. The backend service for the extension must use HTTP2 or H2C as the protocol. All `supported_events` for a client request are sent as part of the same gRPC stream.",
3193-
"The extension service uses Envoy's `ext_authz` gRPC API. The backend service for the extension must use HTTP2, or H2C as the protocol. `EXT_AUTHZ_GRPC` is only supported for regional `AuthzExtension` resources."
3193+
"The extension service uses Envoy's `ext_authz` gRPC API. The backend service for the extension must use HTTP2 or H2C as the protocol. `EXT_AUTHZ_GRPC` is only supported for regional `AuthzExtension` resources."
31943194
],
31953195
"type": "string"
31963196
}
@@ -3467,7 +3467,7 @@
34673467
"enumDescriptions": [
34683468
"Defaults to NONE.",
34693469
"Suppress envoy debug headers.",
3470-
"Envoy will insert default internal debug headers into upstream requests: x-envoy-attempt-count x-envoy-is-timeout-retry x-envoy-expected-rq-timeout-ms x-envoy-original-path x-envoy-upstream-stream-duration-ms"
3470+
"Envoy will insert default internal debug headers into upstream requests: x-envoy-attempt-count, x-envoy-is-timeout-retry, x-envoy-expected-rq-timeout-ms, x-envoy-original-path, x-envoy-upstream-stream-duration-ms"
34713471
],
34723472
"type": "string"
34733473
},
@@ -5052,7 +5052,7 @@
50525052
"type": "array"
50535053
},
50545054
"unreachable": {
5055-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
5055+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
50565056
"items": {
50575057
"type": "string"
50585058
},
@@ -5304,7 +5304,7 @@
53045304
"enumDescriptions": [
53055305
"Defaults to NONE.",
53065306
"Suppress envoy debug headers.",
5307-
"Envoy will insert default internal debug headers into upstream requests: x-envoy-attempt-count x-envoy-is-timeout-retry x-envoy-expected-rq-timeout-ms x-envoy-original-path x-envoy-upstream-stream-duration-ms"
5307+
"Envoy will insert default internal debug headers into upstream requests: x-envoy-attempt-count, x-envoy-is-timeout-retry, x-envoy-expected-rq-timeout-ms, x-envoy-original-path, x-envoy-upstream-stream-duration-ms"
53085308
],
53095309
"type": "string"
53105310
},
@@ -5989,6 +5989,15 @@
59895989
"description": "Optional. A human-readable description of the resource.",
59905990
"type": "string"
59915991
},
5992+
"kmsKeyName": {
5993+
"description": "Optional. The name of the customer managed Cloud KMS key to be used to encrypt the `WasmPlugin` image (provided by image_uri) and configuration (provided by plugin_config_data or plugin_config_uri) that are stored by the `Service Extensions` product at rest. Format: \"projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}\" By default, Google Cloud automatically encrypts all data at rest using Google-owned and Google-managed encryption keys. If you need ownership and control of the keys that protect your data at rest, you can specify a customer-managed encryption key (CMEK) to encrypt your `WasmPlugin` data. For more information, see [Using customer-managed encryption keys](https://cloud.google.com/kms/docs/cmek). ",
5994+
"type": "string"
5995+
},
5996+
"kmsKeyVersion": {
5997+
"description": "Output only. The name of the specific CryptoKeyVersion used to encrypt the `WasmPlugin` data, if the kms_key_name field is set. Format: \"projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}\" This is a read-only field. `WasmPlugin` data is automatically encrypted using the most recent `CryptoKeyVersion` of the `CryptoKey` provided in the `kms_key_name` field. See [Cloud KMS resources](https://cloud.google.com/kms/docs/resource-hierarchy) for more information.",
5998+
"readOnly": true,
5999+
"type": "string"
6000+
},
59926001
"labels": {
59936002
"additionalProperties": {
59946003
"type": "string"

src/apis/networkservices/v1beta1.ts

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export namespace networkservices_v1beta1 {
177177
*/
178178
updateTime?: string | null;
179179
/**
180-
* Optional. The format of communication supported by the callout extension. If not specified, the default value `EXT_PROC_GRPC` is used.
180+
* Optional. The format of communication supported by the callout extension. This field is supported only for regional `AuthzExtension` resources. If not specified, the default value `EXT_PROC_GRPC` is used. Global `AuthzExtension` resources use the `EXT_PROC_GRPC` wire format.
181181
*/
182182
wireFormat?: string | null;
183183
}
@@ -1461,7 +1461,7 @@ export namespace networkservices_v1beta1 {
14611461
*/
14621462
operations?: Schema$Operation[];
14631463
/**
1464-
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
1464+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
14651465
*/
14661466
unreachable?: string[] | null;
14671467
}
@@ -2086,6 +2086,14 @@ export namespace networkservices_v1beta1 {
20862086
* Optional. A human-readable description of the resource.
20872087
*/
20882088
description?: string | null;
2089+
/**
2090+
* Optional. The name of the customer managed Cloud KMS key to be used to encrypt the `WasmPlugin` image (provided by image_uri) and configuration (provided by plugin_config_data or plugin_config_uri) that are stored by the `Service Extensions` product at rest. Format: "projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}" By default, Google Cloud automatically encrypts all data at rest using Google-owned and Google-managed encryption keys. If you need ownership and control of the keys that protect your data at rest, you can specify a customer-managed encryption key (CMEK) to encrypt your `WasmPlugin` data. For more information, see [Using customer-managed encryption keys](https://cloud.google.com/kms/docs/cmek).
2091+
*/
2092+
kmsKeyName?: string | null;
2093+
/**
2094+
* Output only. The name of the specific CryptoKeyVersion used to encrypt the `WasmPlugin` data, if the kms_key_name field is set. Format: "projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}/cryptoKeyVersions/{version\}" This is a read-only field. `WasmPlugin` data is automatically encrypted using the most recent `CryptoKeyVersion` of the `CryptoKey` provided in the `kms_key_name` field. See [Cloud KMS resources](https://cloud.google.com/kms/docs/resource-hierarchy) for more information.
2095+
*/
2096+
kmsKeyVersion?: string | null;
20892097
/**
20902098
* Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).
20912099
*/
@@ -12073,7 +12081,7 @@ export namespace networkservices_v1beta1 {
1207312081
* pageSize: 'placeholder-value',
1207412082
* // The standard list page token.
1207512083
* pageToken: 'placeholder-value',
12076-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
12084+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
1207712085
* returnPartialSuccess: 'placeholder-value',
1207812086
* });
1207912087
* console.log(res.data);
@@ -12226,7 +12234,7 @@ export namespace networkservices_v1beta1 {
1222612234
*/
1222712235
pageToken?: string;
1222812236
/**
12229-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
12237+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
1223012238
*/
1223112239
returnPartialSuccess?: boolean;
1223212240
}
@@ -15541,6 +15549,8 @@ export namespace networkservices_v1beta1 {
1554115549
* // {
1554215550
* // "createTime": "my_createTime",
1554315551
* // "description": "my_description",
15552+
* // "kmsKeyName": "my_kmsKeyName",
15553+
* // "kmsKeyVersion": "my_kmsKeyVersion",
1554415554
* // "labels": {},
1554515555
* // "logConfig": {},
1554615556
* // "mainVersionId": "my_mainVersionId",
@@ -15840,6 +15850,8 @@ export namespace networkservices_v1beta1 {
1584015850
* // {
1584115851
* // "createTime": "my_createTime",
1584215852
* // "description": "my_description",
15853+
* // "kmsKeyName": "my_kmsKeyName",
15854+
* // "kmsKeyVersion": "my_kmsKeyVersion",
1584315855
* // "labels": {},
1584415856
* // "logConfig": {},
1584515857
* // "mainVersionId": "my_mainVersionId",
@@ -16131,6 +16143,8 @@ export namespace networkservices_v1beta1 {
1613116143
* // {
1613216144
* // "createTime": "my_createTime",
1613316145
* // "description": "my_description",
16146+
* // "kmsKeyName": "my_kmsKeyName",
16147+
* // "kmsKeyVersion": "my_kmsKeyVersion",
1613416148
* // "labels": {},
1613516149
* // "logConfig": {},
1613616150
* // "mainVersionId": "my_mainVersionId",

0 commit comments

Comments
 (0)