Debian Codegraph @

docs/dyn/gkehub_v1alpha.projects.locations.features.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="gkehub_v1alpha.html">GKE Hub API</a> . <a href="gkehub_v1alpha.projects.html">projects</a> . <a href="gkehub_v1alpha.projects.locations.html">locations</a> . <a href="gkehub_v1alpha.projects.locations.features.html">features</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, featureId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Adds a new Feature.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, force=None, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Removes a Feature.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single Feature.</p>
89 <p class="toc_element">
90 <code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Lists Features in a given project and location.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates an existing Feature.</p>
101 <p class="toc_element">
102 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.</p>
104 <p class="toc_element">
105 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.</p>
107 <h3>Method Details</h3>
108 <div class="method">
109 <code class="details" id="close">close()</code>
110 <pre>Close httplib2 connections.</pre>
111 </div>
112
113 <div class="method">
114 <code class="details" id="create">create(parent, body=None, featureId=None, requestId=None, x__xgafv=None)</code>
115 <pre>Adds a new Feature.
116
117 Args:
118 parent: string, Required. The parent (project and location) where the Feature will be created. Specified in the format `projects/*/locations/*`. (required)
119 body: object, The request body.
120 The object takes the form of:
121
122 { # Feature represents the settings and status of any Fleet Feature.
123 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was created.
124 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was deleted.
125 &quot;fleetDefaultMemberConfig&quot;: { # CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet # Optional. Feature configuration applicable to all memberships of the fleet.
126 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
127 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
128 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
129 },
130 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
131 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
132 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
133 { # Configuration for a deployment override.
134 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
135 { # Configuration for a container override.
136 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
137 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
138 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
139 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
140 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
141 },
142 ],
143 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
144 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
145 },
146 ],
147 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
148 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
149 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
150 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
151 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
152 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
153 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
154 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
155 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
156 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
157 },
158 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
159 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
160 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
161 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
162 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
163 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
164 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
165 },
166 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
167 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
168 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
169 },
170 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
171 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
172 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
173 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
174 },
175 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
176 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
177 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
178 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
179 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
180 &quot;A String&quot;,
181 ],
182 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
183 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
184 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
185 &quot;A String&quot;,
186 ],
187 },
188 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
189 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
190 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
191 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
192 },
193 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
194 },
195 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
196 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
197 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
198 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
199 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
200 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
201 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
202 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
203 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
204 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
205 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
206 },
207 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
208 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
209 },
210 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
211 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
212 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
213 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
214 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
215 },
216 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
217 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
218 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
219 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
220 },
221 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
222 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
223 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
224 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
225 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
226 },
227 },
228 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
229 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
230 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
231 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
232 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
233 },
234 },
235 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
236 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
237 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
238 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
239 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
240 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
241 &quot;enableAccessToken&quot;: True or False, # Enable access token.
242 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
243 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
244 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
245 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
246 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
247 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
248 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
249 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
250 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
251 },
252 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
253 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
254 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
255 &quot;a_key&quot;: &quot;A String&quot;,
256 },
257 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
258 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
259 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
260 &quot;A String&quot;,
261 ],
262 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
263 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
264 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
265 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
266 },
267 },
268 ],
269 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
270 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
271 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
272 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
273 },
274 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
275 },
276 },
277 &quot;mesh&quot;: { # **Service Mesh**: Spec for a single Membership for the servicemesh feature # Anthos Service Mesh-specific spec
278 &quot;configApi&quot;: &quot;A String&quot;, # Optional. Specifies the API that will be used for configuring the mesh workloads.
279 &quot;controlPlane&quot;: &quot;A String&quot;, # Deprecated: use `management` instead Enables automatic control plane management.
280 &quot;defaultChannel&quot;: &quot;A String&quot;, # Determines which release channel to use for default injection and service mesh APIs.
281 &quot;management&quot;: &quot;A String&quot;, # Optional. Enables automatic Service Mesh management.
282 },
283 &quot;policycontroller&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Policy Controller spec.
284 &quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
285 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
286 &quot;constraintViolationLimit&quot;: &quot;A String&quot;, # The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
287 &quot;deploymentConfigs&quot;: { # Map of deployment configs to deployments (&quot;admission&quot;, &quot;audit&quot;, &quot;mutation&#x27;).
288 &quot;a_key&quot;: { # Deployment-specific configuration.
289 &quot;containerResources&quot;: { # ResourceRequirements describes the compute resource requirements. # Container resource requirements.
290 &quot;limits&quot;: { # ResourceList contains container resource requirements. # Limits describes the maximum amount of compute resources allowed for use by the running container.
291 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
292 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
293 },
294 &quot;requests&quot;: { # ResourceList contains container resource requirements. # Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
295 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
296 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
297 },
298 },
299 &quot;podAffinity&quot;: &quot;A String&quot;, # Pod affinity configuration.
300 &quot;podAntiAffinity&quot;: True or False, # Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
301 &quot;podTolerations&quot;: [ # Pod tolerations of node taints.
302 { # Toleration of a node taint.
303 &quot;effect&quot;: &quot;A String&quot;, # Matches a taint effect.
304 &quot;key&quot;: &quot;A String&quot;, # Matches a taint key (not necessarily unique).
305 &quot;operator&quot;: &quot;A String&quot;, # Matches a taint operator.
306 &quot;value&quot;: &quot;A String&quot;, # Matches a taint value.
307 },
308 ],
309 &quot;replicaCount&quot;: &quot;A String&quot;, # Pod replica count.
310 },
311 },
312 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
313 &quot;A String&quot;,
314 ],
315 &quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
316 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
317 &quot;monitoring&quot;: { # MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
318 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
319 &quot;A String&quot;,
320 ],
321 },
322 &quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
323 &quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
324 &quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
325 &quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
326 &quot;exemptedNamespaces&quot;: [ # The set of namespaces to be exempted from the bundle.
327 &quot;A String&quot;,
328 ],
329 },
330 },
331 &quot;templateLibrary&quot;: { # The config specifying which default library templates to install. # Configures the installation of the Template Library.
332 &quot;installation&quot;: &quot;A String&quot;, # Configures the manner in which the template library is installed on the cluster.
333 },
334 },
335 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
336 },
337 &quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
338 },
339 },
340 &quot;labels&quot;: { # Labels for this Feature.
341 &quot;a_key&quot;: &quot;A String&quot;,
342 },
343 &quot;membershipSpecs&quot;: { # Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature&#x27;s project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
344 &quot;a_key&quot;: { # MembershipFeatureSpec contains configuration information for a single Membership.
345 &quot;cloudbuild&quot;: { # **Cloud Build**: Configurations for each Cloud Build enabled cluster. # Cloud Build-specific spec
346 &quot;securityPolicy&quot;: &quot;A String&quot;, # Whether it is allowed to run the privileged builds on the cluster or not.
347 &quot;version&quot;: &quot;A String&quot;, # Version of the cloud build software on the cluster.
348 },
349 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
350 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
351 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
352 },
353 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
354 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
355 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
356 { # Configuration for a deployment override.
357 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
358 { # Configuration for a container override.
359 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
360 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
361 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
362 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
363 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
364 },
365 ],
366 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
367 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
368 },
369 ],
370 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
371 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
372 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
373 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
374 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
375 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
376 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
377 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
378 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
379 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
380 },
381 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
382 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
383 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
384 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
385 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
386 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
387 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
388 },
389 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
390 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
391 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
392 },
393 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
394 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
395 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
396 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
397 },
398 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
399 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
400 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
401 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
402 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
403 &quot;A String&quot;,
404 ],
405 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
406 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
407 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
408 &quot;A String&quot;,
409 ],
410 },
411 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
412 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
413 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
414 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
415 },
416 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
417 },
418 &quot;fleetobservability&quot;: { # **FleetObservability**: The membership-specific input for FleetObservability feature. # Fleet observability membership spec
419 },
420 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
421 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
422 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
423 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
424 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
425 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
426 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
427 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
428 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
429 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
430 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
431 },
432 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
433 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
434 },
435 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
436 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
437 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
438 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
439 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
440 },
441 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
442 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
443 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
444 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
445 },
446 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
447 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
448 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
449 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
450 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
451 },
452 },
453 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
454 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
455 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
456 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
457 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
458 },
459 },
460 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
461 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
462 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
463 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
464 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
465 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
466 &quot;enableAccessToken&quot;: True or False, # Enable access token.
467 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
468 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
469 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
470 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
471 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
472 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
473 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
474 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
475 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
476 },
477 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
478 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
479 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
480 &quot;a_key&quot;: &quot;A String&quot;,
481 },
482 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
483 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
484 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
485 &quot;A String&quot;,
486 ],
487 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
488 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
489 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
490 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
491 },
492 },
493 ],
494 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
495 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
496 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
497 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
498 },
499 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
500 },
501 },
502 &quot;mesh&quot;: { # **Service Mesh**: Spec for a single Membership for the servicemesh feature # Anthos Service Mesh-specific spec
503 &quot;configApi&quot;: &quot;A String&quot;, # Optional. Specifies the API that will be used for configuring the mesh workloads.
504 &quot;controlPlane&quot;: &quot;A String&quot;, # Deprecated: use `management` instead Enables automatic control plane management.
505 &quot;defaultChannel&quot;: &quot;A String&quot;, # Determines which release channel to use for default injection and service mesh APIs.
506 &quot;management&quot;: &quot;A String&quot;, # Optional. Enables automatic Service Mesh management.
507 },
508 &quot;namespaceactuation&quot;: { # **Namespace Actuation**: The membership-specific input for NamespaceActuation feature. # FNS Actuation membership spec
509 },
510 &quot;origin&quot;: { # Origin defines where this MembershipFeatureSpec originated from. # Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly) or setting to FLEET explicitly.
511 &quot;type&quot;: &quot;A String&quot;, # Type specifies which type of origin is set.
512 },
513 &quot;policycontroller&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Policy Controller spec.
514 &quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
515 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
516 &quot;constraintViolationLimit&quot;: &quot;A String&quot;, # The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
517 &quot;deploymentConfigs&quot;: { # Map of deployment configs to deployments (&quot;admission&quot;, &quot;audit&quot;, &quot;mutation&#x27;).
518 &quot;a_key&quot;: { # Deployment-specific configuration.
519 &quot;containerResources&quot;: { # ResourceRequirements describes the compute resource requirements. # Container resource requirements.
520 &quot;limits&quot;: { # ResourceList contains container resource requirements. # Limits describes the maximum amount of compute resources allowed for use by the running container.
521 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
522 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
523 },
524 &quot;requests&quot;: { # ResourceList contains container resource requirements. # Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
525 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
526 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
527 },
528 },
529 &quot;podAffinity&quot;: &quot;A String&quot;, # Pod affinity configuration.
530 &quot;podAntiAffinity&quot;: True or False, # Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
531 &quot;podTolerations&quot;: [ # Pod tolerations of node taints.
532 { # Toleration of a node taint.
533 &quot;effect&quot;: &quot;A String&quot;, # Matches a taint effect.
534 &quot;key&quot;: &quot;A String&quot;, # Matches a taint key (not necessarily unique).
535 &quot;operator&quot;: &quot;A String&quot;, # Matches a taint operator.
536 &quot;value&quot;: &quot;A String&quot;, # Matches a taint value.
537 },
538 ],
539 &quot;replicaCount&quot;: &quot;A String&quot;, # Pod replica count.
540 },
541 },
542 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
543 &quot;A String&quot;,
544 ],
545 &quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
546 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
547 &quot;monitoring&quot;: { # MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
548 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
549 &quot;A String&quot;,
550 ],
551 },
552 &quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
553 &quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
554 &quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
555 &quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
556 &quot;exemptedNamespaces&quot;: [ # The set of namespaces to be exempted from the bundle.
557 &quot;A String&quot;,
558 ],
559 },
560 },
561 &quot;templateLibrary&quot;: { # The config specifying which default library templates to install. # Configures the installation of the Template Library.
562 &quot;installation&quot;: &quot;A String&quot;, # Configures the manner in which the template library is installed on the cluster.
563 },
564 },
565 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
566 },
567 &quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
568 },
569 &quot;workloadcertificate&quot;: { # **Workload Certificate**: The membership-specific input for WorkloadCertificate feature. # Workload Certificate spec.
570 &quot;certificateManagement&quot;: &quot;A String&quot;, # Specifies workload certificate management.
571 },
572 },
573 },
574 &quot;membershipStates&quot;: { # Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature&#x27;s project number.
575 &quot;a_key&quot;: { # MembershipFeatureState contains Feature status information for a single Membership.
576 &quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
577 &quot;networkingInstallSucceeded&quot;: { # Status specifies state for the subcomponent. # Status of subcomponent that detects configured Service Mesh resources.
578 &quot;code&quot;: &quot;A String&quot;, # Code specifies AppDevExperienceFeature&#x27;s subcomponent ready state.
579 &quot;description&quot;: &quot;A String&quot;, # Description is populated if Code is Failed, explaining why it has failed.
580 },
581 },
582 &quot;clusterupgrade&quot;: { # Per-membership state for this feature. # ClusterUpgrade state.
583 &quot;ignored&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default. # Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel.
584 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
585 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
586 },
587 &quot;scopes&quot;: [ # Fully qualified scope names that this clusters is bound to which also have rollout sequencing enabled.
588 &quot;A String&quot;,
589 ],
590 &quot;upgrades&quot;: [ # Actual upgrade state against desired.
591 { # ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership.
592 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
593 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
594 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
595 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
596 },
597 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
598 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
599 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
600 },
601 },
602 ],
603 },
604 &quot;configmanagement&quot;: { # **Anthos Config Management**: State for a single cluster. # Config Management-specific state.
605 &quot;binauthzState&quot;: { # State for Binauthz # Output only. Binauthz status
606 &quot;version&quot;: { # The version of binauthz. # The version of binauthz that is installed.
607 &quot;webhookVersion&quot;: &quot;A String&quot;, # The version of the binauthz webhook.
608 },
609 &quot;webhook&quot;: &quot;A String&quot;, # The state of the binauthz webhook.
610 },
611 &quot;clusterName&quot;: &quot;A String&quot;, # Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster&#x27;s fleet membership name.
612 &quot;configSyncState&quot;: { # State information for ConfigSync # Output only. Current sync status
613 &quot;clusterLevelStopSyncingState&quot;: &quot;A String&quot;, # Output only. Whether syncing resources to the cluster is stopped at the cluster level.
614 &quot;crCount&quot;: 42, # Output only. The number of RootSync and RepoSync CRs in the cluster.
615 &quot;deploymentState&quot;: { # The state of ConfigSync&#x27;s deployment on a cluster # Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed
616 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Deployment state of admission-webhook
617 &quot;gitSync&quot;: &quot;A String&quot;, # Deployment state of the git-sync pod
618 &quot;importer&quot;: &quot;A String&quot;, # Deployment state of the importer pod
619 &quot;monitor&quot;: &quot;A String&quot;, # Deployment state of the monitor pod
620 &quot;otelCollector&quot;: &quot;A String&quot;, # Deployment state of otel-collector
621 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Deployment state of reconciler-manager pod
622 &quot;resourceGroupControllerManager&quot;: &quot;A String&quot;, # Deployment state of resource-group-controller-manager
623 &quot;rootReconciler&quot;: &quot;A String&quot;, # Deployment state of root-reconciler
624 &quot;syncer&quot;: &quot;A String&quot;, # Deployment state of the syncer pod
625 },
626 &quot;errors&quot;: [ # Output only. Errors pertaining to the installation of Config Sync.
627 { # Errors pertaining to the installation of Config Sync
628 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
629 },
630 ],
631 &quot;reposyncCrd&quot;: &quot;A String&quot;, # Output only. The state of the Reposync CRD
632 &quot;rootsyncCrd&quot;: &quot;A String&quot;, # Output only. The state of the RootSync CRD
633 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of CS This field summarizes the other fields in this message.
634 &quot;syncState&quot;: { # State indicating an ACM&#x27;s progress syncing configurations to a cluster # Output only. The state of ConfigSync&#x27;s process to sync configs to a cluster
635 &quot;code&quot;: &quot;A String&quot;, # Sync status code
636 &quot;errors&quot;: [ # A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
637 { # An ACM created error representing a problem syncing configurations
638 &quot;code&quot;: &quot;A String&quot;, # An ACM defined error code
639 &quot;errorMessage&quot;: &quot;A String&quot;, # A description of the error
640 &quot;errorResources&quot;: [ # A list of config(s) associated with the error, if any
641 { # Model for a config file in the git repo with an associated Sync error
642 &quot;resourceGvk&quot;: { # A Kubernetes object&#x27;s GVK # Group/version/kind of the resource that is causing an error
643 &quot;group&quot;: &quot;A String&quot;, # Kubernetes Group
644 &quot;kind&quot;: &quot;A String&quot;, # Kubernetes Kind
645 &quot;version&quot;: &quot;A String&quot;, # Kubernetes Version
646 },
647 &quot;resourceName&quot;: &quot;A String&quot;, # Metadata name of the resource that is causing an error
648 &quot;resourceNamespace&quot;: &quot;A String&quot;, # Namespace of the resource that is causing an error
649 &quot;sourcePath&quot;: &quot;A String&quot;, # Path in the git repo of the erroneous config
650 },
651 ],
652 },
653 ],
654 &quot;importToken&quot;: &quot;A String&quot;, # Token indicating the state of the importer.
655 &quot;lastSync&quot;: &quot;A String&quot;, # Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
656 &quot;lastSyncTime&quot;: &quot;A String&quot;, # Timestamp type of when ACM last successfully synced the repo
657 &quot;sourceToken&quot;: &quot;A String&quot;, # Token indicating the state of the repo.
658 &quot;syncToken&quot;: &quot;A String&quot;, # Token indicating the state of the syncer.
659 },
660 &quot;version&quot;: { # Specific versioning information pertaining to ConfigSync&#x27;s Pods # Output only. The version of ConfigSync deployed
661 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Version of the deployed admission-webhook pod
662 &quot;gitSync&quot;: &quot;A String&quot;, # Version of the deployed git-sync pod
663 &quot;importer&quot;: &quot;A String&quot;, # Version of the deployed importer pod
664 &quot;monitor&quot;: &quot;A String&quot;, # Version of the deployed monitor pod
665 &quot;otelCollector&quot;: &quot;A String&quot;, # Version of the deployed otel-collector pod
666 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Version of the deployed reconciler-manager pod
667 &quot;resourceGroupControllerManager&quot;: &quot;A String&quot;, # Version of the deployed resource-group-controller-manager pod
668 &quot;rootReconciler&quot;: &quot;A String&quot;, # Version of the deployed reconciler container in root-reconciler pod
669 &quot;syncer&quot;: &quot;A String&quot;, # Version of the deployed syncer pod
670 },
671 },
672 &quot;hierarchyControllerState&quot;: { # State for Hierarchy Controller # Output only. Hierarchy Controller status
673 &quot;state&quot;: { # Deployment state for Hierarchy Controller # The deployment state for Hierarchy Controller
674 &quot;extension&quot;: &quot;A String&quot;, # The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
675 &quot;hnc&quot;: &quot;A String&quot;, # The deployment state for open source HNC (e.g. v0.7.0-hc.0)
676 },
677 &quot;version&quot;: { # Version for Hierarchy Controller # The version for Hierarchy Controller
678 &quot;extension&quot;: &quot;A String&quot;, # Version for Hierarchy Controller extension
679 &quot;hnc&quot;: &quot;A String&quot;, # Version for open source HNC
680 },
681 },
682 &quot;kubernetesApiServerVersion&quot;: &quot;A String&quot;, # Output only. The Kubernetes API server version of the cluster.
683 &quot;membershipSpec&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
684 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
685 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
686 },
687 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
688 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
689 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
690 { # Configuration for a deployment override.
691 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
692 { # Configuration for a container override.
693 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
694 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
695 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
696 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
697 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
698 },
699 ],
700 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
701 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
702 },
703 ],
704 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
705 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
706 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
707 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
708 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
709 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
710 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
711 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
712 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
713 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
714 },
715 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
716 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
717 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
718 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
719 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
720 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
721 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
722 },
723 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
724 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
725 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
726 },
727 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
728 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
729 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
730 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
731 },
732 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
733 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
734 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
735 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
736 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
737 &quot;A String&quot;,
738 ],
739 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
740 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
741 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
742 &quot;A String&quot;,
743 ],
744 },
745 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
746 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
747 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
748 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
749 },
750 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
751 },
752 &quot;operatorState&quot;: { # State information for an ACM&#x27;s Operator # Output only. Current install status of ACM&#x27;s Operator
753 &quot;deploymentState&quot;: &quot;A String&quot;, # The state of the Operator&#x27;s deployment
754 &quot;errors&quot;: [ # Install errors.
755 { # Errors pertaining to the installation of ACM
756 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
757 },
758 ],
759 &quot;version&quot;: &quot;A String&quot;, # The semenatic version number of the operator
760 },
761 &quot;policyControllerState&quot;: { # State for PolicyControllerState. # Output only. PolicyController status
762 &quot;deploymentState&quot;: { # State of Policy Controller installation. # The state about the policy controller installation.
763 &quot;gatekeeperAudit&quot;: &quot;A String&quot;, # Status of gatekeeper-audit deployment.
764 &quot;gatekeeperControllerManagerState&quot;: &quot;A String&quot;, # Status of gatekeeper-controller-manager pod.
765 &quot;gatekeeperMutation&quot;: &quot;A String&quot;, # Status of the pod serving the mutation webhook.
766 },
767 &quot;migration&quot;: { # State for the migration of PolicyController from ACM -&gt; PoCo Hub. # Record state of ACM -&gt; PoCo Hub migration for this feature.
768 &quot;copyTime&quot;: &quot;A String&quot;, # Last time this membership spec was copied to PoCo feature.
769 &quot;stage&quot;: &quot;A String&quot;, # Stage of the migration.
770 },
771 &quot;version&quot;: { # The build version of Gatekeeper Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
772 &quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
773 },
774 },
775 },
776 &quot;fleetobservability&quot;: { # **FleetObservability**: Membership-specific Feature state for fleetobservability. # Fleet observability membership state.
777 },
778 &quot;identityservice&quot;: { # **Anthos Identity Service**: State for a single Membership. # Identity Service-specific state.
779 &quot;failureReason&quot;: &quot;A String&quot;, # The reason of the failure.
780 &quot;installedVersion&quot;: &quot;A String&quot;, # Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK.
781 &quot;memberConfig&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Last reconciled membership configuration
782 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
783 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
784 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
785 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
786 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
787 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
788 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
789 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
790 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
791 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
792 },
793 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
794 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
795 },
796 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
797 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
798 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
799 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
800 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
801 },
802 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
803 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
804 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
805 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
806 },
807 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
808 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
809 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
810 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
811 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
812 },
813 },
814 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
815 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
816 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
817 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
818 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
819 },
820 },
821 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
822 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
823 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
824 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
825 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
826 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
827 &quot;enableAccessToken&quot;: True or False, # Enable access token.
828 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
829 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
830 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
831 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
832 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
833 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
834 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
835 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
836 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
837 },
838 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
839 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
840 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
841 &quot;a_key&quot;: &quot;A String&quot;,
842 },
843 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
844 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
845 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
846 &quot;A String&quot;,
847 ],
848 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
849 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
850 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
851 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
852 },
853 },
854 ],
855 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
856 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
857 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
858 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
859 },
860 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
861 },
862 },
863 &quot;state&quot;: &quot;A String&quot;, # Deployment state on this member
864 },
865 &quot;metering&quot;: { # **Metering**: Per-Membership Feature State. # Metering-specific state.
866 &quot;lastMeasurementTime&quot;: &quot;A String&quot;, # The time stamp of the most recent measurement of the number of vCPUs in the cluster.
867 &quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
868 },
869 &quot;namespaceactuation&quot;: { # **Namespace Actuation**: An empty state left as an example membership-specific Feature state. # FNS Actuation membership state
870 },
871 &quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
872 &quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
873 &quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
874 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
875 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
876 },
877 },
878 &quot;policyContentState&quot;: { # The state of the policy controller policy content # The overall content state observed by the Hub Feature controller.
879 &quot;bundleStates&quot;: { # The state of the any bundles included in the chosen version of the manifest
880 &quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
881 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
882 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
883 },
884 },
885 &quot;referentialSyncConfigState&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller. # The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user.
886 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
887 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
888 },
889 &quot;templateLibraryState&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller. # The state of the template library
890 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
891 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
892 },
893 },
894 &quot;state&quot;: &quot;A String&quot;, # The overall Policy Controller lifecycle state observed by the Hub Feature controller.
895 },
896 &quot;servicemesh&quot;: { # **Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
897 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
898 { # AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.
899 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
900 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
901 },
902 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
903 &quot;messageBase&quot;: { # AnalysisMessageBase describes some common information that is needed for all messages. # Details common to all types of Istio and ServiceMesh analysis messages.
904 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
905 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
906 &quot;type&quot;: { # A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type # Represents the specific type of a message.
907 &quot;code&quot;: &quot;A String&quot;, # A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. &quot;IST0001&quot; is mapped to the &quot;InternalError&quot; message type.)
908 &quot;displayName&quot;: &quot;A String&quot;, # A human-readable name for the message type. e.g. &quot;InternalError&quot;, &quot;PodMissingProxy&quot;. This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)
909 },
910 },
911 &quot;resourcePaths&quot;: [ # A list of strings specifying the resource identifiers that were the cause of message generation. A &quot;path&quot; here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
912 &quot;A String&quot;,
913 ],
914 },
915 ],
916 &quot;conditions&quot;: [ # Output only. List of conditions reported for this membership.
917 { # Condition being reported.
918 &quot;code&quot;: &quot;A String&quot;, # Unique identifier of the condition which describes the condition recognizable to the user.
919 &quot;details&quot;: &quot;A String&quot;, # A short summary about the issue.
920 &quot;documentationLink&quot;: &quot;A String&quot;, # Links contains actionable information.
921 &quot;severity&quot;: &quot;A String&quot;, # Severity level of the condition.
922 },
923 ],
924 &quot;configApiVersion&quot;: &quot;A String&quot;, # The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field.
925 &quot;controlPlaneManagement&quot;: { # Status of control plane management. # Output only. Status of control plane management
926 &quot;details&quot;: [ # Explanation of state.
927 { # Structured and human-readable details for a status.
928 &quot;code&quot;: &quot;A String&quot;, # A machine-readable code that further describes a broad status.
929 &quot;details&quot;: &quot;A String&quot;, # Human-readable explanation of code.
930 },
931 ],
932 &quot;implementation&quot;: &quot;A String&quot;, # Output only. Implementation of managed control plane.
933 &quot;state&quot;: &quot;A String&quot;, # LifecycleState of control plane management.
934 },
935 &quot;dataPlaneManagement&quot;: { # Status of data plane management. Only reported per-member. # Output only. Status of data plane management.
936 &quot;details&quot;: [ # Explanation of the status.
937 { # Structured and human-readable details for a status.
938 &quot;code&quot;: &quot;A String&quot;, # A machine-readable code that further describes a broad status.
939 &quot;details&quot;: &quot;A String&quot;, # Human-readable explanation of code.
940 },
941 ],
942 &quot;state&quot;: &quot;A String&quot;, # Lifecycle status of data plane management.
943 },
944 },
945 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # The high-level state of this Feature for a single membership.
946 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
947 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
948 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
949 },
950 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature. # Workload Identity membership specific state.
951 &quot;description&quot;: &quot;A String&quot;, # Deprecated, this field will be erased after code is changed to use the new field.
952 &quot;identityProviderStateDetails&quot;: { # The state of the Identity Providers corresponding to the membership.
953 &quot;a_key&quot;: { # IdentityProviderStateDetail represents the state of an Identity Provider.
954 &quot;code&quot;: &quot;A String&quot;, # The state of the Identity Provider.
955 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
956 },
957 },
958 },
959 },
960 },
961 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
962 &quot;resourceState&quot;: { # FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the &quot;running state&quot; of the Feature in the Fleet and across Memberships. # Output only. State of the Feature resource itself.
963 &quot;state&quot;: &quot;A String&quot;, # The current state of the Feature resource in the Hub API.
964 },
965 &quot;scopeSpecs&quot;: { # Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
966 &quot;a_key&quot;: { # ScopeFeatureSpec contains feature specs for a fleet scope.
967 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The configuration for the scope-level ClusterUpgrade feature. # Spec for the ClusterUpgrade feature at the scope level
968 &quot;gkeUpgradeOverrides&quot;: [ # Allow users to override some properties of each GKE upgrade.
969 { # Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.
970 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to override for the specified upgrade (name + version). Required.
971 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
972 },
973 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Required. Which upgrade to override. Required.
974 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
975 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
976 },
977 },
978 ],
979 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required.
980 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
981 },
982 &quot;upstreamScopes&quot;: [ # This scope consumes upgrades that have COMPLETE status code in the upstream scopes. See UpgradeStatus.Code for code definitions. The scope name should be in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream scope.
983 &quot;A String&quot;,
984 ],
985 },
986 },
987 },
988 &quot;scopeStates&quot;: { # Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project.
989 &quot;a_key&quot;: { # ScopeFeatureState contains Scope-wide Feature status information.
990 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The state for the scope-level ClusterUpgrade feature. # State for the ClusterUpgrade feature at the scope level
991 &quot;downstreamScopes&quot;: [ # This scopes whose upstream_scopes contain the current scope. The scope name should be in the form: `projects/{p}/locations/gloobal/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project.
992 &quot;A String&quot;,
993 ],
994 &quot;gkeState&quot;: { # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope. # Feature state for GKE clusters.
995 &quot;conditions&quot;: [ # Current conditions of the feature.
996 { # GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.
997 &quot;reason&quot;: &quot;A String&quot;, # Reason why the feature is in this status.
998 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
999 &quot;type&quot;: &quot;A String&quot;, # Type of the condition, for example, &quot;ready&quot;.
1000 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the condition was updated.
1001 },
1002 ],
1003 &quot;upgradeState&quot;: [ # Upgrade state. It will eventually replace `state`.
1004 { # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
1005 &quot;stats&quot;: { # Number of GKE clusters in each status code.
1006 &quot;a_key&quot;: &quot;A String&quot;,
1007 },
1008 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
1009 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
1010 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
1011 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
1012 },
1013 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
1014 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
1015 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
1016 },
1017 },
1018 ],
1019 },
1020 &quot;ignored&quot;: { # A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.
1021 &quot;a_key&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.
1022 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
1023 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
1024 },
1025 },
1026 },
1027 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # Output only. The &quot;running state&quot; of the Feature in this Scope.
1028 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
1029 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
1030 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
1031 },
1032 },
1033 },
1034 &quot;spec&quot;: { # CommonFeatureSpec contains Fleet-wide configuration information # Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
1035 &quot;appdevexperience&quot;: { # Spec for App Dev Experience Feature. # Appdevexperience specific spec.
1036 },
1037 &quot;cloudauditlogging&quot;: { # **Cloud Audit Logging**: Spec for Audit Logging Allowlisting. # Cloud Audit Logging-specific spec.
1038 &quot;allowlistedServiceAccounts&quot;: [ # Service account that should be allowlisted to send the audit logs; eg [email protected]. These accounts must already exist, but do not need to have any permissions granted to them. The customer&#x27;s entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
1039 &quot;A String&quot;,
1040 ],
1041 },
1042 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade feature. # ClusterUpgrade (fleet-based) feature spec.
1043 &quot;gkeUpgradeOverrides&quot;: [ # Allow users to override some properties of each GKE upgrade.
1044 { # Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.
1045 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to override for the specified upgrade (name + version). Required.
1046 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
1047 },
1048 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Required. Which upgrade to override. Required.
1049 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
1050 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
1051 },
1052 },
1053 ],
1054 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required.
1055 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
1056 },
1057 &quot;upgradeEngine&quot;: &quot;A String&quot;, # Output only. The effective upgrade engine for the fleet.
1058 &quot;upstreamFleets&quot;: [ # This fleet consumes upgrades that have COMPLETE status code in the upstream fleets. See UpgradeStatus.Code for code definitions. The fleet name should be either fleet project number or id. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream fleet.
1059 &quot;A String&quot;,
1060 ],
1061 },
1062 &quot;dataplanev2&quot;: { # **Dataplane V2**: Spec # DataplaneV2 feature spec.
1063 &quot;enableEncryption&quot;: True or False, # Enable dataplane-v2 based encryption for multiple clusters.
1064 },
1065 &quot;fleetobservability&quot;: { # **Fleet Observability**: The Hub-wide input for the FleetObservability feature. # FleetObservability feature spec.
1066 &quot;loggingConfig&quot;: { # LoggingConfig defines the configuration for different types of logs. # Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet.
1067 &quot;defaultConfig&quot;: { # RoutingConfig configures the behaviour of fleet logging feature. # Specified if applying the default routing config to logs not specified in other configs.
1068 &quot;mode&quot;: &quot;A String&quot;, # mode configures the logs routing mode.
1069 },
1070 &quot;fleetScopeLogsConfig&quot;: { # RoutingConfig configures the behaviour of fleet logging feature. # Specified if applying the routing config to all logs for all fleet scopes.
1071 &quot;mode&quot;: &quot;A String&quot;, # mode configures the logs routing mode.
1072 },
1073 },
1074 },
1075 &quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
1076 &quot;billing&quot;: &quot;A String&quot;, # Deprecated: This field will be ignored and should not be set. Customer&#x27;s billing structure.
1077 &quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
1078 },
1079 &quot;namespaceactuation&quot;: { # An empty spec for actuation feature. This is required since Feature proto requires a spec. # Namespace Actuation feature spec
1080 &quot;actuationMode&quot;: &quot;A String&quot;, # actuation_mode controls the behavior of the controller
1081 },
1082 &quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature. # RBAC Role Binding Actuation feature spec
1083 &quot;allowedCustomRoles&quot;: [ # The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
1084 &quot;A String&quot;,
1085 ],
1086 },
1087 &quot;workloadcertificate&quot;: { # **Workload Certificate**: The Hub-wide input for the WorkloadCertificate feature. # Workload Certificate spec.
1088 &quot;defaultConfig&quot;: { # **Workload Certificate**: The membership-specific input for WorkloadCertificate feature. # Specifies default membership spec. Users can override the default in the member_configs for each member.
1089 &quot;certificateManagement&quot;: &quot;A String&quot;, # Specifies workload certificate management.
1090 },
1091 &quot;provisionGoogleCa&quot;: &quot;A String&quot;, # Immutable. Specifies CA configuration.
1092 },
1093 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: Global feature specification. # Workload Identity feature spec.
1094 &quot;scopeTenancyPool&quot;: &quot;A String&quot;, # Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet Tenancy, so that sameness can be enforced. ex: projects/example/locations/global/workloadidentitypools/custompool
1095 },
1096 },
1097 &quot;state&quot;: { # CommonFeatureState contains Fleet-wide Feature status information. # Output only. The Fleet-wide Feature state.
1098 &quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
1099 &quot;networkingInstallSucceeded&quot;: { # Status specifies state for the subcomponent. # Status of subcomponent that detects configured Service Mesh resources.
1100 &quot;code&quot;: &quot;A String&quot;, # Code specifies AppDevExperienceFeature&#x27;s subcomponent ready state.
1101 &quot;description&quot;: &quot;A String&quot;, # Description is populated if Code is Failed, explaining why it has failed.
1102 },
1103 },
1104 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature. # ClusterUpgrade fleet-level state.
1105 &quot;downstreamFleets&quot;: [ # This fleets whose upstream_fleets contain the current fleet. The fleet name should be either fleet project number or id.
1106 &quot;A String&quot;,
1107 ],
1108 &quot;gkeState&quot;: { # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope. # Feature state for GKE clusters.
1109 &quot;conditions&quot;: [ # Current conditions of the feature.
1110 { # GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.
1111 &quot;reason&quot;: &quot;A String&quot;, # Reason why the feature is in this status.
1112 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
1113 &quot;type&quot;: &quot;A String&quot;, # Type of the condition, for example, &quot;ready&quot;.
1114 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the condition was updated.
1115 },
1116 ],
1117 &quot;upgradeState&quot;: [ # Upgrade state. It will eventually replace `state`.
1118 { # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
1119 &quot;stats&quot;: { # Number of GKE clusters in each status code.
1120 &quot;a_key&quot;: &quot;A String&quot;,
1121 },
1122 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
1123 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
1124 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
1125 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
1126 },
1127 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
1128 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
1129 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
1130 },
1131 },
1132 ],
1133 },
1134 &quot;ignored&quot;: { # A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.
1135 &quot;a_key&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.
1136 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
1137 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
1138 },
1139 },
1140 },
1141 &quot;fleetobservability&quot;: { # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state. # FleetObservability feature state.
1142 &quot;logging&quot;: { # Feature state for logging feature. # The feature state of default logging.
1143 &quot;defaultLog&quot;: { # Base state for fleet observability feature. # The base feature state of fleet default log.
1144 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
1145 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
1146 { # All error details of the fleet observability feature.
1147 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
1148 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
1149 },
1150 ],
1151 },
1152 &quot;scopeLog&quot;: { # Base state for fleet observability feature. # The base feature state of fleet scope log.
1153 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
1154 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
1155 { # All error details of the fleet observability feature.
1156 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
1157 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
1158 },
1159 ],
1160 },
1161 },
1162 &quot;monitoring&quot;: { # Feature state for monitoring feature. # The feature state of fleet monitoring.
1163 &quot;state&quot;: { # Base state for fleet observability feature. # The base feature state of fleet monitoring feature.
1164 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
1165 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
1166 { # All error details of the fleet observability feature.
1167 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
1168 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
1169 },
1170 ],
1171 },
1172 },
1173 },
1174 &quot;namespaceactuation&quot;: { # NamespaceActuation Feature State. # Namespace Actuation feature state.
1175 },
1176 &quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state. # RBAC Role Binding Actuation feature state
1177 },
1178 &quot;servicemesh&quot;: { # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
1179 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
1180 { # AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.
1181 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
1182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1183 },
1184 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
1185 &quot;messageBase&quot;: { # AnalysisMessageBase describes some common information that is needed for all messages. # Details common to all types of Istio and ServiceMesh analysis messages.
1186 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
1187 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
1188 &quot;type&quot;: { # A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type # Represents the specific type of a message.
1189 &quot;code&quot;: &quot;A String&quot;, # A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. &quot;IST0001&quot; is mapped to the &quot;InternalError&quot; message type.)
1190 &quot;displayName&quot;: &quot;A String&quot;, # A human-readable name for the message type. e.g. &quot;InternalError&quot;, &quot;PodMissingProxy&quot;. This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)
1191 },
1192 },
1193 &quot;resourcePaths&quot;: [ # A list of strings specifying the resource identifiers that were the cause of message generation. A &quot;path&quot; here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
1194 &quot;A String&quot;,
1195 ],
1196 },
1197 ],
1198 &quot;conditions&quot;: [ # Output only. List of conditions reported for this feature.
1199 { # Condition being reported.
1200 &quot;code&quot;: &quot;A String&quot;, # Unique identifier of the condition which describes the condition recognizable to the user.
1201 &quot;details&quot;: &quot;A String&quot;, # A short summary about the issue.
1202 &quot;documentationLink&quot;: &quot;A String&quot;, # Links contains actionable information.
1203 &quot;severity&quot;: &quot;A String&quot;, # Severity level of the condition.
1204 },
1205 ],
1206 },
1207 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # Output only. The &quot;running state&quot; of the Feature in this Fleet.
1208 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
1209 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
1210 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
1211 },
1212 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: Global feature state. # WorkloadIdentity fleet-level state.
1213 &quot;namespaceStateDetails&quot;: { # The state of the IAM namespaces for the fleet.
1214 &quot;a_key&quot;: { # NamespaceStateDetail represents the state of a IAM namespace.
1215 &quot;code&quot;: &quot;A String&quot;, # The state of the IAM namespace.
1216 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
1217 },
1218 },
1219 &quot;namespaceStates&quot;: { # Deprecated, this field will be erased after code is changed to use the new field.
1220 &quot;a_key&quot;: &quot;A String&quot;,
1221 },
1222 &quot;scopeTenancyWorkloadIdentityPool&quot;: &quot;A String&quot;, # The full name of the scope-tenancy pool for the fleet.
1223 &quot;workloadIdentityPool&quot;: &quot;A String&quot;, # The full name of the svc.id.goog pool for the fleet.
1224 &quot;workloadIdentityPoolStateDetails&quot;: { # The state of the Workload Identity Pools for the fleet.
1225 &quot;a_key&quot;: { # WorkloadIdentityPoolStateDetail represents the state of the Workload Identity Pools for the fleet.
1226 &quot;code&quot;: &quot;A String&quot;, # The state of the Workload Identity Pool.
1227 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
1228 },
1229 },
1230 },
1231 },
1232 &quot;unreachable&quot;: [ # Output only. List of locations that could not be reached while fetching this feature.
1233 &quot;A String&quot;,
1234 ],
1235 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was last updated.
1236 }
1237
1238 featureId: string, The ID of the feature to create.
1239 requestId: string, A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1240 x__xgafv: string, V1 error format.
1241 Allowed values
1242 1 - v1 error format
1243 2 - v2 error format
1244
1245 Returns:
1246 An object of the form:
1247
1248 { # This resource represents a long-running operation that is the result of a network API call.
1249 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1250 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1251 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1252 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1253 {
1254 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1255 },
1256 ],
1257 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1258 },
1259 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1260 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1261 },
1262 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1263 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1264 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1265 },
1266 }</pre>
1267 </div>
1268
1269 <div class="method">
1270 <code class="details" id="delete">delete(name, force=None, requestId=None, x__xgafv=None)</code>
1271 <pre>Removes a Feature.
1272
1273 Args:
1274 name: string, Required. The Feature resource name in the format `projects/*/locations/*/features/*`. (required)
1275 force: boolean, If set to true, the delete will ignore any outstanding resources for this Feature (that is, `FeatureState.has_resources` is set to true). These resources will NOT be cleaned up or modified in any way.
1276 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1277 x__xgafv: string, V1 error format.
1278 Allowed values
1279 1 - v1 error format
1280 2 - v2 error format
1281
1282 Returns:
1283 An object of the form:
1284
1285 { # This resource represents a long-running operation that is the result of a network API call.
1286 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1287 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1288 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1289 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1290 {
1291 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1292 },
1293 ],
1294 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1295 },
1296 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1297 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1298 },
1299 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1300 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1301 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1302 },
1303 }</pre>
1304 </div>
1305
1306 <div class="method">
1307 <code class="details" id="get">get(name, returnPartialSuccess=None, x__xgafv=None)</code>
1308 <pre>Gets details of a single Feature.
1309
1310 Args:
1311 name: string, Required. The Feature resource name in the format `projects/*/locations/*/features/*` (required)
1312 returnPartialSuccess: boolean, Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.
1313 x__xgafv: string, V1 error format.
1314 Allowed values
1315 1 - v1 error format
1316 2 - v2 error format
1317
1318 Returns:
1319 An object of the form:
1320
1321 { # Feature represents the settings and status of any Fleet Feature.
1322 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was created.
1323 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was deleted.
1324 &quot;fleetDefaultMemberConfig&quot;: { # CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet # Optional. Feature configuration applicable to all memberships of the fleet.
1325 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
1326 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
1327 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
1328 },
1329 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
1330 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
1331 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
1332 { # Configuration for a deployment override.
1333 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
1334 { # Configuration for a container override.
1335 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
1336 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
1337 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
1338 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
1339 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
1340 },
1341 ],
1342 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
1343 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
1344 },
1345 ],
1346 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
1347 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
1348 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
1349 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
1350 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
1351 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
1352 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
1353 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
1354 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
1355 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
1356 },
1357 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
1358 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
1359 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
1360 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
1361 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
1362 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
1363 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
1364 },
1365 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
1366 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
1367 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
1368 },
1369 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
1370 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
1371 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
1372 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
1373 },
1374 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
1375 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
1376 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
1377 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
1378 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
1379 &quot;A String&quot;,
1380 ],
1381 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
1382 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
1383 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
1384 &quot;A String&quot;,
1385 ],
1386 },
1387 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
1388 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
1389 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
1390 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
1391 },
1392 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
1393 },
1394 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
1395 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
1396 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
1397 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
1398 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
1399 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
1400 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
1401 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
1402 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
1403 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
1404 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
1405 },
1406 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
1407 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
1408 },
1409 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
1410 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
1411 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
1412 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
1413 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
1414 },
1415 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
1416 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
1417 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
1418 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
1419 },
1420 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
1421 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
1422 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
1423 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
1424 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
1425 },
1426 },
1427 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
1428 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
1429 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
1430 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
1431 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
1432 },
1433 },
1434 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
1435 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
1436 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
1437 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
1438 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
1439 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
1440 &quot;enableAccessToken&quot;: True or False, # Enable access token.
1441 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
1442 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
1443 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
1444 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
1445 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
1446 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
1447 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
1448 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
1449 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
1450 },
1451 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
1452 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
1453 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
1454 &quot;a_key&quot;: &quot;A String&quot;,
1455 },
1456 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
1457 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
1458 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
1459 &quot;A String&quot;,
1460 ],
1461 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
1462 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
1463 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
1464 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
1465 },
1466 },
1467 ],
1468 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
1469 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
1470 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
1471 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
1472 },
1473 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
1474 },
1475 },
1476 &quot;mesh&quot;: { # **Service Mesh**: Spec for a single Membership for the servicemesh feature # Anthos Service Mesh-specific spec
1477 &quot;configApi&quot;: &quot;A String&quot;, # Optional. Specifies the API that will be used for configuring the mesh workloads.
1478 &quot;controlPlane&quot;: &quot;A String&quot;, # Deprecated: use `management` instead Enables automatic control plane management.
1479 &quot;defaultChannel&quot;: &quot;A String&quot;, # Determines which release channel to use for default injection and service mesh APIs.
1480 &quot;management&quot;: &quot;A String&quot;, # Optional. Enables automatic Service Mesh management.
1481 },
1482 &quot;policycontroller&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Policy Controller spec.
1483 &quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
1484 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
1485 &quot;constraintViolationLimit&quot;: &quot;A String&quot;, # The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
1486 &quot;deploymentConfigs&quot;: { # Map of deployment configs to deployments (&quot;admission&quot;, &quot;audit&quot;, &quot;mutation&#x27;).
1487 &quot;a_key&quot;: { # Deployment-specific configuration.
1488 &quot;containerResources&quot;: { # ResourceRequirements describes the compute resource requirements. # Container resource requirements.
1489 &quot;limits&quot;: { # ResourceList contains container resource requirements. # Limits describes the maximum amount of compute resources allowed for use by the running container.
1490 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
1491 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
1492 },
1493 &quot;requests&quot;: { # ResourceList contains container resource requirements. # Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
1494 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
1495 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
1496 },
1497 },
1498 &quot;podAffinity&quot;: &quot;A String&quot;, # Pod affinity configuration.
1499 &quot;podAntiAffinity&quot;: True or False, # Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
1500 &quot;podTolerations&quot;: [ # Pod tolerations of node taints.
1501 { # Toleration of a node taint.
1502 &quot;effect&quot;: &quot;A String&quot;, # Matches a taint effect.
1503 &quot;key&quot;: &quot;A String&quot;, # Matches a taint key (not necessarily unique).
1504 &quot;operator&quot;: &quot;A String&quot;, # Matches a taint operator.
1505 &quot;value&quot;: &quot;A String&quot;, # Matches a taint value.
1506 },
1507 ],
1508 &quot;replicaCount&quot;: &quot;A String&quot;, # Pod replica count.
1509 },
1510 },
1511 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
1512 &quot;A String&quot;,
1513 ],
1514 &quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
1515 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
1516 &quot;monitoring&quot;: { # MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
1517 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
1518 &quot;A String&quot;,
1519 ],
1520 },
1521 &quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
1522 &quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
1523 &quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
1524 &quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
1525 &quot;exemptedNamespaces&quot;: [ # The set of namespaces to be exempted from the bundle.
1526 &quot;A String&quot;,
1527 ],
1528 },
1529 },
1530 &quot;templateLibrary&quot;: { # The config specifying which default library templates to install. # Configures the installation of the Template Library.
1531 &quot;installation&quot;: &quot;A String&quot;, # Configures the manner in which the template library is installed on the cluster.
1532 },
1533 },
1534 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
1535 },
1536 &quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
1537 },
1538 },
1539 &quot;labels&quot;: { # Labels for this Feature.
1540 &quot;a_key&quot;: &quot;A String&quot;,
1541 },
1542 &quot;membershipSpecs&quot;: { # Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature&#x27;s project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
1543 &quot;a_key&quot;: { # MembershipFeatureSpec contains configuration information for a single Membership.
1544 &quot;cloudbuild&quot;: { # **Cloud Build**: Configurations for each Cloud Build enabled cluster. # Cloud Build-specific spec
1545 &quot;securityPolicy&quot;: &quot;A String&quot;, # Whether it is allowed to run the privileged builds on the cluster or not.
1546 &quot;version&quot;: &quot;A String&quot;, # Version of the cloud build software on the cluster.
1547 },
1548 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
1549 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
1550 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
1551 },
1552 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
1553 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
1554 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
1555 { # Configuration for a deployment override.
1556 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
1557 { # Configuration for a container override.
1558 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
1559 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
1560 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
1561 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
1562 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
1563 },
1564 ],
1565 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
1566 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
1567 },
1568 ],
1569 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
1570 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
1571 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
1572 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
1573 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
1574 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
1575 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
1576 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
1577 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
1578 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
1579 },
1580 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
1581 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
1582 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
1583 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
1584 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
1585 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
1586 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
1587 },
1588 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
1589 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
1590 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
1591 },
1592 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
1593 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
1594 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
1595 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
1596 },
1597 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
1598 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
1599 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
1600 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
1601 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
1602 &quot;A String&quot;,
1603 ],
1604 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
1605 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
1606 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
1607 &quot;A String&quot;,
1608 ],
1609 },
1610 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
1611 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
1612 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
1613 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
1614 },
1615 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
1616 },
1617 &quot;fleetobservability&quot;: { # **FleetObservability**: The membership-specific input for FleetObservability feature. # Fleet observability membership spec
1618 },
1619 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
1620 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
1621 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
1622 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
1623 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
1624 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
1625 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
1626 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
1627 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
1628 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
1629 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
1630 },
1631 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
1632 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
1633 },
1634 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
1635 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
1636 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
1637 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
1638 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
1639 },
1640 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
1641 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
1642 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
1643 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
1644 },
1645 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
1646 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
1647 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
1648 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
1649 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
1650 },
1651 },
1652 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
1653 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
1654 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
1655 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
1656 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
1657 },
1658 },
1659 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
1660 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
1661 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
1662 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
1663 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
1664 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
1665 &quot;enableAccessToken&quot;: True or False, # Enable access token.
1666 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
1667 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
1668 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
1669 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
1670 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
1671 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
1672 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
1673 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
1674 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
1675 },
1676 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
1677 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
1678 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
1679 &quot;a_key&quot;: &quot;A String&quot;,
1680 },
1681 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
1682 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
1683 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
1684 &quot;A String&quot;,
1685 ],
1686 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
1687 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
1688 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
1689 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
1690 },
1691 },
1692 ],
1693 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
1694 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
1695 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
1696 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
1697 },
1698 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
1699 },
1700 },
1701 &quot;mesh&quot;: { # **Service Mesh**: Spec for a single Membership for the servicemesh feature # Anthos Service Mesh-specific spec
1702 &quot;configApi&quot;: &quot;A String&quot;, # Optional. Specifies the API that will be used for configuring the mesh workloads.
1703 &quot;controlPlane&quot;: &quot;A String&quot;, # Deprecated: use `management` instead Enables automatic control plane management.
1704 &quot;defaultChannel&quot;: &quot;A String&quot;, # Determines which release channel to use for default injection and service mesh APIs.
1705 &quot;management&quot;: &quot;A String&quot;, # Optional. Enables automatic Service Mesh management.
1706 },
1707 &quot;namespaceactuation&quot;: { # **Namespace Actuation**: The membership-specific input for NamespaceActuation feature. # FNS Actuation membership spec
1708 },
1709 &quot;origin&quot;: { # Origin defines where this MembershipFeatureSpec originated from. # Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly) or setting to FLEET explicitly.
1710 &quot;type&quot;: &quot;A String&quot;, # Type specifies which type of origin is set.
1711 },
1712 &quot;policycontroller&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Policy Controller spec.
1713 &quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
1714 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
1715 &quot;constraintViolationLimit&quot;: &quot;A String&quot;, # The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
1716 &quot;deploymentConfigs&quot;: { # Map of deployment configs to deployments (&quot;admission&quot;, &quot;audit&quot;, &quot;mutation&#x27;).
1717 &quot;a_key&quot;: { # Deployment-specific configuration.
1718 &quot;containerResources&quot;: { # ResourceRequirements describes the compute resource requirements. # Container resource requirements.
1719 &quot;limits&quot;: { # ResourceList contains container resource requirements. # Limits describes the maximum amount of compute resources allowed for use by the running container.
1720 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
1721 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
1722 },
1723 &quot;requests&quot;: { # ResourceList contains container resource requirements. # Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
1724 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
1725 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
1726 },
1727 },
1728 &quot;podAffinity&quot;: &quot;A String&quot;, # Pod affinity configuration.
1729 &quot;podAntiAffinity&quot;: True or False, # Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
1730 &quot;podTolerations&quot;: [ # Pod tolerations of node taints.
1731 { # Toleration of a node taint.
1732 &quot;effect&quot;: &quot;A String&quot;, # Matches a taint effect.
1733 &quot;key&quot;: &quot;A String&quot;, # Matches a taint key (not necessarily unique).
1734 &quot;operator&quot;: &quot;A String&quot;, # Matches a taint operator.
1735 &quot;value&quot;: &quot;A String&quot;, # Matches a taint value.
1736 },
1737 ],
1738 &quot;replicaCount&quot;: &quot;A String&quot;, # Pod replica count.
1739 },
1740 },
1741 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
1742 &quot;A String&quot;,
1743 ],
1744 &quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
1745 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
1746 &quot;monitoring&quot;: { # MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
1747 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
1748 &quot;A String&quot;,
1749 ],
1750 },
1751 &quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
1752 &quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
1753 &quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
1754 &quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
1755 &quot;exemptedNamespaces&quot;: [ # The set of namespaces to be exempted from the bundle.
1756 &quot;A String&quot;,
1757 ],
1758 },
1759 },
1760 &quot;templateLibrary&quot;: { # The config specifying which default library templates to install. # Configures the installation of the Template Library.
1761 &quot;installation&quot;: &quot;A String&quot;, # Configures the manner in which the template library is installed on the cluster.
1762 },
1763 },
1764 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
1765 },
1766 &quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
1767 },
1768 &quot;workloadcertificate&quot;: { # **Workload Certificate**: The membership-specific input for WorkloadCertificate feature. # Workload Certificate spec.
1769 &quot;certificateManagement&quot;: &quot;A String&quot;, # Specifies workload certificate management.
1770 },
1771 },
1772 },
1773 &quot;membershipStates&quot;: { # Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature&#x27;s project number.
1774 &quot;a_key&quot;: { # MembershipFeatureState contains Feature status information for a single Membership.
1775 &quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
1776 &quot;networkingInstallSucceeded&quot;: { # Status specifies state for the subcomponent. # Status of subcomponent that detects configured Service Mesh resources.
1777 &quot;code&quot;: &quot;A String&quot;, # Code specifies AppDevExperienceFeature&#x27;s subcomponent ready state.
1778 &quot;description&quot;: &quot;A String&quot;, # Description is populated if Code is Failed, explaining why it has failed.
1779 },
1780 },
1781 &quot;clusterupgrade&quot;: { # Per-membership state for this feature. # ClusterUpgrade state.
1782 &quot;ignored&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default. # Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel.
1783 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
1784 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
1785 },
1786 &quot;scopes&quot;: [ # Fully qualified scope names that this clusters is bound to which also have rollout sequencing enabled.
1787 &quot;A String&quot;,
1788 ],
1789 &quot;upgrades&quot;: [ # Actual upgrade state against desired.
1790 { # ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership.
1791 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
1792 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
1793 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
1794 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
1795 },
1796 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
1797 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
1798 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
1799 },
1800 },
1801 ],
1802 },
1803 &quot;configmanagement&quot;: { # **Anthos Config Management**: State for a single cluster. # Config Management-specific state.
1804 &quot;binauthzState&quot;: { # State for Binauthz # Output only. Binauthz status
1805 &quot;version&quot;: { # The version of binauthz. # The version of binauthz that is installed.
1806 &quot;webhookVersion&quot;: &quot;A String&quot;, # The version of the binauthz webhook.
1807 },
1808 &quot;webhook&quot;: &quot;A String&quot;, # The state of the binauthz webhook.
1809 },
1810 &quot;clusterName&quot;: &quot;A String&quot;, # Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster&#x27;s fleet membership name.
1811 &quot;configSyncState&quot;: { # State information for ConfigSync # Output only. Current sync status
1812 &quot;clusterLevelStopSyncingState&quot;: &quot;A String&quot;, # Output only. Whether syncing resources to the cluster is stopped at the cluster level.
1813 &quot;crCount&quot;: 42, # Output only. The number of RootSync and RepoSync CRs in the cluster.
1814 &quot;deploymentState&quot;: { # The state of ConfigSync&#x27;s deployment on a cluster # Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed
1815 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Deployment state of admission-webhook
1816 &quot;gitSync&quot;: &quot;A String&quot;, # Deployment state of the git-sync pod
1817 &quot;importer&quot;: &quot;A String&quot;, # Deployment state of the importer pod
1818 &quot;monitor&quot;: &quot;A String&quot;, # Deployment state of the monitor pod
1819 &quot;otelCollector&quot;: &quot;A String&quot;, # Deployment state of otel-collector
1820 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Deployment state of reconciler-manager pod
1821 &quot;resourceGroupControllerManager&quot;: &quot;A String&quot;, # Deployment state of resource-group-controller-manager
1822 &quot;rootReconciler&quot;: &quot;A String&quot;, # Deployment state of root-reconciler
1823 &quot;syncer&quot;: &quot;A String&quot;, # Deployment state of the syncer pod
1824 },
1825 &quot;errors&quot;: [ # Output only. Errors pertaining to the installation of Config Sync.
1826 { # Errors pertaining to the installation of Config Sync
1827 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
1828 },
1829 ],
1830 &quot;reposyncCrd&quot;: &quot;A String&quot;, # Output only. The state of the Reposync CRD
1831 &quot;rootsyncCrd&quot;: &quot;A String&quot;, # Output only. The state of the RootSync CRD
1832 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of CS This field summarizes the other fields in this message.
1833 &quot;syncState&quot;: { # State indicating an ACM&#x27;s progress syncing configurations to a cluster # Output only. The state of ConfigSync&#x27;s process to sync configs to a cluster
1834 &quot;code&quot;: &quot;A String&quot;, # Sync status code
1835 &quot;errors&quot;: [ # A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
1836 { # An ACM created error representing a problem syncing configurations
1837 &quot;code&quot;: &quot;A String&quot;, # An ACM defined error code
1838 &quot;errorMessage&quot;: &quot;A String&quot;, # A description of the error
1839 &quot;errorResources&quot;: [ # A list of config(s) associated with the error, if any
1840 { # Model for a config file in the git repo with an associated Sync error
1841 &quot;resourceGvk&quot;: { # A Kubernetes object&#x27;s GVK # Group/version/kind of the resource that is causing an error
1842 &quot;group&quot;: &quot;A String&quot;, # Kubernetes Group
1843 &quot;kind&quot;: &quot;A String&quot;, # Kubernetes Kind
1844 &quot;version&quot;: &quot;A String&quot;, # Kubernetes Version
1845 },
1846 &quot;resourceName&quot;: &quot;A String&quot;, # Metadata name of the resource that is causing an error
1847 &quot;resourceNamespace&quot;: &quot;A String&quot;, # Namespace of the resource that is causing an error
1848 &quot;sourcePath&quot;: &quot;A String&quot;, # Path in the git repo of the erroneous config
1849 },
1850 ],
1851 },
1852 ],
1853 &quot;importToken&quot;: &quot;A String&quot;, # Token indicating the state of the importer.
1854 &quot;lastSync&quot;: &quot;A String&quot;, # Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
1855 &quot;lastSyncTime&quot;: &quot;A String&quot;, # Timestamp type of when ACM last successfully synced the repo
1856 &quot;sourceToken&quot;: &quot;A String&quot;, # Token indicating the state of the repo.
1857 &quot;syncToken&quot;: &quot;A String&quot;, # Token indicating the state of the syncer.
1858 },
1859 &quot;version&quot;: { # Specific versioning information pertaining to ConfigSync&#x27;s Pods # Output only. The version of ConfigSync deployed
1860 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Version of the deployed admission-webhook pod
1861 &quot;gitSync&quot;: &quot;A String&quot;, # Version of the deployed git-sync pod
1862 &quot;importer&quot;: &quot;A String&quot;, # Version of the deployed importer pod
1863 &quot;monitor&quot;: &quot;A String&quot;, # Version of the deployed monitor pod
1864 &quot;otelCollector&quot;: &quot;A String&quot;, # Version of the deployed otel-collector pod
1865 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Version of the deployed reconciler-manager pod
1866 &quot;resourceGroupControllerManager&quot;: &quot;A String&quot;, # Version of the deployed resource-group-controller-manager pod
1867 &quot;rootReconciler&quot;: &quot;A String&quot;, # Version of the deployed reconciler container in root-reconciler pod
1868 &quot;syncer&quot;: &quot;A String&quot;, # Version of the deployed syncer pod
1869 },
1870 },
1871 &quot;hierarchyControllerState&quot;: { # State for Hierarchy Controller # Output only. Hierarchy Controller status
1872 &quot;state&quot;: { # Deployment state for Hierarchy Controller # The deployment state for Hierarchy Controller
1873 &quot;extension&quot;: &quot;A String&quot;, # The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
1874 &quot;hnc&quot;: &quot;A String&quot;, # The deployment state for open source HNC (e.g. v0.7.0-hc.0)
1875 },
1876 &quot;version&quot;: { # Version for Hierarchy Controller # The version for Hierarchy Controller
1877 &quot;extension&quot;: &quot;A String&quot;, # Version for Hierarchy Controller extension
1878 &quot;hnc&quot;: &quot;A String&quot;, # Version for open source HNC
1879 },
1880 },
1881 &quot;kubernetesApiServerVersion&quot;: &quot;A String&quot;, # Output only. The Kubernetes API server version of the cluster.
1882 &quot;membershipSpec&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
1883 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
1884 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
1885 },
1886 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
1887 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
1888 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
1889 { # Configuration for a deployment override.
1890 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
1891 { # Configuration for a container override.
1892 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
1893 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
1894 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
1895 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
1896 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
1897 },
1898 ],
1899 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
1900 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
1901 },
1902 ],
1903 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
1904 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
1905 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
1906 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
1907 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
1908 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
1909 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
1910 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
1911 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
1912 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
1913 },
1914 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
1915 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
1916 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
1917 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
1918 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
1919 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
1920 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
1921 },
1922 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
1923 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
1924 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
1925 },
1926 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
1927 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
1928 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
1929 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
1930 },
1931 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
1932 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
1933 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
1934 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
1935 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
1936 &quot;A String&quot;,
1937 ],
1938 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
1939 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
1940 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
1941 &quot;A String&quot;,
1942 ],
1943 },
1944 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
1945 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
1946 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
1947 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
1948 },
1949 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
1950 },
1951 &quot;operatorState&quot;: { # State information for an ACM&#x27;s Operator # Output only. Current install status of ACM&#x27;s Operator
1952 &quot;deploymentState&quot;: &quot;A String&quot;, # The state of the Operator&#x27;s deployment
1953 &quot;errors&quot;: [ # Install errors.
1954 { # Errors pertaining to the installation of ACM
1955 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
1956 },
1957 ],
1958 &quot;version&quot;: &quot;A String&quot;, # The semenatic version number of the operator
1959 },
1960 &quot;policyControllerState&quot;: { # State for PolicyControllerState. # Output only. PolicyController status
1961 &quot;deploymentState&quot;: { # State of Policy Controller installation. # The state about the policy controller installation.
1962 &quot;gatekeeperAudit&quot;: &quot;A String&quot;, # Status of gatekeeper-audit deployment.
1963 &quot;gatekeeperControllerManagerState&quot;: &quot;A String&quot;, # Status of gatekeeper-controller-manager pod.
1964 &quot;gatekeeperMutation&quot;: &quot;A String&quot;, # Status of the pod serving the mutation webhook.
1965 },
1966 &quot;migration&quot;: { # State for the migration of PolicyController from ACM -&gt; PoCo Hub. # Record state of ACM -&gt; PoCo Hub migration for this feature.
1967 &quot;copyTime&quot;: &quot;A String&quot;, # Last time this membership spec was copied to PoCo feature.
1968 &quot;stage&quot;: &quot;A String&quot;, # Stage of the migration.
1969 },
1970 &quot;version&quot;: { # The build version of Gatekeeper Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
1971 &quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
1972 },
1973 },
1974 },
1975 &quot;fleetobservability&quot;: { # **FleetObservability**: Membership-specific Feature state for fleetobservability. # Fleet observability membership state.
1976 },
1977 &quot;identityservice&quot;: { # **Anthos Identity Service**: State for a single Membership. # Identity Service-specific state.
1978 &quot;failureReason&quot;: &quot;A String&quot;, # The reason of the failure.
1979 &quot;installedVersion&quot;: &quot;A String&quot;, # Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK.
1980 &quot;memberConfig&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Last reconciled membership configuration
1981 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
1982 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
1983 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
1984 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
1985 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
1986 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
1987 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
1988 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
1989 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
1990 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
1991 },
1992 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
1993 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
1994 },
1995 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
1996 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
1997 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
1998 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
1999 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
2000 },
2001 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
2002 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
2003 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
2004 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
2005 },
2006 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
2007 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
2008 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
2009 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
2010 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
2011 },
2012 },
2013 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
2014 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
2015 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
2016 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
2017 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
2018 },
2019 },
2020 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
2021 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
2022 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
2023 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
2024 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
2025 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
2026 &quot;enableAccessToken&quot;: True or False, # Enable access token.
2027 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
2028 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
2029 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
2030 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
2031 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
2032 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
2033 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
2034 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
2035 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
2036 },
2037 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
2038 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
2039 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
2040 &quot;a_key&quot;: &quot;A String&quot;,
2041 },
2042 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
2043 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
2044 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
2045 &quot;A String&quot;,
2046 ],
2047 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
2048 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
2049 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
2050 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
2051 },
2052 },
2053 ],
2054 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
2055 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
2056 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
2057 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
2058 },
2059 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
2060 },
2061 },
2062 &quot;state&quot;: &quot;A String&quot;, # Deployment state on this member
2063 },
2064 &quot;metering&quot;: { # **Metering**: Per-Membership Feature State. # Metering-specific state.
2065 &quot;lastMeasurementTime&quot;: &quot;A String&quot;, # The time stamp of the most recent measurement of the number of vCPUs in the cluster.
2066 &quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
2067 },
2068 &quot;namespaceactuation&quot;: { # **Namespace Actuation**: An empty state left as an example membership-specific Feature state. # FNS Actuation membership state
2069 },
2070 &quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
2071 &quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
2072 &quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
2073 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
2074 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
2075 },
2076 },
2077 &quot;policyContentState&quot;: { # The state of the policy controller policy content # The overall content state observed by the Hub Feature controller.
2078 &quot;bundleStates&quot;: { # The state of the any bundles included in the chosen version of the manifest
2079 &quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
2080 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
2081 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
2082 },
2083 },
2084 &quot;referentialSyncConfigState&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller. # The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user.
2085 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
2086 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
2087 },
2088 &quot;templateLibraryState&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller. # The state of the template library
2089 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
2090 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
2091 },
2092 },
2093 &quot;state&quot;: &quot;A String&quot;, # The overall Policy Controller lifecycle state observed by the Hub Feature controller.
2094 },
2095 &quot;servicemesh&quot;: { # **Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
2096 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
2097 { # AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.
2098 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
2099 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2100 },
2101 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
2102 &quot;messageBase&quot;: { # AnalysisMessageBase describes some common information that is needed for all messages. # Details common to all types of Istio and ServiceMesh analysis messages.
2103 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
2104 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
2105 &quot;type&quot;: { # A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type # Represents the specific type of a message.
2106 &quot;code&quot;: &quot;A String&quot;, # A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. &quot;IST0001&quot; is mapped to the &quot;InternalError&quot; message type.)
2107 &quot;displayName&quot;: &quot;A String&quot;, # A human-readable name for the message type. e.g. &quot;InternalError&quot;, &quot;PodMissingProxy&quot;. This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)
2108 },
2109 },
2110 &quot;resourcePaths&quot;: [ # A list of strings specifying the resource identifiers that were the cause of message generation. A &quot;path&quot; here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
2111 &quot;A String&quot;,
2112 ],
2113 },
2114 ],
2115 &quot;conditions&quot;: [ # Output only. List of conditions reported for this membership.
2116 { # Condition being reported.
2117 &quot;code&quot;: &quot;A String&quot;, # Unique identifier of the condition which describes the condition recognizable to the user.
2118 &quot;details&quot;: &quot;A String&quot;, # A short summary about the issue.
2119 &quot;documentationLink&quot;: &quot;A String&quot;, # Links contains actionable information.
2120 &quot;severity&quot;: &quot;A String&quot;, # Severity level of the condition.
2121 },
2122 ],
2123 &quot;configApiVersion&quot;: &quot;A String&quot;, # The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field.
2124 &quot;controlPlaneManagement&quot;: { # Status of control plane management. # Output only. Status of control plane management
2125 &quot;details&quot;: [ # Explanation of state.
2126 { # Structured and human-readable details for a status.
2127 &quot;code&quot;: &quot;A String&quot;, # A machine-readable code that further describes a broad status.
2128 &quot;details&quot;: &quot;A String&quot;, # Human-readable explanation of code.
2129 },
2130 ],
2131 &quot;implementation&quot;: &quot;A String&quot;, # Output only. Implementation of managed control plane.
2132 &quot;state&quot;: &quot;A String&quot;, # LifecycleState of control plane management.
2133 },
2134 &quot;dataPlaneManagement&quot;: { # Status of data plane management. Only reported per-member. # Output only. Status of data plane management.
2135 &quot;details&quot;: [ # Explanation of the status.
2136 { # Structured and human-readable details for a status.
2137 &quot;code&quot;: &quot;A String&quot;, # A machine-readable code that further describes a broad status.
2138 &quot;details&quot;: &quot;A String&quot;, # Human-readable explanation of code.
2139 },
2140 ],
2141 &quot;state&quot;: &quot;A String&quot;, # Lifecycle status of data plane management.
2142 },
2143 },
2144 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # The high-level state of this Feature for a single membership.
2145 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
2146 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
2147 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
2148 },
2149 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature. # Workload Identity membership specific state.
2150 &quot;description&quot;: &quot;A String&quot;, # Deprecated, this field will be erased after code is changed to use the new field.
2151 &quot;identityProviderStateDetails&quot;: { # The state of the Identity Providers corresponding to the membership.
2152 &quot;a_key&quot;: { # IdentityProviderStateDetail represents the state of an Identity Provider.
2153 &quot;code&quot;: &quot;A String&quot;, # The state of the Identity Provider.
2154 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
2155 },
2156 },
2157 },
2158 },
2159 },
2160 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
2161 &quot;resourceState&quot;: { # FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the &quot;running state&quot; of the Feature in the Fleet and across Memberships. # Output only. State of the Feature resource itself.
2162 &quot;state&quot;: &quot;A String&quot;, # The current state of the Feature resource in the Hub API.
2163 },
2164 &quot;scopeSpecs&quot;: { # Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
2165 &quot;a_key&quot;: { # ScopeFeatureSpec contains feature specs for a fleet scope.
2166 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The configuration for the scope-level ClusterUpgrade feature. # Spec for the ClusterUpgrade feature at the scope level
2167 &quot;gkeUpgradeOverrides&quot;: [ # Allow users to override some properties of each GKE upgrade.
2168 { # Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.
2169 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to override for the specified upgrade (name + version). Required.
2170 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
2171 },
2172 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Required. Which upgrade to override. Required.
2173 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
2174 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
2175 },
2176 },
2177 ],
2178 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required.
2179 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
2180 },
2181 &quot;upstreamScopes&quot;: [ # This scope consumes upgrades that have COMPLETE status code in the upstream scopes. See UpgradeStatus.Code for code definitions. The scope name should be in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream scope.
2182 &quot;A String&quot;,
2183 ],
2184 },
2185 },
2186 },
2187 &quot;scopeStates&quot;: { # Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project.
2188 &quot;a_key&quot;: { # ScopeFeatureState contains Scope-wide Feature status information.
2189 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The state for the scope-level ClusterUpgrade feature. # State for the ClusterUpgrade feature at the scope level
2190 &quot;downstreamScopes&quot;: [ # This scopes whose upstream_scopes contain the current scope. The scope name should be in the form: `projects/{p}/locations/gloobal/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project.
2191 &quot;A String&quot;,
2192 ],
2193 &quot;gkeState&quot;: { # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope. # Feature state for GKE clusters.
2194 &quot;conditions&quot;: [ # Current conditions of the feature.
2195 { # GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.
2196 &quot;reason&quot;: &quot;A String&quot;, # Reason why the feature is in this status.
2197 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
2198 &quot;type&quot;: &quot;A String&quot;, # Type of the condition, for example, &quot;ready&quot;.
2199 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the condition was updated.
2200 },
2201 ],
2202 &quot;upgradeState&quot;: [ # Upgrade state. It will eventually replace `state`.
2203 { # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
2204 &quot;stats&quot;: { # Number of GKE clusters in each status code.
2205 &quot;a_key&quot;: &quot;A String&quot;,
2206 },
2207 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
2208 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
2209 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
2210 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
2211 },
2212 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
2213 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
2214 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
2215 },
2216 },
2217 ],
2218 },
2219 &quot;ignored&quot;: { # A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.
2220 &quot;a_key&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.
2221 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
2222 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
2223 },
2224 },
2225 },
2226 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # Output only. The &quot;running state&quot; of the Feature in this Scope.
2227 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
2228 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
2229 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
2230 },
2231 },
2232 },
2233 &quot;spec&quot;: { # CommonFeatureSpec contains Fleet-wide configuration information # Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
2234 &quot;appdevexperience&quot;: { # Spec for App Dev Experience Feature. # Appdevexperience specific spec.
2235 },
2236 &quot;cloudauditlogging&quot;: { # **Cloud Audit Logging**: Spec for Audit Logging Allowlisting. # Cloud Audit Logging-specific spec.
2237 &quot;allowlistedServiceAccounts&quot;: [ # Service account that should be allowlisted to send the audit logs; eg [email protected]. These accounts must already exist, but do not need to have any permissions granted to them. The customer&#x27;s entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
2238 &quot;A String&quot;,
2239 ],
2240 },
2241 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade feature. # ClusterUpgrade (fleet-based) feature spec.
2242 &quot;gkeUpgradeOverrides&quot;: [ # Allow users to override some properties of each GKE upgrade.
2243 { # Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.
2244 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to override for the specified upgrade (name + version). Required.
2245 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
2246 },
2247 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Required. Which upgrade to override. Required.
2248 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
2249 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
2250 },
2251 },
2252 ],
2253 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required.
2254 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
2255 },
2256 &quot;upgradeEngine&quot;: &quot;A String&quot;, # Output only. The effective upgrade engine for the fleet.
2257 &quot;upstreamFleets&quot;: [ # This fleet consumes upgrades that have COMPLETE status code in the upstream fleets. See UpgradeStatus.Code for code definitions. The fleet name should be either fleet project number or id. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream fleet.
2258 &quot;A String&quot;,
2259 ],
2260 },
2261 &quot;dataplanev2&quot;: { # **Dataplane V2**: Spec # DataplaneV2 feature spec.
2262 &quot;enableEncryption&quot;: True or False, # Enable dataplane-v2 based encryption for multiple clusters.
2263 },
2264 &quot;fleetobservability&quot;: { # **Fleet Observability**: The Hub-wide input for the FleetObservability feature. # FleetObservability feature spec.
2265 &quot;loggingConfig&quot;: { # LoggingConfig defines the configuration for different types of logs. # Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet.
2266 &quot;defaultConfig&quot;: { # RoutingConfig configures the behaviour of fleet logging feature. # Specified if applying the default routing config to logs not specified in other configs.
2267 &quot;mode&quot;: &quot;A String&quot;, # mode configures the logs routing mode.
2268 },
2269 &quot;fleetScopeLogsConfig&quot;: { # RoutingConfig configures the behaviour of fleet logging feature. # Specified if applying the routing config to all logs for all fleet scopes.
2270 &quot;mode&quot;: &quot;A String&quot;, # mode configures the logs routing mode.
2271 },
2272 },
2273 },
2274 &quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
2275 &quot;billing&quot;: &quot;A String&quot;, # Deprecated: This field will be ignored and should not be set. Customer&#x27;s billing structure.
2276 &quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
2277 },
2278 &quot;namespaceactuation&quot;: { # An empty spec for actuation feature. This is required since Feature proto requires a spec. # Namespace Actuation feature spec
2279 &quot;actuationMode&quot;: &quot;A String&quot;, # actuation_mode controls the behavior of the controller
2280 },
2281 &quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature. # RBAC Role Binding Actuation feature spec
2282 &quot;allowedCustomRoles&quot;: [ # The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
2283 &quot;A String&quot;,
2284 ],
2285 },
2286 &quot;workloadcertificate&quot;: { # **Workload Certificate**: The Hub-wide input for the WorkloadCertificate feature. # Workload Certificate spec.
2287 &quot;defaultConfig&quot;: { # **Workload Certificate**: The membership-specific input for WorkloadCertificate feature. # Specifies default membership spec. Users can override the default in the member_configs for each member.
2288 &quot;certificateManagement&quot;: &quot;A String&quot;, # Specifies workload certificate management.
2289 },
2290 &quot;provisionGoogleCa&quot;: &quot;A String&quot;, # Immutable. Specifies CA configuration.
2291 },
2292 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: Global feature specification. # Workload Identity feature spec.
2293 &quot;scopeTenancyPool&quot;: &quot;A String&quot;, # Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet Tenancy, so that sameness can be enforced. ex: projects/example/locations/global/workloadidentitypools/custompool
2294 },
2295 },
2296 &quot;state&quot;: { # CommonFeatureState contains Fleet-wide Feature status information. # Output only. The Fleet-wide Feature state.
2297 &quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
2298 &quot;networkingInstallSucceeded&quot;: { # Status specifies state for the subcomponent. # Status of subcomponent that detects configured Service Mesh resources.
2299 &quot;code&quot;: &quot;A String&quot;, # Code specifies AppDevExperienceFeature&#x27;s subcomponent ready state.
2300 &quot;description&quot;: &quot;A String&quot;, # Description is populated if Code is Failed, explaining why it has failed.
2301 },
2302 },
2303 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature. # ClusterUpgrade fleet-level state.
2304 &quot;downstreamFleets&quot;: [ # This fleets whose upstream_fleets contain the current fleet. The fleet name should be either fleet project number or id.
2305 &quot;A String&quot;,
2306 ],
2307 &quot;gkeState&quot;: { # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope. # Feature state for GKE clusters.
2308 &quot;conditions&quot;: [ # Current conditions of the feature.
2309 { # GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.
2310 &quot;reason&quot;: &quot;A String&quot;, # Reason why the feature is in this status.
2311 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
2312 &quot;type&quot;: &quot;A String&quot;, # Type of the condition, for example, &quot;ready&quot;.
2313 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the condition was updated.
2314 },
2315 ],
2316 &quot;upgradeState&quot;: [ # Upgrade state. It will eventually replace `state`.
2317 { # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
2318 &quot;stats&quot;: { # Number of GKE clusters in each status code.
2319 &quot;a_key&quot;: &quot;A String&quot;,
2320 },
2321 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
2322 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
2323 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
2324 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
2325 },
2326 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
2327 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
2328 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
2329 },
2330 },
2331 ],
2332 },
2333 &quot;ignored&quot;: { # A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.
2334 &quot;a_key&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.
2335 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
2336 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
2337 },
2338 },
2339 },
2340 &quot;fleetobservability&quot;: { # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state. # FleetObservability feature state.
2341 &quot;logging&quot;: { # Feature state for logging feature. # The feature state of default logging.
2342 &quot;defaultLog&quot;: { # Base state for fleet observability feature. # The base feature state of fleet default log.
2343 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
2344 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
2345 { # All error details of the fleet observability feature.
2346 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
2347 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
2348 },
2349 ],
2350 },
2351 &quot;scopeLog&quot;: { # Base state for fleet observability feature. # The base feature state of fleet scope log.
2352 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
2353 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
2354 { # All error details of the fleet observability feature.
2355 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
2356 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
2357 },
2358 ],
2359 },
2360 },
2361 &quot;monitoring&quot;: { # Feature state for monitoring feature. # The feature state of fleet monitoring.
2362 &quot;state&quot;: { # Base state for fleet observability feature. # The base feature state of fleet monitoring feature.
2363 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
2364 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
2365 { # All error details of the fleet observability feature.
2366 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
2367 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
2368 },
2369 ],
2370 },
2371 },
2372 },
2373 &quot;namespaceactuation&quot;: { # NamespaceActuation Feature State. # Namespace Actuation feature state.
2374 },
2375 &quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state. # RBAC Role Binding Actuation feature state
2376 },
2377 &quot;servicemesh&quot;: { # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
2378 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
2379 { # AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.
2380 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
2381 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2382 },
2383 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
2384 &quot;messageBase&quot;: { # AnalysisMessageBase describes some common information that is needed for all messages. # Details common to all types of Istio and ServiceMesh analysis messages.
2385 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
2386 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
2387 &quot;type&quot;: { # A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type # Represents the specific type of a message.
2388 &quot;code&quot;: &quot;A String&quot;, # A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. &quot;IST0001&quot; is mapped to the &quot;InternalError&quot; message type.)
2389 &quot;displayName&quot;: &quot;A String&quot;, # A human-readable name for the message type. e.g. &quot;InternalError&quot;, &quot;PodMissingProxy&quot;. This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)
2390 },
2391 },
2392 &quot;resourcePaths&quot;: [ # A list of strings specifying the resource identifiers that were the cause of message generation. A &quot;path&quot; here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
2393 &quot;A String&quot;,
2394 ],
2395 },
2396 ],
2397 &quot;conditions&quot;: [ # Output only. List of conditions reported for this feature.
2398 { # Condition being reported.
2399 &quot;code&quot;: &quot;A String&quot;, # Unique identifier of the condition which describes the condition recognizable to the user.
2400 &quot;details&quot;: &quot;A String&quot;, # A short summary about the issue.
2401 &quot;documentationLink&quot;: &quot;A String&quot;, # Links contains actionable information.
2402 &quot;severity&quot;: &quot;A String&quot;, # Severity level of the condition.
2403 },
2404 ],
2405 },
2406 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # Output only. The &quot;running state&quot; of the Feature in this Fleet.
2407 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
2408 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
2409 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
2410 },
2411 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: Global feature state. # WorkloadIdentity fleet-level state.
2412 &quot;namespaceStateDetails&quot;: { # The state of the IAM namespaces for the fleet.
2413 &quot;a_key&quot;: { # NamespaceStateDetail represents the state of a IAM namespace.
2414 &quot;code&quot;: &quot;A String&quot;, # The state of the IAM namespace.
2415 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
2416 },
2417 },
2418 &quot;namespaceStates&quot;: { # Deprecated, this field will be erased after code is changed to use the new field.
2419 &quot;a_key&quot;: &quot;A String&quot;,
2420 },
2421 &quot;scopeTenancyWorkloadIdentityPool&quot;: &quot;A String&quot;, # The full name of the scope-tenancy pool for the fleet.
2422 &quot;workloadIdentityPool&quot;: &quot;A String&quot;, # The full name of the svc.id.goog pool for the fleet.
2423 &quot;workloadIdentityPoolStateDetails&quot;: { # The state of the Workload Identity Pools for the fleet.
2424 &quot;a_key&quot;: { # WorkloadIdentityPoolStateDetail represents the state of the Workload Identity Pools for the fleet.
2425 &quot;code&quot;: &quot;A String&quot;, # The state of the Workload Identity Pool.
2426 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
2427 },
2428 },
2429 },
2430 },
2431 &quot;unreachable&quot;: [ # Output only. List of locations that could not be reached while fetching this feature.
2432 &quot;A String&quot;,
2433 ],
2434 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was last updated.
2435 }</pre>
2436 </div>
2437
2438 <div class="method">
2439 <code class="details" id="getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</code>
2440 <pre>Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2441
2442 Args:
2443 resource: string, REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
2444 options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2445 x__xgafv: string, V1 error format.
2446 Allowed values
2447 1 - v1 error format
2448 2 - v2 error format
2449
2450 Returns:
2451 An object of the form:
2452
2453 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
2454 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
2455 { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { &quot;audit_configs&quot;: [ { &quot;service&quot;: &quot;allServices&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; }, { &quot;log_type&quot;: &quot;ADMIN_READ&quot; } ] }, { &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot; }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
2456 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
2457 { # Provides the configuration for logging a type of permissions. Example: { &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting [email protected] from DATA_READ logging.
2458 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
2459 &quot;A String&quot;,
2460 ],
2461 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
2462 },
2463 ],
2464 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
2465 },
2466 ],
2467 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
2468 { # Associates `members`, or principals, with a `role`.
2469 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2470 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
2471 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
2472 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
2473 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
2474 },
2475 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
2476 &quot;A String&quot;,
2477 ],
2478 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
2479 },
2480 ],
2481 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
2482 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2483 }</pre>
2484 </div>
2485
2486 <div class="method">
2487 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
2488 <pre>Lists Features in a given project and location.
2489
2490 Args:
2491 parent: string, Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*`. (required)
2492 filter: string, Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Feature with the name &quot;servicemesh&quot; in project &quot;foo-proj&quot;: name = &quot;projects/foo-proj/locations/global/features/servicemesh&quot; - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar
2493 orderBy: string, One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
2494 pageSize: integer, When requesting a &#x27;page&#x27; of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.
2495 pageToken: string, Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.
2496 returnPartialSuccess: boolean, Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.
2497 x__xgafv: string, V1 error format.
2498 Allowed values
2499 1 - v1 error format
2500 2 - v2 error format
2501
2502 Returns:
2503 An object of the form:
2504
2505 { # Response message for the `GkeHub.ListFeatures` method.
2506 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to request the next page of resources from the `ListFeatures` method. The value of an empty string means that there are no more resources to return.
2507 &quot;resources&quot;: [ # The list of matching Features
2508 { # Feature represents the settings and status of any Fleet Feature.
2509 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was created.
2510 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was deleted.
2511 &quot;fleetDefaultMemberConfig&quot;: { # CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet # Optional. Feature configuration applicable to all memberships of the fleet.
2512 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
2513 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
2514 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
2515 },
2516 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
2517 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
2518 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
2519 { # Configuration for a deployment override.
2520 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
2521 { # Configuration for a container override.
2522 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
2523 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
2524 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
2525 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
2526 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
2527 },
2528 ],
2529 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
2530 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
2531 },
2532 ],
2533 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
2534 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
2535 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
2536 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
2537 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
2538 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
2539 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
2540 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
2541 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
2542 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
2543 },
2544 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
2545 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
2546 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
2547 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
2548 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
2549 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
2550 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
2551 },
2552 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
2553 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
2554 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
2555 },
2556 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
2557 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
2558 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
2559 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
2560 },
2561 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
2562 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
2563 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
2564 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
2565 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
2566 &quot;A String&quot;,
2567 ],
2568 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
2569 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
2570 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
2571 &quot;A String&quot;,
2572 ],
2573 },
2574 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
2575 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
2576 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
2577 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
2578 },
2579 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
2580 },
2581 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
2582 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
2583 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
2584 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
2585 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
2586 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
2587 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
2588 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
2589 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
2590 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
2591 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
2592 },
2593 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
2594 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
2595 },
2596 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
2597 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
2598 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
2599 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
2600 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
2601 },
2602 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
2603 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
2604 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
2605 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
2606 },
2607 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
2608 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
2609 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
2610 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
2611 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
2612 },
2613 },
2614 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
2615 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
2616 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
2617 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
2618 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
2619 },
2620 },
2621 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
2622 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
2623 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
2624 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
2625 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
2626 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
2627 &quot;enableAccessToken&quot;: True or False, # Enable access token.
2628 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
2629 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
2630 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
2631 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
2632 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
2633 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
2634 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
2635 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
2636 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
2637 },
2638 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
2639 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
2640 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
2641 &quot;a_key&quot;: &quot;A String&quot;,
2642 },
2643 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
2644 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
2645 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
2646 &quot;A String&quot;,
2647 ],
2648 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
2649 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
2650 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
2651 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
2652 },
2653 },
2654 ],
2655 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
2656 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
2657 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
2658 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
2659 },
2660 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
2661 },
2662 },
2663 &quot;mesh&quot;: { # **Service Mesh**: Spec for a single Membership for the servicemesh feature # Anthos Service Mesh-specific spec
2664 &quot;configApi&quot;: &quot;A String&quot;, # Optional. Specifies the API that will be used for configuring the mesh workloads.
2665 &quot;controlPlane&quot;: &quot;A String&quot;, # Deprecated: use `management` instead Enables automatic control plane management.
2666 &quot;defaultChannel&quot;: &quot;A String&quot;, # Determines which release channel to use for default injection and service mesh APIs.
2667 &quot;management&quot;: &quot;A String&quot;, # Optional. Enables automatic Service Mesh management.
2668 },
2669 &quot;policycontroller&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Policy Controller spec.
2670 &quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
2671 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
2672 &quot;constraintViolationLimit&quot;: &quot;A String&quot;, # The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
2673 &quot;deploymentConfigs&quot;: { # Map of deployment configs to deployments (&quot;admission&quot;, &quot;audit&quot;, &quot;mutation&#x27;).
2674 &quot;a_key&quot;: { # Deployment-specific configuration.
2675 &quot;containerResources&quot;: { # ResourceRequirements describes the compute resource requirements. # Container resource requirements.
2676 &quot;limits&quot;: { # ResourceList contains container resource requirements. # Limits describes the maximum amount of compute resources allowed for use by the running container.
2677 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
2678 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
2679 },
2680 &quot;requests&quot;: { # ResourceList contains container resource requirements. # Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
2681 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
2682 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
2683 },
2684 },
2685 &quot;podAffinity&quot;: &quot;A String&quot;, # Pod affinity configuration.
2686 &quot;podAntiAffinity&quot;: True or False, # Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
2687 &quot;podTolerations&quot;: [ # Pod tolerations of node taints.
2688 { # Toleration of a node taint.
2689 &quot;effect&quot;: &quot;A String&quot;, # Matches a taint effect.
2690 &quot;key&quot;: &quot;A String&quot;, # Matches a taint key (not necessarily unique).
2691 &quot;operator&quot;: &quot;A String&quot;, # Matches a taint operator.
2692 &quot;value&quot;: &quot;A String&quot;, # Matches a taint value.
2693 },
2694 ],
2695 &quot;replicaCount&quot;: &quot;A String&quot;, # Pod replica count.
2696 },
2697 },
2698 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
2699 &quot;A String&quot;,
2700 ],
2701 &quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
2702 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
2703 &quot;monitoring&quot;: { # MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
2704 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
2705 &quot;A String&quot;,
2706 ],
2707 },
2708 &quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
2709 &quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
2710 &quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
2711 &quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
2712 &quot;exemptedNamespaces&quot;: [ # The set of namespaces to be exempted from the bundle.
2713 &quot;A String&quot;,
2714 ],
2715 },
2716 },
2717 &quot;templateLibrary&quot;: { # The config specifying which default library templates to install. # Configures the installation of the Template Library.
2718 &quot;installation&quot;: &quot;A String&quot;, # Configures the manner in which the template library is installed on the cluster.
2719 },
2720 },
2721 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
2722 },
2723 &quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
2724 },
2725 },
2726 &quot;labels&quot;: { # Labels for this Feature.
2727 &quot;a_key&quot;: &quot;A String&quot;,
2728 },
2729 &quot;membershipSpecs&quot;: { # Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature&#x27;s project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
2730 &quot;a_key&quot;: { # MembershipFeatureSpec contains configuration information for a single Membership.
2731 &quot;cloudbuild&quot;: { # **Cloud Build**: Configurations for each Cloud Build enabled cluster. # Cloud Build-specific spec
2732 &quot;securityPolicy&quot;: &quot;A String&quot;, # Whether it is allowed to run the privileged builds on the cluster or not.
2733 &quot;version&quot;: &quot;A String&quot;, # Version of the cloud build software on the cluster.
2734 },
2735 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
2736 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
2737 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
2738 },
2739 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
2740 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
2741 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
2742 { # Configuration for a deployment override.
2743 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
2744 { # Configuration for a container override.
2745 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
2746 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
2747 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
2748 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
2749 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
2750 },
2751 ],
2752 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
2753 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
2754 },
2755 ],
2756 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
2757 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
2758 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
2759 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
2760 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
2761 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
2762 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
2763 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
2764 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
2765 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
2766 },
2767 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
2768 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
2769 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
2770 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
2771 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
2772 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
2773 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
2774 },
2775 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
2776 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
2777 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
2778 },
2779 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
2780 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
2781 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
2782 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
2783 },
2784 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
2785 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
2786 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
2787 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
2788 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
2789 &quot;A String&quot;,
2790 ],
2791 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
2792 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
2793 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
2794 &quot;A String&quot;,
2795 ],
2796 },
2797 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
2798 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
2799 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
2800 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
2801 },
2802 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
2803 },
2804 &quot;fleetobservability&quot;: { # **FleetObservability**: The membership-specific input for FleetObservability feature. # Fleet observability membership spec
2805 },
2806 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
2807 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
2808 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
2809 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
2810 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
2811 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
2812 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
2813 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
2814 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
2815 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
2816 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
2817 },
2818 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
2819 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
2820 },
2821 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
2822 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
2823 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
2824 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
2825 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
2826 },
2827 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
2828 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
2829 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
2830 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
2831 },
2832 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
2833 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
2834 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
2835 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
2836 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
2837 },
2838 },
2839 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
2840 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
2841 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
2842 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
2843 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
2844 },
2845 },
2846 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
2847 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
2848 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
2849 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
2850 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
2851 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
2852 &quot;enableAccessToken&quot;: True or False, # Enable access token.
2853 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
2854 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
2855 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
2856 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
2857 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
2858 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
2859 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
2860 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
2861 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
2862 },
2863 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
2864 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
2865 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
2866 &quot;a_key&quot;: &quot;A String&quot;,
2867 },
2868 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
2869 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
2870 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
2871 &quot;A String&quot;,
2872 ],
2873 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
2874 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
2875 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
2876 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
2877 },
2878 },
2879 ],
2880 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
2881 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
2882 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
2883 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
2884 },
2885 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
2886 },
2887 },
2888 &quot;mesh&quot;: { # **Service Mesh**: Spec for a single Membership for the servicemesh feature # Anthos Service Mesh-specific spec
2889 &quot;configApi&quot;: &quot;A String&quot;, # Optional. Specifies the API that will be used for configuring the mesh workloads.
2890 &quot;controlPlane&quot;: &quot;A String&quot;, # Deprecated: use `management` instead Enables automatic control plane management.
2891 &quot;defaultChannel&quot;: &quot;A String&quot;, # Determines which release channel to use for default injection and service mesh APIs.
2892 &quot;management&quot;: &quot;A String&quot;, # Optional. Enables automatic Service Mesh management.
2893 },
2894 &quot;namespaceactuation&quot;: { # **Namespace Actuation**: The membership-specific input for NamespaceActuation feature. # FNS Actuation membership spec
2895 },
2896 &quot;origin&quot;: { # Origin defines where this MembershipFeatureSpec originated from. # Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly) or setting to FLEET explicitly.
2897 &quot;type&quot;: &quot;A String&quot;, # Type specifies which type of origin is set.
2898 },
2899 &quot;policycontroller&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Policy Controller spec.
2900 &quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
2901 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
2902 &quot;constraintViolationLimit&quot;: &quot;A String&quot;, # The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
2903 &quot;deploymentConfigs&quot;: { # Map of deployment configs to deployments (&quot;admission&quot;, &quot;audit&quot;, &quot;mutation&#x27;).
2904 &quot;a_key&quot;: { # Deployment-specific configuration.
2905 &quot;containerResources&quot;: { # ResourceRequirements describes the compute resource requirements. # Container resource requirements.
2906 &quot;limits&quot;: { # ResourceList contains container resource requirements. # Limits describes the maximum amount of compute resources allowed for use by the running container.
2907 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
2908 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
2909 },
2910 &quot;requests&quot;: { # ResourceList contains container resource requirements. # Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
2911 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
2912 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
2913 },
2914 },
2915 &quot;podAffinity&quot;: &quot;A String&quot;, # Pod affinity configuration.
2916 &quot;podAntiAffinity&quot;: True or False, # Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
2917 &quot;podTolerations&quot;: [ # Pod tolerations of node taints.
2918 { # Toleration of a node taint.
2919 &quot;effect&quot;: &quot;A String&quot;, # Matches a taint effect.
2920 &quot;key&quot;: &quot;A String&quot;, # Matches a taint key (not necessarily unique).
2921 &quot;operator&quot;: &quot;A String&quot;, # Matches a taint operator.
2922 &quot;value&quot;: &quot;A String&quot;, # Matches a taint value.
2923 },
2924 ],
2925 &quot;replicaCount&quot;: &quot;A String&quot;, # Pod replica count.
2926 },
2927 },
2928 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
2929 &quot;A String&quot;,
2930 ],
2931 &quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
2932 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
2933 &quot;monitoring&quot;: { # MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
2934 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
2935 &quot;A String&quot;,
2936 ],
2937 },
2938 &quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
2939 &quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
2940 &quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
2941 &quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
2942 &quot;exemptedNamespaces&quot;: [ # The set of namespaces to be exempted from the bundle.
2943 &quot;A String&quot;,
2944 ],
2945 },
2946 },
2947 &quot;templateLibrary&quot;: { # The config specifying which default library templates to install. # Configures the installation of the Template Library.
2948 &quot;installation&quot;: &quot;A String&quot;, # Configures the manner in which the template library is installed on the cluster.
2949 },
2950 },
2951 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
2952 },
2953 &quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
2954 },
2955 &quot;workloadcertificate&quot;: { # **Workload Certificate**: The membership-specific input for WorkloadCertificate feature. # Workload Certificate spec.
2956 &quot;certificateManagement&quot;: &quot;A String&quot;, # Specifies workload certificate management.
2957 },
2958 },
2959 },
2960 &quot;membershipStates&quot;: { # Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature&#x27;s project number.
2961 &quot;a_key&quot;: { # MembershipFeatureState contains Feature status information for a single Membership.
2962 &quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
2963 &quot;networkingInstallSucceeded&quot;: { # Status specifies state for the subcomponent. # Status of subcomponent that detects configured Service Mesh resources.
2964 &quot;code&quot;: &quot;A String&quot;, # Code specifies AppDevExperienceFeature&#x27;s subcomponent ready state.
2965 &quot;description&quot;: &quot;A String&quot;, # Description is populated if Code is Failed, explaining why it has failed.
2966 },
2967 },
2968 &quot;clusterupgrade&quot;: { # Per-membership state for this feature. # ClusterUpgrade state.
2969 &quot;ignored&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default. # Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel.
2970 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
2971 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
2972 },
2973 &quot;scopes&quot;: [ # Fully qualified scope names that this clusters is bound to which also have rollout sequencing enabled.
2974 &quot;A String&quot;,
2975 ],
2976 &quot;upgrades&quot;: [ # Actual upgrade state against desired.
2977 { # ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership.
2978 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
2979 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
2980 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
2981 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
2982 },
2983 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
2984 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
2985 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
2986 },
2987 },
2988 ],
2989 },
2990 &quot;configmanagement&quot;: { # **Anthos Config Management**: State for a single cluster. # Config Management-specific state.
2991 &quot;binauthzState&quot;: { # State for Binauthz # Output only. Binauthz status
2992 &quot;version&quot;: { # The version of binauthz. # The version of binauthz that is installed.
2993 &quot;webhookVersion&quot;: &quot;A String&quot;, # The version of the binauthz webhook.
2994 },
2995 &quot;webhook&quot;: &quot;A String&quot;, # The state of the binauthz webhook.
2996 },
2997 &quot;clusterName&quot;: &quot;A String&quot;, # Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster&#x27;s fleet membership name.
2998 &quot;configSyncState&quot;: { # State information for ConfigSync # Output only. Current sync status
2999 &quot;clusterLevelStopSyncingState&quot;: &quot;A String&quot;, # Output only. Whether syncing resources to the cluster is stopped at the cluster level.
3000 &quot;crCount&quot;: 42, # Output only. The number of RootSync and RepoSync CRs in the cluster.
3001 &quot;deploymentState&quot;: { # The state of ConfigSync&#x27;s deployment on a cluster # Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed
3002 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Deployment state of admission-webhook
3003 &quot;gitSync&quot;: &quot;A String&quot;, # Deployment state of the git-sync pod
3004 &quot;importer&quot;: &quot;A String&quot;, # Deployment state of the importer pod
3005 &quot;monitor&quot;: &quot;A String&quot;, # Deployment state of the monitor pod
3006 &quot;otelCollector&quot;: &quot;A String&quot;, # Deployment state of otel-collector
3007 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Deployment state of reconciler-manager pod
3008 &quot;resourceGroupControllerManager&quot;: &quot;A String&quot;, # Deployment state of resource-group-controller-manager
3009 &quot;rootReconciler&quot;: &quot;A String&quot;, # Deployment state of root-reconciler
3010 &quot;syncer&quot;: &quot;A String&quot;, # Deployment state of the syncer pod
3011 },
3012 &quot;errors&quot;: [ # Output only. Errors pertaining to the installation of Config Sync.
3013 { # Errors pertaining to the installation of Config Sync
3014 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
3015 },
3016 ],
3017 &quot;reposyncCrd&quot;: &quot;A String&quot;, # Output only. The state of the Reposync CRD
3018 &quot;rootsyncCrd&quot;: &quot;A String&quot;, # Output only. The state of the RootSync CRD
3019 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of CS This field summarizes the other fields in this message.
3020 &quot;syncState&quot;: { # State indicating an ACM&#x27;s progress syncing configurations to a cluster # Output only. The state of ConfigSync&#x27;s process to sync configs to a cluster
3021 &quot;code&quot;: &quot;A String&quot;, # Sync status code
3022 &quot;errors&quot;: [ # A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
3023 { # An ACM created error representing a problem syncing configurations
3024 &quot;code&quot;: &quot;A String&quot;, # An ACM defined error code
3025 &quot;errorMessage&quot;: &quot;A String&quot;, # A description of the error
3026 &quot;errorResources&quot;: [ # A list of config(s) associated with the error, if any
3027 { # Model for a config file in the git repo with an associated Sync error
3028 &quot;resourceGvk&quot;: { # A Kubernetes object&#x27;s GVK # Group/version/kind of the resource that is causing an error
3029 &quot;group&quot;: &quot;A String&quot;, # Kubernetes Group
3030 &quot;kind&quot;: &quot;A String&quot;, # Kubernetes Kind
3031 &quot;version&quot;: &quot;A String&quot;, # Kubernetes Version
3032 },
3033 &quot;resourceName&quot;: &quot;A String&quot;, # Metadata name of the resource that is causing an error
3034 &quot;resourceNamespace&quot;: &quot;A String&quot;, # Namespace of the resource that is causing an error
3035 &quot;sourcePath&quot;: &quot;A String&quot;, # Path in the git repo of the erroneous config
3036 },
3037 ],
3038 },
3039 ],
3040 &quot;importToken&quot;: &quot;A String&quot;, # Token indicating the state of the importer.
3041 &quot;lastSync&quot;: &quot;A String&quot;, # Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
3042 &quot;lastSyncTime&quot;: &quot;A String&quot;, # Timestamp type of when ACM last successfully synced the repo
3043 &quot;sourceToken&quot;: &quot;A String&quot;, # Token indicating the state of the repo.
3044 &quot;syncToken&quot;: &quot;A String&quot;, # Token indicating the state of the syncer.
3045 },
3046 &quot;version&quot;: { # Specific versioning information pertaining to ConfigSync&#x27;s Pods # Output only. The version of ConfigSync deployed
3047 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Version of the deployed admission-webhook pod
3048 &quot;gitSync&quot;: &quot;A String&quot;, # Version of the deployed git-sync pod
3049 &quot;importer&quot;: &quot;A String&quot;, # Version of the deployed importer pod
3050 &quot;monitor&quot;: &quot;A String&quot;, # Version of the deployed monitor pod
3051 &quot;otelCollector&quot;: &quot;A String&quot;, # Version of the deployed otel-collector pod
3052 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Version of the deployed reconciler-manager pod
3053 &quot;resourceGroupControllerManager&quot;: &quot;A String&quot;, # Version of the deployed resource-group-controller-manager pod
3054 &quot;rootReconciler&quot;: &quot;A String&quot;, # Version of the deployed reconciler container in root-reconciler pod
3055 &quot;syncer&quot;: &quot;A String&quot;, # Version of the deployed syncer pod
3056 },
3057 },
3058 &quot;hierarchyControllerState&quot;: { # State for Hierarchy Controller # Output only. Hierarchy Controller status
3059 &quot;state&quot;: { # Deployment state for Hierarchy Controller # The deployment state for Hierarchy Controller
3060 &quot;extension&quot;: &quot;A String&quot;, # The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
3061 &quot;hnc&quot;: &quot;A String&quot;, # The deployment state for open source HNC (e.g. v0.7.0-hc.0)
3062 },
3063 &quot;version&quot;: { # Version for Hierarchy Controller # The version for Hierarchy Controller
3064 &quot;extension&quot;: &quot;A String&quot;, # Version for Hierarchy Controller extension
3065 &quot;hnc&quot;: &quot;A String&quot;, # Version for open source HNC
3066 },
3067 },
3068 &quot;kubernetesApiServerVersion&quot;: &quot;A String&quot;, # Output only. The Kubernetes API server version of the cluster.
3069 &quot;membershipSpec&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
3070 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
3071 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
3072 },
3073 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
3074 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
3075 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
3076 { # Configuration for a deployment override.
3077 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
3078 { # Configuration for a container override.
3079 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
3080 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
3081 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
3082 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
3083 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
3084 },
3085 ],
3086 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
3087 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
3088 },
3089 ],
3090 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
3091 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
3092 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
3093 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
3094 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
3095 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
3096 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
3097 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
3098 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
3099 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
3100 },
3101 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
3102 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
3103 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
3104 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
3105 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
3106 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
3107 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
3108 },
3109 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
3110 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
3111 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
3112 },
3113 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
3114 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
3115 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
3116 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
3117 },
3118 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
3119 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
3120 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
3121 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
3122 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
3123 &quot;A String&quot;,
3124 ],
3125 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
3126 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
3127 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
3128 &quot;A String&quot;,
3129 ],
3130 },
3131 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
3132 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
3133 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
3134 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
3135 },
3136 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
3137 },
3138 &quot;operatorState&quot;: { # State information for an ACM&#x27;s Operator # Output only. Current install status of ACM&#x27;s Operator
3139 &quot;deploymentState&quot;: &quot;A String&quot;, # The state of the Operator&#x27;s deployment
3140 &quot;errors&quot;: [ # Install errors.
3141 { # Errors pertaining to the installation of ACM
3142 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
3143 },
3144 ],
3145 &quot;version&quot;: &quot;A String&quot;, # The semenatic version number of the operator
3146 },
3147 &quot;policyControllerState&quot;: { # State for PolicyControllerState. # Output only. PolicyController status
3148 &quot;deploymentState&quot;: { # State of Policy Controller installation. # The state about the policy controller installation.
3149 &quot;gatekeeperAudit&quot;: &quot;A String&quot;, # Status of gatekeeper-audit deployment.
3150 &quot;gatekeeperControllerManagerState&quot;: &quot;A String&quot;, # Status of gatekeeper-controller-manager pod.
3151 &quot;gatekeeperMutation&quot;: &quot;A String&quot;, # Status of the pod serving the mutation webhook.
3152 },
3153 &quot;migration&quot;: { # State for the migration of PolicyController from ACM -&gt; PoCo Hub. # Record state of ACM -&gt; PoCo Hub migration for this feature.
3154 &quot;copyTime&quot;: &quot;A String&quot;, # Last time this membership spec was copied to PoCo feature.
3155 &quot;stage&quot;: &quot;A String&quot;, # Stage of the migration.
3156 },
3157 &quot;version&quot;: { # The build version of Gatekeeper Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
3158 &quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
3159 },
3160 },
3161 },
3162 &quot;fleetobservability&quot;: { # **FleetObservability**: Membership-specific Feature state for fleetobservability. # Fleet observability membership state.
3163 },
3164 &quot;identityservice&quot;: { # **Anthos Identity Service**: State for a single Membership. # Identity Service-specific state.
3165 &quot;failureReason&quot;: &quot;A String&quot;, # The reason of the failure.
3166 &quot;installedVersion&quot;: &quot;A String&quot;, # Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK.
3167 &quot;memberConfig&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Last reconciled membership configuration
3168 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
3169 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
3170 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
3171 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
3172 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
3173 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
3174 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
3175 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
3176 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
3177 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
3178 },
3179 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
3180 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
3181 },
3182 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
3183 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
3184 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
3185 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
3186 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
3187 },
3188 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
3189 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
3190 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
3191 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
3192 },
3193 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
3194 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
3195 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
3196 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
3197 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
3198 },
3199 },
3200 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
3201 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
3202 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
3203 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
3204 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
3205 },
3206 },
3207 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
3208 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
3209 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
3210 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
3211 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
3212 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
3213 &quot;enableAccessToken&quot;: True or False, # Enable access token.
3214 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
3215 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
3216 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
3217 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
3218 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
3219 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
3220 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
3221 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
3222 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
3223 },
3224 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
3225 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
3226 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
3227 &quot;a_key&quot;: &quot;A String&quot;,
3228 },
3229 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
3230 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
3231 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
3232 &quot;A String&quot;,
3233 ],
3234 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
3235 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
3236 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
3237 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
3238 },
3239 },
3240 ],
3241 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
3242 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
3243 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
3244 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
3245 },
3246 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
3247 },
3248 },
3249 &quot;state&quot;: &quot;A String&quot;, # Deployment state on this member
3250 },
3251 &quot;metering&quot;: { # **Metering**: Per-Membership Feature State. # Metering-specific state.
3252 &quot;lastMeasurementTime&quot;: &quot;A String&quot;, # The time stamp of the most recent measurement of the number of vCPUs in the cluster.
3253 &quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
3254 },
3255 &quot;namespaceactuation&quot;: { # **Namespace Actuation**: An empty state left as an example membership-specific Feature state. # FNS Actuation membership state
3256 },
3257 &quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
3258 &quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
3259 &quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
3260 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
3261 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
3262 },
3263 },
3264 &quot;policyContentState&quot;: { # The state of the policy controller policy content # The overall content state observed by the Hub Feature controller.
3265 &quot;bundleStates&quot;: { # The state of the any bundles included in the chosen version of the manifest
3266 &quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
3267 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
3268 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
3269 },
3270 },
3271 &quot;referentialSyncConfigState&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller. # The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user.
3272 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
3273 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
3274 },
3275 &quot;templateLibraryState&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller. # The state of the template library
3276 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
3277 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
3278 },
3279 },
3280 &quot;state&quot;: &quot;A String&quot;, # The overall Policy Controller lifecycle state observed by the Hub Feature controller.
3281 },
3282 &quot;servicemesh&quot;: { # **Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
3283 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
3284 { # AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.
3285 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
3286 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
3287 },
3288 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
3289 &quot;messageBase&quot;: { # AnalysisMessageBase describes some common information that is needed for all messages. # Details common to all types of Istio and ServiceMesh analysis messages.
3290 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
3291 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
3292 &quot;type&quot;: { # A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type # Represents the specific type of a message.
3293 &quot;code&quot;: &quot;A String&quot;, # A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. &quot;IST0001&quot; is mapped to the &quot;InternalError&quot; message type.)
3294 &quot;displayName&quot;: &quot;A String&quot;, # A human-readable name for the message type. e.g. &quot;InternalError&quot;, &quot;PodMissingProxy&quot;. This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)
3295 },
3296 },
3297 &quot;resourcePaths&quot;: [ # A list of strings specifying the resource identifiers that were the cause of message generation. A &quot;path&quot; here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
3298 &quot;A String&quot;,
3299 ],
3300 },
3301 ],
3302 &quot;conditions&quot;: [ # Output only. List of conditions reported for this membership.
3303 { # Condition being reported.
3304 &quot;code&quot;: &quot;A String&quot;, # Unique identifier of the condition which describes the condition recognizable to the user.
3305 &quot;details&quot;: &quot;A String&quot;, # A short summary about the issue.
3306 &quot;documentationLink&quot;: &quot;A String&quot;, # Links contains actionable information.
3307 &quot;severity&quot;: &quot;A String&quot;, # Severity level of the condition.
3308 },
3309 ],
3310 &quot;configApiVersion&quot;: &quot;A String&quot;, # The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field.
3311 &quot;controlPlaneManagement&quot;: { # Status of control plane management. # Output only. Status of control plane management
3312 &quot;details&quot;: [ # Explanation of state.
3313 { # Structured and human-readable details for a status.
3314 &quot;code&quot;: &quot;A String&quot;, # A machine-readable code that further describes a broad status.
3315 &quot;details&quot;: &quot;A String&quot;, # Human-readable explanation of code.
3316 },
3317 ],
3318 &quot;implementation&quot;: &quot;A String&quot;, # Output only. Implementation of managed control plane.
3319 &quot;state&quot;: &quot;A String&quot;, # LifecycleState of control plane management.
3320 },
3321 &quot;dataPlaneManagement&quot;: { # Status of data plane management. Only reported per-member. # Output only. Status of data plane management.
3322 &quot;details&quot;: [ # Explanation of the status.
3323 { # Structured and human-readable details for a status.
3324 &quot;code&quot;: &quot;A String&quot;, # A machine-readable code that further describes a broad status.
3325 &quot;details&quot;: &quot;A String&quot;, # Human-readable explanation of code.
3326 },
3327 ],
3328 &quot;state&quot;: &quot;A String&quot;, # Lifecycle status of data plane management.
3329 },
3330 },
3331 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # The high-level state of this Feature for a single membership.
3332 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
3333 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
3334 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
3335 },
3336 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature. # Workload Identity membership specific state.
3337 &quot;description&quot;: &quot;A String&quot;, # Deprecated, this field will be erased after code is changed to use the new field.
3338 &quot;identityProviderStateDetails&quot;: { # The state of the Identity Providers corresponding to the membership.
3339 &quot;a_key&quot;: { # IdentityProviderStateDetail represents the state of an Identity Provider.
3340 &quot;code&quot;: &quot;A String&quot;, # The state of the Identity Provider.
3341 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
3342 },
3343 },
3344 },
3345 },
3346 },
3347 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
3348 &quot;resourceState&quot;: { # FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the &quot;running state&quot; of the Feature in the Fleet and across Memberships. # Output only. State of the Feature resource itself.
3349 &quot;state&quot;: &quot;A String&quot;, # The current state of the Feature resource in the Hub API.
3350 },
3351 &quot;scopeSpecs&quot;: { # Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
3352 &quot;a_key&quot;: { # ScopeFeatureSpec contains feature specs for a fleet scope.
3353 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The configuration for the scope-level ClusterUpgrade feature. # Spec for the ClusterUpgrade feature at the scope level
3354 &quot;gkeUpgradeOverrides&quot;: [ # Allow users to override some properties of each GKE upgrade.
3355 { # Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.
3356 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to override for the specified upgrade (name + version). Required.
3357 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
3358 },
3359 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Required. Which upgrade to override. Required.
3360 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
3361 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
3362 },
3363 },
3364 ],
3365 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required.
3366 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
3367 },
3368 &quot;upstreamScopes&quot;: [ # This scope consumes upgrades that have COMPLETE status code in the upstream scopes. See UpgradeStatus.Code for code definitions. The scope name should be in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream scope.
3369 &quot;A String&quot;,
3370 ],
3371 },
3372 },
3373 },
3374 &quot;scopeStates&quot;: { # Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project.
3375 &quot;a_key&quot;: { # ScopeFeatureState contains Scope-wide Feature status information.
3376 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The state for the scope-level ClusterUpgrade feature. # State for the ClusterUpgrade feature at the scope level
3377 &quot;downstreamScopes&quot;: [ # This scopes whose upstream_scopes contain the current scope. The scope name should be in the form: `projects/{p}/locations/gloobal/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project.
3378 &quot;A String&quot;,
3379 ],
3380 &quot;gkeState&quot;: { # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope. # Feature state for GKE clusters.
3381 &quot;conditions&quot;: [ # Current conditions of the feature.
3382 { # GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.
3383 &quot;reason&quot;: &quot;A String&quot;, # Reason why the feature is in this status.
3384 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
3385 &quot;type&quot;: &quot;A String&quot;, # Type of the condition, for example, &quot;ready&quot;.
3386 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the condition was updated.
3387 },
3388 ],
3389 &quot;upgradeState&quot;: [ # Upgrade state. It will eventually replace `state`.
3390 { # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
3391 &quot;stats&quot;: { # Number of GKE clusters in each status code.
3392 &quot;a_key&quot;: &quot;A String&quot;,
3393 },
3394 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
3395 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
3396 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
3397 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
3398 },
3399 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
3400 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
3401 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
3402 },
3403 },
3404 ],
3405 },
3406 &quot;ignored&quot;: { # A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.
3407 &quot;a_key&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.
3408 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
3409 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
3410 },
3411 },
3412 },
3413 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # Output only. The &quot;running state&quot; of the Feature in this Scope.
3414 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
3415 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
3416 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
3417 },
3418 },
3419 },
3420 &quot;spec&quot;: { # CommonFeatureSpec contains Fleet-wide configuration information # Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
3421 &quot;appdevexperience&quot;: { # Spec for App Dev Experience Feature. # Appdevexperience specific spec.
3422 },
3423 &quot;cloudauditlogging&quot;: { # **Cloud Audit Logging**: Spec for Audit Logging Allowlisting. # Cloud Audit Logging-specific spec.
3424 &quot;allowlistedServiceAccounts&quot;: [ # Service account that should be allowlisted to send the audit logs; eg [email protected]. These accounts must already exist, but do not need to have any permissions granted to them. The customer&#x27;s entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
3425 &quot;A String&quot;,
3426 ],
3427 },
3428 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade feature. # ClusterUpgrade (fleet-based) feature spec.
3429 &quot;gkeUpgradeOverrides&quot;: [ # Allow users to override some properties of each GKE upgrade.
3430 { # Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.
3431 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to override for the specified upgrade (name + version). Required.
3432 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
3433 },
3434 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Required. Which upgrade to override. Required.
3435 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
3436 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
3437 },
3438 },
3439 ],
3440 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required.
3441 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
3442 },
3443 &quot;upgradeEngine&quot;: &quot;A String&quot;, # Output only. The effective upgrade engine for the fleet.
3444 &quot;upstreamFleets&quot;: [ # This fleet consumes upgrades that have COMPLETE status code in the upstream fleets. See UpgradeStatus.Code for code definitions. The fleet name should be either fleet project number or id. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream fleet.
3445 &quot;A String&quot;,
3446 ],
3447 },
3448 &quot;dataplanev2&quot;: { # **Dataplane V2**: Spec # DataplaneV2 feature spec.
3449 &quot;enableEncryption&quot;: True or False, # Enable dataplane-v2 based encryption for multiple clusters.
3450 },
3451 &quot;fleetobservability&quot;: { # **Fleet Observability**: The Hub-wide input for the FleetObservability feature. # FleetObservability feature spec.
3452 &quot;loggingConfig&quot;: { # LoggingConfig defines the configuration for different types of logs. # Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet.
3453 &quot;defaultConfig&quot;: { # RoutingConfig configures the behaviour of fleet logging feature. # Specified if applying the default routing config to logs not specified in other configs.
3454 &quot;mode&quot;: &quot;A String&quot;, # mode configures the logs routing mode.
3455 },
3456 &quot;fleetScopeLogsConfig&quot;: { # RoutingConfig configures the behaviour of fleet logging feature. # Specified if applying the routing config to all logs for all fleet scopes.
3457 &quot;mode&quot;: &quot;A String&quot;, # mode configures the logs routing mode.
3458 },
3459 },
3460 },
3461 &quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
3462 &quot;billing&quot;: &quot;A String&quot;, # Deprecated: This field will be ignored and should not be set. Customer&#x27;s billing structure.
3463 &quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
3464 },
3465 &quot;namespaceactuation&quot;: { # An empty spec for actuation feature. This is required since Feature proto requires a spec. # Namespace Actuation feature spec
3466 &quot;actuationMode&quot;: &quot;A String&quot;, # actuation_mode controls the behavior of the controller
3467 },
3468 &quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature. # RBAC Role Binding Actuation feature spec
3469 &quot;allowedCustomRoles&quot;: [ # The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
3470 &quot;A String&quot;,
3471 ],
3472 },
3473 &quot;workloadcertificate&quot;: { # **Workload Certificate**: The Hub-wide input for the WorkloadCertificate feature. # Workload Certificate spec.
3474 &quot;defaultConfig&quot;: { # **Workload Certificate**: The membership-specific input for WorkloadCertificate feature. # Specifies default membership spec. Users can override the default in the member_configs for each member.
3475 &quot;certificateManagement&quot;: &quot;A String&quot;, # Specifies workload certificate management.
3476 },
3477 &quot;provisionGoogleCa&quot;: &quot;A String&quot;, # Immutable. Specifies CA configuration.
3478 },
3479 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: Global feature specification. # Workload Identity feature spec.
3480 &quot;scopeTenancyPool&quot;: &quot;A String&quot;, # Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet Tenancy, so that sameness can be enforced. ex: projects/example/locations/global/workloadidentitypools/custompool
3481 },
3482 },
3483 &quot;state&quot;: { # CommonFeatureState contains Fleet-wide Feature status information. # Output only. The Fleet-wide Feature state.
3484 &quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
3485 &quot;networkingInstallSucceeded&quot;: { # Status specifies state for the subcomponent. # Status of subcomponent that detects configured Service Mesh resources.
3486 &quot;code&quot;: &quot;A String&quot;, # Code specifies AppDevExperienceFeature&#x27;s subcomponent ready state.
3487 &quot;description&quot;: &quot;A String&quot;, # Description is populated if Code is Failed, explaining why it has failed.
3488 },
3489 },
3490 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature. # ClusterUpgrade fleet-level state.
3491 &quot;downstreamFleets&quot;: [ # This fleets whose upstream_fleets contain the current fleet. The fleet name should be either fleet project number or id.
3492 &quot;A String&quot;,
3493 ],
3494 &quot;gkeState&quot;: { # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope. # Feature state for GKE clusters.
3495 &quot;conditions&quot;: [ # Current conditions of the feature.
3496 { # GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.
3497 &quot;reason&quot;: &quot;A String&quot;, # Reason why the feature is in this status.
3498 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
3499 &quot;type&quot;: &quot;A String&quot;, # Type of the condition, for example, &quot;ready&quot;.
3500 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the condition was updated.
3501 },
3502 ],
3503 &quot;upgradeState&quot;: [ # Upgrade state. It will eventually replace `state`.
3504 { # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
3505 &quot;stats&quot;: { # Number of GKE clusters in each status code.
3506 &quot;a_key&quot;: &quot;A String&quot;,
3507 },
3508 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
3509 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
3510 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
3511 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
3512 },
3513 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
3514 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
3515 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
3516 },
3517 },
3518 ],
3519 },
3520 &quot;ignored&quot;: { # A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.
3521 &quot;a_key&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.
3522 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
3523 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
3524 },
3525 },
3526 },
3527 &quot;fleetobservability&quot;: { # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state. # FleetObservability feature state.
3528 &quot;logging&quot;: { # Feature state for logging feature. # The feature state of default logging.
3529 &quot;defaultLog&quot;: { # Base state for fleet observability feature. # The base feature state of fleet default log.
3530 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
3531 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
3532 { # All error details of the fleet observability feature.
3533 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
3534 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
3535 },
3536 ],
3537 },
3538 &quot;scopeLog&quot;: { # Base state for fleet observability feature. # The base feature state of fleet scope log.
3539 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
3540 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
3541 { # All error details of the fleet observability feature.
3542 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
3543 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
3544 },
3545 ],
3546 },
3547 },
3548 &quot;monitoring&quot;: { # Feature state for monitoring feature. # The feature state of fleet monitoring.
3549 &quot;state&quot;: { # Base state for fleet observability feature. # The base feature state of fleet monitoring feature.
3550 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
3551 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
3552 { # All error details of the fleet observability feature.
3553 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
3554 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
3555 },
3556 ],
3557 },
3558 },
3559 },
3560 &quot;namespaceactuation&quot;: { # NamespaceActuation Feature State. # Namespace Actuation feature state.
3561 },
3562 &quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state. # RBAC Role Binding Actuation feature state
3563 },
3564 &quot;servicemesh&quot;: { # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
3565 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
3566 { # AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.
3567 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
3568 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
3569 },
3570 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
3571 &quot;messageBase&quot;: { # AnalysisMessageBase describes some common information that is needed for all messages. # Details common to all types of Istio and ServiceMesh analysis messages.
3572 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
3573 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
3574 &quot;type&quot;: { # A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type # Represents the specific type of a message.
3575 &quot;code&quot;: &quot;A String&quot;, # A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. &quot;IST0001&quot; is mapped to the &quot;InternalError&quot; message type.)
3576 &quot;displayName&quot;: &quot;A String&quot;, # A human-readable name for the message type. e.g. &quot;InternalError&quot;, &quot;PodMissingProxy&quot;. This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)
3577 },
3578 },
3579 &quot;resourcePaths&quot;: [ # A list of strings specifying the resource identifiers that were the cause of message generation. A &quot;path&quot; here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
3580 &quot;A String&quot;,
3581 ],
3582 },
3583 ],
3584 &quot;conditions&quot;: [ # Output only. List of conditions reported for this feature.
3585 { # Condition being reported.
3586 &quot;code&quot;: &quot;A String&quot;, # Unique identifier of the condition which describes the condition recognizable to the user.
3587 &quot;details&quot;: &quot;A String&quot;, # A short summary about the issue.
3588 &quot;documentationLink&quot;: &quot;A String&quot;, # Links contains actionable information.
3589 &quot;severity&quot;: &quot;A String&quot;, # Severity level of the condition.
3590 },
3591 ],
3592 },
3593 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # Output only. The &quot;running state&quot; of the Feature in this Fleet.
3594 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
3595 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
3596 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
3597 },
3598 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: Global feature state. # WorkloadIdentity fleet-level state.
3599 &quot;namespaceStateDetails&quot;: { # The state of the IAM namespaces for the fleet.
3600 &quot;a_key&quot;: { # NamespaceStateDetail represents the state of a IAM namespace.
3601 &quot;code&quot;: &quot;A String&quot;, # The state of the IAM namespace.
3602 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
3603 },
3604 },
3605 &quot;namespaceStates&quot;: { # Deprecated, this field will be erased after code is changed to use the new field.
3606 &quot;a_key&quot;: &quot;A String&quot;,
3607 },
3608 &quot;scopeTenancyWorkloadIdentityPool&quot;: &quot;A String&quot;, # The full name of the scope-tenancy pool for the fleet.
3609 &quot;workloadIdentityPool&quot;: &quot;A String&quot;, # The full name of the svc.id.goog pool for the fleet.
3610 &quot;workloadIdentityPoolStateDetails&quot;: { # The state of the Workload Identity Pools for the fleet.
3611 &quot;a_key&quot;: { # WorkloadIdentityPoolStateDetail represents the state of the Workload Identity Pools for the fleet.
3612 &quot;code&quot;: &quot;A String&quot;, # The state of the Workload Identity Pool.
3613 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
3614 },
3615 },
3616 },
3617 },
3618 &quot;unreachable&quot;: [ # Output only. List of locations that could not be reached while fetching this feature.
3619 &quot;A String&quot;,
3620 ],
3621 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was last updated.
3622 },
3623 ],
3624 }</pre>
3625 </div>
3626
3627 <div class="method">
3628 <code class="details" id="list_next">list_next()</code>
3629 <pre>Retrieves the next page of results.
3630
3631 Args:
3632 previous_request: The request for the previous page. (required)
3633 previous_response: The response from the request for the previous page. (required)
3634
3635 Returns:
3636 A request object that you can call &#x27;execute()&#x27; on to request the next
3637 page. Returns None if there are no more items in the collection.
3638 </pre>
3639 </div>
3640
3641 <div class="method">
3642 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
3643 <pre>Updates an existing Feature.
3644
3645 Args:
3646 name: string, Required. The Feature resource name in the format `projects/*/locations/*/features/*`. (required)
3647 body: object, The request body.
3648 The object takes the form of:
3649
3650 { # Feature represents the settings and status of any Fleet Feature.
3651 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was created.
3652 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was deleted.
3653 &quot;fleetDefaultMemberConfig&quot;: { # CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet # Optional. Feature configuration applicable to all memberships of the fleet.
3654 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
3655 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
3656 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
3657 },
3658 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
3659 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
3660 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
3661 { # Configuration for a deployment override.
3662 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
3663 { # Configuration for a container override.
3664 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
3665 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
3666 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
3667 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
3668 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
3669 },
3670 ],
3671 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
3672 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
3673 },
3674 ],
3675 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
3676 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
3677 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
3678 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
3679 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
3680 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
3681 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
3682 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
3683 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
3684 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
3685 },
3686 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
3687 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
3688 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
3689 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
3690 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
3691 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
3692 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
3693 },
3694 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
3695 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
3696 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
3697 },
3698 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
3699 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
3700 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
3701 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
3702 },
3703 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
3704 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
3705 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
3706 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
3707 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
3708 &quot;A String&quot;,
3709 ],
3710 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
3711 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
3712 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
3713 &quot;A String&quot;,
3714 ],
3715 },
3716 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
3717 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
3718 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
3719 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
3720 },
3721 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
3722 },
3723 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
3724 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
3725 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
3726 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
3727 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
3728 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
3729 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
3730 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
3731 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
3732 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
3733 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
3734 },
3735 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
3736 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
3737 },
3738 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
3739 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
3740 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
3741 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
3742 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
3743 },
3744 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
3745 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
3746 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
3747 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
3748 },
3749 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
3750 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
3751 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
3752 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
3753 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
3754 },
3755 },
3756 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
3757 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
3758 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
3759 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
3760 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
3761 },
3762 },
3763 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
3764 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
3765 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
3766 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
3767 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
3768 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
3769 &quot;enableAccessToken&quot;: True or False, # Enable access token.
3770 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
3771 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
3772 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
3773 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
3774 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
3775 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
3776 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
3777 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
3778 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
3779 },
3780 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
3781 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
3782 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
3783 &quot;a_key&quot;: &quot;A String&quot;,
3784 },
3785 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
3786 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
3787 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
3788 &quot;A String&quot;,
3789 ],
3790 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
3791 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
3792 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
3793 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
3794 },
3795 },
3796 ],
3797 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
3798 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
3799 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
3800 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
3801 },
3802 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
3803 },
3804 },
3805 &quot;mesh&quot;: { # **Service Mesh**: Spec for a single Membership for the servicemesh feature # Anthos Service Mesh-specific spec
3806 &quot;configApi&quot;: &quot;A String&quot;, # Optional. Specifies the API that will be used for configuring the mesh workloads.
3807 &quot;controlPlane&quot;: &quot;A String&quot;, # Deprecated: use `management` instead Enables automatic control plane management.
3808 &quot;defaultChannel&quot;: &quot;A String&quot;, # Determines which release channel to use for default injection and service mesh APIs.
3809 &quot;management&quot;: &quot;A String&quot;, # Optional. Enables automatic Service Mesh management.
3810 },
3811 &quot;policycontroller&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Policy Controller spec.
3812 &quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
3813 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
3814 &quot;constraintViolationLimit&quot;: &quot;A String&quot;, # The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
3815 &quot;deploymentConfigs&quot;: { # Map of deployment configs to deployments (&quot;admission&quot;, &quot;audit&quot;, &quot;mutation&#x27;).
3816 &quot;a_key&quot;: { # Deployment-specific configuration.
3817 &quot;containerResources&quot;: { # ResourceRequirements describes the compute resource requirements. # Container resource requirements.
3818 &quot;limits&quot;: { # ResourceList contains container resource requirements. # Limits describes the maximum amount of compute resources allowed for use by the running container.
3819 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
3820 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
3821 },
3822 &quot;requests&quot;: { # ResourceList contains container resource requirements. # Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
3823 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
3824 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
3825 },
3826 },
3827 &quot;podAffinity&quot;: &quot;A String&quot;, # Pod affinity configuration.
3828 &quot;podAntiAffinity&quot;: True or False, # Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
3829 &quot;podTolerations&quot;: [ # Pod tolerations of node taints.
3830 { # Toleration of a node taint.
3831 &quot;effect&quot;: &quot;A String&quot;, # Matches a taint effect.
3832 &quot;key&quot;: &quot;A String&quot;, # Matches a taint key (not necessarily unique).
3833 &quot;operator&quot;: &quot;A String&quot;, # Matches a taint operator.
3834 &quot;value&quot;: &quot;A String&quot;, # Matches a taint value.
3835 },
3836 ],
3837 &quot;replicaCount&quot;: &quot;A String&quot;, # Pod replica count.
3838 },
3839 },
3840 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
3841 &quot;A String&quot;,
3842 ],
3843 &quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
3844 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
3845 &quot;monitoring&quot;: { # MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
3846 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
3847 &quot;A String&quot;,
3848 ],
3849 },
3850 &quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
3851 &quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
3852 &quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
3853 &quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
3854 &quot;exemptedNamespaces&quot;: [ # The set of namespaces to be exempted from the bundle.
3855 &quot;A String&quot;,
3856 ],
3857 },
3858 },
3859 &quot;templateLibrary&quot;: { # The config specifying which default library templates to install. # Configures the installation of the Template Library.
3860 &quot;installation&quot;: &quot;A String&quot;, # Configures the manner in which the template library is installed on the cluster.
3861 },
3862 },
3863 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
3864 },
3865 &quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
3866 },
3867 },
3868 &quot;labels&quot;: { # Labels for this Feature.
3869 &quot;a_key&quot;: &quot;A String&quot;,
3870 },
3871 &quot;membershipSpecs&quot;: { # Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature&#x27;s project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
3872 &quot;a_key&quot;: { # MembershipFeatureSpec contains configuration information for a single Membership.
3873 &quot;cloudbuild&quot;: { # **Cloud Build**: Configurations for each Cloud Build enabled cluster. # Cloud Build-specific spec
3874 &quot;securityPolicy&quot;: &quot;A String&quot;, # Whether it is allowed to run the privileged builds on the cluster or not.
3875 &quot;version&quot;: &quot;A String&quot;, # Version of the cloud build software on the cluster.
3876 },
3877 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
3878 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
3879 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
3880 },
3881 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
3882 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
3883 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
3884 { # Configuration for a deployment override.
3885 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
3886 { # Configuration for a container override.
3887 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
3888 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
3889 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
3890 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
3891 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
3892 },
3893 ],
3894 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
3895 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
3896 },
3897 ],
3898 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
3899 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
3900 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
3901 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
3902 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
3903 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
3904 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
3905 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
3906 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
3907 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
3908 },
3909 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
3910 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
3911 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
3912 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
3913 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
3914 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
3915 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
3916 },
3917 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
3918 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
3919 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
3920 },
3921 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
3922 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
3923 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
3924 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
3925 },
3926 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
3927 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
3928 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
3929 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
3930 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
3931 &quot;A String&quot;,
3932 ],
3933 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
3934 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
3935 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
3936 &quot;A String&quot;,
3937 ],
3938 },
3939 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
3940 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
3941 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
3942 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
3943 },
3944 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
3945 },
3946 &quot;fleetobservability&quot;: { # **FleetObservability**: The membership-specific input for FleetObservability feature. # Fleet observability membership spec
3947 },
3948 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
3949 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
3950 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
3951 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
3952 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
3953 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
3954 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
3955 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
3956 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
3957 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
3958 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
3959 },
3960 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
3961 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
3962 },
3963 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
3964 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
3965 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
3966 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
3967 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
3968 },
3969 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
3970 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
3971 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
3972 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
3973 },
3974 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
3975 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
3976 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
3977 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
3978 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
3979 },
3980 },
3981 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
3982 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
3983 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
3984 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
3985 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
3986 },
3987 },
3988 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
3989 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
3990 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
3991 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
3992 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
3993 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
3994 &quot;enableAccessToken&quot;: True or False, # Enable access token.
3995 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
3996 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
3997 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
3998 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
3999 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
4000 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
4001 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
4002 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
4003 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
4004 },
4005 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
4006 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
4007 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
4008 &quot;a_key&quot;: &quot;A String&quot;,
4009 },
4010 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
4011 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
4012 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
4013 &quot;A String&quot;,
4014 ],
4015 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
4016 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
4017 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
4018 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
4019 },
4020 },
4021 ],
4022 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
4023 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
4024 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
4025 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
4026 },
4027 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
4028 },
4029 },
4030 &quot;mesh&quot;: { # **Service Mesh**: Spec for a single Membership for the servicemesh feature # Anthos Service Mesh-specific spec
4031 &quot;configApi&quot;: &quot;A String&quot;, # Optional. Specifies the API that will be used for configuring the mesh workloads.
4032 &quot;controlPlane&quot;: &quot;A String&quot;, # Deprecated: use `management` instead Enables automatic control plane management.
4033 &quot;defaultChannel&quot;: &quot;A String&quot;, # Determines which release channel to use for default injection and service mesh APIs.
4034 &quot;management&quot;: &quot;A String&quot;, # Optional. Enables automatic Service Mesh management.
4035 },
4036 &quot;namespaceactuation&quot;: { # **Namespace Actuation**: The membership-specific input for NamespaceActuation feature. # FNS Actuation membership spec
4037 },
4038 &quot;origin&quot;: { # Origin defines where this MembershipFeatureSpec originated from. # Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly) or setting to FLEET explicitly.
4039 &quot;type&quot;: &quot;A String&quot;, # Type specifies which type of origin is set.
4040 },
4041 &quot;policycontroller&quot;: { # **Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR. # Policy Controller spec.
4042 &quot;policyControllerHubConfig&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
4043 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
4044 &quot;constraintViolationLimit&quot;: &quot;A String&quot;, # The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.
4045 &quot;deploymentConfigs&quot;: { # Map of deployment configs to deployments (&quot;admission&quot;, &quot;audit&quot;, &quot;mutation&#x27;).
4046 &quot;a_key&quot;: { # Deployment-specific configuration.
4047 &quot;containerResources&quot;: { # ResourceRequirements describes the compute resource requirements. # Container resource requirements.
4048 &quot;limits&quot;: { # ResourceList contains container resource requirements. # Limits describes the maximum amount of compute resources allowed for use by the running container.
4049 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
4050 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
4051 },
4052 &quot;requests&quot;: { # ResourceList contains container resource requirements. # Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
4053 &quot;cpu&quot;: &quot;A String&quot;, # CPU requirement expressed in Kubernetes resource units.
4054 &quot;memory&quot;: &quot;A String&quot;, # Memory requirement expressed in Kubernetes resource units.
4055 },
4056 },
4057 &quot;podAffinity&quot;: &quot;A String&quot;, # Pod affinity configuration.
4058 &quot;podAntiAffinity&quot;: True or False, # Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.
4059 &quot;podTolerations&quot;: [ # Pod tolerations of node taints.
4060 { # Toleration of a node taint.
4061 &quot;effect&quot;: &quot;A String&quot;, # Matches a taint effect.
4062 &quot;key&quot;: &quot;A String&quot;, # Matches a taint key (not necessarily unique).
4063 &quot;operator&quot;: &quot;A String&quot;, # Matches a taint operator.
4064 &quot;value&quot;: &quot;A String&quot;, # Matches a taint value.
4065 },
4066 ],
4067 &quot;replicaCount&quot;: &quot;A String&quot;, # Pod replica count.
4068 },
4069 },
4070 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
4071 &quot;A String&quot;,
4072 ],
4073 &quot;installSpec&quot;: &quot;A String&quot;, # The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.
4074 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
4075 &quot;monitoring&quot;: { # MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
4076 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
4077 &quot;A String&quot;,
4078 ],
4079 },
4080 &quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
4081 &quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
4082 &quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
4083 &quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
4084 &quot;exemptedNamespaces&quot;: [ # The set of namespaces to be exempted from the bundle.
4085 &quot;A String&quot;,
4086 ],
4087 },
4088 },
4089 &quot;templateLibrary&quot;: { # The config specifying which default library templates to install. # Configures the installation of the Template Library.
4090 &quot;installation&quot;: &quot;A String&quot;, # Configures the manner in which the template library is installed on the cluster.
4091 },
4092 },
4093 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
4094 },
4095 &quot;version&quot;: &quot;A String&quot;, # Version of Policy Controller installed.
4096 },
4097 &quot;workloadcertificate&quot;: { # **Workload Certificate**: The membership-specific input for WorkloadCertificate feature. # Workload Certificate spec.
4098 &quot;certificateManagement&quot;: &quot;A String&quot;, # Specifies workload certificate management.
4099 },
4100 },
4101 },
4102 &quot;membershipStates&quot;: { # Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature&#x27;s project number.
4103 &quot;a_key&quot;: { # MembershipFeatureState contains Feature status information for a single Membership.
4104 &quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
4105 &quot;networkingInstallSucceeded&quot;: { # Status specifies state for the subcomponent. # Status of subcomponent that detects configured Service Mesh resources.
4106 &quot;code&quot;: &quot;A String&quot;, # Code specifies AppDevExperienceFeature&#x27;s subcomponent ready state.
4107 &quot;description&quot;: &quot;A String&quot;, # Description is populated if Code is Failed, explaining why it has failed.
4108 },
4109 },
4110 &quot;clusterupgrade&quot;: { # Per-membership state for this feature. # ClusterUpgrade state.
4111 &quot;ignored&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default. # Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel.
4112 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
4113 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
4114 },
4115 &quot;scopes&quot;: [ # Fully qualified scope names that this clusters is bound to which also have rollout sequencing enabled.
4116 &quot;A String&quot;,
4117 ],
4118 &quot;upgrades&quot;: [ # Actual upgrade state against desired.
4119 { # ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership.
4120 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
4121 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
4122 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
4123 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
4124 },
4125 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
4126 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
4127 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
4128 },
4129 },
4130 ],
4131 },
4132 &quot;configmanagement&quot;: { # **Anthos Config Management**: State for a single cluster. # Config Management-specific state.
4133 &quot;binauthzState&quot;: { # State for Binauthz # Output only. Binauthz status
4134 &quot;version&quot;: { # The version of binauthz. # The version of binauthz that is installed.
4135 &quot;webhookVersion&quot;: &quot;A String&quot;, # The version of the binauthz webhook.
4136 },
4137 &quot;webhook&quot;: &quot;A String&quot;, # The state of the binauthz webhook.
4138 },
4139 &quot;clusterName&quot;: &quot;A String&quot;, # Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster&#x27;s fleet membership name.
4140 &quot;configSyncState&quot;: { # State information for ConfigSync # Output only. Current sync status
4141 &quot;clusterLevelStopSyncingState&quot;: &quot;A String&quot;, # Output only. Whether syncing resources to the cluster is stopped at the cluster level.
4142 &quot;crCount&quot;: 42, # Output only. The number of RootSync and RepoSync CRs in the cluster.
4143 &quot;deploymentState&quot;: { # The state of ConfigSync&#x27;s deployment on a cluster # Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed
4144 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Deployment state of admission-webhook
4145 &quot;gitSync&quot;: &quot;A String&quot;, # Deployment state of the git-sync pod
4146 &quot;importer&quot;: &quot;A String&quot;, # Deployment state of the importer pod
4147 &quot;monitor&quot;: &quot;A String&quot;, # Deployment state of the monitor pod
4148 &quot;otelCollector&quot;: &quot;A String&quot;, # Deployment state of otel-collector
4149 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Deployment state of reconciler-manager pod
4150 &quot;resourceGroupControllerManager&quot;: &quot;A String&quot;, # Deployment state of resource-group-controller-manager
4151 &quot;rootReconciler&quot;: &quot;A String&quot;, # Deployment state of root-reconciler
4152 &quot;syncer&quot;: &quot;A String&quot;, # Deployment state of the syncer pod
4153 },
4154 &quot;errors&quot;: [ # Output only. Errors pertaining to the installation of Config Sync.
4155 { # Errors pertaining to the installation of Config Sync
4156 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
4157 },
4158 ],
4159 &quot;reposyncCrd&quot;: &quot;A String&quot;, # Output only. The state of the Reposync CRD
4160 &quot;rootsyncCrd&quot;: &quot;A String&quot;, # Output only. The state of the RootSync CRD
4161 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of CS This field summarizes the other fields in this message.
4162 &quot;syncState&quot;: { # State indicating an ACM&#x27;s progress syncing configurations to a cluster # Output only. The state of ConfigSync&#x27;s process to sync configs to a cluster
4163 &quot;code&quot;: &quot;A String&quot;, # Sync status code
4164 &quot;errors&quot;: [ # A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
4165 { # An ACM created error representing a problem syncing configurations
4166 &quot;code&quot;: &quot;A String&quot;, # An ACM defined error code
4167 &quot;errorMessage&quot;: &quot;A String&quot;, # A description of the error
4168 &quot;errorResources&quot;: [ # A list of config(s) associated with the error, if any
4169 { # Model for a config file in the git repo with an associated Sync error
4170 &quot;resourceGvk&quot;: { # A Kubernetes object&#x27;s GVK # Group/version/kind of the resource that is causing an error
4171 &quot;group&quot;: &quot;A String&quot;, # Kubernetes Group
4172 &quot;kind&quot;: &quot;A String&quot;, # Kubernetes Kind
4173 &quot;version&quot;: &quot;A String&quot;, # Kubernetes Version
4174 },
4175 &quot;resourceName&quot;: &quot;A String&quot;, # Metadata name of the resource that is causing an error
4176 &quot;resourceNamespace&quot;: &quot;A String&quot;, # Namespace of the resource that is causing an error
4177 &quot;sourcePath&quot;: &quot;A String&quot;, # Path in the git repo of the erroneous config
4178 },
4179 ],
4180 },
4181 ],
4182 &quot;importToken&quot;: &quot;A String&quot;, # Token indicating the state of the importer.
4183 &quot;lastSync&quot;: &quot;A String&quot;, # Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
4184 &quot;lastSyncTime&quot;: &quot;A String&quot;, # Timestamp type of when ACM last successfully synced the repo
4185 &quot;sourceToken&quot;: &quot;A String&quot;, # Token indicating the state of the repo.
4186 &quot;syncToken&quot;: &quot;A String&quot;, # Token indicating the state of the syncer.
4187 },
4188 &quot;version&quot;: { # Specific versioning information pertaining to ConfigSync&#x27;s Pods # Output only. The version of ConfigSync deployed
4189 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Version of the deployed admission-webhook pod
4190 &quot;gitSync&quot;: &quot;A String&quot;, # Version of the deployed git-sync pod
4191 &quot;importer&quot;: &quot;A String&quot;, # Version of the deployed importer pod
4192 &quot;monitor&quot;: &quot;A String&quot;, # Version of the deployed monitor pod
4193 &quot;otelCollector&quot;: &quot;A String&quot;, # Version of the deployed otel-collector pod
4194 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Version of the deployed reconciler-manager pod
4195 &quot;resourceGroupControllerManager&quot;: &quot;A String&quot;, # Version of the deployed resource-group-controller-manager pod
4196 &quot;rootReconciler&quot;: &quot;A String&quot;, # Version of the deployed reconciler container in root-reconciler pod
4197 &quot;syncer&quot;: &quot;A String&quot;, # Version of the deployed syncer pod
4198 },
4199 },
4200 &quot;hierarchyControllerState&quot;: { # State for Hierarchy Controller # Output only. Hierarchy Controller status
4201 &quot;state&quot;: { # Deployment state for Hierarchy Controller # The deployment state for Hierarchy Controller
4202 &quot;extension&quot;: &quot;A String&quot;, # The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
4203 &quot;hnc&quot;: &quot;A String&quot;, # The deployment state for open source HNC (e.g. v0.7.0-hc.0)
4204 },
4205 &quot;version&quot;: { # Version for Hierarchy Controller # The version for Hierarchy Controller
4206 &quot;extension&quot;: &quot;A String&quot;, # Version for Hierarchy Controller extension
4207 &quot;hnc&quot;: &quot;A String&quot;, # Version for open source HNC
4208 },
4209 },
4210 &quot;kubernetesApiServerVersion&quot;: &quot;A String&quot;, # Output only. The Kubernetes API server version of the cluster.
4211 &quot;membershipSpec&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
4212 &quot;binauthz&quot;: { # Configuration for Binauthz # Optional. Deprecated: Binauthz configuration will be ignored and should not be set.
4213 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
4214 },
4215 &quot;cluster&quot;: &quot;A String&quot;, # Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster&#x27;s fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.
4216 &quot;configSync&quot;: { # Configuration for Config Sync # Optional. Config Sync configuration for the cluster.
4217 &quot;deploymentOverrides&quot;: [ # Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.
4218 { # Configuration for a deployment override.
4219 &quot;containers&quot;: [ # Optional. The containers of the deployment resource to be overridden.
4220 { # Configuration for a container override.
4221 &quot;containerName&quot;: &quot;A String&quot;, # Required. The name of the container.
4222 &quot;cpuLimit&quot;: &quot;A String&quot;, # Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
4223 &quot;cpuRequest&quot;: &quot;A String&quot;, # Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
4224 &quot;memoryLimit&quot;: &quot;A String&quot;, # Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
4225 &quot;memoryRequest&quot;: &quot;A String&quot;, # Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.
4226 },
4227 ],
4228 &quot;deploymentName&quot;: &quot;A String&quot;, # Required. The name of the deployment resource to be overridden.
4229 &quot;deploymentNamespace&quot;: &quot;A String&quot;, # Required. The namespace of the deployment resource to be overridden.
4230 },
4231 ],
4232 &quot;enabled&quot;: True or False, # Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.
4233 &quot;git&quot;: { # Git repo configuration for a single cluster. # Optional. Git repo configuration for the cluster.
4234 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
4235 &quot;httpsProxy&quot;: &quot;A String&quot;, # Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
4236 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
4237 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
4238 &quot;syncBranch&quot;: &quot;A String&quot;, # Optional. The branch of the repository to sync from. Default: master.
4239 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The URL of the Git repository to use as the source of truth.
4240 &quot;syncRev&quot;: &quot;A String&quot;, # Optional. Git revision (tag or hash) to check out. Default HEAD.
4241 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
4242 },
4243 &quot;metricsGcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
4244 &quot;oci&quot;: { # OCI repo configuration for a single cluster # Optional. OCI repo configuration for the cluster
4245 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
4246 &quot;policyDir&quot;: &quot;A String&quot;, # Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.
4247 &quot;secretType&quot;: &quot;A String&quot;, # Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.
4248 &quot;syncRepo&quot;: &quot;A String&quot;, # Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
4249 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Optional. Period in seconds between consecutive syncs. Default: 15.
4250 },
4251 &quot;preventDrift&quot;: True or False, # Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.
4252 &quot;sourceFormat&quot;: &quot;A String&quot;, # Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.
4253 &quot;stopSyncing&quot;: True or False, # Optional. Set to true to stop syncing configs for a single cluster. Default to false.
4254 },
4255 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
4256 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
4257 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
4258 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
4259 },
4260 &quot;management&quot;: &quot;A String&quot;, # Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.
4261 &quot;policyController&quot;: { # Configuration for Policy Controller # Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.
4262 &quot;auditIntervalSeconds&quot;: &quot;A String&quot;, # Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
4263 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
4264 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
4265 &quot;A String&quot;,
4266 ],
4267 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
4268 &quot;monitoring&quot;: { # PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [&quot;cloudmonitoring&quot;, &quot;prometheus&quot;] # Monitoring specifies the configuration of monitoring.
4269 &quot;backends&quot;: [ # Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
4270 &quot;A String&quot;,
4271 ],
4272 },
4273 &quot;mutationEnabled&quot;: True or False, # Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.
4274 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
4275 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
4276 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last time this membership spec was updated.
4277 },
4278 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
4279 },
4280 &quot;operatorState&quot;: { # State information for an ACM&#x27;s Operator # Output only. Current install status of ACM&#x27;s Operator
4281 &quot;deploymentState&quot;: &quot;A String&quot;, # The state of the Operator&#x27;s deployment
4282 &quot;errors&quot;: [ # Install errors.
4283 { # Errors pertaining to the installation of ACM
4284 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
4285 },
4286 ],
4287 &quot;version&quot;: &quot;A String&quot;, # The semenatic version number of the operator
4288 },
4289 &quot;policyControllerState&quot;: { # State for PolicyControllerState. # Output only. PolicyController status
4290 &quot;deploymentState&quot;: { # State of Policy Controller installation. # The state about the policy controller installation.
4291 &quot;gatekeeperAudit&quot;: &quot;A String&quot;, # Status of gatekeeper-audit deployment.
4292 &quot;gatekeeperControllerManagerState&quot;: &quot;A String&quot;, # Status of gatekeeper-controller-manager pod.
4293 &quot;gatekeeperMutation&quot;: &quot;A String&quot;, # Status of the pod serving the mutation webhook.
4294 },
4295 &quot;migration&quot;: { # State for the migration of PolicyController from ACM -&gt; PoCo Hub. # Record state of ACM -&gt; PoCo Hub migration for this feature.
4296 &quot;copyTime&quot;: &quot;A String&quot;, # Last time this membership spec was copied to PoCo feature.
4297 &quot;stage&quot;: &quot;A String&quot;, # Stage of the migration.
4298 },
4299 &quot;version&quot;: { # The build version of Gatekeeper Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
4300 &quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
4301 },
4302 },
4303 },
4304 &quot;fleetobservability&quot;: { # **FleetObservability**: Membership-specific Feature state for fleetobservability. # Fleet observability membership state.
4305 },
4306 &quot;identityservice&quot;: { # **Anthos Identity Service**: State for a single Membership. # Identity Service-specific state.
4307 &quot;failureReason&quot;: &quot;A String&quot;, # The reason of the failure.
4308 &quot;installedVersion&quot;: &quot;A String&quot;, # Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK.
4309 &quot;memberConfig&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Last reconciled membership configuration
4310 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
4311 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
4312 &quot;azureadConfig&quot;: { # Configuration for the AzureAD Auth flow. # AzureAD specific Configuration.
4313 &quot;clientId&quot;: &quot;A String&quot;, # ID for the registered client application that makes authentication requests to the Azure AD identity provider.
4314 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
4315 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted AzureAD client secret.
4316 &quot;groupFormat&quot;: &quot;A String&quot;, # Optional. Format of the AzureAD groups that the client wants for auth.
4317 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # The redirect URL that kubectl uses for authorization.
4318 &quot;tenant&quot;: &quot;A String&quot;, # Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.
4319 &quot;userClaim&quot;: &quot;A String&quot;, # Optional. Claim in the AzureAD ID Token that holds the user details.
4320 },
4321 &quot;googleConfig&quot;: { # Configuration for the Google Plugin Auth flow. # GoogleConfig specific configuration.
4322 &quot;disable&quot;: True or False, # Disable automatic configuration of Google Plugin on supported platforms.
4323 },
4324 &quot;ldapConfig&quot;: { # Configuration for the LDAP Auth flow. # LDAP specific configuration.
4325 &quot;group&quot;: { # Contains the properties for locating and authenticating groups in the directory. # Optional. Contains the properties for locating and authenticating groups in the directory.
4326 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for group entries.
4327 &quot;filter&quot;: &quot;A String&quot;, # Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to &quot;(objectClass=Group)&quot;.
4328 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. The identifying name of each group a user belongs to. For example, if this is set to &quot;distinguishedName&quot; then RBACs and other group expectations should be written as full DNs. This defaults to &quot;distinguishedName&quot;.
4329 },
4330 &quot;server&quot;: { # Server settings for the external LDAP server. # Required. Server settings for the external LDAP server.
4331 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the &quot;ldaps&quot; and &quot;startTLS&quot; connections.
4332 &quot;connectionType&quot;: &quot;A String&quot;, # Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.
4333 &quot;host&quot;: &quot;A String&quot;, # Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, &quot;ldap.server.example&quot; or &quot;10.10.10.10:389&quot;.
4334 },
4335 &quot;serviceAccount&quot;: { # Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate. # Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.
4336 &quot;simpleBindCredentials&quot;: { # The structure holds the LDAP simple binding credential. # Credentials for basic auth.
4337 &quot;dn&quot;: &quot;A String&quot;, # Required. The distinguished name(DN) of the service account object/user.
4338 &quot;encryptedPassword&quot;: &quot;A String&quot;, # Output only. The encrypted password of the service account object/user.
4339 &quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password of the service account object/user.
4340 },
4341 },
4342 &quot;user&quot;: { # Defines where users exist in the LDAP directory. # Required. Defines where users exist in the LDAP directory.
4343 &quot;baseDn&quot;: &quot;A String&quot;, # Required. The location of the subtree in the LDAP directory to search for user entries.
4344 &quot;filter&quot;: &quot;A String&quot;, # Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to &quot;(objectClass=User)&quot;.
4345 &quot;idAttribute&quot;: &quot;A String&quot;, # Optional. Determines which attribute to use as the user&#x27;s identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to &quot;sAMAccountName&quot; and identifierAttribute to &quot;userPrincipalName&quot; would allow a user to login as &quot;bsmith&quot;, but actual RBAC policies for the user would be written as &quot;[email protected]&quot;. Using &quot;userPrincipalName&quot; is recommended since this will be unique for each user. This defaults to &quot;userPrincipalName&quot;.
4346 &quot;loginAttribute&quot;: &quot;A String&quot;, # Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. &quot;(=)&quot; and is combined with the optional filter field. This defaults to &quot;userPrincipalName&quot;.
4347 },
4348 },
4349 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
4350 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
4351 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
4352 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
4353 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
4354 &quot;deployCloudConsoleProxy&quot;: True or False, # Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.
4355 &quot;enableAccessToken&quot;: True or False, # Enable access token.
4356 &quot;encryptedClientSecret&quot;: &quot;A String&quot;, # Output only. Encrypted OIDC Client secret
4357 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
4358 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
4359 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
4360 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
4361 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
4362 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
4363 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
4364 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
4365 },
4366 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
4367 &quot;samlConfig&quot;: { # Configuration for the SAML Auth flow. # SAML specific configuration.
4368 &quot;attributeMapping&quot;: { # Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is &quot;attribute.nickname&quot; and `value` is &quot;assertion.nickname&quot;.
4369 &quot;a_key&quot;: &quot;A String&quot;,
4370 },
4371 &quot;groupPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to group name.
4372 &quot;groupsAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).
4373 &quot;identityProviderCertificates&quot;: [ # Required. The list of IdP certificates to validate the SAML response against.
4374 &quot;A String&quot;,
4375 ],
4376 &quot;identityProviderId&quot;: &quot;A String&quot;, # Required. The entity ID of the SAML IdP.
4377 &quot;identityProviderSsoUri&quot;: &quot;A String&quot;, # Required. The URI where the SAML IdP exposes the SSO service.
4378 &quot;userAttribute&quot;: &quot;A String&quot;, # Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).
4379 &quot;userPrefix&quot;: &quot;A String&quot;, # Optional. Prefix to prepend to user name.
4380 },
4381 },
4382 ],
4383 &quot;identityServiceOptions&quot;: { # Holds non-protocol-related configuration options. # Optional. non-protocol-related configuration options.
4384 &quot;diagnosticInterface&quot;: { # Configuration options for the AIS diagnostic interface. # Configuration options for the AIS diagnostic interface.
4385 &quot;enabled&quot;: True or False, # Determines whether to enable the diagnostic interface.
4386 &quot;expirationTime&quot;: &quot;A String&quot;, # Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.
4387 },
4388 &quot;sessionDuration&quot;: &quot;A String&quot;, # Determines the lifespan of STS tokens issued by Anthos Identity Service.
4389 },
4390 },
4391 &quot;state&quot;: &quot;A String&quot;, # Deployment state on this member
4392 },
4393 &quot;metering&quot;: { # **Metering**: Per-Membership Feature State. # Metering-specific state.
4394 &quot;lastMeasurementTime&quot;: &quot;A String&quot;, # The time stamp of the most recent measurement of the number of vCPUs in the cluster.
4395 &quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
4396 },
4397 &quot;namespaceactuation&quot;: { # **Namespace Actuation**: An empty state left as an example membership-specific Feature state. # FNS Actuation membership state
4398 },
4399 &quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
4400 &quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
4401 &quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
4402 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
4403 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
4404 },
4405 },
4406 &quot;policyContentState&quot;: { # The state of the policy controller policy content # The overall content state observed by the Hub Feature controller.
4407 &quot;bundleStates&quot;: { # The state of the any bundles included in the chosen version of the manifest
4408 &quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
4409 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
4410 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
4411 },
4412 },
4413 &quot;referentialSyncConfigState&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller. # The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user.
4414 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
4415 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
4416 },
4417 &quot;templateLibraryState&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller. # The state of the template library
4418 &quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
4419 &quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
4420 },
4421 },
4422 &quot;state&quot;: &quot;A String&quot;, # The overall Policy Controller lifecycle state observed by the Hub Feature controller.
4423 },
4424 &quot;servicemesh&quot;: { # **Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
4425 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
4426 { # AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.
4427 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
4428 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4429 },
4430 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
4431 &quot;messageBase&quot;: { # AnalysisMessageBase describes some common information that is needed for all messages. # Details common to all types of Istio and ServiceMesh analysis messages.
4432 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
4433 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
4434 &quot;type&quot;: { # A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type # Represents the specific type of a message.
4435 &quot;code&quot;: &quot;A String&quot;, # A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. &quot;IST0001&quot; is mapped to the &quot;InternalError&quot; message type.)
4436 &quot;displayName&quot;: &quot;A String&quot;, # A human-readable name for the message type. e.g. &quot;InternalError&quot;, &quot;PodMissingProxy&quot;. This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)
4437 },
4438 },
4439 &quot;resourcePaths&quot;: [ # A list of strings specifying the resource identifiers that were the cause of message generation. A &quot;path&quot; here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
4440 &quot;A String&quot;,
4441 ],
4442 },
4443 ],
4444 &quot;conditions&quot;: [ # Output only. List of conditions reported for this membership.
4445 { # Condition being reported.
4446 &quot;code&quot;: &quot;A String&quot;, # Unique identifier of the condition which describes the condition recognizable to the user.
4447 &quot;details&quot;: &quot;A String&quot;, # A short summary about the issue.
4448 &quot;documentationLink&quot;: &quot;A String&quot;, # Links contains actionable information.
4449 &quot;severity&quot;: &quot;A String&quot;, # Severity level of the condition.
4450 },
4451 ],
4452 &quot;configApiVersion&quot;: &quot;A String&quot;, # The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field.
4453 &quot;controlPlaneManagement&quot;: { # Status of control plane management. # Output only. Status of control plane management
4454 &quot;details&quot;: [ # Explanation of state.
4455 { # Structured and human-readable details for a status.
4456 &quot;code&quot;: &quot;A String&quot;, # A machine-readable code that further describes a broad status.
4457 &quot;details&quot;: &quot;A String&quot;, # Human-readable explanation of code.
4458 },
4459 ],
4460 &quot;implementation&quot;: &quot;A String&quot;, # Output only. Implementation of managed control plane.
4461 &quot;state&quot;: &quot;A String&quot;, # LifecycleState of control plane management.
4462 },
4463 &quot;dataPlaneManagement&quot;: { # Status of data plane management. Only reported per-member. # Output only. Status of data plane management.
4464 &quot;details&quot;: [ # Explanation of the status.
4465 { # Structured and human-readable details for a status.
4466 &quot;code&quot;: &quot;A String&quot;, # A machine-readable code that further describes a broad status.
4467 &quot;details&quot;: &quot;A String&quot;, # Human-readable explanation of code.
4468 },
4469 ],
4470 &quot;state&quot;: &quot;A String&quot;, # Lifecycle status of data plane management.
4471 },
4472 },
4473 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # The high-level state of this Feature for a single membership.
4474 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
4475 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
4476 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
4477 },
4478 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature. # Workload Identity membership specific state.
4479 &quot;description&quot;: &quot;A String&quot;, # Deprecated, this field will be erased after code is changed to use the new field.
4480 &quot;identityProviderStateDetails&quot;: { # The state of the Identity Providers corresponding to the membership.
4481 &quot;a_key&quot;: { # IdentityProviderStateDetail represents the state of an Identity Provider.
4482 &quot;code&quot;: &quot;A String&quot;, # The state of the Identity Provider.
4483 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
4484 },
4485 },
4486 },
4487 },
4488 },
4489 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
4490 &quot;resourceState&quot;: { # FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the &quot;running state&quot; of the Feature in the Fleet and across Memberships. # Output only. State of the Feature resource itself.
4491 &quot;state&quot;: &quot;A String&quot;, # The current state of the Feature resource in the Hub API.
4492 },
4493 &quot;scopeSpecs&quot;: { # Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
4494 &quot;a_key&quot;: { # ScopeFeatureSpec contains feature specs for a fleet scope.
4495 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The configuration for the scope-level ClusterUpgrade feature. # Spec for the ClusterUpgrade feature at the scope level
4496 &quot;gkeUpgradeOverrides&quot;: [ # Allow users to override some properties of each GKE upgrade.
4497 { # Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.
4498 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to override for the specified upgrade (name + version). Required.
4499 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
4500 },
4501 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Required. Which upgrade to override. Required.
4502 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
4503 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
4504 },
4505 },
4506 ],
4507 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required.
4508 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
4509 },
4510 &quot;upstreamScopes&quot;: [ # This scope consumes upgrades that have COMPLETE status code in the upstream scopes. See UpgradeStatus.Code for code definitions. The scope name should be in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream scope.
4511 &quot;A String&quot;,
4512 ],
4513 },
4514 },
4515 },
4516 &quot;scopeStates&quot;: { # Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project.
4517 &quot;a_key&quot;: { # ScopeFeatureState contains Scope-wide Feature status information.
4518 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The state for the scope-level ClusterUpgrade feature. # State for the ClusterUpgrade feature at the scope level
4519 &quot;downstreamScopes&quot;: [ # This scopes whose upstream_scopes contain the current scope. The scope name should be in the form: `projects/{p}/locations/gloobal/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature&#x27;s project.
4520 &quot;A String&quot;,
4521 ],
4522 &quot;gkeState&quot;: { # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope. # Feature state for GKE clusters.
4523 &quot;conditions&quot;: [ # Current conditions of the feature.
4524 { # GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.
4525 &quot;reason&quot;: &quot;A String&quot;, # Reason why the feature is in this status.
4526 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
4527 &quot;type&quot;: &quot;A String&quot;, # Type of the condition, for example, &quot;ready&quot;.
4528 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the condition was updated.
4529 },
4530 ],
4531 &quot;upgradeState&quot;: [ # Upgrade state. It will eventually replace `state`.
4532 { # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
4533 &quot;stats&quot;: { # Number of GKE clusters in each status code.
4534 &quot;a_key&quot;: &quot;A String&quot;,
4535 },
4536 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
4537 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
4538 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
4539 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
4540 },
4541 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
4542 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
4543 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
4544 },
4545 },
4546 ],
4547 },
4548 &quot;ignored&quot;: { # A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.
4549 &quot;a_key&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.
4550 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
4551 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
4552 },
4553 },
4554 },
4555 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # Output only. The &quot;running state&quot; of the Feature in this Scope.
4556 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
4557 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
4558 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
4559 },
4560 },
4561 },
4562 &quot;spec&quot;: { # CommonFeatureSpec contains Fleet-wide configuration information # Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
4563 &quot;appdevexperience&quot;: { # Spec for App Dev Experience Feature. # Appdevexperience specific spec.
4564 },
4565 &quot;cloudauditlogging&quot;: { # **Cloud Audit Logging**: Spec for Audit Logging Allowlisting. # Cloud Audit Logging-specific spec.
4566 &quot;allowlistedServiceAccounts&quot;: [ # Service account that should be allowlisted to send the audit logs; eg [email protected]. These accounts must already exist, but do not need to have any permissions granted to them. The customer&#x27;s entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
4567 &quot;A String&quot;,
4568 ],
4569 },
4570 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade feature. # ClusterUpgrade (fleet-based) feature spec.
4571 &quot;gkeUpgradeOverrides&quot;: [ # Allow users to override some properties of each GKE upgrade.
4572 { # Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.
4573 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to override for the specified upgrade (name + version). Required.
4574 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
4575 },
4576 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Required. Which upgrade to override. Required.
4577 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
4578 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
4579 },
4580 },
4581 ],
4582 &quot;postConditions&quot;: { # Post conditional checks after an upgrade has been applied on all eligible clusters. # Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required.
4583 &quot;soaking&quot;: &quot;A String&quot;, # Required. Amount of time to &quot;soak&quot; after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.
4584 },
4585 &quot;upgradeEngine&quot;: &quot;A String&quot;, # Output only. The effective upgrade engine for the fleet.
4586 &quot;upstreamFleets&quot;: [ # This fleet consumes upgrades that have COMPLETE status code in the upstream fleets. See UpgradeStatus.Code for code definitions. The fleet name should be either fleet project number or id. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream fleet.
4587 &quot;A String&quot;,
4588 ],
4589 },
4590 &quot;dataplanev2&quot;: { # **Dataplane V2**: Spec # DataplaneV2 feature spec.
4591 &quot;enableEncryption&quot;: True or False, # Enable dataplane-v2 based encryption for multiple clusters.
4592 },
4593 &quot;fleetobservability&quot;: { # **Fleet Observability**: The Hub-wide input for the FleetObservability feature. # FleetObservability feature spec.
4594 &quot;loggingConfig&quot;: { # LoggingConfig defines the configuration for different types of logs. # Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet.
4595 &quot;defaultConfig&quot;: { # RoutingConfig configures the behaviour of fleet logging feature. # Specified if applying the default routing config to logs not specified in other configs.
4596 &quot;mode&quot;: &quot;A String&quot;, # mode configures the logs routing mode.
4597 },
4598 &quot;fleetScopeLogsConfig&quot;: { # RoutingConfig configures the behaviour of fleet logging feature. # Specified if applying the routing config to all logs for all fleet scopes.
4599 &quot;mode&quot;: &quot;A String&quot;, # mode configures the logs routing mode.
4600 },
4601 },
4602 },
4603 &quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
4604 &quot;billing&quot;: &quot;A String&quot;, # Deprecated: This field will be ignored and should not be set. Customer&#x27;s billing structure.
4605 &quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
4606 },
4607 &quot;namespaceactuation&quot;: { # An empty spec for actuation feature. This is required since Feature proto requires a spec. # Namespace Actuation feature spec
4608 &quot;actuationMode&quot;: &quot;A String&quot;, # actuation_mode controls the behavior of the controller
4609 },
4610 &quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature. # RBAC Role Binding Actuation feature spec
4611 &quot;allowedCustomRoles&quot;: [ # The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
4612 &quot;A String&quot;,
4613 ],
4614 },
4615 &quot;workloadcertificate&quot;: { # **Workload Certificate**: The Hub-wide input for the WorkloadCertificate feature. # Workload Certificate spec.
4616 &quot;defaultConfig&quot;: { # **Workload Certificate**: The membership-specific input for WorkloadCertificate feature. # Specifies default membership spec. Users can override the default in the member_configs for each member.
4617 &quot;certificateManagement&quot;: &quot;A String&quot;, # Specifies workload certificate management.
4618 },
4619 &quot;provisionGoogleCa&quot;: &quot;A String&quot;, # Immutable. Specifies CA configuration.
4620 },
4621 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: Global feature specification. # Workload Identity feature spec.
4622 &quot;scopeTenancyPool&quot;: &quot;A String&quot;, # Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet Tenancy, so that sameness can be enforced. ex: projects/example/locations/global/workloadidentitypools/custompool
4623 },
4624 },
4625 &quot;state&quot;: { # CommonFeatureState contains Fleet-wide Feature status information. # Output only. The Fleet-wide Feature state.
4626 &quot;appdevexperience&quot;: { # State for App Dev Exp Feature. # Appdevexperience specific state.
4627 &quot;networkingInstallSucceeded&quot;: { # Status specifies state for the subcomponent. # Status of subcomponent that detects configured Service Mesh resources.
4628 &quot;code&quot;: &quot;A String&quot;, # Code specifies AppDevExperienceFeature&#x27;s subcomponent ready state.
4629 &quot;description&quot;: &quot;A String&quot;, # Description is populated if Code is Failed, explaining why it has failed.
4630 },
4631 },
4632 &quot;clusterupgrade&quot;: { # **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature. # ClusterUpgrade fleet-level state.
4633 &quot;downstreamFleets&quot;: [ # This fleets whose upstream_fleets contain the current fleet. The fleet name should be either fleet project number or id.
4634 &quot;A String&quot;,
4635 ],
4636 &quot;gkeState&quot;: { # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope. # Feature state for GKE clusters.
4637 &quot;conditions&quot;: [ # Current conditions of the feature.
4638 { # GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.
4639 &quot;reason&quot;: &quot;A String&quot;, # Reason why the feature is in this status.
4640 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
4641 &quot;type&quot;: &quot;A String&quot;, # Type of the condition, for example, &quot;ready&quot;.
4642 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the condition was updated.
4643 },
4644 ],
4645 &quot;upgradeState&quot;: [ # Upgrade state. It will eventually replace `state`.
4646 { # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
4647 &quot;stats&quot;: { # Number of GKE clusters in each status code.
4648 &quot;a_key&quot;: &quot;A String&quot;,
4649 },
4650 &quot;status&quot;: { # UpgradeStatus provides status information for each upgrade. # Status of the upgrade.
4651 &quot;code&quot;: &quot;A String&quot;, # Status code of the upgrade.
4652 &quot;reason&quot;: &quot;A String&quot;, # Reason for this status.
4653 &quot;updateTime&quot;: &quot;A String&quot;, # Last timestamp the status was updated.
4654 },
4655 &quot;upgrade&quot;: { # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade. # Which upgrade to track the state.
4656 &quot;name&quot;: &quot;A String&quot;, # Name of the upgrade, e.g., &quot;k8s_control_plane&quot;. It should be a valid upgrade name. It must not exceet 99 characters.
4657 &quot;version&quot;: &quot;A String&quot;, # Version of the upgrade, e.g., &quot;1.22.1-gke.100&quot;. It should be a valid version. It must not exceet 99 characters.
4658 },
4659 },
4660 ],
4661 },
4662 &quot;ignored&quot;: { # A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.
4663 &quot;a_key&quot;: { # IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.
4664 &quot;ignoredTime&quot;: &quot;A String&quot;, # Time when the membership was first set to ignored.
4665 &quot;reason&quot;: &quot;A String&quot;, # Reason why the membership is ignored.
4666 },
4667 },
4668 },
4669 &quot;fleetobservability&quot;: { # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state. # FleetObservability feature state.
4670 &quot;logging&quot;: { # Feature state for logging feature. # The feature state of default logging.
4671 &quot;defaultLog&quot;: { # Base state for fleet observability feature. # The base feature state of fleet default log.
4672 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
4673 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
4674 { # All error details of the fleet observability feature.
4675 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
4676 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
4677 },
4678 ],
4679 },
4680 &quot;scopeLog&quot;: { # Base state for fleet observability feature. # The base feature state of fleet scope log.
4681 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
4682 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
4683 { # All error details of the fleet observability feature.
4684 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
4685 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
4686 },
4687 ],
4688 },
4689 },
4690 &quot;monitoring&quot;: { # Feature state for monitoring feature. # The feature state of fleet monitoring.
4691 &quot;state&quot;: { # Base state for fleet observability feature. # The base feature state of fleet monitoring feature.
4692 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
4693 &quot;errors&quot;: [ # Errors after reconciling the monitoring and logging feature if the code is not OK.
4694 { # All error details of the fleet observability feature.
4695 &quot;code&quot;: &quot;A String&quot;, # The code of the error.
4696 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
4697 },
4698 ],
4699 },
4700 },
4701 },
4702 &quot;namespaceactuation&quot;: { # NamespaceActuation Feature State. # Namespace Actuation feature state.
4703 },
4704 &quot;rbacrolebindingactuation&quot;: { # **RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state. # RBAC Role Binding Actuation feature state
4705 },
4706 &quot;servicemesh&quot;: { # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
4707 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
4708 { # AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.
4709 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
4710 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4711 },
4712 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
4713 &quot;messageBase&quot;: { # AnalysisMessageBase describes some common information that is needed for all messages. # Details common to all types of Istio and ServiceMesh analysis messages.
4714 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
4715 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
4716 &quot;type&quot;: { # A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type # Represents the specific type of a message.
4717 &quot;code&quot;: &quot;A String&quot;, # A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. &quot;IST0001&quot; is mapped to the &quot;InternalError&quot; message type.)
4718 &quot;displayName&quot;: &quot;A String&quot;, # A human-readable name for the message type. e.g. &quot;InternalError&quot;, &quot;PodMissingProxy&quot;. This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)
4719 },
4720 },
4721 &quot;resourcePaths&quot;: [ # A list of strings specifying the resource identifiers that were the cause of message generation. A &quot;path&quot; here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster
4722 &quot;A String&quot;,
4723 ],
4724 },
4725 ],
4726 &quot;conditions&quot;: [ # Output only. List of conditions reported for this feature.
4727 { # Condition being reported.
4728 &quot;code&quot;: &quot;A String&quot;, # Unique identifier of the condition which describes the condition recognizable to the user.
4729 &quot;details&quot;: &quot;A String&quot;, # A short summary about the issue.
4730 &quot;documentationLink&quot;: &quot;A String&quot;, # Links contains actionable information.
4731 &quot;severity&quot;: &quot;A String&quot;, # Severity level of the condition.
4732 },
4733 ],
4734 },
4735 &quot;state&quot;: { # FeatureState describes the high-level state of a Feature. It may be used to describe a Feature&#x27;s state at the environ-level, or per-membershop, depending on the context. # Output only. The &quot;running state&quot; of the Feature in this Fleet.
4736 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
4737 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
4738 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
4739 },
4740 &quot;workloadidentity&quot;: { # **WorkloadIdentity**: Global feature state. # WorkloadIdentity fleet-level state.
4741 &quot;namespaceStateDetails&quot;: { # The state of the IAM namespaces for the fleet.
4742 &quot;a_key&quot;: { # NamespaceStateDetail represents the state of a IAM namespace.
4743 &quot;code&quot;: &quot;A String&quot;, # The state of the IAM namespace.
4744 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
4745 },
4746 },
4747 &quot;namespaceStates&quot;: { # Deprecated, this field will be erased after code is changed to use the new field.
4748 &quot;a_key&quot;: &quot;A String&quot;,
4749 },
4750 &quot;scopeTenancyWorkloadIdentityPool&quot;: &quot;A String&quot;, # The full name of the scope-tenancy pool for the fleet.
4751 &quot;workloadIdentityPool&quot;: &quot;A String&quot;, # The full name of the svc.id.goog pool for the fleet.
4752 &quot;workloadIdentityPoolStateDetails&quot;: { # The state of the Workload Identity Pools for the fleet.
4753 &quot;a_key&quot;: { # WorkloadIdentityPoolStateDetail represents the state of the Workload Identity Pools for the fleet.
4754 &quot;code&quot;: &quot;A String&quot;, # The state of the Workload Identity Pool.
4755 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current state or returned error.
4756 },
4757 },
4758 },
4759 },
4760 &quot;unreachable&quot;: [ # Output only. List of locations that could not be reached while fetching this feature.
4761 &quot;A String&quot;,
4762 ],
4763 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was last updated.
4764 }
4765
4766 requestId: string, A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4767 updateMask: string, Mask of fields to update.
4768 x__xgafv: string, V1 error format.
4769 Allowed values
4770 1 - v1 error format
4771 2 - v2 error format
4772
4773 Returns:
4774 An object of the form:
4775
4776 { # This resource represents a long-running operation that is the result of a network API call.
4777 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
4778 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
4779 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
4780 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
4781 {
4782 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4783 },
4784 ],
4785 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
4786 },
4787 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
4788 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4789 },
4790 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
4791 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
4792 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4793 },
4794 }</pre>
4795 </div>
4796
4797 <div class="method">
4798 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
4799 <pre>Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
4800
4801 Args:
4802 resource: string, REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
4803 body: object, The request body.
4804 The object takes the form of:
4805
4806 { # Request message for `SetIamPolicy` method.
4807 &quot;policy&quot;: { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
4808 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
4809 { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { &quot;audit_configs&quot;: [ { &quot;service&quot;: &quot;allServices&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; }, { &quot;log_type&quot;: &quot;ADMIN_READ&quot; } ] }, { &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot; }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
4810 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
4811 { # Provides the configuration for logging a type of permissions. Example: { &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting [email protected] from DATA_READ logging.
4812 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
4813 &quot;A String&quot;,
4814 ],
4815 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
4816 },
4817 ],
4818 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
4819 },
4820 ],
4821 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
4822 { # Associates `members`, or principals, with a `role`.
4823 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
4824 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
4825 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
4826 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
4827 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
4828 },
4829 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
4830 &quot;A String&quot;,
4831 ],
4832 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
4833 },
4834 ],
4835 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
4836 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
4837 },
4838 &quot;updateMask&quot;: &quot;A String&quot;, # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: &quot;bindings, etag&quot;`
4839 }
4840
4841 x__xgafv: string, V1 error format.
4842 Allowed values
4843 1 - v1 error format
4844 2 - v2 error format
4845
4846 Returns:
4847 An object of the form:
4848
4849 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
4850 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
4851 { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { &quot;audit_configs&quot;: [ { &quot;service&quot;: &quot;allServices&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; }, { &quot;log_type&quot;: &quot;ADMIN_READ&quot; } ] }, { &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot; }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
4852 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
4853 { # Provides the configuration for logging a type of permissions. Example: { &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting [email protected] from DATA_READ logging.
4854 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
4855 &quot;A String&quot;,
4856 ],
4857 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
4858 },
4859 ],
4860 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
4861 },
4862 ],
4863 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
4864 { # Associates `members`, or principals, with a `role`.
4865 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
4866 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
4867 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
4868 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
4869 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
4870 },
4871 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
4872 &quot;A String&quot;,
4873 ],
4874 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
4875 },
4876 ],
4877 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
4878 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
4879 }</pre>
4880 </div>
4881
4882 <div class="method">
4883 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
4884 <pre>Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may &quot;fail open&quot; without warning.
4885
4886 Args:
4887 resource: string, REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
4888 body: object, The request body.
4889 The object takes the form of:
4890
4891 { # Request message for `TestIamPermissions` method.
4892 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
4893 &quot;A String&quot;,
4894 ],
4895 }
4896
4897 x__xgafv: string, V1 error format.
4898 Allowed values
4899 1 - v1 error format
4900 2 - v2 error format
4901
4902 Returns:
4903 An object of the form:
4904
4905 { # Response message for `TestIamPermissions` method.
4906 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
4907 &quot;A String&quot;,
4908 ],
4909 }</pre>
4910 </div>
4911
4912 </body></html>