blob: 077ef392da389b1fe8a0ecbaf225e609631cf08a [file] [log] [blame]
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -07001<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
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070075<h1><a href="runtimeconfig_v1beta1.html">Cloud Runtime Configuration API</a> . <a href="runtimeconfig_v1beta1.projects.html">projects</a> . <a href="runtimeconfig_v1beta1.projects.configs.html">configs</a></h1>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="runtimeconfig_v1beta1.projects.configs.operations.html">operations()</a></code>
79</p>
80<p class="firstline">Returns the operations Resource.</p>
81
82<p class="toc_element">
83 <code><a href="runtimeconfig_v1beta1.projects.configs.variables.html">variables()</a></code>
84</p>
85<p class="firstline">Returns the variables Resource.</p>
86
87<p class="toc_element">
88 <code><a href="runtimeconfig_v1beta1.projects.configs.waiters.html">waiters()</a></code>
89</p>
90<p class="firstline">Returns the waiters Resource.</p>
91
92<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#create">create(parent, body=None, requestId=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070094<p class="firstline">Creates a new RuntimeConfig resource. The configuration name must be</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070095<p class="toc_element">
Thomas Coffee2f245372017-03-27 10:39:26 -070096 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070097<p class="firstline">Deletes a RuntimeConfig resource.</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070098<p class="toc_element">
Thomas Coffee2f245372017-03-27 10:39:26 -070099 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700100<p class="firstline">Gets information about a RuntimeConfig resource.</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700101<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800103<p class="firstline">Gets the access control policy for a resource.</p>
104<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700105 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700106<p class="firstline">Lists all the RuntimeConfig resources within project.</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700107<p class="toc_element">
108 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
109<p class="firstline">Retrieves the next page of results.</p>
110<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700111 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800112<p class="firstline">Sets the access control policy on the specified resource. Replaces any</p>
113<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700114 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800115<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
116<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700117 <code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700118<p class="firstline">Updates a RuntimeConfig resource. The configuration must exist beforehand.</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700119<h3>Method Details</h3>
120<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700121 <code class="details" id="create">create(parent, body=None, requestId=None, x__xgafv=None)</code>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700122 <pre>Creates a new RuntimeConfig resource. The configuration name must be
123unique within project.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700124
125Args:
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700126 parent: string, The [project
Dan O'Mearadd494642020-05-01 07:42:23 -0700127ID](https://support.google.com/cloud/answer/6158840?hl=en&amp;ref_topic=6158848)
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700128for this request, in the format `projects/[PROJECT_ID]`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700129 body: object, The request body.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700130 The object takes the form of:
131
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700132{ # A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700133 # service. A RuntimeConfig resource consists of metadata and a hierarchy of
134 # variables.
135 &quot;name&quot;: &quot;A String&quot;, # The resource name of a runtime config. The name must have the format:
136 #
137 # projects/[PROJECT_ID]/configs/[CONFIG_NAME]
138 #
139 # The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
140 # arbitrary name that matches the
141 # `[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?` regular expression.
142 # The length of `[CONFIG_NAME]` must be less than 64 characters.
143 #
144 # You pick the RuntimeConfig resource name, but the server will validate that
145 # the name adheres to this format. After you create the resource, you cannot
146 # change the resource&#x27;s name.
147 &quot;description&quot;: &quot;A String&quot;, # An optional description of the RuntimeConfig object.
148 }
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700149
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400150 requestId: string, An optional but recommended unique `request_id`. If the server
151receives two `create()` requests with the same
152`request_id`, then the second request will be ignored and the
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800153first resource created and stored in the backend is returned.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400154Empty `request_id` fields are ignored.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800155
156It is responsibility of the client to ensure uniqueness of the
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400157`request_id` strings.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800158
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400159`request_id` strings are limited to 64 characters.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700160 x__xgafv: string, V1 error format.
161 Allowed values
162 1 - v1 error format
163 2 - v2 error format
164
165Returns:
166 An object of the form:
167
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700168 { # A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700169 # service. A RuntimeConfig resource consists of metadata and a hierarchy of
170 # variables.
171 &quot;name&quot;: &quot;A String&quot;, # The resource name of a runtime config. The name must have the format:
172 #
173 # projects/[PROJECT_ID]/configs/[CONFIG_NAME]
174 #
175 # The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
176 # arbitrary name that matches the
177 # `[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?` regular expression.
178 # The length of `[CONFIG_NAME]` must be less than 64 characters.
179 #
180 # You pick the RuntimeConfig resource name, but the server will validate that
181 # the name adheres to this format. After you create the resource, you cannot
182 # change the resource&#x27;s name.
183 &quot;description&quot;: &quot;A String&quot;, # An optional description of the RuntimeConfig object.
184 }</pre>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700185</div>
186
187<div class="method">
Thomas Coffee2f245372017-03-27 10:39:26 -0700188 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700189 <pre>Deletes a RuntimeConfig resource.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700190
191Args:
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700192 name: string, The RuntimeConfig resource to delete, in the format:
193
194`projects/[PROJECT_ID]/configs/[CONFIG_NAME]` (required)
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700195 x__xgafv: string, V1 error format.
196 Allowed values
197 1 - v1 error format
198 2 - v2 error format
199
200Returns:
201 An object of the form:
202
203 { # A generic empty message that you can re-use to avoid defining duplicated
204 # empty messages in your APIs. A typical example is to use it as the request
205 # or the response type of an API method. For instance:
206 #
207 # service Foo {
208 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
209 # }
210 #
211 # The JSON representation for `Empty` is empty JSON object `{}`.
212 }</pre>
213</div>
214
215<div class="method">
Thomas Coffee2f245372017-03-27 10:39:26 -0700216 <code class="details" id="get">get(name, x__xgafv=None)</code>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700217 <pre>Gets information about a RuntimeConfig resource.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700218
219Args:
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700220 name: string, The name of the RuntimeConfig resource to retrieve, in the format:
221
222`projects/[PROJECT_ID]/configs/[CONFIG_NAME]` (required)
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700223 x__xgafv: string, V1 error format.
224 Allowed values
225 1 - v1 error format
226 2 - v2 error format
227
228Returns:
229 An object of the form:
230
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700231 { # A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700232 # service. A RuntimeConfig resource consists of metadata and a hierarchy of
233 # variables.
234 &quot;name&quot;: &quot;A String&quot;, # The resource name of a runtime config. The name must have the format:
235 #
236 # projects/[PROJECT_ID]/configs/[CONFIG_NAME]
237 #
238 # The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
239 # arbitrary name that matches the
240 # `[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?` regular expression.
241 # The length of `[CONFIG_NAME]` must be less than 64 characters.
242 #
243 # You pick the RuntimeConfig resource name, but the server will validate that
244 # the name adheres to this format. After you create the resource, you cannot
245 # change the resource&#x27;s name.
246 &quot;description&quot;: &quot;A String&quot;, # An optional description of the RuntimeConfig object.
247 }</pre>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800248</div>
249
250<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700251 <code class="details" id="getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</code>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800252 <pre>Gets the access control policy for a resource.
253Returns an empty policy if the resource exists and does not have a policy
254set.
255
256Args:
257 resource: string, REQUIRED: The resource for which the policy is being requested.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400258See the operation documentation for the appropriate value for this field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700259 options_requestedPolicyVersion: integer, Optional. The policy format version to be returned.
260
261Valid values are 0, 1, and 3. Requests specifying an invalid value will be
262rejected.
263
264Requests for policies with any conditional bindings must specify version 3.
265Policies without any conditional bindings may specify any valid value or
266leave the field unset.
Bu Sun Kim65020912020-05-20 12:08:20 -0700267
268To learn which resources support conditions in their IAM policies, see the
269[IAM
270documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800271 x__xgafv: string, V1 error format.
272 Allowed values
273 1 - v1 error format
274 2 - v2 error format
275
276Returns:
277 An object of the form:
278
Dan O'Mearadd494642020-05-01 07:42:23 -0700279 { # An Identity and Access Management (IAM) policy, which specifies access
280 # controls for Google Cloud resources.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800281 #
282 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700283 # A `Policy` is a collection of `bindings`. A `binding` binds one or more
284 # `members` to a single `role`. Members can be user accounts, service accounts,
285 # Google groups, and domains (such as G Suite). A `role` is a named list of
286 # permissions; each `role` can be an IAM predefined role or a user-created
287 # custom role.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800288 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700289 # For some types of Google Cloud resources, a `binding` can also specify a
290 # `condition`, which is a logical expression that allows access to a resource
291 # only if the expression evaluates to `true`. A condition can add constraints
292 # based on attributes of the request, the resource, or both. To learn which
293 # resources support conditions in their IAM policies, see the
294 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Dan O'Mearadd494642020-05-01 07:42:23 -0700295 #
296 # **JSON example:**
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800297 #
298 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700299 # &quot;bindings&quot;: [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800300 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700301 # &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;,
302 # &quot;members&quot;: [
303 # &quot;user:mike@example.com&quot;,
304 # &quot;group:admins@example.com&quot;,
305 # &quot;domain:google.com&quot;,
306 # &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot;
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800307 # ]
308 # },
309 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700310 # &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;,
311 # &quot;members&quot;: [
312 # &quot;user:eve@example.com&quot;
313 # ],
314 # &quot;condition&quot;: {
315 # &quot;title&quot;: &quot;expirable access&quot;,
316 # &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;,
317 # &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700318 # }
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800319 # }
Dan O'Mearadd494642020-05-01 07:42:23 -0700320 # ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700321 # &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;,
322 # &quot;version&quot;: 3
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800323 # }
324 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700325 # **YAML example:**
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700326 #
327 # bindings:
328 # - members:
329 # - user:mike@example.com
330 # - group:admins@example.com
331 # - domain:google.com
Dan O'Mearadd494642020-05-01 07:42:23 -0700332 # - serviceAccount:my-project-id@appspot.gserviceaccount.com
333 # role: roles/resourcemanager.organizationAdmin
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700334 # - members:
Dan O'Mearadd494642020-05-01 07:42:23 -0700335 # - user:eve@example.com
336 # role: roles/resourcemanager.organizationViewer
337 # condition:
338 # title: expirable access
339 # description: Does not grant access after Sep 2020
Bu Sun Kim65020912020-05-20 12:08:20 -0700340 # expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)
Dan O'Mearadd494642020-05-01 07:42:23 -0700341 # - etag: BwWWja0YfJA=
342 # - version: 3
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700343 #
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800344 # For a description of IAM and its features, see the
Dan O'Mearadd494642020-05-01 07:42:23 -0700345 # [IAM documentation](https://cloud.google.com/iam/docs/).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700346 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help
347 # prevent simultaneous updates of a policy from overwriting each other.
348 # It is strongly suggested that systems make use of the `etag` in the
349 # read-modify-write cycle to perform policy updates in order to avoid race
350 # conditions: An `etag` is returned in the response to `getIamPolicy`, and
351 # systems are expected to put that etag in the request to `setIamPolicy` to
352 # ensure that their change will be applied to the same version of the policy.
Bu Sun Kim65020912020-05-20 12:08:20 -0700353 #
354 # **Important:** If you use IAM Conditions, you must include the `etag` field
355 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
356 # you to overwrite a version `3` policy with a version `1` policy, and all of
357 # the conditions in the version `3` policy are lost.
Bu Sun Kim65020912020-05-20 12:08:20 -0700358 &quot;bindings&quot;: [ # Associates a list of `members` to a `role`. Optionally, may specify a
Dan O'Mearadd494642020-05-01 07:42:23 -0700359 # `condition` that determines how and when the `bindings` are applied. Each
360 # of the `bindings` must contain at least one member.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800361 { # Associates `members` with a `role`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700362 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform resource.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800363 # `members` can have the following values:
364 #
365 # * `allUsers`: A special identifier that represents anyone who is
366 # on the internet; with or without a Google account.
367 #
368 # * `allAuthenticatedUsers`: A special identifier that represents anyone
369 # who is authenticated with a Google account or a service account.
370 #
371 # * `user:{emailid}`: An email address that represents a specific Google
Dan O'Mearadd494642020-05-01 07:42:23 -0700372 # account. For example, `alice@example.com` .
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800373 #
374 #
375 # * `serviceAccount:{emailid}`: An email address that represents a service
376 # account. For example, `my-other-app@appspot.gserviceaccount.com`.
377 #
378 # * `group:{emailid}`: An email address that represents a Google group.
379 # For example, `admins@example.com`.
380 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700381 # * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
382 # identifier) representing a user that has been recently deleted. For
383 # example, `alice@example.com?uid=123456789012345678901`. If the user is
384 # recovered, this value reverts to `user:{emailid}` and the recovered user
385 # retains the role in the binding.
386 #
387 # * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
388 # unique identifier) representing a service account that has been recently
389 # deleted. For example,
390 # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
391 # If the service account is undeleted, this value reverts to
392 # `serviceAccount:{emailid}` and the undeleted service account retains the
393 # role in the binding.
394 #
395 # * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
396 # identifier) representing a Google group that has been recently
397 # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
398 # the group is recovered, this value reverts to `group:{emailid}` and the
399 # recovered group retains the role in the binding.
400 #
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400401 #
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700402 # * `domain:{domain}`: The G Suite domain (primary) that represents all the
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800403 # users of that domain. For example, `google.com` or `example.com`.
404 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700405 &quot;A String&quot;,
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800406 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700407 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`.
408 # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
409 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # The condition that is associated with this binding.
410 #
411 # If the condition evaluates to `true`, then this binding applies to the
412 # current request.
413 #
414 # If the condition evaluates to `false`, then this binding does not apply to
415 # the current request. However, a different role binding might grant the same
416 # role to one or more of the members in this binding.
417 #
418 # To learn which resources support conditions in their IAM policies, see the
419 # [IAM
420 # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
421 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
422 # are documented at https://github.com/google/cel-spec.
423 #
424 # Example (Comparison):
425 #
426 # title: &quot;Summary size limit&quot;
427 # description: &quot;Determines if a summary is less than 100 chars&quot;
428 # expression: &quot;document.summary.size() &lt; 100&quot;
429 #
430 # Example (Equality):
431 #
432 # title: &quot;Requestor is owner&quot;
433 # description: &quot;Determines if requestor is the document owner&quot;
434 # expression: &quot;document.owner == request.auth.claims.email&quot;
435 #
436 # Example (Logic):
437 #
438 # title: &quot;Public documents&quot;
439 # description: &quot;Determine whether the document should be publicly visible&quot;
440 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
441 #
442 # Example (Data Manipulation):
443 #
444 # title: &quot;Notification string&quot;
445 # description: &quot;Create a notification string with a timestamp.&quot;
446 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
447 #
448 # The exact variables and functions that may be referenced within an expression
449 # are determined by the service that evaluates it. See the service
450 # documentation for additional information.
451 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
452 # describes the expression, e.g. when hovered over it in a UI.
453 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
454 # syntax.
455 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
456 # its purpose. This can be used e.g. in UIs which allow to enter the
457 # expression.
458 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
459 # reporting, e.g. a file name and a position in the file.
460 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800461 },
462 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700463 &quot;version&quot;: 42, # Specifies the format of the policy.
464 #
465 # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
466 # are rejected.
467 #
468 # Any operation that affects conditional role bindings must specify version
469 # `3`. This requirement applies to the following operations:
470 #
471 # * Getting a policy that includes a conditional role binding
472 # * Adding a conditional role binding to a policy
473 # * Changing a conditional role binding in a policy
474 # * Removing any role binding, with or without a condition, from a policy
475 # that includes conditions
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700476 #
477 # **Important:** If you use IAM Conditions, you must include the `etag` field
478 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
479 # you to overwrite a version `3` policy with a version `1` policy, and all of
480 # the conditions in the version `3` policy are lost.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700481 #
482 # If a policy does not include any conditions, operations on that policy may
483 # specify any valid version or leave the field unset.
484 #
485 # To learn which resources support conditions in their IAM policies, see the
486 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800487 }</pre>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700488</div>
489
490<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700491 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700492 <pre>Lists all the RuntimeConfig resources within project.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700493
494Args:
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700495 parent: string, The [project
Dan O'Mearadd494642020-05-01 07:42:23 -0700496ID](https://support.google.com/cloud/answer/6158840?hl=en&amp;ref_topic=6158848)
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700497for this request, in the format `projects/[PROJECT_ID]`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 pageSize: integer, Specifies the number of results to return per page. If there are fewer
499elements than the specified number, returns all elements.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700500 pageToken: string, Specifies a page token to use. Set `pageToken` to a `nextPageToken`
501returned by a previous list request to get the next page of results.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700502 x__xgafv: string, V1 error format.
503 Allowed values
504 1 - v1 error format
505 2 - v2 error format
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700506
507Returns:
508 An object of the form:
509
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700510 { # `ListConfigs()` returns the following response. The order of returned
511 # objects is arbitrary; that is, it is not ordered in any particular way.
Bu Sun Kim65020912020-05-20 12:08:20 -0700512 &quot;configs&quot;: [ # A list of the configurations in the project. The order of returned
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700513 # objects is arbitrary; that is, it is not ordered in any particular way.
514 { # A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700515 # service. A RuntimeConfig resource consists of metadata and a hierarchy of
516 # variables.
517 &quot;name&quot;: &quot;A String&quot;, # The resource name of a runtime config. The name must have the format:
518 #
519 # projects/[PROJECT_ID]/configs/[CONFIG_NAME]
520 #
521 # The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
522 # arbitrary name that matches the
523 # `[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?` regular expression.
524 # The length of `[CONFIG_NAME]` must be less than 64 characters.
525 #
526 # You pick the RuntimeConfig resource name, but the server will validate that
527 # the name adheres to this format. After you create the resource, you cannot
528 # change the resource&#x27;s name.
529 &quot;description&quot;: &quot;A String&quot;, # An optional description of the RuntimeConfig object.
530 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700531 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700532 &quot;nextPageToken&quot;: &quot;A String&quot;, # This token allows you to get the next page of results for list requests.
533 # If the number of results is larger than `pageSize`, use the `nextPageToken`
534 # as a value for the query parameter `pageToken` in the next list request.
535 # Subsequent list requests will have their own `nextPageToken` to continue
536 # paging through the results
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700537 }</pre>
538</div>
539
540<div class="method">
541 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
542 <pre>Retrieves the next page of results.
543
544Args:
545 previous_request: The request for the previous page. (required)
546 previous_response: The response from the request for the previous page. (required)
547
548Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700549 A request object that you can call &#x27;execute()&#x27; on to request the next
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700550 page. Returns None if there are no more items in the collection.
551 </pre>
552</div>
553
554<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700555 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800556 <pre>Sets the access control policy on the specified resource. Replaces any
557existing policy.
558
Dan O'Mearadd494642020-05-01 07:42:23 -0700559Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
560
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800561Args:
562 resource: string, REQUIRED: The resource for which the policy is being specified.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400563See the operation documentation for the appropriate value for this field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700564 body: object, The request body.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800565 The object takes the form of:
566
567{ # Request message for `SetIamPolicy` method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700568 &quot;policy&quot;: { # An Identity and Access Management (IAM) policy, which specifies access # REQUIRED: The complete policy to be applied to the `resource`. The size of
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800569 # the policy is limited to a few 10s of KB. An empty policy is a
570 # valid policy but certain Cloud Platform services (such as Projects)
571 # might reject them.
Dan O'Mearadd494642020-05-01 07:42:23 -0700572 # controls for Google Cloud resources.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800573 #
574 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700575 # A `Policy` is a collection of `bindings`. A `binding` binds one or more
576 # `members` to a single `role`. Members can be user accounts, service accounts,
577 # Google groups, and domains (such as G Suite). A `role` is a named list of
578 # permissions; each `role` can be an IAM predefined role or a user-created
579 # custom role.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800580 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700581 # For some types of Google Cloud resources, a `binding` can also specify a
582 # `condition`, which is a logical expression that allows access to a resource
583 # only if the expression evaluates to `true`. A condition can add constraints
584 # based on attributes of the request, the resource, or both. To learn which
585 # resources support conditions in their IAM policies, see the
586 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Dan O'Mearadd494642020-05-01 07:42:23 -0700587 #
588 # **JSON example:**
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800589 #
590 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700591 # &quot;bindings&quot;: [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800592 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700593 # &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;,
594 # &quot;members&quot;: [
595 # &quot;user:mike@example.com&quot;,
596 # &quot;group:admins@example.com&quot;,
597 # &quot;domain:google.com&quot;,
598 # &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot;
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800599 # ]
600 # },
601 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700602 # &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;,
603 # &quot;members&quot;: [
604 # &quot;user:eve@example.com&quot;
605 # ],
606 # &quot;condition&quot;: {
607 # &quot;title&quot;: &quot;expirable access&quot;,
608 # &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;,
609 # &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700610 # }
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800611 # }
Dan O'Mearadd494642020-05-01 07:42:23 -0700612 # ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700613 # &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;,
614 # &quot;version&quot;: 3
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800615 # }
616 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700617 # **YAML example:**
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700618 #
619 # bindings:
620 # - members:
621 # - user:mike@example.com
622 # - group:admins@example.com
623 # - domain:google.com
Dan O'Mearadd494642020-05-01 07:42:23 -0700624 # - serviceAccount:my-project-id@appspot.gserviceaccount.com
625 # role: roles/resourcemanager.organizationAdmin
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700626 # - members:
Dan O'Mearadd494642020-05-01 07:42:23 -0700627 # - user:eve@example.com
628 # role: roles/resourcemanager.organizationViewer
629 # condition:
630 # title: expirable access
631 # description: Does not grant access after Sep 2020
Bu Sun Kim65020912020-05-20 12:08:20 -0700632 # expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)
Dan O'Mearadd494642020-05-01 07:42:23 -0700633 # - etag: BwWWja0YfJA=
634 # - version: 3
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700635 #
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800636 # For a description of IAM and its features, see the
Dan O'Mearadd494642020-05-01 07:42:23 -0700637 # [IAM documentation](https://cloud.google.com/iam/docs/).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700638 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help
639 # prevent simultaneous updates of a policy from overwriting each other.
640 # It is strongly suggested that systems make use of the `etag` in the
641 # read-modify-write cycle to perform policy updates in order to avoid race
642 # conditions: An `etag` is returned in the response to `getIamPolicy`, and
643 # systems are expected to put that etag in the request to `setIamPolicy` to
644 # ensure that their change will be applied to the same version of the policy.
Bu Sun Kim65020912020-05-20 12:08:20 -0700645 #
646 # **Important:** If you use IAM Conditions, you must include the `etag` field
647 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
648 # you to overwrite a version `3` policy with a version `1` policy, and all of
649 # the conditions in the version `3` policy are lost.
Bu Sun Kim65020912020-05-20 12:08:20 -0700650 &quot;bindings&quot;: [ # Associates a list of `members` to a `role`. Optionally, may specify a
Dan O'Mearadd494642020-05-01 07:42:23 -0700651 # `condition` that determines how and when the `bindings` are applied. Each
652 # of the `bindings` must contain at least one member.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800653 { # Associates `members` with a `role`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700654 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform resource.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800655 # `members` can have the following values:
656 #
657 # * `allUsers`: A special identifier that represents anyone who is
658 # on the internet; with or without a Google account.
659 #
660 # * `allAuthenticatedUsers`: A special identifier that represents anyone
661 # who is authenticated with a Google account or a service account.
662 #
663 # * `user:{emailid}`: An email address that represents a specific Google
Dan O'Mearadd494642020-05-01 07:42:23 -0700664 # account. For example, `alice@example.com` .
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800665 #
666 #
667 # * `serviceAccount:{emailid}`: An email address that represents a service
668 # account. For example, `my-other-app@appspot.gserviceaccount.com`.
669 #
670 # * `group:{emailid}`: An email address that represents a Google group.
671 # For example, `admins@example.com`.
672 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700673 # * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
674 # identifier) representing a user that has been recently deleted. For
675 # example, `alice@example.com?uid=123456789012345678901`. If the user is
676 # recovered, this value reverts to `user:{emailid}` and the recovered user
677 # retains the role in the binding.
678 #
679 # * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
680 # unique identifier) representing a service account that has been recently
681 # deleted. For example,
682 # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
683 # If the service account is undeleted, this value reverts to
684 # `serviceAccount:{emailid}` and the undeleted service account retains the
685 # role in the binding.
686 #
687 # * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
688 # identifier) representing a Google group that has been recently
689 # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
690 # the group is recovered, this value reverts to `group:{emailid}` and the
691 # recovered group retains the role in the binding.
692 #
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400693 #
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700694 # * `domain:{domain}`: The G Suite domain (primary) that represents all the
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800695 # users of that domain. For example, `google.com` or `example.com`.
696 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700697 &quot;A String&quot;,
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800698 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700699 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`.
700 # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
701 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # The condition that is associated with this binding.
702 #
703 # If the condition evaluates to `true`, then this binding applies to the
704 # current request.
705 #
706 # If the condition evaluates to `false`, then this binding does not apply to
707 # the current request. However, a different role binding might grant the same
708 # role to one or more of the members in this binding.
709 #
710 # To learn which resources support conditions in their IAM policies, see the
711 # [IAM
712 # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
713 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
714 # are documented at https://github.com/google/cel-spec.
715 #
716 # Example (Comparison):
717 #
718 # title: &quot;Summary size limit&quot;
719 # description: &quot;Determines if a summary is less than 100 chars&quot;
720 # expression: &quot;document.summary.size() &lt; 100&quot;
721 #
722 # Example (Equality):
723 #
724 # title: &quot;Requestor is owner&quot;
725 # description: &quot;Determines if requestor is the document owner&quot;
726 # expression: &quot;document.owner == request.auth.claims.email&quot;
727 #
728 # Example (Logic):
729 #
730 # title: &quot;Public documents&quot;
731 # description: &quot;Determine whether the document should be publicly visible&quot;
732 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
733 #
734 # Example (Data Manipulation):
735 #
736 # title: &quot;Notification string&quot;
737 # description: &quot;Create a notification string with a timestamp.&quot;
738 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
739 #
740 # The exact variables and functions that may be referenced within an expression
741 # are determined by the service that evaluates it. See the service
742 # documentation for additional information.
743 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
744 # describes the expression, e.g. when hovered over it in a UI.
745 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
746 # syntax.
747 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
748 # its purpose. This can be used e.g. in UIs which allow to enter the
749 # expression.
750 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
751 # reporting, e.g. a file name and a position in the file.
752 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800753 },
754 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700755 &quot;version&quot;: 42, # Specifies the format of the policy.
756 #
757 # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
758 # are rejected.
759 #
760 # Any operation that affects conditional role bindings must specify version
761 # `3`. This requirement applies to the following operations:
762 #
763 # * Getting a policy that includes a conditional role binding
764 # * Adding a conditional role binding to a policy
765 # * Changing a conditional role binding in a policy
766 # * Removing any role binding, with or without a condition, from a policy
767 # that includes conditions
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700768 #
769 # **Important:** If you use IAM Conditions, you must include the `etag` field
770 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
771 # you to overwrite a version `3` policy with a version `1` policy, and all of
772 # the conditions in the version `3` policy are lost.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700773 #
774 # If a policy does not include any conditions, operations on that policy may
775 # specify any valid version or leave the field unset.
776 #
777 # To learn which resources support conditions in their IAM policies, see the
778 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800779 },
780 }
781
782 x__xgafv: string, V1 error format.
783 Allowed values
784 1 - v1 error format
785 2 - v2 error format
786
787Returns:
788 An object of the form:
789
Dan O'Mearadd494642020-05-01 07:42:23 -0700790 { # An Identity and Access Management (IAM) policy, which specifies access
791 # controls for Google Cloud resources.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800792 #
793 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700794 # A `Policy` is a collection of `bindings`. A `binding` binds one or more
795 # `members` to a single `role`. Members can be user accounts, service accounts,
796 # Google groups, and domains (such as G Suite). A `role` is a named list of
797 # permissions; each `role` can be an IAM predefined role or a user-created
798 # custom role.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800799 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700800 # For some types of Google Cloud resources, a `binding` can also specify a
801 # `condition`, which is a logical expression that allows access to a resource
802 # only if the expression evaluates to `true`. A condition can add constraints
803 # based on attributes of the request, the resource, or both. To learn which
804 # resources support conditions in their IAM policies, see the
805 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Dan O'Mearadd494642020-05-01 07:42:23 -0700806 #
807 # **JSON example:**
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800808 #
809 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700810 # &quot;bindings&quot;: [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800811 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700812 # &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;,
813 # &quot;members&quot;: [
814 # &quot;user:mike@example.com&quot;,
815 # &quot;group:admins@example.com&quot;,
816 # &quot;domain:google.com&quot;,
817 # &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot;
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800818 # ]
819 # },
820 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700821 # &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;,
822 # &quot;members&quot;: [
823 # &quot;user:eve@example.com&quot;
824 # ],
825 # &quot;condition&quot;: {
826 # &quot;title&quot;: &quot;expirable access&quot;,
827 # &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;,
828 # &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700829 # }
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800830 # }
Dan O'Mearadd494642020-05-01 07:42:23 -0700831 # ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700832 # &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;,
833 # &quot;version&quot;: 3
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800834 # }
835 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700836 # **YAML example:**
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700837 #
838 # bindings:
839 # - members:
840 # - user:mike@example.com
841 # - group:admins@example.com
842 # - domain:google.com
Dan O'Mearadd494642020-05-01 07:42:23 -0700843 # - serviceAccount:my-project-id@appspot.gserviceaccount.com
844 # role: roles/resourcemanager.organizationAdmin
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700845 # - members:
Dan O'Mearadd494642020-05-01 07:42:23 -0700846 # - user:eve@example.com
847 # role: roles/resourcemanager.organizationViewer
848 # condition:
849 # title: expirable access
850 # description: Does not grant access after Sep 2020
Bu Sun Kim65020912020-05-20 12:08:20 -0700851 # expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)
Dan O'Mearadd494642020-05-01 07:42:23 -0700852 # - etag: BwWWja0YfJA=
853 # - version: 3
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700854 #
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800855 # For a description of IAM and its features, see the
Dan O'Mearadd494642020-05-01 07:42:23 -0700856 # [IAM documentation](https://cloud.google.com/iam/docs/).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700857 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help
858 # prevent simultaneous updates of a policy from overwriting each other.
859 # It is strongly suggested that systems make use of the `etag` in the
860 # read-modify-write cycle to perform policy updates in order to avoid race
861 # conditions: An `etag` is returned in the response to `getIamPolicy`, and
862 # systems are expected to put that etag in the request to `setIamPolicy` to
863 # ensure that their change will be applied to the same version of the policy.
Bu Sun Kim65020912020-05-20 12:08:20 -0700864 #
865 # **Important:** If you use IAM Conditions, you must include the `etag` field
866 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
867 # you to overwrite a version `3` policy with a version `1` policy, and all of
868 # the conditions in the version `3` policy are lost.
Bu Sun Kim65020912020-05-20 12:08:20 -0700869 &quot;bindings&quot;: [ # Associates a list of `members` to a `role`. Optionally, may specify a
Dan O'Mearadd494642020-05-01 07:42:23 -0700870 # `condition` that determines how and when the `bindings` are applied. Each
871 # of the `bindings` must contain at least one member.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800872 { # Associates `members` with a `role`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700873 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform resource.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800874 # `members` can have the following values:
875 #
876 # * `allUsers`: A special identifier that represents anyone who is
877 # on the internet; with or without a Google account.
878 #
879 # * `allAuthenticatedUsers`: A special identifier that represents anyone
880 # who is authenticated with a Google account or a service account.
881 #
882 # * `user:{emailid}`: An email address that represents a specific Google
Dan O'Mearadd494642020-05-01 07:42:23 -0700883 # account. For example, `alice@example.com` .
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800884 #
885 #
886 # * `serviceAccount:{emailid}`: An email address that represents a service
887 # account. For example, `my-other-app@appspot.gserviceaccount.com`.
888 #
889 # * `group:{emailid}`: An email address that represents a Google group.
890 # For example, `admins@example.com`.
891 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700892 # * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
893 # identifier) representing a user that has been recently deleted. For
894 # example, `alice@example.com?uid=123456789012345678901`. If the user is
895 # recovered, this value reverts to `user:{emailid}` and the recovered user
896 # retains the role in the binding.
897 #
898 # * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
899 # unique identifier) representing a service account that has been recently
900 # deleted. For example,
901 # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
902 # If the service account is undeleted, this value reverts to
903 # `serviceAccount:{emailid}` and the undeleted service account retains the
904 # role in the binding.
905 #
906 # * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
907 # identifier) representing a Google group that has been recently
908 # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
909 # the group is recovered, this value reverts to `group:{emailid}` and the
910 # recovered group retains the role in the binding.
911 #
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400912 #
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700913 # * `domain:{domain}`: The G Suite domain (primary) that represents all the
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800914 # users of that domain. For example, `google.com` or `example.com`.
915 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700916 &quot;A String&quot;,
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800917 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700918 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`.
919 # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
920 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # The condition that is associated with this binding.
921 #
922 # If the condition evaluates to `true`, then this binding applies to the
923 # current request.
924 #
925 # If the condition evaluates to `false`, then this binding does not apply to
926 # the current request. However, a different role binding might grant the same
927 # role to one or more of the members in this binding.
928 #
929 # To learn which resources support conditions in their IAM policies, see the
930 # [IAM
931 # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
932 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
933 # are documented at https://github.com/google/cel-spec.
934 #
935 # Example (Comparison):
936 #
937 # title: &quot;Summary size limit&quot;
938 # description: &quot;Determines if a summary is less than 100 chars&quot;
939 # expression: &quot;document.summary.size() &lt; 100&quot;
940 #
941 # Example (Equality):
942 #
943 # title: &quot;Requestor is owner&quot;
944 # description: &quot;Determines if requestor is the document owner&quot;
945 # expression: &quot;document.owner == request.auth.claims.email&quot;
946 #
947 # Example (Logic):
948 #
949 # title: &quot;Public documents&quot;
950 # description: &quot;Determine whether the document should be publicly visible&quot;
951 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
952 #
953 # Example (Data Manipulation):
954 #
955 # title: &quot;Notification string&quot;
956 # description: &quot;Create a notification string with a timestamp.&quot;
957 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
958 #
959 # The exact variables and functions that may be referenced within an expression
960 # are determined by the service that evaluates it. See the service
961 # documentation for additional information.
962 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
963 # describes the expression, e.g. when hovered over it in a UI.
964 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
965 # syntax.
966 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
967 # its purpose. This can be used e.g. in UIs which allow to enter the
968 # expression.
969 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
970 # reporting, e.g. a file name and a position in the file.
971 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800972 },
973 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700974 &quot;version&quot;: 42, # Specifies the format of the policy.
975 #
976 # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
977 # are rejected.
978 #
979 # Any operation that affects conditional role bindings must specify version
980 # `3`. This requirement applies to the following operations:
981 #
982 # * Getting a policy that includes a conditional role binding
983 # * Adding a conditional role binding to a policy
984 # * Changing a conditional role binding in a policy
985 # * Removing any role binding, with or without a condition, from a policy
986 # that includes conditions
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700987 #
988 # **Important:** If you use IAM Conditions, you must include the `etag` field
989 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
990 # you to overwrite a version `3` policy with a version `1` policy, and all of
991 # the conditions in the version `3` policy are lost.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700992 #
993 # If a policy does not include any conditions, operations on that policy may
994 # specify any valid version or leave the field unset.
995 #
996 # To learn which resources support conditions in their IAM policies, see the
997 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800998 }</pre>
999</div>
1000
1001<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001002 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001003 <pre>Returns permissions that a caller has on the specified resource.
1004If the resource does not exist, this will return an empty set of
Dan O'Mearadd494642020-05-01 07:42:23 -07001005permissions, not a `NOT_FOUND` error.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001006
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001007Note: This operation is designed to be used for building permission-aware
1008UIs and command-line tools, not for authorization checking. This operation
Bu Sun Kim65020912020-05-20 12:08:20 -07001009may &quot;fail open&quot; without warning.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001010
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001011Args:
1012 resource: string, REQUIRED: The resource for which the policy detail is being requested.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001013See the operation documentation for the appropriate value for this field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001014 body: object, The request body.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001015 The object takes the form of:
1016
1017{ # Request message for `TestIamPermissions` method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001018 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with
1019 # wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed. For more
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001020 # information see
1021 # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
Bu Sun Kim65020912020-05-20 12:08:20 -07001022 &quot;A String&quot;,
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001023 ],
1024 }
1025
1026 x__xgafv: string, V1 error format.
1027 Allowed values
1028 1 - v1 error format
1029 2 - v2 error format
1030
1031Returns:
1032 An object of the form:
1033
1034 { # Response message for `TestIamPermissions` method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001035 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001036 # allowed.
Bu Sun Kim65020912020-05-20 12:08:20 -07001037 &quot;A String&quot;,
Jon Wayne Parrott692617a2017-01-06 09:58:29 -08001038 ],
1039 }</pre>
1040</div>
1041
1042<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001043 <code class="details" id="update">update(name, body=None, x__xgafv=None)</code>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001044 <pre>Updates a RuntimeConfig resource. The configuration must exist beforehand.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -07001045
1046Args:
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001047 name: string, The name of the RuntimeConfig resource to update, in the format:
1048
1049`projects/[PROJECT_ID]/configs/[CONFIG_NAME]` (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001050 body: object, The request body.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -07001051 The object takes the form of:
1052
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001053{ # A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001054 # service. A RuntimeConfig resource consists of metadata and a hierarchy of
1055 # variables.
1056 &quot;name&quot;: &quot;A String&quot;, # The resource name of a runtime config. The name must have the format:
1057 #
1058 # projects/[PROJECT_ID]/configs/[CONFIG_NAME]
1059 #
1060 # The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
1061 # arbitrary name that matches the
1062 # `[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?` regular expression.
1063 # The length of `[CONFIG_NAME]` must be less than 64 characters.
1064 #
1065 # You pick the RuntimeConfig resource name, but the server will validate that
1066 # the name adheres to this format. After you create the resource, you cannot
1067 # change the resource&#x27;s name.
1068 &quot;description&quot;: &quot;A String&quot;, # An optional description of the RuntimeConfig object.
1069 }
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -07001070
1071 x__xgafv: string, V1 error format.
1072 Allowed values
1073 1 - v1 error format
1074 2 - v2 error format
1075
1076Returns:
1077 An object of the form:
1078
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001079 { # A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001080 # service. A RuntimeConfig resource consists of metadata and a hierarchy of
1081 # variables.
1082 &quot;name&quot;: &quot;A String&quot;, # The resource name of a runtime config. The name must have the format:
1083 #
1084 # projects/[PROJECT_ID]/configs/[CONFIG_NAME]
1085 #
1086 # The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
1087 # arbitrary name that matches the
1088 # `[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?` regular expression.
1089 # The length of `[CONFIG_NAME]` must be less than 64 characters.
1090 #
1091 # You pick the RuntimeConfig resource name, but the server will validate that
1092 # the name adheres to this format. After you create the resource, you cannot
1093 # change the resource&#x27;s name.
1094 &quot;description&quot;: &quot;A String&quot;, # An optional description of the RuntimeConfig object.
1095 }</pre>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -07001096</div>
1097
1098</body></html>