blob: a732ed280642b4c065a9cb438206475e06591288 [file] [log] [blame]
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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
yoshi-code-bot96afc042021-08-24 00:22:31 -070075<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>
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040076<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">
yoshi-code-bot44a67192021-05-02 03:48:02 -070081 <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, x__xgafv=None)</a></code></p>
88<p class="firstline">Gets details of a single Feature.</p>
89<p class="toc_element">
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040090 <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">
yoshi-code-bot44a67192021-05-02 03:48:02 -070093 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=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(previous_request, previous_response)</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">
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400102 <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">
yoshi-code-bot44a67192021-05-02 03:48:02 -0700114 <code class="details" id="create">create(parent, body=None, featureId=None, requestId=None, x__xgafv=None)</code>
115 <pre>Adds a new Feature.
116
117Args:
118 parent: string, 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 Hub 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;labels&quot;: { # GCP labels for this Feature.
126 &quot;a_key&quot;: &quot;A String&quot;,
127 },
yoshi-code-bot07708072021-07-20 00:20:24 -0700128 &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.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700129 &quot;a_key&quot;: { # MembershipFeatureSpec contains configuration information for a single Membership.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700130 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700131 &quot;binauthz&quot;: { # Configuration for Binauthz # Binauthz conifguration for the cluster.
132 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
133 },
134 &quot;configSync&quot;: { # Configuration for Config Sync # Config Sync configuration for the cluster.
135 &quot;git&quot;: { # Git repo configuration for a single cluster. # Git repo configuration for the cluster.
136 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
137 &quot;httpsProxy&quot;: &quot;A String&quot;, # URL for the HTTPS proxy to be used when communicating with the Git repo.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700138 &quot;noSslVerify&quot;: True or False, # Enable or disable the SSL certificate verification Default: false.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700139 &quot;policyDir&quot;: &quot;A String&quot;, # The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
140 &quot;secretType&quot;: &quot;A String&quot;, # Type of secret configured for access to the Git repo.
141 &quot;syncBranch&quot;: &quot;A String&quot;, # The branch of the repository to sync from. Default: master.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700142 &quot;syncDepth&quot;: &quot;A String&quot;, # The depth of git commits synced by the git-sync container.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700143 &quot;syncRepo&quot;: &quot;A String&quot;, # The URL of the Git repository to use as the source of truth.
144 &quot;syncRev&quot;: &quot;A String&quot;, # Git revision (tag or hash) to check out. Default HEAD.
145 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Period in seconds between consecutive syncs. Default: 15.
146 },
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700147 &quot;resourceRequirements&quot;: { # Specifies CPU and memory limits for containers, keyed by container name
148 &quot;a_key&quot;: { # ResourceRequirements allows to override the CPU and memory resource requirements of a container.
149 &quot;containerName&quot;: &quot;A String&quot;, # Name of the container
150 &quot;cpuLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the CPU limit of a container
151 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
152 },
153 &quot;memoryLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the memory limit of a container
154 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
155 },
156 },
157 },
yoshi-code-bot44a67192021-05-02 03:48:02 -0700158 &quot;sourceFormat&quot;: &quot;A String&quot;, # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
159 },
160 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Hierarchy Controller configuration for the cluster.
161 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
162 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
163 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
164 },
165 &quot;policyController&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
166 &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.
167 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
168 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
169 &quot;A String&quot;,
170 ],
171 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
yoshi-code-bot38664e82021-05-29 00:50:02 -0700172 &quot;mutationEnabled&quot;: True or False, # Enable users to try out mutation for PolicyController.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700173 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
174 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
175 },
176 &quot;version&quot;: &quot;A String&quot;, # Version of ACM installed.
177 },
yoshi-code-bot96afc042021-08-24 00:22:31 -0700178 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
179 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
180 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
181 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
182 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
183 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
184 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
185 &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.
186 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
187 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
188 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
189 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
190 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
191 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
192 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
193 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
194 },
195 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
196 },
197 ],
198 },
yoshi-code-bot44a67192021-05-02 03:48:02 -0700199 },
200 },
yoshi-code-bot07708072021-07-20 00:20:24 -0700201 &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.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700202 &quot;a_key&quot;: { # MembershipFeatureState contains Feature status information for a single Membership.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700203 &quot;configmanagement&quot;: { # **Anthos Config Management**: State for a single cluster. # Config Management-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700204 &quot;binauthzState&quot;: { # State for Binauthz # Binauthz status
205 &quot;version&quot;: { # The version of binauthz. # The version of binauthz that is installed.
206 &quot;webhookVersion&quot;: &quot;A String&quot;, # The version of the binauthz webhook.
207 },
208 &quot;webhook&quot;: &quot;A String&quot;, # The state of the binauthz webhook.
209 },
210 &quot;clusterName&quot;: &quot;A String&quot;, # The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership&#x27;s membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation.
211 &quot;configSyncState&quot;: { # State information for ConfigSync # Current sync status
212 &quot;deploymentState&quot;: { # The state of ConfigSync&#x27;s deployment on a cluster # Information about the deployment of ConfigSync, including the version of the various Pods deployed
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700213 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Deployment state of admission-webhook
yoshi-code-bot44a67192021-05-02 03:48:02 -0700214 &quot;gitSync&quot;: &quot;A String&quot;, # Deployment state of the git-sync pod
215 &quot;importer&quot;: &quot;A String&quot;, # Deployment state of the importer pod
216 &quot;monitor&quot;: &quot;A String&quot;, # Deployment state of the monitor pod
217 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Deployment state of reconciler-manager pod
218 &quot;rootReconciler&quot;: &quot;A String&quot;, # Deployment state of root-reconciler
219 &quot;syncer&quot;: &quot;A String&quot;, # Deployment state of the syncer pod
220 },
221 &quot;syncState&quot;: { # State indicating an ACM&#x27;s progress syncing configurations to a cluster # The state of ConfigSync&#x27;s process to sync configs to a cluster
222 &quot;code&quot;: &quot;A String&quot;, # Sync status code
223 &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.
224 { # An ACM created error representing a problem syncing configurations
225 &quot;code&quot;: &quot;A String&quot;, # An ACM defined error code
226 &quot;errorMessage&quot;: &quot;A String&quot;, # A description of the error
227 &quot;errorResources&quot;: [ # A list of config(s) associated with the error, if any
228 { # Model for a config file in the git repo with an associated Sync error
229 &quot;resourceGvk&quot;: { # A Kubernetes object&#x27;s GVK # Group/version/kind of the resource that is causing an error
230 &quot;group&quot;: &quot;A String&quot;, # Kubernetes Group
231 &quot;kind&quot;: &quot;A String&quot;, # Kubernetes Kind
232 &quot;version&quot;: &quot;A String&quot;, # Kubernetes Version
233 },
234 &quot;resourceName&quot;: &quot;A String&quot;, # Metadata name of the resource that is causing an error
235 &quot;resourceNamespace&quot;: &quot;A String&quot;, # Namespace of the resource that is causing an error
236 &quot;sourcePath&quot;: &quot;A String&quot;, # Path in the git repo of the erroneous config
237 },
238 ],
239 },
240 ],
241 &quot;importToken&quot;: &quot;A String&quot;, # Token indicating the state of the importer.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700242 &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
yoshi-code-bot44a67192021-05-02 03:48:02 -0700243 &quot;lastSyncTime&quot;: &quot;A String&quot;, # Timestamp type of when ACM last successfully synced the repo
244 &quot;sourceToken&quot;: &quot;A String&quot;, # Token indicating the state of the repo.
245 &quot;syncToken&quot;: &quot;A String&quot;, # Token indicating the state of the syncer.
246 },
247 &quot;version&quot;: { # Specific versioning information pertaining to ConfigSync&#x27;s Pods # The version of ConfigSync deployed
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700248 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Version of the deployed admission_webhook pod
yoshi-code-bot44a67192021-05-02 03:48:02 -0700249 &quot;gitSync&quot;: &quot;A String&quot;, # Version of the deployed git-sync pod
250 &quot;importer&quot;: &quot;A String&quot;, # Version of the deployed importer pod
251 &quot;monitor&quot;: &quot;A String&quot;, # Version of the deployed monitor pod
252 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Version of the deployed reconciler-manager pod
253 &quot;rootReconciler&quot;: &quot;A String&quot;, # Version of the deployed reconciler container in root-reconciler pod
254 &quot;syncer&quot;: &quot;A String&quot;, # Version of the deployed syncer pod
255 },
256 },
257 &quot;hierarchyControllerState&quot;: { # State for Hierarchy Controller # Hierarchy Controller status
258 &quot;state&quot;: { # Deployment state for Hierarchy Controller # The deployment state for Hierarchy Controller
259 &quot;extension&quot;: &quot;A String&quot;, # The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
260 &quot;hnc&quot;: &quot;A String&quot;, # The deployment state for open source HNC (e.g. v0.7.0-hc.0)
261 },
262 &quot;version&quot;: { # Version for Hierarchy Controller # The version for Hierarchy Controller
263 &quot;extension&quot;: &quot;A String&quot;, # Version for Hierarchy Controller extension
264 &quot;hnc&quot;: &quot;A String&quot;, # Version for open source HNC
265 },
266 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700267 &quot;membershipSpec&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
yoshi-code-bot44a67192021-05-02 03:48:02 -0700268 &quot;binauthz&quot;: { # Configuration for Binauthz # Binauthz conifguration for the cluster.
269 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
270 },
271 &quot;configSync&quot;: { # Configuration for Config Sync # Config Sync configuration for the cluster.
272 &quot;git&quot;: { # Git repo configuration for a single cluster. # Git repo configuration for the cluster.
273 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
274 &quot;httpsProxy&quot;: &quot;A String&quot;, # URL for the HTTPS proxy to be used when communicating with the Git repo.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700275 &quot;noSslVerify&quot;: True or False, # Enable or disable the SSL certificate verification Default: false.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700276 &quot;policyDir&quot;: &quot;A String&quot;, # The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
277 &quot;secretType&quot;: &quot;A String&quot;, # Type of secret configured for access to the Git repo.
278 &quot;syncBranch&quot;: &quot;A String&quot;, # The branch of the repository to sync from. Default: master.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700279 &quot;syncDepth&quot;: &quot;A String&quot;, # The depth of git commits synced by the git-sync container.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700280 &quot;syncRepo&quot;: &quot;A String&quot;, # The URL of the Git repository to use as the source of truth.
281 &quot;syncRev&quot;: &quot;A String&quot;, # Git revision (tag or hash) to check out. Default HEAD.
282 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Period in seconds between consecutive syncs. Default: 15.
283 },
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700284 &quot;resourceRequirements&quot;: { # Specifies CPU and memory limits for containers, keyed by container name
285 &quot;a_key&quot;: { # ResourceRequirements allows to override the CPU and memory resource requirements of a container.
286 &quot;containerName&quot;: &quot;A String&quot;, # Name of the container
287 &quot;cpuLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the CPU limit of a container
288 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
289 },
290 &quot;memoryLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the memory limit of a container
291 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
292 },
293 },
294 },
yoshi-code-bot44a67192021-05-02 03:48:02 -0700295 &quot;sourceFormat&quot;: &quot;A String&quot;, # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
296 },
297 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Hierarchy Controller configuration for the cluster.
298 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
299 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
300 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
301 },
302 &quot;policyController&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
303 &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.
304 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
305 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
306 &quot;A String&quot;,
307 ],
308 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
yoshi-code-bot38664e82021-05-29 00:50:02 -0700309 &quot;mutationEnabled&quot;: True or False, # Enable users to try out mutation for PolicyController.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700310 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
311 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
312 },
313 &quot;version&quot;: &quot;A String&quot;, # Version of ACM installed.
314 },
315 &quot;operatorState&quot;: { # State information for an ACM&#x27;s Operator # Current install status of ACM&#x27;s Operator
316 &quot;deploymentState&quot;: &quot;A String&quot;, # The state of the Operator&#x27;s deployment
317 &quot;errors&quot;: [ # Install errors.
318 { # Errors pertaining to the installation of ACM
319 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
320 },
321 ],
322 &quot;version&quot;: &quot;A String&quot;, # The semenatic version number of the operator
323 },
324 &quot;policyControllerState&quot;: { # State for PolicyControllerState. # PolicyController status
325 &quot;deploymentState&quot;: { # State of Policy Controller installation. # The state about the policy controller installation.
326 &quot;gatekeeperAudit&quot;: &quot;A String&quot;, # Status of gatekeeper-audit deployment.
327 &quot;gatekeeperControllerManagerState&quot;: &quot;A String&quot;, # Status of gatekeeper-controller-manager pod.
yoshi-code-bot38664e82021-05-29 00:50:02 -0700328 &quot;gatekeeperMutation&quot;: &quot;A String&quot;, # Status of the pod serving the mutation webhook.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700329 },
330 &quot;version&quot;: { # The build version of Gatekeeper Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
331 &quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
332 },
333 },
334 },
yoshi-code-bot96afc042021-08-24 00:22:31 -0700335 &quot;identityservice&quot;: { # **Anthos Identity Service**: State for a single Membership. # Identity Service-specific state.
336 &quot;failureReason&quot;: &quot;A String&quot;, # The reason of the failure.
337 &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.
338 &quot;memberConfig&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Last reconciled membership configuration
339 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
340 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
341 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
342 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
343 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
344 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
345 &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.
346 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
347 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
348 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
349 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
350 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
351 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
352 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
353 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
354 },
355 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
356 },
357 ],
358 },
359 &quot;state&quot;: &quot;A String&quot;, # Deployment state on this member
360 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700361 &quot;metering&quot;: { # **Metering**: Per-Membership Feature State. # Metering-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700362 &quot;lastMeasurementTime&quot;: &quot;A String&quot;, # The time stamp of the most recent measurement of the number of vCPUs in the cluster.
363 &quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
364 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700365 &quot;servicemesh&quot;: { # **Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700366 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
367 { # 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.
368 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
369 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
370 },
371 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
372 &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.
373 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
374 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
375 &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.
376 &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.)
377 &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.)
378 },
379 },
380 &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
381 &quot;A String&quot;,
382 ],
383 },
384 ],
385 },
386 &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.
387 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
388 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
389 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
390 },
391 },
392 },
393 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
394 &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 Hub and across Memberships. # Output only. State of the Feature resource itself.
395 &quot;state&quot;: &quot;A String&quot;, # The current state of the Feature resource in the Hub API.
396 },
397 &quot;spec&quot;: { # CommonFeatureSpec contains Hub-wide configuration information # Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700398 &quot;cloudauditlogging&quot;: { # **Cloud Audit Logging**: Spec for Audit Logging Allowlisting. # Cloud Audit Logging-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700399 &quot;allowlistedServiceAccounts&quot;: [ # Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. 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.)
400 &quot;A String&quot;,
401 ],
402 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700403 &quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
yoshi-code-bot07708072021-07-20 00:20:24 -0700404 &quot;billing&quot;: &quot;A String&quot;, # Deprecated: This field will be ignored and should not be set. Customer&#x27;s billing structure.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700405 &quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
406 },
407 },
408 &quot;state&quot;: { # CommonFeatureState contains Hub-wide Feature status information. # Output only. The Hub-wide Feature state.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700409 &quot;servicemesh&quot;: { # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700410 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
411 { # 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.
412 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
413 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
414 },
415 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
416 &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.
417 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
418 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
419 &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.
420 &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.)
421 &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.)
422 },
423 },
424 &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
425 &quot;A String&quot;,
426 ],
427 },
428 ],
429 },
430 &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 Hub.
431 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
432 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
433 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
434 },
435 },
436 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was last updated.
437}
438
439 featureId: string, The ID of the feature to create.
440 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).
441 x__xgafv: string, V1 error format.
442 Allowed values
443 1 - v1 error format
444 2 - v2 error format
445
446Returns:
447 An object of the form:
448
449 { # This resource represents a long-running operation that is the result of a network API call.
450 &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.
451 &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.
452 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
453 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
454 {
455 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
456 },
457 ],
458 &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.
459 },
460 &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.
461 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
462 },
463 &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}`.
464 &quot;response&quot;: { # The normal response of the operation in case of success. 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`.
465 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
466 },
467}</pre>
468</div>
469
470<div class="method">
471 <code class="details" id="delete">delete(name, force=None, requestId=None, x__xgafv=None)</code>
472 <pre>Removes a Feature.
473
474Args:
475 name: string, The Feature resource name in the format `projects/*/locations/*/features/*`. (required)
476 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.
477 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).
478 x__xgafv: string, V1 error format.
479 Allowed values
480 1 - v1 error format
481 2 - v2 error format
482
483Returns:
484 An object of the form:
485
486 { # This resource represents a long-running operation that is the result of a network API call.
487 &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.
488 &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.
489 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
490 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
491 {
492 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
493 },
494 ],
495 &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.
496 },
497 &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.
498 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
499 },
500 &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}`.
501 &quot;response&quot;: { # The normal response of the operation in case of success. 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`.
502 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
503 },
504}</pre>
505</div>
506
507<div class="method">
508 <code class="details" id="get">get(name, x__xgafv=None)</code>
509 <pre>Gets details of a single Feature.
510
511Args:
512 name: string, The Feature resource name in the format `projects/*/locations/*/features/*` (required)
513 x__xgafv: string, V1 error format.
514 Allowed values
515 1 - v1 error format
516 2 - v2 error format
517
518Returns:
519 An object of the form:
520
521 { # Feature represents the settings and status of any Hub Feature.
522 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was created.
523 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was deleted.
524 &quot;labels&quot;: { # GCP labels for this Feature.
525 &quot;a_key&quot;: &quot;A String&quot;,
526 },
yoshi-code-bot07708072021-07-20 00:20:24 -0700527 &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.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700528 &quot;a_key&quot;: { # MembershipFeatureSpec contains configuration information for a single Membership.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700529 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700530 &quot;binauthz&quot;: { # Configuration for Binauthz # Binauthz conifguration for the cluster.
531 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
532 },
533 &quot;configSync&quot;: { # Configuration for Config Sync # Config Sync configuration for the cluster.
534 &quot;git&quot;: { # Git repo configuration for a single cluster. # Git repo configuration for the cluster.
535 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
536 &quot;httpsProxy&quot;: &quot;A String&quot;, # URL for the HTTPS proxy to be used when communicating with the Git repo.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700537 &quot;noSslVerify&quot;: True or False, # Enable or disable the SSL certificate verification Default: false.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700538 &quot;policyDir&quot;: &quot;A String&quot;, # The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
539 &quot;secretType&quot;: &quot;A String&quot;, # Type of secret configured for access to the Git repo.
540 &quot;syncBranch&quot;: &quot;A String&quot;, # The branch of the repository to sync from. Default: master.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700541 &quot;syncDepth&quot;: &quot;A String&quot;, # The depth of git commits synced by the git-sync container.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700542 &quot;syncRepo&quot;: &quot;A String&quot;, # The URL of the Git repository to use as the source of truth.
543 &quot;syncRev&quot;: &quot;A String&quot;, # Git revision (tag or hash) to check out. Default HEAD.
544 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Period in seconds between consecutive syncs. Default: 15.
545 },
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700546 &quot;resourceRequirements&quot;: { # Specifies CPU and memory limits for containers, keyed by container name
547 &quot;a_key&quot;: { # ResourceRequirements allows to override the CPU and memory resource requirements of a container.
548 &quot;containerName&quot;: &quot;A String&quot;, # Name of the container
549 &quot;cpuLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the CPU limit of a container
550 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
551 },
552 &quot;memoryLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the memory limit of a container
553 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
554 },
555 },
556 },
yoshi-code-bot44a67192021-05-02 03:48:02 -0700557 &quot;sourceFormat&quot;: &quot;A String&quot;, # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
558 },
559 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Hierarchy Controller configuration for the cluster.
560 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
561 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
562 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
563 },
564 &quot;policyController&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
565 &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.
566 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
567 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
568 &quot;A String&quot;,
569 ],
570 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
yoshi-code-bot38664e82021-05-29 00:50:02 -0700571 &quot;mutationEnabled&quot;: True or False, # Enable users to try out mutation for PolicyController.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700572 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
573 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
574 },
575 &quot;version&quot;: &quot;A String&quot;, # Version of ACM installed.
576 },
yoshi-code-bot96afc042021-08-24 00:22:31 -0700577 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
578 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
579 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
580 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
581 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
582 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
583 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
584 &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.
585 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
586 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
587 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
588 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
589 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
590 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
591 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
592 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
593 },
594 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
595 },
596 ],
597 },
yoshi-code-bot44a67192021-05-02 03:48:02 -0700598 },
599 },
yoshi-code-bot07708072021-07-20 00:20:24 -0700600 &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.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700601 &quot;a_key&quot;: { # MembershipFeatureState contains Feature status information for a single Membership.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700602 &quot;configmanagement&quot;: { # **Anthos Config Management**: State for a single cluster. # Config Management-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700603 &quot;binauthzState&quot;: { # State for Binauthz # Binauthz status
604 &quot;version&quot;: { # The version of binauthz. # The version of binauthz that is installed.
605 &quot;webhookVersion&quot;: &quot;A String&quot;, # The version of the binauthz webhook.
606 },
607 &quot;webhook&quot;: &quot;A String&quot;, # The state of the binauthz webhook.
608 },
609 &quot;clusterName&quot;: &quot;A String&quot;, # The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership&#x27;s membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation.
610 &quot;configSyncState&quot;: { # State information for ConfigSync # Current sync status
611 &quot;deploymentState&quot;: { # The state of ConfigSync&#x27;s deployment on a cluster # Information about the deployment of ConfigSync, including the version of the various Pods deployed
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700612 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Deployment state of admission-webhook
yoshi-code-bot44a67192021-05-02 03:48:02 -0700613 &quot;gitSync&quot;: &quot;A String&quot;, # Deployment state of the git-sync pod
614 &quot;importer&quot;: &quot;A String&quot;, # Deployment state of the importer pod
615 &quot;monitor&quot;: &quot;A String&quot;, # Deployment state of the monitor pod
616 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Deployment state of reconciler-manager pod
617 &quot;rootReconciler&quot;: &quot;A String&quot;, # Deployment state of root-reconciler
618 &quot;syncer&quot;: &quot;A String&quot;, # Deployment state of the syncer pod
619 },
620 &quot;syncState&quot;: { # State indicating an ACM&#x27;s progress syncing configurations to a cluster # The state of ConfigSync&#x27;s process to sync configs to a cluster
621 &quot;code&quot;: &quot;A String&quot;, # Sync status code
622 &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.
623 { # An ACM created error representing a problem syncing configurations
624 &quot;code&quot;: &quot;A String&quot;, # An ACM defined error code
625 &quot;errorMessage&quot;: &quot;A String&quot;, # A description of the error
626 &quot;errorResources&quot;: [ # A list of config(s) associated with the error, if any
627 { # Model for a config file in the git repo with an associated Sync error
628 &quot;resourceGvk&quot;: { # A Kubernetes object&#x27;s GVK # Group/version/kind of the resource that is causing an error
629 &quot;group&quot;: &quot;A String&quot;, # Kubernetes Group
630 &quot;kind&quot;: &quot;A String&quot;, # Kubernetes Kind
631 &quot;version&quot;: &quot;A String&quot;, # Kubernetes Version
632 },
633 &quot;resourceName&quot;: &quot;A String&quot;, # Metadata name of the resource that is causing an error
634 &quot;resourceNamespace&quot;: &quot;A String&quot;, # Namespace of the resource that is causing an error
635 &quot;sourcePath&quot;: &quot;A String&quot;, # Path in the git repo of the erroneous config
636 },
637 ],
638 },
639 ],
640 &quot;importToken&quot;: &quot;A String&quot;, # Token indicating the state of the importer.
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700641 &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
yoshi-code-bot44a67192021-05-02 03:48:02 -0700642 &quot;lastSyncTime&quot;: &quot;A String&quot;, # Timestamp type of when ACM last successfully synced the repo
643 &quot;sourceToken&quot;: &quot;A String&quot;, # Token indicating the state of the repo.
644 &quot;syncToken&quot;: &quot;A String&quot;, # Token indicating the state of the syncer.
645 },
646 &quot;version&quot;: { # Specific versioning information pertaining to ConfigSync&#x27;s Pods # The version of ConfigSync deployed
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700647 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Version of the deployed admission_webhook pod
yoshi-code-bot44a67192021-05-02 03:48:02 -0700648 &quot;gitSync&quot;: &quot;A String&quot;, # Version of the deployed git-sync pod
649 &quot;importer&quot;: &quot;A String&quot;, # Version of the deployed importer pod
650 &quot;monitor&quot;: &quot;A String&quot;, # Version of the deployed monitor pod
651 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Version of the deployed reconciler-manager pod
652 &quot;rootReconciler&quot;: &quot;A String&quot;, # Version of the deployed reconciler container in root-reconciler pod
653 &quot;syncer&quot;: &quot;A String&quot;, # Version of the deployed syncer pod
654 },
655 },
656 &quot;hierarchyControllerState&quot;: { # State for Hierarchy Controller # Hierarchy Controller status
657 &quot;state&quot;: { # Deployment state for Hierarchy Controller # The deployment state for Hierarchy Controller
658 &quot;extension&quot;: &quot;A String&quot;, # The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
659 &quot;hnc&quot;: &quot;A String&quot;, # The deployment state for open source HNC (e.g. v0.7.0-hc.0)
660 },
661 &quot;version&quot;: { # Version for Hierarchy Controller # The version for Hierarchy Controller
662 &quot;extension&quot;: &quot;A String&quot;, # Version for Hierarchy Controller extension
663 &quot;hnc&quot;: &quot;A String&quot;, # Version for open source HNC
664 },
665 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700666 &quot;membershipSpec&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
yoshi-code-bot44a67192021-05-02 03:48:02 -0700667 &quot;binauthz&quot;: { # Configuration for Binauthz # Binauthz conifguration for the cluster.
668 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
669 },
670 &quot;configSync&quot;: { # Configuration for Config Sync # Config Sync configuration for the cluster.
671 &quot;git&quot;: { # Git repo configuration for a single cluster. # Git repo configuration for the cluster.
672 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
673 &quot;httpsProxy&quot;: &quot;A String&quot;, # URL for the HTTPS proxy to be used when communicating with the Git repo.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700674 &quot;noSslVerify&quot;: True or False, # Enable or disable the SSL certificate verification Default: false.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700675 &quot;policyDir&quot;: &quot;A String&quot;, # The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
676 &quot;secretType&quot;: &quot;A String&quot;, # Type of secret configured for access to the Git repo.
677 &quot;syncBranch&quot;: &quot;A String&quot;, # The branch of the repository to sync from. Default: master.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700678 &quot;syncDepth&quot;: &quot;A String&quot;, # The depth of git commits synced by the git-sync container.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700679 &quot;syncRepo&quot;: &quot;A String&quot;, # The URL of the Git repository to use as the source of truth.
680 &quot;syncRev&quot;: &quot;A String&quot;, # Git revision (tag or hash) to check out. Default HEAD.
681 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Period in seconds between consecutive syncs. Default: 15.
682 },
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700683 &quot;resourceRequirements&quot;: { # Specifies CPU and memory limits for containers, keyed by container name
684 &quot;a_key&quot;: { # ResourceRequirements allows to override the CPU and memory resource requirements of a container.
685 &quot;containerName&quot;: &quot;A String&quot;, # Name of the container
686 &quot;cpuLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the CPU limit of a container
687 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
688 },
689 &quot;memoryLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the memory limit of a container
690 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
691 },
692 },
693 },
yoshi-code-bot44a67192021-05-02 03:48:02 -0700694 &quot;sourceFormat&quot;: &quot;A String&quot;, # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
695 },
696 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Hierarchy Controller configuration for the cluster.
697 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
698 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
699 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
700 },
701 &quot;policyController&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
702 &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.
703 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
704 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
705 &quot;A String&quot;,
706 ],
707 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
yoshi-code-bot38664e82021-05-29 00:50:02 -0700708 &quot;mutationEnabled&quot;: True or False, # Enable users to try out mutation for PolicyController.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700709 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
710 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
711 },
712 &quot;version&quot;: &quot;A String&quot;, # Version of ACM installed.
713 },
714 &quot;operatorState&quot;: { # State information for an ACM&#x27;s Operator # Current install status of ACM&#x27;s Operator
715 &quot;deploymentState&quot;: &quot;A String&quot;, # The state of the Operator&#x27;s deployment
716 &quot;errors&quot;: [ # Install errors.
717 { # Errors pertaining to the installation of ACM
718 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
719 },
720 ],
721 &quot;version&quot;: &quot;A String&quot;, # The semenatic version number of the operator
722 },
723 &quot;policyControllerState&quot;: { # State for PolicyControllerState. # PolicyController status
724 &quot;deploymentState&quot;: { # State of Policy Controller installation. # The state about the policy controller installation.
725 &quot;gatekeeperAudit&quot;: &quot;A String&quot;, # Status of gatekeeper-audit deployment.
726 &quot;gatekeeperControllerManagerState&quot;: &quot;A String&quot;, # Status of gatekeeper-controller-manager pod.
yoshi-code-bot38664e82021-05-29 00:50:02 -0700727 &quot;gatekeeperMutation&quot;: &quot;A String&quot;, # Status of the pod serving the mutation webhook.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700728 },
729 &quot;version&quot;: { # The build version of Gatekeeper Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
730 &quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
731 },
732 },
733 },
yoshi-code-bot96afc042021-08-24 00:22:31 -0700734 &quot;identityservice&quot;: { # **Anthos Identity Service**: State for a single Membership. # Identity Service-specific state.
735 &quot;failureReason&quot;: &quot;A String&quot;, # The reason of the failure.
736 &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.
737 &quot;memberConfig&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Last reconciled membership configuration
738 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
739 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
740 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
741 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
742 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
743 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
744 &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.
745 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
746 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
747 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
748 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
749 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
750 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
751 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
752 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
753 },
754 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
755 },
756 ],
757 },
758 &quot;state&quot;: &quot;A String&quot;, # Deployment state on this member
759 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700760 &quot;metering&quot;: { # **Metering**: Per-Membership Feature State. # Metering-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700761 &quot;lastMeasurementTime&quot;: &quot;A String&quot;, # The time stamp of the most recent measurement of the number of vCPUs in the cluster.
762 &quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
763 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700764 &quot;servicemesh&quot;: { # **Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700765 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
766 { # 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.
767 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
768 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
769 },
770 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
771 &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.
772 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
773 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
774 &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.
775 &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.)
776 &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.)
777 },
778 },
779 &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
780 &quot;A String&quot;,
781 ],
782 },
783 ],
784 },
785 &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.
786 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
787 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
788 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
789 },
790 },
791 },
792 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
793 &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 Hub and across Memberships. # Output only. State of the Feature resource itself.
794 &quot;state&quot;: &quot;A String&quot;, # The current state of the Feature resource in the Hub API.
795 },
796 &quot;spec&quot;: { # CommonFeatureSpec contains Hub-wide configuration information # Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700797 &quot;cloudauditlogging&quot;: { # **Cloud Audit Logging**: Spec for Audit Logging Allowlisting. # Cloud Audit Logging-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700798 &quot;allowlistedServiceAccounts&quot;: [ # Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. 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.)
799 &quot;A String&quot;,
800 ],
801 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700802 &quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
yoshi-code-bot07708072021-07-20 00:20:24 -0700803 &quot;billing&quot;: &quot;A String&quot;, # Deprecated: This field will be ignored and should not be set. Customer&#x27;s billing structure.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700804 &quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
805 },
806 },
807 &quot;state&quot;: { # CommonFeatureState contains Hub-wide Feature status information. # Output only. The Hub-wide Feature state.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700808 &quot;servicemesh&quot;: { # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700809 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
810 { # 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.
811 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
812 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
813 },
814 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
815 &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.
816 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
817 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
818 &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.
819 &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.)
820 &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.)
821 },
822 },
823 &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
824 &quot;A String&quot;,
825 ],
826 },
827 ],
828 },
829 &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 Hub.
830 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
831 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
832 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
833 },
834 },
835 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was last updated.
836}</pre>
837</div>
838
839<div class="method">
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400840 <code class="details" id="getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</code>
841 <pre>Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
842
843Args:
844 resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
845 options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value 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).
846 x__xgafv: string, V1 error format.
847 Allowed values
848 1 - v1 error format
849 2 - v2 error format
850
851Returns:
852 An object of the form:
853
yoshi-code-bot96afc042021-08-24 00:22:31 -0700854 { # 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` to a single `role`. Members 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:mike@example.com&quot;, &quot;group:admins@example.com&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:eve@example.com&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:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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/).
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400855 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
856 { # 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:jose@example.com&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:aliya@example.com&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
857 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
858 { # 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:jose@example.com&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting jose@example.com from DATA_READ logging.
859 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
860 &quot;A String&quot;,
861 ],
862 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
863 },
864 ],
865 &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.
866 },
867 ],
868 &quot;bindings&quot;: [ # Associates a list of `members` to 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 member.
869 { # Associates `members` with a `role`.
870 &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 members 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).
871 &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.
872 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
873 &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.
874 &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.
875 },
876 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform 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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?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, `my-other-app@appspot.gserviceaccount.com?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, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
877 &quot;A String&quot;,
878 ],
879 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
880 },
881 ],
882 &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.
883 &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).
884}</pre>
885</div>
886
887<div class="method">
yoshi-code-bot44a67192021-05-02 03:48:02 -0700888 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
889 <pre>Lists Features in a given project and location.
890
891Args:
892 parent: string, The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*`. (required)
893 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
894 orderBy: string, One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
895 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.
896 pageToken: string, Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.
897 x__xgafv: string, V1 error format.
898 Allowed values
899 1 - v1 error format
900 2 - v2 error format
901
902Returns:
903 An object of the form:
904
905 { # Response message for the `GkeHub.ListFeatures` method.
906 &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.
907 &quot;resources&quot;: [ # The list of matching Features
908 { # Feature represents the settings and status of any Hub Feature.
909 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was created.
910 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was deleted.
911 &quot;labels&quot;: { # GCP labels for this Feature.
912 &quot;a_key&quot;: &quot;A String&quot;,
913 },
yoshi-code-bot07708072021-07-20 00:20:24 -0700914 &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.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700915 &quot;a_key&quot;: { # MembershipFeatureSpec contains configuration information for a single Membership.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700916 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700917 &quot;binauthz&quot;: { # Configuration for Binauthz # Binauthz conifguration for the cluster.
918 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
919 },
920 &quot;configSync&quot;: { # Configuration for Config Sync # Config Sync configuration for the cluster.
921 &quot;git&quot;: { # Git repo configuration for a single cluster. # Git repo configuration for the cluster.
922 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
923 &quot;httpsProxy&quot;: &quot;A String&quot;, # URL for the HTTPS proxy to be used when communicating with the Git repo.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700924 &quot;noSslVerify&quot;: True or False, # Enable or disable the SSL certificate verification Default: false.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700925 &quot;policyDir&quot;: &quot;A String&quot;, # The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
926 &quot;secretType&quot;: &quot;A String&quot;, # Type of secret configured for access to the Git repo.
927 &quot;syncBranch&quot;: &quot;A String&quot;, # The branch of the repository to sync from. Default: master.
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700928 &quot;syncDepth&quot;: &quot;A String&quot;, # The depth of git commits synced by the git-sync container.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700929 &quot;syncRepo&quot;: &quot;A String&quot;, # The URL of the Git repository to use as the source of truth.
930 &quot;syncRev&quot;: &quot;A String&quot;, # Git revision (tag or hash) to check out. Default HEAD.
931 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Period in seconds between consecutive syncs. Default: 15.
932 },
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700933 &quot;resourceRequirements&quot;: { # Specifies CPU and memory limits for containers, keyed by container name
934 &quot;a_key&quot;: { # ResourceRequirements allows to override the CPU and memory resource requirements of a container.
935 &quot;containerName&quot;: &quot;A String&quot;, # Name of the container
936 &quot;cpuLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the CPU limit of a container
937 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
938 },
939 &quot;memoryLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the memory limit of a container
940 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
941 },
942 },
943 },
yoshi-code-bot44a67192021-05-02 03:48:02 -0700944 &quot;sourceFormat&quot;: &quot;A String&quot;, # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
945 },
946 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Hierarchy Controller configuration for the cluster.
947 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
948 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
949 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
950 },
951 &quot;policyController&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
952 &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.
953 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
954 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
955 &quot;A String&quot;,
956 ],
957 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
yoshi-code-bot38664e82021-05-29 00:50:02 -0700958 &quot;mutationEnabled&quot;: True or False, # Enable users to try out mutation for PolicyController.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700959 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
960 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
961 },
962 &quot;version&quot;: &quot;A String&quot;, # Version of ACM installed.
963 },
yoshi-code-bot96afc042021-08-24 00:22:31 -0700964 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
965 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
966 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
967 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
968 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
969 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
970 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
971 &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.
972 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
973 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
974 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
975 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
976 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
977 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
978 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
979 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
980 },
981 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
982 },
983 ],
984 },
yoshi-code-bot44a67192021-05-02 03:48:02 -0700985 },
986 },
yoshi-code-bot07708072021-07-20 00:20:24 -0700987 &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.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700988 &quot;a_key&quot;: { # MembershipFeatureState contains Feature status information for a single Membership.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700989 &quot;configmanagement&quot;: { # **Anthos Config Management**: State for a single cluster. # Config Management-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -0700990 &quot;binauthzState&quot;: { # State for Binauthz # Binauthz status
991 &quot;version&quot;: { # The version of binauthz. # The version of binauthz that is installed.
992 &quot;webhookVersion&quot;: &quot;A String&quot;, # The version of the binauthz webhook.
993 },
994 &quot;webhook&quot;: &quot;A String&quot;, # The state of the binauthz webhook.
995 },
996 &quot;clusterName&quot;: &quot;A String&quot;, # The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership&#x27;s membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation.
997 &quot;configSyncState&quot;: { # State information for ConfigSync # Current sync status
998 &quot;deploymentState&quot;: { # The state of ConfigSync&#x27;s deployment on a cluster # Information about the deployment of ConfigSync, including the version of the various Pods deployed
yoshi-code-botad81f3d2021-09-28 00:22:30 -0700999 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Deployment state of admission-webhook
yoshi-code-bot44a67192021-05-02 03:48:02 -07001000 &quot;gitSync&quot;: &quot;A String&quot;, # Deployment state of the git-sync pod
1001 &quot;importer&quot;: &quot;A String&quot;, # Deployment state of the importer pod
1002 &quot;monitor&quot;: &quot;A String&quot;, # Deployment state of the monitor pod
1003 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Deployment state of reconciler-manager pod
1004 &quot;rootReconciler&quot;: &quot;A String&quot;, # Deployment state of root-reconciler
1005 &quot;syncer&quot;: &quot;A String&quot;, # Deployment state of the syncer pod
1006 },
1007 &quot;syncState&quot;: { # State indicating an ACM&#x27;s progress syncing configurations to a cluster # The state of ConfigSync&#x27;s process to sync configs to a cluster
1008 &quot;code&quot;: &quot;A String&quot;, # Sync status code
1009 &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.
1010 { # An ACM created error representing a problem syncing configurations
1011 &quot;code&quot;: &quot;A String&quot;, # An ACM defined error code
1012 &quot;errorMessage&quot;: &quot;A String&quot;, # A description of the error
1013 &quot;errorResources&quot;: [ # A list of config(s) associated with the error, if any
1014 { # Model for a config file in the git repo with an associated Sync error
1015 &quot;resourceGvk&quot;: { # A Kubernetes object&#x27;s GVK # Group/version/kind of the resource that is causing an error
1016 &quot;group&quot;: &quot;A String&quot;, # Kubernetes Group
1017 &quot;kind&quot;: &quot;A String&quot;, # Kubernetes Kind
1018 &quot;version&quot;: &quot;A String&quot;, # Kubernetes Version
1019 },
1020 &quot;resourceName&quot;: &quot;A String&quot;, # Metadata name of the resource that is causing an error
1021 &quot;resourceNamespace&quot;: &quot;A String&quot;, # Namespace of the resource that is causing an error
1022 &quot;sourcePath&quot;: &quot;A String&quot;, # Path in the git repo of the erroneous config
1023 },
1024 ],
1025 },
1026 ],
1027 &quot;importToken&quot;: &quot;A String&quot;, # Token indicating the state of the importer.
yoshi-code-bot04bafe12021-06-29 00:20:25 -07001028 &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
yoshi-code-bot44a67192021-05-02 03:48:02 -07001029 &quot;lastSyncTime&quot;: &quot;A String&quot;, # Timestamp type of when ACM last successfully synced the repo
1030 &quot;sourceToken&quot;: &quot;A String&quot;, # Token indicating the state of the repo.
1031 &quot;syncToken&quot;: &quot;A String&quot;, # Token indicating the state of the syncer.
1032 },
1033 &quot;version&quot;: { # Specific versioning information pertaining to ConfigSync&#x27;s Pods # The version of ConfigSync deployed
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001034 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Version of the deployed admission_webhook pod
yoshi-code-bot44a67192021-05-02 03:48:02 -07001035 &quot;gitSync&quot;: &quot;A String&quot;, # Version of the deployed git-sync pod
1036 &quot;importer&quot;: &quot;A String&quot;, # Version of the deployed importer pod
1037 &quot;monitor&quot;: &quot;A String&quot;, # Version of the deployed monitor pod
1038 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Version of the deployed reconciler-manager pod
1039 &quot;rootReconciler&quot;: &quot;A String&quot;, # Version of the deployed reconciler container in root-reconciler pod
1040 &quot;syncer&quot;: &quot;A String&quot;, # Version of the deployed syncer pod
1041 },
1042 },
1043 &quot;hierarchyControllerState&quot;: { # State for Hierarchy Controller # Hierarchy Controller status
1044 &quot;state&quot;: { # Deployment state for Hierarchy Controller # The deployment state for Hierarchy Controller
1045 &quot;extension&quot;: &quot;A String&quot;, # The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
1046 &quot;hnc&quot;: &quot;A String&quot;, # The deployment state for open source HNC (e.g. v0.7.0-hc.0)
1047 },
1048 &quot;version&quot;: { # Version for Hierarchy Controller # The version for Hierarchy Controller
1049 &quot;extension&quot;: &quot;A String&quot;, # Version for Hierarchy Controller extension
1050 &quot;hnc&quot;: &quot;A String&quot;, # Version for open source HNC
1051 },
1052 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001053 &quot;membershipSpec&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
yoshi-code-bot44a67192021-05-02 03:48:02 -07001054 &quot;binauthz&quot;: { # Configuration for Binauthz # Binauthz conifguration for the cluster.
1055 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
1056 },
1057 &quot;configSync&quot;: { # Configuration for Config Sync # Config Sync configuration for the cluster.
1058 &quot;git&quot;: { # Git repo configuration for a single cluster. # Git repo configuration for the cluster.
1059 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
1060 &quot;httpsProxy&quot;: &quot;A String&quot;, # URL for the HTTPS proxy to be used when communicating with the Git repo.
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001061 &quot;noSslVerify&quot;: True or False, # Enable or disable the SSL certificate verification Default: false.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001062 &quot;policyDir&quot;: &quot;A String&quot;, # The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
1063 &quot;secretType&quot;: &quot;A String&quot;, # Type of secret configured for access to the Git repo.
1064 &quot;syncBranch&quot;: &quot;A String&quot;, # The branch of the repository to sync from. Default: master.
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001065 &quot;syncDepth&quot;: &quot;A String&quot;, # The depth of git commits synced by the git-sync container.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001066 &quot;syncRepo&quot;: &quot;A String&quot;, # The URL of the Git repository to use as the source of truth.
1067 &quot;syncRev&quot;: &quot;A String&quot;, # Git revision (tag or hash) to check out. Default HEAD.
1068 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Period in seconds between consecutive syncs. Default: 15.
1069 },
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001070 &quot;resourceRequirements&quot;: { # Specifies CPU and memory limits for containers, keyed by container name
1071 &quot;a_key&quot;: { # ResourceRequirements allows to override the CPU and memory resource requirements of a container.
1072 &quot;containerName&quot;: &quot;A String&quot;, # Name of the container
1073 &quot;cpuLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the CPU limit of a container
1074 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
1075 },
1076 &quot;memoryLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the memory limit of a container
1077 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
1078 },
1079 },
1080 },
yoshi-code-bot44a67192021-05-02 03:48:02 -07001081 &quot;sourceFormat&quot;: &quot;A String&quot;, # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
1082 },
1083 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Hierarchy Controller configuration for the cluster.
1084 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
1085 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
1086 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
1087 },
1088 &quot;policyController&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
1089 &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.
1090 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
1091 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
1092 &quot;A String&quot;,
1093 ],
1094 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
yoshi-code-bot38664e82021-05-29 00:50:02 -07001095 &quot;mutationEnabled&quot;: True or False, # Enable users to try out mutation for PolicyController.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001096 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
1097 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
1098 },
1099 &quot;version&quot;: &quot;A String&quot;, # Version of ACM installed.
1100 },
1101 &quot;operatorState&quot;: { # State information for an ACM&#x27;s Operator # Current install status of ACM&#x27;s Operator
1102 &quot;deploymentState&quot;: &quot;A String&quot;, # The state of the Operator&#x27;s deployment
1103 &quot;errors&quot;: [ # Install errors.
1104 { # Errors pertaining to the installation of ACM
1105 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
1106 },
1107 ],
1108 &quot;version&quot;: &quot;A String&quot;, # The semenatic version number of the operator
1109 },
1110 &quot;policyControllerState&quot;: { # State for PolicyControllerState. # PolicyController status
1111 &quot;deploymentState&quot;: { # State of Policy Controller installation. # The state about the policy controller installation.
1112 &quot;gatekeeperAudit&quot;: &quot;A String&quot;, # Status of gatekeeper-audit deployment.
1113 &quot;gatekeeperControllerManagerState&quot;: &quot;A String&quot;, # Status of gatekeeper-controller-manager pod.
yoshi-code-bot38664e82021-05-29 00:50:02 -07001114 &quot;gatekeeperMutation&quot;: &quot;A String&quot;, # Status of the pod serving the mutation webhook.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001115 },
1116 &quot;version&quot;: { # The build version of Gatekeeper Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
1117 &quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
1118 },
1119 },
1120 },
yoshi-code-bot96afc042021-08-24 00:22:31 -07001121 &quot;identityservice&quot;: { # **Anthos Identity Service**: State for a single Membership. # Identity Service-specific state.
1122 &quot;failureReason&quot;: &quot;A String&quot;, # The reason of the failure.
1123 &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.
1124 &quot;memberConfig&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Last reconciled membership configuration
1125 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
1126 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
1127 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
1128 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
1129 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
1130 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
1131 &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.
1132 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
1133 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
1134 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
1135 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
1136 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
1137 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
1138 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
1139 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
1140 },
1141 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
1142 },
1143 ],
1144 },
1145 &quot;state&quot;: &quot;A String&quot;, # Deployment state on this member
1146 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001147 &quot;metering&quot;: { # **Metering**: Per-Membership Feature State. # Metering-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001148 &quot;lastMeasurementTime&quot;: &quot;A String&quot;, # The time stamp of the most recent measurement of the number of vCPUs in the cluster.
1149 &quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
1150 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001151 &quot;servicemesh&quot;: { # **Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001152 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
1153 { # 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.
1154 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
1155 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1156 },
1157 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
1158 &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.
1159 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
1160 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
1161 &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.
1162 &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.)
1163 &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.)
1164 },
1165 },
1166 &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
1167 &quot;A String&quot;,
1168 ],
1169 },
1170 ],
1171 },
1172 &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.
1173 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
1174 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
1175 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
1176 },
1177 },
1178 },
1179 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
1180 &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 Hub and across Memberships. # Output only. State of the Feature resource itself.
1181 &quot;state&quot;: &quot;A String&quot;, # The current state of the Feature resource in the Hub API.
1182 },
1183 &quot;spec&quot;: { # CommonFeatureSpec contains Hub-wide configuration information # Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001184 &quot;cloudauditlogging&quot;: { # **Cloud Audit Logging**: Spec for Audit Logging Allowlisting. # Cloud Audit Logging-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001185 &quot;allowlistedServiceAccounts&quot;: [ # Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. 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.)
1186 &quot;A String&quot;,
1187 ],
1188 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001189 &quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
yoshi-code-bot07708072021-07-20 00:20:24 -07001190 &quot;billing&quot;: &quot;A String&quot;, # Deprecated: This field will be ignored and should not be set. Customer&#x27;s billing structure.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001191 &quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
1192 },
1193 },
1194 &quot;state&quot;: { # CommonFeatureState contains Hub-wide Feature status information. # Output only. The Hub-wide Feature state.
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001195 &quot;servicemesh&quot;: { # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001196 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
1197 { # 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.
1198 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
1199 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1200 },
1201 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
1202 &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.
1203 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
1204 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
1205 &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.
1206 &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.)
1207 &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.)
1208 },
1209 },
1210 &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
1211 &quot;A String&quot;,
1212 ],
1213 },
1214 ],
1215 },
1216 &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 Hub.
1217 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
1218 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
1219 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
1220 },
1221 },
1222 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was last updated.
1223 },
1224 ],
1225}</pre>
1226</div>
1227
1228<div class="method">
1229 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1230 <pre>Retrieves the next page of results.
1231
1232Args:
1233 previous_request: The request for the previous page. (required)
1234 previous_response: The response from the request for the previous page. (required)
1235
1236Returns:
1237 A request object that you can call &#x27;execute()&#x27; on to request the next
1238 page. Returns None if there are no more items in the collection.
1239 </pre>
1240</div>
1241
1242<div class="method">
1243 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
1244 <pre>Updates an existing Feature.
1245
1246Args:
1247 name: string, The Feature resource name in the format `projects/*/locations/*/features/*`. (required)
1248 body: object, The request body.
1249 The object takes the form of:
1250
1251{ # Feature represents the settings and status of any Hub Feature.
1252 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was created.
1253 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was deleted.
1254 &quot;labels&quot;: { # GCP labels for this Feature.
1255 &quot;a_key&quot;: &quot;A String&quot;,
1256 },
yoshi-code-bot07708072021-07-20 00:20:24 -07001257 &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.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001258 &quot;a_key&quot;: { # MembershipFeatureSpec contains configuration information for a single Membership.
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001259 &quot;configmanagement&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Config Management-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001260 &quot;binauthz&quot;: { # Configuration for Binauthz # Binauthz conifguration for the cluster.
1261 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
1262 },
1263 &quot;configSync&quot;: { # Configuration for Config Sync # Config Sync configuration for the cluster.
1264 &quot;git&quot;: { # Git repo configuration for a single cluster. # Git repo configuration for the cluster.
1265 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
1266 &quot;httpsProxy&quot;: &quot;A String&quot;, # URL for the HTTPS proxy to be used when communicating with the Git repo.
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001267 &quot;noSslVerify&quot;: True or False, # Enable or disable the SSL certificate verification Default: false.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001268 &quot;policyDir&quot;: &quot;A String&quot;, # The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
1269 &quot;secretType&quot;: &quot;A String&quot;, # Type of secret configured for access to the Git repo.
1270 &quot;syncBranch&quot;: &quot;A String&quot;, # The branch of the repository to sync from. Default: master.
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001271 &quot;syncDepth&quot;: &quot;A String&quot;, # The depth of git commits synced by the git-sync container.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001272 &quot;syncRepo&quot;: &quot;A String&quot;, # The URL of the Git repository to use as the source of truth.
1273 &quot;syncRev&quot;: &quot;A String&quot;, # Git revision (tag or hash) to check out. Default HEAD.
1274 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Period in seconds between consecutive syncs. Default: 15.
1275 },
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001276 &quot;resourceRequirements&quot;: { # Specifies CPU and memory limits for containers, keyed by container name
1277 &quot;a_key&quot;: { # ResourceRequirements allows to override the CPU and memory resource requirements of a container.
1278 &quot;containerName&quot;: &quot;A String&quot;, # Name of the container
1279 &quot;cpuLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the CPU limit of a container
1280 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
1281 },
1282 &quot;memoryLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the memory limit of a container
1283 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
1284 },
1285 },
1286 },
yoshi-code-bot44a67192021-05-02 03:48:02 -07001287 &quot;sourceFormat&quot;: &quot;A String&quot;, # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
1288 },
1289 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Hierarchy Controller configuration for the cluster.
1290 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
1291 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
1292 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
1293 },
1294 &quot;policyController&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
1295 &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.
1296 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
1297 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
1298 &quot;A String&quot;,
1299 ],
1300 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
yoshi-code-bot38664e82021-05-29 00:50:02 -07001301 &quot;mutationEnabled&quot;: True or False, # Enable users to try out mutation for PolicyController.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001302 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
1303 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
1304 },
1305 &quot;version&quot;: &quot;A String&quot;, # Version of ACM installed.
1306 },
yoshi-code-bot96afc042021-08-24 00:22:31 -07001307 &quot;identityservice&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Identity Service-specific spec.
1308 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
1309 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
1310 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
1311 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
1312 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
1313 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
1314 &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.
1315 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
1316 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
1317 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
1318 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
1319 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
1320 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
1321 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
1322 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
1323 },
1324 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
1325 },
1326 ],
1327 },
yoshi-code-bot44a67192021-05-02 03:48:02 -07001328 },
1329 },
yoshi-code-bot07708072021-07-20 00:20:24 -07001330 &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.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001331 &quot;a_key&quot;: { # MembershipFeatureState contains Feature status information for a single Membership.
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001332 &quot;configmanagement&quot;: { # **Anthos Config Management**: State for a single cluster. # Config Management-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001333 &quot;binauthzState&quot;: { # State for Binauthz # Binauthz status
1334 &quot;version&quot;: { # The version of binauthz. # The version of binauthz that is installed.
1335 &quot;webhookVersion&quot;: &quot;A String&quot;, # The version of the binauthz webhook.
1336 },
1337 &quot;webhook&quot;: &quot;A String&quot;, # The state of the binauthz webhook.
1338 },
1339 &quot;clusterName&quot;: &quot;A String&quot;, # The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership&#x27;s membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation.
1340 &quot;configSyncState&quot;: { # State information for ConfigSync # Current sync status
1341 &quot;deploymentState&quot;: { # The state of ConfigSync&#x27;s deployment on a cluster # Information about the deployment of ConfigSync, including the version of the various Pods deployed
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001342 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Deployment state of admission-webhook
yoshi-code-bot44a67192021-05-02 03:48:02 -07001343 &quot;gitSync&quot;: &quot;A String&quot;, # Deployment state of the git-sync pod
1344 &quot;importer&quot;: &quot;A String&quot;, # Deployment state of the importer pod
1345 &quot;monitor&quot;: &quot;A String&quot;, # Deployment state of the monitor pod
1346 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Deployment state of reconciler-manager pod
1347 &quot;rootReconciler&quot;: &quot;A String&quot;, # Deployment state of root-reconciler
1348 &quot;syncer&quot;: &quot;A String&quot;, # Deployment state of the syncer pod
1349 },
1350 &quot;syncState&quot;: { # State indicating an ACM&#x27;s progress syncing configurations to a cluster # The state of ConfigSync&#x27;s process to sync configs to a cluster
1351 &quot;code&quot;: &quot;A String&quot;, # Sync status code
1352 &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.
1353 { # An ACM created error representing a problem syncing configurations
1354 &quot;code&quot;: &quot;A String&quot;, # An ACM defined error code
1355 &quot;errorMessage&quot;: &quot;A String&quot;, # A description of the error
1356 &quot;errorResources&quot;: [ # A list of config(s) associated with the error, if any
1357 { # Model for a config file in the git repo with an associated Sync error
1358 &quot;resourceGvk&quot;: { # A Kubernetes object&#x27;s GVK # Group/version/kind of the resource that is causing an error
1359 &quot;group&quot;: &quot;A String&quot;, # Kubernetes Group
1360 &quot;kind&quot;: &quot;A String&quot;, # Kubernetes Kind
1361 &quot;version&quot;: &quot;A String&quot;, # Kubernetes Version
1362 },
1363 &quot;resourceName&quot;: &quot;A String&quot;, # Metadata name of the resource that is causing an error
1364 &quot;resourceNamespace&quot;: &quot;A String&quot;, # Namespace of the resource that is causing an error
1365 &quot;sourcePath&quot;: &quot;A String&quot;, # Path in the git repo of the erroneous config
1366 },
1367 ],
1368 },
1369 ],
1370 &quot;importToken&quot;: &quot;A String&quot;, # Token indicating the state of the importer.
yoshi-code-bot04bafe12021-06-29 00:20:25 -07001371 &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
yoshi-code-bot44a67192021-05-02 03:48:02 -07001372 &quot;lastSyncTime&quot;: &quot;A String&quot;, # Timestamp type of when ACM last successfully synced the repo
1373 &quot;sourceToken&quot;: &quot;A String&quot;, # Token indicating the state of the repo.
1374 &quot;syncToken&quot;: &quot;A String&quot;, # Token indicating the state of the syncer.
1375 },
1376 &quot;version&quot;: { # Specific versioning information pertaining to ConfigSync&#x27;s Pods # The version of ConfigSync deployed
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001377 &quot;admissionWebhook&quot;: &quot;A String&quot;, # Version of the deployed admission_webhook pod
yoshi-code-bot44a67192021-05-02 03:48:02 -07001378 &quot;gitSync&quot;: &quot;A String&quot;, # Version of the deployed git-sync pod
1379 &quot;importer&quot;: &quot;A String&quot;, # Version of the deployed importer pod
1380 &quot;monitor&quot;: &quot;A String&quot;, # Version of the deployed monitor pod
1381 &quot;reconcilerManager&quot;: &quot;A String&quot;, # Version of the deployed reconciler-manager pod
1382 &quot;rootReconciler&quot;: &quot;A String&quot;, # Version of the deployed reconciler container in root-reconciler pod
1383 &quot;syncer&quot;: &quot;A String&quot;, # Version of the deployed syncer pod
1384 },
1385 },
1386 &quot;hierarchyControllerState&quot;: { # State for Hierarchy Controller # Hierarchy Controller status
1387 &quot;state&quot;: { # Deployment state for Hierarchy Controller # The deployment state for Hierarchy Controller
1388 &quot;extension&quot;: &quot;A String&quot;, # The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
1389 &quot;hnc&quot;: &quot;A String&quot;, # The deployment state for open source HNC (e.g. v0.7.0-hc.0)
1390 },
1391 &quot;version&quot;: { # Version for Hierarchy Controller # The version for Hierarchy Controller
1392 &quot;extension&quot;: &quot;A String&quot;, # Version for Hierarchy Controller extension
1393 &quot;hnc&quot;: &quot;A String&quot;, # Version for open source HNC
1394 },
1395 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001396 &quot;membershipSpec&quot;: { # **Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. # Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
yoshi-code-bot44a67192021-05-02 03:48:02 -07001397 &quot;binauthz&quot;: { # Configuration for Binauthz # Binauthz conifguration for the cluster.
1398 &quot;enabled&quot;: True or False, # Whether binauthz is enabled in this cluster.
1399 },
1400 &quot;configSync&quot;: { # Configuration for Config Sync # Config Sync configuration for the cluster.
1401 &quot;git&quot;: { # Git repo configuration for a single cluster. # Git repo configuration for the cluster.
1402 &quot;gcpServiceAccountEmail&quot;: &quot;A String&quot;, # The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
1403 &quot;httpsProxy&quot;: &quot;A String&quot;, # URL for the HTTPS proxy to be used when communicating with the Git repo.
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001404 &quot;noSslVerify&quot;: True or False, # Enable or disable the SSL certificate verification Default: false.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001405 &quot;policyDir&quot;: &quot;A String&quot;, # The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
1406 &quot;secretType&quot;: &quot;A String&quot;, # Type of secret configured for access to the Git repo.
1407 &quot;syncBranch&quot;: &quot;A String&quot;, # The branch of the repository to sync from. Default: master.
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001408 &quot;syncDepth&quot;: &quot;A String&quot;, # The depth of git commits synced by the git-sync container.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001409 &quot;syncRepo&quot;: &quot;A String&quot;, # The URL of the Git repository to use as the source of truth.
1410 &quot;syncRev&quot;: &quot;A String&quot;, # Git revision (tag or hash) to check out. Default HEAD.
1411 &quot;syncWaitSecs&quot;: &quot;A String&quot;, # Period in seconds between consecutive syncs. Default: 15.
1412 },
yoshi-code-botad81f3d2021-09-28 00:22:30 -07001413 &quot;resourceRequirements&quot;: { # Specifies CPU and memory limits for containers, keyed by container name
1414 &quot;a_key&quot;: { # ResourceRequirements allows to override the CPU and memory resource requirements of a container.
1415 &quot;containerName&quot;: &quot;A String&quot;, # Name of the container
1416 &quot;cpuLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the CPU limit of a container
1417 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
1418 },
1419 &quot;memoryLimit&quot;: { # The view model of a single quantity, e.g. &quot;800 MiB&quot;. Corresponds to https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto # Allows to override the memory limit of a container
1420 &quot;string&quot;: &quot;A String&quot;, # Stringified version of the quantity, e.g., &quot;800 MiB&quot;.
1421 },
1422 },
1423 },
yoshi-code-bot44a67192021-05-02 03:48:02 -07001424 &quot;sourceFormat&quot;: &quot;A String&quot;, # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
1425 },
1426 &quot;hierarchyController&quot;: { # Configuration for Hierarchy Controller # Hierarchy Controller configuration for the cluster.
1427 &quot;enableHierarchicalResourceQuota&quot;: True or False, # Whether hierarchical resource quota is enabled in this cluster.
1428 &quot;enablePodTreeLabels&quot;: True or False, # Whether pod tree labels are enabled in this cluster.
1429 &quot;enabled&quot;: True or False, # Whether Hierarchy Controller is enabled in this cluster.
1430 },
1431 &quot;policyController&quot;: { # Configuration for Policy Controller # Policy Controller configuration for the cluster.
1432 &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.
1433 &quot;enabled&quot;: True or False, # Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
1434 &quot;exemptableNamespaces&quot;: [ # The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
1435 &quot;A String&quot;,
1436 ],
1437 &quot;logDeniesEnabled&quot;: True or False, # Logs all denies and dry run failures.
yoshi-code-bot38664e82021-05-29 00:50:02 -07001438 &quot;mutationEnabled&quot;: True or False, # Enable users to try out mutation for PolicyController.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001439 &quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
1440 &quot;templateLibraryInstalled&quot;: True or False, # Installs the default template library along with Policy Controller.
1441 },
1442 &quot;version&quot;: &quot;A String&quot;, # Version of ACM installed.
1443 },
1444 &quot;operatorState&quot;: { # State information for an ACM&#x27;s Operator # Current install status of ACM&#x27;s Operator
1445 &quot;deploymentState&quot;: &quot;A String&quot;, # The state of the Operator&#x27;s deployment
1446 &quot;errors&quot;: [ # Install errors.
1447 { # Errors pertaining to the installation of ACM
1448 &quot;errorMessage&quot;: &quot;A String&quot;, # A string representing the user facing error message
1449 },
1450 ],
1451 &quot;version&quot;: &quot;A String&quot;, # The semenatic version number of the operator
1452 },
1453 &quot;policyControllerState&quot;: { # State for PolicyControllerState. # PolicyController status
1454 &quot;deploymentState&quot;: { # State of Policy Controller installation. # The state about the policy controller installation.
1455 &quot;gatekeeperAudit&quot;: &quot;A String&quot;, # Status of gatekeeper-audit deployment.
1456 &quot;gatekeeperControllerManagerState&quot;: &quot;A String&quot;, # Status of gatekeeper-controller-manager pod.
yoshi-code-bot38664e82021-05-29 00:50:02 -07001457 &quot;gatekeeperMutation&quot;: &quot;A String&quot;, # Status of the pod serving the mutation webhook.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001458 },
1459 &quot;version&quot;: { # The build version of Gatekeeper Policy Controller is using. # The version of Gatekeeper Policy Controller deployed.
1460 &quot;version&quot;: &quot;A String&quot;, # The gatekeeper image tag that is composed of ACM version, git tag, build number.
1461 },
1462 },
1463 },
yoshi-code-bot96afc042021-08-24 00:22:31 -07001464 &quot;identityservice&quot;: { # **Anthos Identity Service**: State for a single Membership. # Identity Service-specific state.
1465 &quot;failureReason&quot;: &quot;A String&quot;, # The reason of the failure.
1466 &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.
1467 &quot;memberConfig&quot;: { # **Anthos Identity Service**: Configuration for a single Membership. # Last reconciled membership configuration
1468 &quot;authMethods&quot;: [ # A member may support multiple auth methods.
1469 { # Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.
1470 &quot;name&quot;: &quot;A String&quot;, # Identifier for auth config.
1471 &quot;oidcConfig&quot;: { # Configuration for OIDC Auth flow. # OIDC specific configuration.
1472 &quot;certificateAuthorityData&quot;: &quot;A String&quot;, # PEM-encoded CA for OIDC provider.
1473 &quot;clientId&quot;: &quot;A String&quot;, # ID for OIDC client application.
1474 &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.
1475 &quot;extraParams&quot;: &quot;A String&quot;, # Comma-separated list of key-value pairs.
1476 &quot;groupPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to group name.
1477 &quot;groupsClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds group information.
1478 &quot;issuerUri&quot;: &quot;A String&quot;, # URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.
1479 &quot;kubectlRedirectUri&quot;: &quot;A String&quot;, # Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.
1480 &quot;scopes&quot;: &quot;A String&quot;, # Comma-separated list of identifiers.
1481 &quot;userClaim&quot;: &quot;A String&quot;, # Claim in OIDC ID token that holds username.
1482 &quot;userPrefix&quot;: &quot;A String&quot;, # Prefix to prepend to user name.
1483 },
1484 &quot;proxy&quot;: &quot;A String&quot;, # Proxy server address to use for auth method.
1485 },
1486 ],
1487 },
1488 &quot;state&quot;: &quot;A String&quot;, # Deployment state on this member
1489 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001490 &quot;metering&quot;: { # **Metering**: Per-Membership Feature State. # Metering-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001491 &quot;lastMeasurementTime&quot;: &quot;A String&quot;, # The time stamp of the most recent measurement of the number of vCPUs in the cluster.
1492 &quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
1493 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001494 &quot;servicemesh&quot;: { # **Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001495 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
1496 { # 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.
1497 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
1498 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1499 },
1500 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
1501 &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.
1502 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
1503 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
1504 &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.
1505 &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.)
1506 &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.)
1507 },
1508 },
1509 &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
1510 &quot;A String&quot;,
1511 ],
1512 },
1513 ],
1514 },
1515 &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.
1516 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
1517 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
1518 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
1519 },
1520 },
1521 },
1522 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
1523 &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 Hub and across Memberships. # Output only. State of the Feature resource itself.
1524 &quot;state&quot;: &quot;A String&quot;, # The current state of the Feature resource in the Hub API.
1525 },
1526 &quot;spec&quot;: { # CommonFeatureSpec contains Hub-wide configuration information # Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001527 &quot;cloudauditlogging&quot;: { # **Cloud Audit Logging**: Spec for Audit Logging Allowlisting. # Cloud Audit Logging-specific spec.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001528 &quot;allowlistedServiceAccounts&quot;: [ # Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. 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.)
1529 &quot;A String&quot;,
1530 ],
1531 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001532 &quot;multiclusteringress&quot;: { # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. # Multicluster Ingress-specific spec.
yoshi-code-bot07708072021-07-20 00:20:24 -07001533 &quot;billing&quot;: &quot;A String&quot;, # Deprecated: This field will be ignored and should not be set. Customer&#x27;s billing structure.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001534 &quot;configMembership&quot;: &quot;A String&quot;, # Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
1535 },
1536 },
1537 &quot;state&quot;: { # CommonFeatureState contains Hub-wide Feature status information. # Output only. The Hub-wide Feature state.
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001538 &quot;servicemesh&quot;: { # **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub Controller. # Service Mesh-specific state.
yoshi-code-bot44a67192021-05-02 03:48:02 -07001539 &quot;analysisMessages&quot;: [ # Output only. Results of running Service Mesh analyzers.
1540 { # 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.
1541 &quot;args&quot;: { # A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.
1542 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1543 },
1544 &quot;description&quot;: &quot;A String&quot;, # A human readable description of what the error means. It is suitable for non-internationalize display purposes.
1545 &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.
1546 &quot;documentationUrl&quot;: &quot;A String&quot;, # A url pointing to the Service Mesh or Istio documentation for this specific error type.
1547 &quot;level&quot;: &quot;A String&quot;, # Represents how severe a message is.
1548 &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.
1549 &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.)
1550 &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.)
1551 },
1552 },
1553 &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
1554 &quot;A String&quot;,
1555 ],
1556 },
1557 ],
1558 },
1559 &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 Hub.
1560 &quot;code&quot;: &quot;A String&quot;, # The high-level, machine-readable status of this Feature.
1561 &quot;description&quot;: &quot;A String&quot;, # A human-readable description of the current status.
1562 &quot;updateTime&quot;: &quot;A String&quot;, # The time this status and any related Feature-specific details were updated.
1563 },
1564 },
1565 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Feature resource was last updated.
1566}
1567
1568 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).
1569 updateMask: string, Mask of fields to update.
1570 x__xgafv: string, V1 error format.
1571 Allowed values
1572 1 - v1 error format
1573 2 - v2 error format
1574
1575Returns:
1576 An object of the form:
1577
1578 { # This resource represents a long-running operation that is the result of a network API call.
1579 &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.
1580 &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.
1581 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1582 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1583 {
1584 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1585 },
1586 ],
1587 &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.
1588 },
1589 &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.
1590 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1591 },
1592 &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}`.
1593 &quot;response&quot;: { # The normal response of the operation in case of success. 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`.
1594 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1595 },
1596}</pre>
1597</div>
1598
1599<div class="method">
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001600 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
1601 <pre>Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
1602
1603Args:
1604 resource: string, REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. (required)
1605 body: object, The request body.
1606 The object takes the form of:
1607
1608{ # Request message for `SetIamPolicy` method.
yoshi-code-bot96afc042021-08-24 00:22:31 -07001609 &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` to a single `role`. Members 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:mike@example.com&quot;, &quot;group:admins@example.com&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:eve@example.com&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:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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 Cloud Platform services (such as Projects) might reject them.
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001610 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
1611 { # 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:jose@example.com&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:aliya@example.com&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
1612 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
1613 { # 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:jose@example.com&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting jose@example.com from DATA_READ logging.
1614 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
1615 &quot;A String&quot;,
1616 ],
1617 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
1618 },
1619 ],
1620 &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.
1621 },
1622 ],
1623 &quot;bindings&quot;: [ # Associates a list of `members` to 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 member.
1624 { # Associates `members` with a `role`.
1625 &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 members 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).
1626 &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.
1627 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
1628 &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.
1629 &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.
1630 },
1631 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform 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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?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, `my-other-app@appspot.gserviceaccount.com?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, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
1632 &quot;A String&quot;,
1633 ],
1634 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
1635 },
1636 ],
1637 &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.
1638 &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).
1639 },
1640 &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;`
1641}
1642
1643 x__xgafv: string, V1 error format.
1644 Allowed values
1645 1 - v1 error format
1646 2 - v2 error format
1647
1648Returns:
1649 An object of the form:
1650
yoshi-code-bot96afc042021-08-24 00:22:31 -07001651 { # 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` to a single `role`. Members 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:mike@example.com&quot;, &quot;group:admins@example.com&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:eve@example.com&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:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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/).
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001652 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
1653 { # 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:jose@example.com&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:aliya@example.com&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
1654 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
1655 { # 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:jose@example.com&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting jose@example.com from DATA_READ logging.
1656 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
1657 &quot;A String&quot;,
1658 ],
1659 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
1660 },
1661 ],
1662 &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.
1663 },
1664 ],
1665 &quot;bindings&quot;: [ # Associates a list of `members` to 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 member.
1666 { # Associates `members` with a `role`.
1667 &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 members 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).
1668 &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.
1669 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
1670 &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.
1671 &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.
1672 },
1673 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform 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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?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, `my-other-app@appspot.gserviceaccount.com?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, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
1674 &quot;A String&quot;,
1675 ],
1676 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
1677 },
1678 ],
1679 &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.
1680 &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).
1681}</pre>
1682</div>
1683
1684<div class="method">
1685 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
1686 <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.
1687
1688Args:
1689 resource: string, REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. (required)
1690 body: object, The request body.
1691 The object takes the form of:
1692
1693{ # Request message for `TestIamPermissions` method.
1694 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
1695 &quot;A String&quot;,
1696 ],
1697}
1698
1699 x__xgafv: string, V1 error format.
1700 Allowed values
1701 1 - v1 error format
1702 2 - v2 error format
1703
1704Returns:
1705 An object of the form:
1706
1707 { # Response message for `TestIamPermissions` method.
1708 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1709 &quot;A String&quot;,
1710 ],
1711}</pre>
1712</div>
1713
1714</body></html>