From ca13d15f5f0f5dee61a020b70ecf8fb0ace18973 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Mon, 3 Jun 2024 01:36:19 +0000 Subject: [PATCH] feat(gkehub): update the API #### gkehub:v1alpha The following keys were added: - schemas.ListMembershipBindingsResponse.properties.unreachable.description - schemas.ListMembershipBindingsResponse.properties.unreachable.items.type - schemas.ListMembershipBindingsResponse.properties.unreachable.type - schemas.ListMembershipRBACRoleBindingsResponse.properties.unreachable.description - schemas.ListMembershipRBACRoleBindingsResponse.properties.unreachable.items.type - schemas.ListMembershipRBACRoleBindingsResponse.properties.unreachable.type The following keys were changed: - schemas.SecurityPostureConfig.properties.mode.enum - schemas.SecurityPostureConfig.properties.mode.enumDescriptions #### gkehub:v1beta The following keys were added: - schemas.ListMembershipBindingsResponse.properties.unreachable.description - schemas.ListMembershipBindingsResponse.properties.unreachable.items.type - schemas.ListMembershipBindingsResponse.properties.unreachable.type - schemas.ListMembershipRBACRoleBindingsResponse.properties.unreachable.description - schemas.ListMembershipRBACRoleBindingsResponse.properties.unreachable.items.type - schemas.ListMembershipRBACRoleBindingsResponse.properties.unreachable.type The following keys were changed: - schemas.SecurityPostureConfig.properties.mode.enum - schemas.SecurityPostureConfig.properties.mode.enumDescriptions #### gkehub:v1 The following keys were added: - schemas.ListMembershipBindingsResponse.properties.unreachable.description - schemas.ListMembershipBindingsResponse.properties.unreachable.items.type - schemas.ListMembershipBindingsResponse.properties.unreachable.type The following keys were changed: - schemas.SecurityPostureConfig.properties.mode.enum - schemas.SecurityPostureConfig.properties.mode.enumDescriptions --- discovery/gkehub-v1.json | 15 ++++++++++++--- discovery/gkehub-v1alpha.json | 22 +++++++++++++++++++--- discovery/gkehub-v1beta.json | 22 +++++++++++++++++++--- src/apis/gkehub/v1.ts | 4 ++++ src/apis/gkehub/v1alpha.ts | 8 ++++++++ src/apis/gkehub/v1beta.ts | 8 ++++++++ 6 files changed, 70 insertions(+), 9 deletions(-) diff --git a/discovery/gkehub-v1.json b/discovery/gkehub-v1.json index 41a53867ca..32c2bff83e 100644 --- a/discovery/gkehub-v1.json +++ b/discovery/gkehub-v1.json @@ -1911,7 +1911,7 @@ } } }, - "revision": "20240428", + "revision": "20240519", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -4325,6 +4325,13 @@ "nextPageToken": { "description": "A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return.", "type": "string" + }, + "unreachable": { + "description": "List of locations that could not be reached while fetching this list.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -5698,12 +5705,14 @@ "enum": [ "MODE_UNSPECIFIED", "DISABLED", - "BASIC" + "BASIC", + "ENTERPRISE" ], "enumDescriptions": [ "Default value not specified.", "Disables Security Posture features on the cluster.", - "Applies Security Posture features on the cluster." + "Applies Security Posture features on the cluster.", + "Applies the Security Posture off cluster Enterprise level features." ], "type": "string" }, diff --git a/discovery/gkehub-v1alpha.json b/discovery/gkehub-v1alpha.json index 78e5534d01..f5b2127bf3 100644 --- a/discovery/gkehub-v1alpha.json +++ b/discovery/gkehub-v1alpha.json @@ -2175,7 +2175,7 @@ } } }, - "revision": "20240428", + "revision": "20240519", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -4864,6 +4864,13 @@ "nextPageToken": { "description": "A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return.", "type": "string" + }, + "unreachable": { + "description": "List of locations that could not be reached while fetching this list.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -4882,6 +4889,13 @@ "$ref": "RBACRoleBinding" }, "type": "array" + }, + "unreachable": { + "description": "List of locations that could not be reached while fetching this list.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -6380,12 +6394,14 @@ "enum": [ "MODE_UNSPECIFIED", "DISABLED", - "BASIC" + "BASIC", + "ENTERPRISE" ], "enumDescriptions": [ "Default value not specified.", "Disables Security Posture features on the cluster.", - "Applies Security Posture features on the cluster." + "Applies Security Posture features on the cluster.", + "Applies the Security Posture off cluster Enterprise level features." ], "type": "string" }, diff --git a/discovery/gkehub-v1beta.json b/discovery/gkehub-v1beta.json index f1a1b2372b..c2bb2acce8 100644 --- a/discovery/gkehub-v1beta.json +++ b/discovery/gkehub-v1beta.json @@ -2101,7 +2101,7 @@ } } }, - "revision": "20240428", + "revision": "20240519", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -4620,6 +4620,13 @@ "nextPageToken": { "description": "A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return.", "type": "string" + }, + "unreachable": { + "description": "List of locations that could not be reached while fetching this list.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -4638,6 +4645,13 @@ "$ref": "RBACRoleBinding" }, "type": "array" + }, + "unreachable": { + "description": "List of locations that could not be reached while fetching this list.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -6080,12 +6094,14 @@ "enum": [ "MODE_UNSPECIFIED", "DISABLED", - "BASIC" + "BASIC", + "ENTERPRISE" ], "enumDescriptions": [ "Default value not specified.", "Disables Security Posture features on the cluster.", - "Applies Security Posture features on the cluster." + "Applies Security Posture features on the cluster.", + "Applies the Security Posture off cluster Enterprise level features." ], "type": "string" }, diff --git a/src/apis/gkehub/v1.ts b/src/apis/gkehub/v1.ts index d8170b13db..db33c190e1 100644 --- a/src/apis/gkehub/v1.ts +++ b/src/apis/gkehub/v1.ts @@ -1786,6 +1786,10 @@ export namespace gkehub_v1 { * A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return. */ nextPageToken?: string | null; + /** + * List of locations that could not be reached while fetching this list. + */ + unreachable?: string[] | null; } /** * Response message for the `GkeHub.ListMemberships` method. diff --git a/src/apis/gkehub/v1alpha.ts b/src/apis/gkehub/v1alpha.ts index f22dad6725..d43f058a46 100644 --- a/src/apis/gkehub/v1alpha.ts +++ b/src/apis/gkehub/v1alpha.ts @@ -1974,6 +1974,10 @@ export namespace gkehub_v1alpha { * A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return. */ nextPageToken?: string | null; + /** + * List of locations that could not be reached while fetching this list. + */ + unreachable?: string[] | null; } /** * List of Membership RBACRoleBindings. @@ -1987,6 +1991,10 @@ export namespace gkehub_v1alpha { * The list of Membership RBACRoleBindings. */ rbacrolebindings?: Schema$RBACRoleBinding[]; + /** + * List of locations that could not be reached while fetching this list. + */ + unreachable?: string[] | null; } /** * Response message for the `GkeHub.ListMemberships` method. diff --git a/src/apis/gkehub/v1beta.ts b/src/apis/gkehub/v1beta.ts index 9600ccd6c9..e80cc99959 100644 --- a/src/apis/gkehub/v1beta.ts +++ b/src/apis/gkehub/v1beta.ts @@ -1864,6 +1864,10 @@ export namespace gkehub_v1beta { * A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return. */ nextPageToken?: string | null; + /** + * List of locations that could not be reached while fetching this list. + */ + unreachable?: string[] | null; } /** * List of Membership RBACRoleBindings. @@ -1877,6 +1881,10 @@ export namespace gkehub_v1beta { * The list of Membership RBACRoleBindings. */ rbacrolebindings?: Schema$RBACRoleBinding[]; + /** + * List of locations that could not be reached while fetching this list. + */ + unreachable?: string[] | null; } /** * Response message for the `GkeHub.ListMemberships` method.