Skip to content

Commit

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

The following keys were deleted:
- schemas.ConfigManagementConfigSync.properties.stopSyncing.type (Total Keys: 1)
- schemas.ConfigManagementMembershipSpec.properties.management.type (Total Keys: 1)

The following keys were added:
- schemas.BinaryAuthorizationConfig (Total Keys: 5)
- schemas.ClusterUpgradeFleetSpec (Total Keys: 7)
- schemas.ClusterUpgradeFleetState (Total Keys: 7)
- schemas.ClusterUpgradeGKEUpgrade (Total Keys: 28)
- schemas.ClusterUpgradeIgnoredMembership (Total Keys: 5)
- schemas.ClusterUpgradeMembershipGKEUpgradeState (Total Keys: 4)
- schemas.ClusterUpgradeMembershipState (Total Keys: 8)
- schemas.ClusterUpgradePostConditions (Total Keys: 4)
- schemas.ClusterUpgradeUpgradeStatus (Total Keys: 6)
- schemas.CommonFeatureSpec.properties.clusterupgrade.$ref (Total Keys: 1)
- schemas.CommonFeatureState.properties.clusterupgrade.$ref (Total Keys: 1)
- schemas.DefaultClusterConfig.properties.binaryAuthorizationConfig.$ref (Total Keys: 1)
- schemas.MembershipFeatureState.properties.clusterupgrade.$ref (Total Keys: 1)
- schemas.PolicyBinding (Total Keys: 3)

#### gkehub:v1alpha

The following keys were deleted:
- resources.projects.resources.locations.resources.namespaces.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.namespaces.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.namespaces.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.namespaces.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.namespaces.methods.patch (Total Keys: 15)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.patch (Total Keys: 15)
- schemas.ConfigManagementConfigSync.properties.stopSyncing.type (Total Keys: 1)
- schemas.ConfigManagementMembershipSpec.properties.management.type (Total Keys: 1)
- schemas.ListNamespacesResponse (Total Keys: 5)
- schemas.ListRBACRoleBindingsResponse (Total Keys: 5)

The following keys were added:
- schemas.BinaryAuthorizationConfig (Total Keys: 5)
- schemas.DefaultClusterConfig.properties.binaryAuthorizationConfig.$ref (Total Keys: 1)
- schemas.PolicyBinding (Total Keys: 3)

#### gkehub:v1beta

The following keys were deleted:
- resources.projects.resources.locations.resources.namespaces.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.namespaces.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.namespaces.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.namespaces.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.namespaces.methods.patch (Total Keys: 15)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.namespaces.resources.rbacrolebindings.methods.patch (Total Keys: 15)
- schemas.ConfigManagementConfigSync.properties.stopSyncing.type (Total Keys: 1)
- schemas.ConfigManagementMembershipSpec.properties.management.type (Total Keys: 1)
- schemas.ListNamespacesResponse (Total Keys: 5)
- schemas.ListRBACRoleBindingsResponse (Total Keys: 5)

The following keys were added:
- schemas.BinaryAuthorizationConfig (Total Keys: 5)
- schemas.ClusterUpgradeFleetSpec (Total Keys: 7)
- schemas.ClusterUpgradeFleetState (Total Keys: 7)
- schemas.ClusterUpgradeGKEUpgrade (Total Keys: 28)
- schemas.ClusterUpgradeIgnoredMembership (Total Keys: 5)
- schemas.ClusterUpgradeMembershipGKEUpgradeState (Total Keys: 4)
- schemas.ClusterUpgradeMembershipState (Total Keys: 8)
- schemas.ClusterUpgradePostConditions (Total Keys: 4)
- schemas.ClusterUpgradeUpgradeStatus (Total Keys: 6)
- schemas.CommonFeatureSpec.properties.clusterupgrade.$ref (Total Keys: 1)
- schemas.CommonFeatureState.properties.clusterupgrade.$ref (Total Keys: 1)
- schemas.DefaultClusterConfig.properties.binaryAuthorizationConfig.$ref (Total Keys: 1)
- schemas.MembershipFeatureState.properties.clusterupgrade.$ref (Total Keys: 1)
- schemas.PolicyBinding (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Nov 29, 2023
1 parent 69f8d8b commit 31d305b
Show file tree
Hide file tree
Showing 22 changed files with 1,462 additions and 881 deletions.
8 changes: 8 additions & 0 deletions docs/dyn/gkehub_v1.organizations.locations.fleets.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ <h3>Method Details</h3>
{ # Fleet contains the Fleet-wide metadata and configuration.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
&quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
&quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
&quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
{ # Binauthz policy that applies to this cluster.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
},
],
},
&quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture features for the cluster.
&quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
&quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
Expand Down
340 changes: 316 additions & 24 deletions docs/dyn/gkehub_v1.projects.locations.features.html

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions docs/dyn/gkehub_v1.projects.locations.fleets.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ <h3>Method Details</h3>
{ # Fleet contains the Fleet-wide metadata and configuration.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
&quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
&quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
&quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
{ # Binauthz policy that applies to this cluster.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
},
],
},
&quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture features for the cluster.
&quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
&quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
Expand Down Expand Up @@ -212,6 +220,14 @@ <h3>Method Details</h3>
{ # Fleet contains the Fleet-wide metadata and configuration.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
&quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
&quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
&quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
{ # Binauthz policy that applies to this cluster.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
},
],
},
&quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture features for the cluster.
&quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
&quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
Expand Down Expand Up @@ -252,6 +268,14 @@ <h3>Method Details</h3>
{ # Fleet contains the Fleet-wide metadata and configuration.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
&quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
&quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
&quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
{ # Binauthz policy that applies to this cluster.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
},
],
},
&quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture features for the cluster.
&quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
&quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
Expand Down Expand Up @@ -300,6 +324,14 @@ <h3>Method Details</h3>
{ # Fleet contains the Fleet-wide metadata and configuration.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
&quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
&quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
&quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
{ # Binauthz policy that applies to this cluster.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
},
],
},
&quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture features for the cluster.
&quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
&quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels for this RBACRolebinding.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
&quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
&quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
},
Expand Down Expand Up @@ -215,7 +215,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels for this RBACRolebinding.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
&quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
&quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
},
Expand Down Expand Up @@ -254,7 +254,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels for this RBACRolebinding.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
&quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
&quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
},
Expand Down Expand Up @@ -288,7 +288,7 @@ <h3>Method Details</h3>
<pre>Updates a Scope RBACRoleBinding.

Args:
name: string, The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` (required)
name: string, The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` (required)
body: object, The request body.
The object takes the form of:

Expand All @@ -299,7 +299,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels for this RBACRolebinding.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
&quot;name&quot;: &quot;A String&quot;, # The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
&quot;role&quot;: { # Role is the type for Kubernetes roles # Required. Role to bind to the principal
&quot;predefinedRole&quot;: &quot;A String&quot;, # predefined_role is the Kubernetes default role to use
},
Expand Down
8 changes: 8 additions & 0 deletions docs/dyn/gkehub_v1alpha.organizations.locations.fleets.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ <h3>Method Details</h3>
{ # Fleet contains the Fleet-wide metadata and configuration.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
&quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
&quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
&quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
{ # Binauthz policy that applies to this cluster.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
},
],
},
&quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Enable/Disable Security Posture features for the cluster.
&quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
&quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
Expand Down
Loading

0 comments on commit 31d305b

Please sign in to comment.