Skip to content

Commit 6220f5d

Browse files
yoshi-automationsofisl
authored andcommitted
feat(networkservices): update the API
#### networkservices:v1beta1 The following keys were added: - schemas.ServiceLbPolicy.properties.isolationConfig.$ref - schemas.ServiceLbPolicy.properties.isolationConfig.description - schemas.ServiceLbPolicyIsolationConfig.description - schemas.ServiceLbPolicyIsolationConfig.id - schemas.ServiceLbPolicyIsolationConfig.properties.isolationGranularity.description - schemas.ServiceLbPolicyIsolationConfig.properties.isolationGranularity.enum - schemas.ServiceLbPolicyIsolationConfig.properties.isolationGranularity.enumDescriptions - schemas.ServiceLbPolicyIsolationConfig.properties.isolationGranularity.type - schemas.ServiceLbPolicyIsolationConfig.properties.isolationMode.description - schemas.ServiceLbPolicyIsolationConfig.properties.isolationMode.enum - schemas.ServiceLbPolicyIsolationConfig.properties.isolationMode.enumDescriptions - schemas.ServiceLbPolicyIsolationConfig.properties.isolationMode.type - schemas.ServiceLbPolicyIsolationConfig.type The following keys were changed: - schemas.ExtensionChainExtension.properties.timeout.description
1 parent 9ceb28b commit 6220f5d

File tree

2 files changed

+57
-3
lines changed

2 files changed

+57
-3
lines changed

discovery/networkservices-v1beta1.json

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2879,7 +2879,7 @@
28792879
}
28802880
}
28812881
},
2882-
"revision": "20250410",
2882+
"revision": "20250423",
28832883
"rootUrl": "https://networkservices.googleapis.com/",
28842884
"schemas": {
28852885
"AuthzExtension": {
@@ -3180,7 +3180,7 @@
31803180
"type": "array"
31813181
},
31823182
"timeout": {
3183-
"description": "Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`1000` milliseconds. Required for callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.",
3183+
"description": "Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`10000` milliseconds. Required for callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.",
31843184
"format": "google-duration",
31853185
"type": "string"
31863186
}
@@ -5245,6 +5245,10 @@
52455245
"$ref": "ServiceLbPolicyFailoverConfig",
52465246
"description": "Optional. Configuration related to health based failover."
52475247
},
5248+
"isolationConfig": {
5249+
"$ref": "ServiceLbPolicyIsolationConfig",
5250+
"description": "Optional. Configuration to provide isolation support for the associated Backend Service."
5251+
},
52485252
"labels": {
52495253
"additionalProperties": {
52505254
"type": "string"
@@ -5306,6 +5310,39 @@
53065310
},
53075311
"type": "object"
53085312
},
5313+
"ServiceLbPolicyIsolationConfig": {
5314+
"description": "Configuration to provide isolation support for the associated Backend Service.",
5315+
"id": "ServiceLbPolicyIsolationConfig",
5316+
"properties": {
5317+
"isolationGranularity": {
5318+
"description": "Optional. The isolation granularity of the load balancer.",
5319+
"enum": [
5320+
"ISOLATION_GRANULARITY_UNSPECIFIED",
5321+
"REGION"
5322+
],
5323+
"enumDescriptions": [
5324+
"No isolation is configured for the backend service. Traffic can overflow based on the load balancing algorithm.",
5325+
"Traffic for this service will be isolated at the cloud region level."
5326+
],
5327+
"type": "string"
5328+
},
5329+
"isolationMode": {
5330+
"description": "Optional. The isolation mode of the load balancer.",
5331+
"enum": [
5332+
"ISOLATION_MODE_UNSPECIFIED",
5333+
"NEAREST",
5334+
"STRICT"
5335+
],
5336+
"enumDescriptions": [
5337+
"No isolation mode is configured for the backend service.",
5338+
"Traffic will be sent to the nearest region.",
5339+
"Traffic will fail if no serving backends are available in the same region as the load balancer."
5340+
],
5341+
"type": "string"
5342+
}
5343+
},
5344+
"type": "object"
5345+
},
53095346
"Status": {
53105347
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
53115348
"id": "Status",

src/apis/networkservices/v1beta1.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ export namespace networkservices_v1beta1 {
309309
*/
310310
supportedEvents?: string[] | null;
311311
/**
312-
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`1000` milliseconds. Required for callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
312+
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be between `10`-`10000` milliseconds. Required for callout extensions. This field is not supported for plugin extensions. Setting it results in a validation error.
313313
*/
314314
timeout?: string | null;
315315
}
@@ -1740,6 +1740,10 @@ export namespace networkservices_v1beta1 {
17401740
* Optional. Configuration related to health based failover.
17411741
*/
17421742
failoverConfig?: Schema$ServiceLbPolicyFailoverConfig;
1743+
/**
1744+
* Optional. Configuration to provide isolation support for the associated Backend Service.
1745+
*/
1746+
isolationConfig?: Schema$ServiceLbPolicyIsolationConfig;
17431747
/**
17441748
* Optional. Set of label tags associated with the ServiceLbPolicy resource.
17451749
*/
@@ -1775,6 +1779,19 @@ export namespace networkservices_v1beta1 {
17751779
*/
17761780
failoverHealthThreshold?: number | null;
17771781
}
1782+
/**
1783+
* Configuration to provide isolation support for the associated Backend Service.
1784+
*/
1785+
export interface Schema$ServiceLbPolicyIsolationConfig {
1786+
/**
1787+
* Optional. The isolation granularity of the load balancer.
1788+
*/
1789+
isolationGranularity?: string | null;
1790+
/**
1791+
* Optional. The isolation mode of the load balancer.
1792+
*/
1793+
isolationMode?: string | null;
1794+
}
17781795
/**
17791796
* The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
17801797
*/

0 commit comments

Comments
 (0)