Skip to content

Commit

Permalink
feat(gkehub): update the API
Browse files Browse the repository at this point in the history
#### gkehub:v1beta

The following keys were added:
- schemas.IdentityServiceIdentityServiceOptions.description
- schemas.IdentityServiceIdentityServiceOptions.id
- schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.description
- schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.format
- schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.type
- schemas.IdentityServiceIdentityServiceOptions.type
- schemas.IdentityServiceMembershipSpec.properties.identityServiceOptions.$ref
- schemas.IdentityServiceMembershipSpec.properties.identityServiceOptions.description
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.description
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.enum
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.enumDescriptions
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.readOnly
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.type

The following keys were changed:
- schemas.ServiceMeshCondition.properties.code.enum
- schemas.ServiceMeshCondition.properties.code.enumDescriptions

#### gkehub:v1

The following keys were added:
- schemas.IdentityServiceIdentityServiceOptions.description
- schemas.IdentityServiceIdentityServiceOptions.id
- schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.description
- schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.format
- schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.type
- schemas.IdentityServiceIdentityServiceOptions.type
- schemas.IdentityServiceMembershipSpec.properties.identityServiceOptions.$ref
- schemas.IdentityServiceMembershipSpec.properties.identityServiceOptions.description
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.description
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.enum
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.enumDescriptions
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.readOnly
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.type

The following keys were changed:
- schemas.ServiceMeshCondition.properties.code.enum
- schemas.ServiceMeshCondition.properties.code.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed May 7, 2024
1 parent 2f8891d commit 70f9e09
Show file tree
Hide file tree
Showing 4 changed files with 178 additions and 6 deletions.
75 changes: 72 additions & 3 deletions discovery/gkehub-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@
}
}
},
"revision": "20240419",
"revision": "20240428",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AppDevExperienceFeatureSpec": {
Expand Down Expand Up @@ -3889,6 +3889,18 @@
},
"type": "object"
},
"IdentityServiceIdentityServiceOptions": {
"description": "Holds non-protocol-related configuration options.",
"id": "IdentityServiceIdentityServiceOptions",
"properties": {
"sessionDuration": {
"description": "Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"IdentityServiceLdapConfig": {
"description": "Configuration for the LDAP Auth flow.",
"id": "IdentityServiceLdapConfig",
Expand Down Expand Up @@ -3922,6 +3934,10 @@
"$ref": "IdentityServiceAuthMethod"
},
"type": "array"
},
"identityServiceOptions": {
"$ref": "IdentityServiceIdentityServiceOptions",
"description": "Optional. non-protocol-related configuration options."
}
},
"type": "object"
Expand Down Expand Up @@ -5725,7 +5741,25 @@
"CNI_INSTALLATION_FAILED",
"CNI_POD_UNSCHEDULABLE",
"UNSUPPORTED_MULTIPLE_CONTROL_PLANES",
"VPCSC_GA_SUPPORTED"
"VPCSC_GA_SUPPORTED",
"CONFIG_APPLY_INTERNAL_ERROR",
"CONFIG_VALIDATION_ERROR",
"CONFIG_VALIDATION_WARNING",
"QUOTA_EXCEEDED_BACKEND_SERVICES",
"QUOTA_EXCEEDED_HEALTH_CHECKS",
"QUOTA_EXCEEDED_HTTP_ROUTES",
"QUOTA_EXCEEDED_TCP_ROUTES",
"QUOTA_EXCEEDED_TLS_ROUTES",
"QUOTA_EXCEEDED_TRAFFIC_POLICIES",
"QUOTA_EXCEEDED_ENDPOINT_POLICIES",
"QUOTA_EXCEEDED_GATEWAYS",
"QUOTA_EXCEEDED_MESHES",
"QUOTA_EXCEEDED_SERVER_TLS_POLICIES",
"QUOTA_EXCEEDED_CLIENT_TLS_POLICIES",
"QUOTA_EXCEEDED_SERVICE_LB_POLICIES",
"QUOTA_EXCEEDED_HTTP_FILTERS",
"QUOTA_EXCEEDED_TCP_FILTERS",
"QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS"
],
"enumDescriptions": [
"Default Unspecified code",
Expand All @@ -5736,7 +5770,25 @@
"CNI installation failed error code",
"CNI pod unschedulable error code",
"Multiple control planes unsupported error code",
"VPC-SC GA is supported for this control plane."
"VPC-SC GA is supported for this control plane.",
"Configuration (Istio/k8s resources) failed to apply due to internal error.",
"Configuration failed to be applied due to being invalid.",
"Encountered configuration(s) with possible unintended behavior or invalid configuration. These configs may not have been applied.",
"BackendService quota exceeded error code.",
"HealthCheck quota exceeded error code.",
"HTTPRoute quota exceeded error code.",
"TCPRoute quota exceeded error code.",
"TLS routes quota exceeded error code.",
"TrafficPolicy quota exceeded error code.",
"EndpointPolicy quota exceeded error code.",
"Gateway quota exceeded error code.",
"Mesh quota exceeded error code.",
"ServerTLSPolicy quota exceeded error code.",
"ClientTLSPolicy quota exceeded error code.",
"ServiceLBPolicy quota exceeded error code.",
"HTTPFilter quota exceeded error code.",
"TCPFilter quota exceeded error code.",
"NetworkEndpointGroup quota exceeded error code."
],
"type": "string"
},
Expand Down Expand Up @@ -5778,6 +5830,23 @@
},
"type": "array"
},
"implementation": {
"description": "Output only. Implementation of managed control plane.",
"enum": [
"IMPLEMENTATION_UNSPECIFIED",
"ISTIOD",
"TRAFFIC_DIRECTOR",
"UPDATING"
],
"enumDescriptions": [
"Unspecified",
"A Google build of istiod is used for the managed control plane.",
"Traffic director is used for the managed control plane.",
"The control plane implementation is being updated."
],
"readOnly": true,
"type": "string"
},
"state": {
"description": "LifecycleState of control plane management.",
"enum": [
Expand Down
75 changes: 72 additions & 3 deletions discovery/gkehub-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@
}
}
},
"revision": "20240419",
"revision": "20240428",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -4184,6 +4184,18 @@
},
"type": "object"
},
"IdentityServiceIdentityServiceOptions": {
"description": "Holds non-protocol-related configuration options.",
"id": "IdentityServiceIdentityServiceOptions",
"properties": {
"sessionDuration": {
"description": "Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"IdentityServiceLdapConfig": {
"description": "Configuration for the LDAP Auth flow.",
"id": "IdentityServiceLdapConfig",
Expand Down Expand Up @@ -4217,6 +4229,10 @@
"$ref": "IdentityServiceAuthMethod"
},
"type": "array"
},
"identityServiceOptions": {
"$ref": "IdentityServiceIdentityServiceOptions",
"description": "Optional. non-protocol-related configuration options."
}
},
"type": "object"
Expand Down Expand Up @@ -6107,7 +6123,25 @@
"CNI_INSTALLATION_FAILED",
"CNI_POD_UNSCHEDULABLE",
"UNSUPPORTED_MULTIPLE_CONTROL_PLANES",
"VPCSC_GA_SUPPORTED"
"VPCSC_GA_SUPPORTED",
"CONFIG_APPLY_INTERNAL_ERROR",
"CONFIG_VALIDATION_ERROR",
"CONFIG_VALIDATION_WARNING",
"QUOTA_EXCEEDED_BACKEND_SERVICES",
"QUOTA_EXCEEDED_HEALTH_CHECKS",
"QUOTA_EXCEEDED_HTTP_ROUTES",
"QUOTA_EXCEEDED_TCP_ROUTES",
"QUOTA_EXCEEDED_TLS_ROUTES",
"QUOTA_EXCEEDED_TRAFFIC_POLICIES",
"QUOTA_EXCEEDED_ENDPOINT_POLICIES",
"QUOTA_EXCEEDED_GATEWAYS",
"QUOTA_EXCEEDED_MESHES",
"QUOTA_EXCEEDED_SERVER_TLS_POLICIES",
"QUOTA_EXCEEDED_CLIENT_TLS_POLICIES",
"QUOTA_EXCEEDED_SERVICE_LB_POLICIES",
"QUOTA_EXCEEDED_HTTP_FILTERS",
"QUOTA_EXCEEDED_TCP_FILTERS",
"QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS"
],
"enumDescriptions": [
"Default Unspecified code",
Expand All @@ -6118,7 +6152,25 @@
"CNI installation failed error code",
"CNI pod unschedulable error code",
"Multiple control planes unsupported error code",
"VPC-SC GA is supported for this control plane."
"VPC-SC GA is supported for this control plane.",
"Configuration (Istio/k8s resources) failed to apply due to internal error.",
"Configuration failed to be applied due to being invalid.",
"Encountered configuration(s) with possible unintended behavior or invalid configuration. These configs may not have been applied.",
"BackendService quota exceeded error code.",
"HealthCheck quota exceeded error code.",
"HTTPRoute quota exceeded error code.",
"TCPRoute quota exceeded error code.",
"TLS routes quota exceeded error code.",
"TrafficPolicy quota exceeded error code.",
"EndpointPolicy quota exceeded error code.",
"Gateway quota exceeded error code.",
"Mesh quota exceeded error code.",
"ServerTLSPolicy quota exceeded error code.",
"ClientTLSPolicy quota exceeded error code.",
"ServiceLBPolicy quota exceeded error code.",
"HTTPFilter quota exceeded error code.",
"TCPFilter quota exceeded error code.",
"NetworkEndpointGroup quota exceeded error code."
],
"type": "string"
},
Expand Down Expand Up @@ -6160,6 +6212,23 @@
},
"type": "array"
},
"implementation": {
"description": "Output only. Implementation of managed control plane.",
"enum": [
"IMPLEMENTATION_UNSPECIFIED",
"ISTIOD",
"TRAFFIC_DIRECTOR",
"UPDATING"
],
"enumDescriptions": [
"Unspecified",
"A Google build of istiod is used for the managed control plane.",
"Traffic director is used for the managed control plane.",
"The control plane implementation is being updated."
],
"readOnly": true,
"type": "string"
},
"state": {
"description": "LifecycleState of control plane management.",
"enum": [
Expand Down
17 changes: 17 additions & 0 deletions src/apis/gkehub/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,15 @@ export namespace gkehub_v1 {
*/
idAttribute?: string | null;
}
/**
* Holds non-protocol-related configuration options.
*/
export interface Schema$IdentityServiceIdentityServiceOptions {
/**
* Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.
*/
sessionDuration?: string | null;
}
/**
* Configuration for the LDAP Auth flow.
*/
Expand Down Expand Up @@ -1471,6 +1480,10 @@ export namespace gkehub_v1 {
* A member may support multiple auth methods.
*/
authMethods?: Schema$IdentityServiceAuthMethod[];
/**
* Optional. non-protocol-related configuration options.
*/
identityServiceOptions?: Schema$IdentityServiceIdentityServiceOptions;
}
/**
* **Anthos Identity Service**: State for a single Membership.
Expand Down Expand Up @@ -2728,6 +2741,10 @@ export namespace gkehub_v1 {
* Explanation of state.
*/
details?: Schema$ServiceMeshStatusDetails[];
/**
* Output only. Implementation of managed control plane.
*/
implementation?: string | null;
/**
* LifecycleState of control plane management.
*/
Expand Down
17 changes: 17 additions & 0 deletions src/apis/gkehub/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,15 @@ export namespace gkehub_v1beta {
*/
idAttribute?: string | null;
}
/**
* Holds non-protocol-related configuration options.
*/
export interface Schema$IdentityServiceIdentityServiceOptions {
/**
* Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.
*/
sessionDuration?: string | null;
}
/**
* Configuration for the LDAP Auth flow.
*/
Expand Down Expand Up @@ -1549,6 +1558,10 @@ export namespace gkehub_v1beta {
* A member may support multiple auth methods.
*/
authMethods?: Schema$IdentityServiceAuthMethod[];
/**
* Optional. non-protocol-related configuration options.
*/
identityServiceOptions?: Schema$IdentityServiceIdentityServiceOptions;
}
/**
* **Anthos Identity Service**: State for a single Membership.
Expand Down Expand Up @@ -2861,6 +2874,10 @@ export namespace gkehub_v1beta {
* Explanation of state.
*/
details?: Schema$ServiceMeshStatusDetails[];
/**
* Output only. Implementation of managed control plane.
*/
implementation?: string | null;
/**
* LifecycleState of control plane management.
*/
Expand Down

0 comments on commit 70f9e09

Please sign in to comment.