Skip to content

Commit a6b7b0b

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 #### gkehub:v1beta 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 #### gkehub:v1 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 b6e1cd9 commit a6b7b0b

File tree

6 files changed

+126
-9
lines changed

6 files changed

+126
-9
lines changed

discovery/gkehub-v1.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@
21112111
}
21122112
}
21132113
},
2114-
"revision": "20240825",
2114+
"revision": "20240902",
21152115
"rootUrl": "https://gkehub.googleapis.com/",
21162116
"schemas": {
21172117
"AppDevExperienceFeatureSpec": {
@@ -4164,6 +4164,22 @@
41644164
},
41654165
"type": "object"
41664166
},
4167+
"IdentityServiceDiagnosticInterface": {
4168+
"description": "Configuration options for the AIS diagnostic interface.",
4169+
"id": "IdentityServiceDiagnosticInterface",
4170+
"properties": {
4171+
"enabled": {
4172+
"description": "Determines whether to enable the diagnostic interface.",
4173+
"type": "boolean"
4174+
},
4175+
"expirationTime": {
4176+
"description": "Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.",
4177+
"format": "google-datetime",
4178+
"type": "string"
4179+
}
4180+
},
4181+
"type": "object"
4182+
},
41674183
"IdentityServiceGoogleConfig": {
41684184
"description": "Configuration for the Google Plugin Auth flow.",
41694185
"id": "IdentityServiceGoogleConfig",
@@ -4198,8 +4214,12 @@
41984214
"description": "Holds non-protocol-related configuration options.",
41994215
"id": "IdentityServiceIdentityServiceOptions",
42004216
"properties": {
4217+
"diagnosticInterface": {
4218+
"$ref": "IdentityServiceDiagnosticInterface",
4219+
"description": "Configuration options for the AIS diagnostic interface."
4220+
},
42014221
"sessionDuration": {
4202-
"description": "Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.",
4222+
"description": "Determines the lifespan of STS tokens issued by Anthos Identity Service.",
42034223
"format": "google-duration",
42044224
"type": "string"
42054225
}
@@ -6082,6 +6102,7 @@
60826102
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
60836103
"CNI_INSTALLATION_FAILED",
60846104
"CNI_POD_UNSCHEDULABLE",
6105+
"CLUSTER_HAS_ZERO_NODES",
60856106
"UNSUPPORTED_MULTIPLE_CONTROL_PLANES",
60866107
"VPCSC_GA_SUPPORTED",
60876108
"CONFIG_APPLY_INTERNAL_ERROR",
@@ -6112,6 +6133,7 @@
61126133
"Nodepool workload identity federation required error code",
61136134
"CNI installation failed error code",
61146135
"CNI pod unschedulable error code",
6136+
"Cluster has zero node code",
61156137
"Multiple control planes unsupported error code",
61166138
"VPC-SC GA is supported for this control plane.",
61176139
"Configuration (Istio/k8s resources) failed to apply due to internal error.",

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.",

discovery/gkehub-v1beta.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@
21112111
}
21122112
}
21132113
},
2114-
"revision": "20240825",
2114+
"revision": "20240902",
21152115
"rootUrl": "https://gkehub.googleapis.com/",
21162116
"schemas": {
21172117
"AnthosObservabilityFeatureSpec": {
@@ -4258,6 +4258,22 @@
42584258
},
42594259
"type": "object"
42604260
},
4261+
"IdentityServiceDiagnosticInterface": {
4262+
"description": "Configuration options for the AIS diagnostic interface.",
4263+
"id": "IdentityServiceDiagnosticInterface",
4264+
"properties": {
4265+
"enabled": {
4266+
"description": "Determines whether to enable the diagnostic interface.",
4267+
"type": "boolean"
4268+
},
4269+
"expirationTime": {
4270+
"description": "Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.",
4271+
"format": "google-datetime",
4272+
"type": "string"
4273+
}
4274+
},
4275+
"type": "object"
4276+
},
42614277
"IdentityServiceGoogleConfig": {
42624278
"description": "Configuration for the Google Plugin Auth flow.",
42634279
"id": "IdentityServiceGoogleConfig",
@@ -4292,8 +4308,12 @@
42924308
"description": "Holds non-protocol-related configuration options.",
42934309
"id": "IdentityServiceIdentityServiceOptions",
42944310
"properties": {
4311+
"diagnosticInterface": {
4312+
"$ref": "IdentityServiceDiagnosticInterface",
4313+
"description": "Configuration options for the AIS diagnostic interface."
4314+
},
42954315
"sessionDuration": {
4296-
"description": "Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.",
4316+
"description": "Determines the lifespan of STS tokens issued by Anthos Identity Service.",
42974317
"format": "google-duration",
42984318
"type": "string"
42994319
}
@@ -6245,6 +6265,7 @@
62456265
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
62466266
"CNI_INSTALLATION_FAILED",
62476267
"CNI_POD_UNSCHEDULABLE",
6268+
"CLUSTER_HAS_ZERO_NODES",
62486269
"UNSUPPORTED_MULTIPLE_CONTROL_PLANES",
62496270
"VPCSC_GA_SUPPORTED",
62506271
"CONFIG_APPLY_INTERNAL_ERROR",
@@ -6275,6 +6296,7 @@
62756296
"Nodepool workload identity federation required error code",
62766297
"CNI installation failed error code",
62776298
"CNI pod unschedulable error code",
6299+
"Cluster has zero node code",
62786300
"Multiple control planes unsupported error code",
62796301
"VPC-SC GA is supported for this control plane.",
62806302
"Configuration (Istio/k8s resources) failed to apply due to internal error.",

src/apis/gkehub/v1.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,6 +1468,19 @@ export namespace gkehub_v1 {
14681468
*/
14691469
userClaim?: string | null;
14701470
}
1471+
/**
1472+
* Configuration options for the AIS diagnostic interface.
1473+
*/
1474+
export interface Schema$IdentityServiceDiagnosticInterface {
1475+
/**
1476+
* Determines whether to enable the diagnostic interface.
1477+
*/
1478+
enabled?: boolean | null;
1479+
/**
1480+
* Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
1481+
*/
1482+
expirationTime?: string | null;
1483+
}
14711484
/**
14721485
* Configuration for the Google Plugin Auth flow.
14731486
*/
@@ -1499,7 +1512,11 @@ export namespace gkehub_v1 {
14991512
*/
15001513
export interface Schema$IdentityServiceIdentityServiceOptions {
15011514
/**
1502-
* Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.
1515+
* Configuration options for the AIS diagnostic interface.
1516+
*/
1517+
diagnosticInterface?: Schema$IdentityServiceDiagnosticInterface;
1518+
/**
1519+
* Determines the lifespan of STS tokens issued by Anthos Identity Service.
15031520
*/
15041521
sessionDuration?: string | null;
15051522
}

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
}

src/apis/gkehub/v1beta.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,6 +1537,19 @@ export namespace gkehub_v1beta {
15371537
*/
15381538
userClaim?: string | null;
15391539
}
1540+
/**
1541+
* Configuration options for the AIS diagnostic interface.
1542+
*/
1543+
export interface Schema$IdentityServiceDiagnosticInterface {
1544+
/**
1545+
* Determines whether to enable the diagnostic interface.
1546+
*/
1547+
enabled?: boolean | null;
1548+
/**
1549+
* Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
1550+
*/
1551+
expirationTime?: string | null;
1552+
}
15401553
/**
15411554
* Configuration for the Google Plugin Auth flow.
15421555
*/
@@ -1568,7 +1581,11 @@ export namespace gkehub_v1beta {
15681581
*/
15691582
export interface Schema$IdentityServiceIdentityServiceOptions {
15701583
/**
1571-
* Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.
1584+
* Configuration options for the AIS diagnostic interface.
1585+
*/
1586+
diagnosticInterface?: Schema$IdentityServiceDiagnosticInterface;
1587+
/**
1588+
* Determines the lifespan of STS tokens issued by Anthos Identity Service.
15721589
*/
15731590
sessionDuration?: string | null;
15741591
}

0 commit comments

Comments
 (0)