Skip to content

Commit

Permalink
feat(gkehub): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Jun 3, 2024
1 parent 5421e28 commit ca13d15
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 9 deletions.
15 changes: 12 additions & 3 deletions discovery/gkehub-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@
}
}
},
"revision": "20240428",
"revision": "20240519",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AppDevExperienceFeatureSpec": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down
22 changes: 19 additions & 3 deletions discovery/gkehub-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -2175,7 +2175,7 @@
}
}
},
"revision": "20240428",
"revision": "20240519",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down
22 changes: 19 additions & 3 deletions discovery/gkehub-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@
}
}
},
"revision": "20240428",
"revision": "20240519",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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"
},
Expand Down
4 changes: 4 additions & 0 deletions src/apis/gkehub/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 8 additions & 0 deletions src/apis/gkehub/v1alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
8 changes: 8 additions & 0 deletions src/apis/gkehub/v1beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit ca13d15

Please sign in to comment.