Skip to content

Commit 93863ee

Browse files
feat(gkehub): update the API
#### gkehub:v1alpha The following keys were added: - schemas.IdentityServiceDiagnosticInterface.description - schemas.IdentityServiceDiagnosticInterface.id - schemas.IdentityServiceDiagnosticInterface.properties.enabled.description - schemas.IdentityServiceDiagnosticInterface.properties.enabled.type - schemas.IdentityServiceDiagnosticInterface.properties.expirationTime.description - schemas.IdentityServiceDiagnosticInterface.properties.expirationTime.format - schemas.IdentityServiceDiagnosticInterface.properties.expirationTime.type - schemas.IdentityServiceDiagnosticInterface.type - schemas.IdentityServiceIdentityServiceOptions.properties.diagnosticInterface.$ref - schemas.IdentityServiceIdentityServiceOptions.properties.diagnosticInterface.description The following keys were changed: - schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.description - schemas.ServiceMeshCondition.properties.code.enum - schemas.ServiceMeshCondition.properties.code.enumDescriptions
1 parent cd9ea9f commit 93863ee

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed

discovery/gkehub-v1alpha.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,7 @@
21852185
}
21862186
}
21872187
},
2188-
"revision": "20240825",
2188+
"revision": "20240902",
21892189
"rootUrl": "https://gkehub.googleapis.com/",
21902190
"schemas": {
21912191
"AnthosObservabilityFeatureSpec": {
@@ -4477,6 +4477,22 @@
44774477
},
44784478
"type": "object"
44794479
},
4480+
"IdentityServiceDiagnosticInterface": {
4481+
"description": "Configuration options for the AIS diagnostic interface.",
4482+
"id": "IdentityServiceDiagnosticInterface",
4483+
"properties": {
4484+
"enabled": {
4485+
"description": "Determines whether to enable the diagnostic interface.",
4486+
"type": "boolean"
4487+
},
4488+
"expirationTime": {
4489+
"description": "Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.",
4490+
"format": "google-datetime",
4491+
"type": "string"
4492+
}
4493+
},
4494+
"type": "object"
4495+
},
44804496
"IdentityServiceGoogleConfig": {
44814497
"description": "Configuration for the Google Plugin Auth flow.",
44824498
"id": "IdentityServiceGoogleConfig",
@@ -4511,8 +4527,12 @@
45114527
"description": "Holds non-protocol-related configuration options.",
45124528
"id": "IdentityServiceIdentityServiceOptions",
45134529
"properties": {
4530+
"diagnosticInterface": {
4531+
"$ref": "IdentityServiceDiagnosticInterface",
4532+
"description": "Configuration options for the AIS diagnostic interface."
4533+
},
45144534
"sessionDuration": {
4515-
"description": "Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.",
4535+
"description": "Determines the lifespan of STS tokens issued by Anthos Identity Service.",
45164536
"format": "google-duration",
45174537
"type": "string"
45184538
}
@@ -6606,6 +6626,7 @@
66066626
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
66076627
"CNI_INSTALLATION_FAILED",
66086628
"CNI_POD_UNSCHEDULABLE",
6629+
"CLUSTER_HAS_ZERO_NODES",
66096630
"UNSUPPORTED_MULTIPLE_CONTROL_PLANES",
66106631
"VPCSC_GA_SUPPORTED",
66116632
"CONFIG_APPLY_INTERNAL_ERROR",
@@ -6636,6 +6657,7 @@
66366657
"Nodepool workload identity federation required error code",
66376658
"CNI installation failed error code",
66386659
"CNI pod unschedulable error code",
6660+
"Cluster has zero node code",
66396661
"Multiple control planes unsupported error code",
66406662
"VPC-SC GA is supported for this control plane.",
66416663
"Configuration (Istio/k8s resources) failed to apply due to internal error.",

src/apis/gkehub/v1alpha.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1630,6 +1630,19 @@ export namespace gkehub_v1alpha {
16301630
*/
16311631
userClaim?: string | null;
16321632
}
1633+
/**
1634+
* Configuration options for the AIS diagnostic interface.
1635+
*/
1636+
export interface Schema$IdentityServiceDiagnosticInterface {
1637+
/**
1638+
* Determines whether to enable the diagnostic interface.
1639+
*/
1640+
enabled?: boolean | null;
1641+
/**
1642+
* Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
1643+
*/
1644+
expirationTime?: string | null;
1645+
}
16331646
/**
16341647
* Configuration for the Google Plugin Auth flow.
16351648
*/
@@ -1661,7 +1674,11 @@ export namespace gkehub_v1alpha {
16611674
*/
16621675
export interface Schema$IdentityServiceIdentityServiceOptions {
16631676
/**
1664-
* Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.
1677+
* Configuration options for the AIS diagnostic interface.
1678+
*/
1679+
diagnosticInterface?: Schema$IdentityServiceDiagnosticInterface;
1680+
/**
1681+
* Determines the lifespan of STS tokens issued by Anthos Identity Service.
16651682
*/
16661683
sessionDuration?: string | null;
16671684
}

0 commit comments

Comments
 (0)