blob: 3698a10e51d5be1f9b5ab6932dd13c931db50c95 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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
75<h1><a href="accesscontextmanager_v1beta.html">Access Context Manager API</a> . <a href="accesscontextmanager_v1beta.accessPolicies.html">accessPolicies</a> . <a href="accesscontextmanager_v1beta.accessPolicies.accessLevels.html">accessLevels</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Create an Access Level. The longrunning</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Delete an Access Level by resource</p>
83<p class="toc_element">
84 <code><a href="#get">get(name, accessLevelFormat=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Get an Access Level by resource</p>
86<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#list">list(parent, pageToken=None, pageSize=None, accessLevelFormat=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">List all Access Levels for an access</p>
89<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="firstline">Update an Access Level. The longrunning</p>
95<h3>Method Details</h3>
96<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070097 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098 <pre>Create an Access Level. The longrunning
99operation from this RPC will have a successful status once the Access
100Level has
101propagated to long-lasting storage. Access Levels containing
102errors will result in an error response for the first error encountered.
103
104Args:
105 parent: string, Required. Resource name for the access policy which owns this Access
106Level.
107
108Format: `accessPolicies/{policy_id}` (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700109 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700110 The object takes the form of:
111
Dan O'Mearadd494642020-05-01 07:42:23 -0700112{ # An `AccessLevel` is a label that can be applied to requests to Google Cloud
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 # services, along with a list of requirements necessary for the label to be
114 # applied.
115 &quot;custom&quot;: { # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language # A `CustomLevel` written in the Common Expression Language.
116 # to represent the necessary conditions for the level to apply to a request.
117 # See CEL spec at: https://github.com/google/cel-spec
118 &quot;expr&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # Required. A Cloud CEL expression evaluating to a boolean.
119 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
120 # are documented at https://github.com/google/cel-spec.
121 #
122 # Example (Comparison):
123 #
124 # title: &quot;Summary size limit&quot;
125 # description: &quot;Determines if a summary is less than 100 chars&quot;
126 # expression: &quot;document.summary.size() &lt; 100&quot;
127 #
128 # Example (Equality):
129 #
130 # title: &quot;Requestor is owner&quot;
131 # description: &quot;Determines if requestor is the document owner&quot;
132 # expression: &quot;document.owner == request.auth.claims.email&quot;
133 #
134 # Example (Logic):
135 #
136 # title: &quot;Public documents&quot;
137 # description: &quot;Determine whether the document should be publicly visible&quot;
138 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
139 #
140 # Example (Data Manipulation):
141 #
142 # title: &quot;Notification string&quot;
143 # description: &quot;Create a notification string with a timestamp.&quot;
144 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
145 #
146 # The exact variables and functions that may be referenced within an expression
147 # are determined by the service that evaluates it. See the service
148 # documentation for additional information.
149 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
150 # describes the expression, e.g. when hovered over it in a UI.
151 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
152 # syntax.
153 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
154 # its purpose. This can be used e.g. in UIs which allow to enter the
155 # expression.
156 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
157 # reporting, e.g. a file name and a position in the file.
158 },
159 },
160 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
161 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the Access Level. The `short_name` component
162 # must begin with a letter and only include alphanumeric and &#x27;_&#x27;. Format:
163 # `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length
164 # // of the `short_name` component is 50 characters.
165 &quot;basic&quot;: { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`.
166 &quot;combiningFunction&quot;: &quot;A String&quot;, # How the `conditions` list should be combined to determine if a request is
167 # granted this `AccessLevel`. If AND is used, each `Condition` in
168 # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
169 # is used, at least one `Condition` in `conditions` must be satisfied for the
170 # `AccessLevel` to be applied. Default behavior is AND.
171 &quot;conditions&quot;: [ # Required. A list of requirements for the `AccessLevel` to be granted.
172 { # A condition necessary for an `AccessLevel` to be granted. The Condition is an
173 # AND over its fields. So a Condition is true if: 1) the request IP is from one
174 # of the listed subnetworks AND 2) the originating device complies with the
175 # listed device policy AND 3) all listed access levels are granted AND 4) the
176 # request was sent at a time allowed by the DateTimeRestriction.
177 &quot;regions&quot;: [ # The request must originate from one of the provided countries/regions.
178 # Must be valid ISO 3166-1 alpha-2 codes.
179 &quot;A String&quot;,
180 ],
181 &quot;requiredAccessLevels&quot;: [ # A list of other access levels defined in the same `Policy`, referenced by
182 # resource name. Referencing an `AccessLevel` which does not exist is an
183 # error. All access levels listed must be granted for the Condition
184 # to be true. Example:
185 # &quot;`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME&quot;`
186 &quot;A String&quot;,
187 ],
188 &quot;devicePolicy&quot;: { # `DevicePolicy` specifies device specific restrictions necessary to acquire a # Device specific restrictions, all restrictions must hold for the
189 # Condition to be true. If not specified, all devices are allowed.
190 # given access level. A `DevicePolicy` specifies requirements for requests from
191 # devices to be granted access levels, it does not do any enforcement on the
192 # device. `DevicePolicy` acts as an AND over all specified fields, and each
193 # repeated field is an OR over its elements. Any unset fields are ignored. For
194 # example, if the proto is { os_type : DESKTOP_WINDOWS, os_type :
195 # DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be
196 # true for requests originating from encrypted Linux desktops and encrypted
197 # Windows desktops.
198 &quot;requireCorpOwned&quot;: True or False, # Whether the device needs to be corp owned.
199 &quot;requireAdminApproval&quot;: True or False, # Whether the device needs to be approved by the customer admin.
200 &quot;requireScreenlock&quot;: True or False, # Whether or not screenlock is required for the DevicePolicy to be true.
201 # Defaults to `false`.
202 &quot;allowedEncryptionStatuses&quot;: [ # Allowed encryptions statuses, an empty list allows all statuses.
203 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700204 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700205 &quot;allowedDeviceManagementLevels&quot;: [ # Allowed device management levels, an empty list allows all management
206 # levels.
207 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700208 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700209 &quot;osConstraints&quot;: [ # Allowed OS versions, an empty list allows all types and all versions.
210 { # A restriction on the OS type and version of devices making requests.
211 &quot;minimumVersion&quot;: &quot;A String&quot;, # The minimum allowed OS version. If not set, any version of this OS
212 # satisfies the constraint. Format: `&quot;major.minor.patch&quot;`.
213 # Examples: `&quot;10.5.301&quot;`, `&quot;9.2.1&quot;`.
214 &quot;osType&quot;: &quot;A String&quot;, # Required. The allowed OS type.
215 &quot;requireVerifiedChromeOs&quot;: True or False, # Only allows requests from devices with a verified Chrome OS.
216 # Verifications includes requirements that the device is enterprise-managed,
217 # conformant to domain policies, and the caller has permission to call
218 # the API targeted by the request.
219 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700220 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700221 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700222 &quot;members&quot;: [ # The request must be made by one of the provided user or service
223 # accounts. Groups are not supported.
224 # Syntax:
225 # `user:{emailid}`
226 # `serviceAccount:{emailid}`
227 # If not specified, a request may come from any user.
228 &quot;A String&quot;,
229 ],
230 &quot;ipSubnetworks&quot;: [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
231 # a CIDR IP address block, the specified IP address portion must be properly
232 # truncated (i.e. all the host bits must be zero) or the input is considered
233 # malformed. For example, &quot;192.0.2.0/24&quot; is accepted but &quot;192.0.2.1/24&quot; is
234 # not. Similarly, for IPv6, &quot;2001:db8::/32&quot; is accepted whereas
235 # &quot;2001:db8::1/32&quot; is not. The originating IP of a request must be in one of
236 # the listed subnets in order for this Condition to be true. If empty, all IP
237 # addresses are allowed.
238 &quot;A String&quot;,
239 ],
240 &quot;negate&quot;: True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over
241 # its non-empty fields, each field must be false for the Condition overall to
242 # be satisfied. Defaults to false.
Dan O'Mearadd494642020-05-01 07:42:23 -0700243 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700244 ],
245 },
246 &quot;description&quot;: &quot;A String&quot;, # Description of the `AccessLevel` and its use. Does not affect behavior.
247}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700248
249 x__xgafv: string, V1 error format.
250 Allowed values
251 1 - v1 error format
252 2 - v2 error format
253
254Returns:
255 An object of the form:
256
257 { # This resource represents a long-running operation that is the result of a
258 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700259 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Dan O'Mearadd494642020-05-01 07:42:23 -0700260 # method returns no data on success, such as `Delete`, the response is
261 # `google.protobuf.Empty`. If the original method is standard
262 # `Get`/`Create`/`Update`, the response should be the resource. For other
263 # methods, the response should have the type `XxxResponse`, where `Xxx`
264 # is the original method name. For example, if the original method name
265 # is `TakeSnapshot()`, the inferred response type is
266 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700267 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700268 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700269 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700270 # originally returns it. If you use the default HTTP mapping, the
271 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700272 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
273 # different programming environments, including REST APIs and RPC APIs. It is
274 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
275 # three pieces of data: error code, error message, and error details.
276 #
277 # You can find out more about this error model and how to work with it in the
278 # [API Design Guide](https://cloud.google.com/apis/design/errors).
279 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
280 # message types for APIs to use.
281 {
282 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
283 },
284 ],
285 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
286 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
287 # user-facing error message should be localized and sent in the
288 # google.rpc.Status.details field, or localized by the client.
289 },
290 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
291 # contains progress information and common metadata such as create time.
292 # Some services might not provide such metadata. Any method that returns a
293 # long-running operation should document the metadata type, if any.
294 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
295 },
296 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
297 # If `true`, the operation is completed, and either `error` or `response` is
298 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700299 }</pre>
300</div>
301
302<div class="method">
303 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
304 <pre>Delete an Access Level by resource
305name. The longrunning operation from this RPC will have a successful status
306once the Access Level has been removed
307from long-lasting storage.
308
309Args:
310 name: string, Required. Resource name for the Access Level.
311
312Format:
313`accessPolicies/{policy_id}/accessLevels/{access_level_id}` (required)
314 x__xgafv: string, V1 error format.
315 Allowed values
316 1 - v1 error format
317 2 - v2 error format
318
319Returns:
320 An object of the form:
321
322 { # This resource represents a long-running operation that is the result of a
323 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700324 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Dan O'Mearadd494642020-05-01 07:42:23 -0700325 # method returns no data on success, such as `Delete`, the response is
326 # `google.protobuf.Empty`. If the original method is standard
327 # `Get`/`Create`/`Update`, the response should be the resource. For other
328 # methods, the response should have the type `XxxResponse`, where `Xxx`
329 # is the original method name. For example, if the original method name
330 # is `TakeSnapshot()`, the inferred response type is
331 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700332 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700333 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700334 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700335 # originally returns it. If you use the default HTTP mapping, the
336 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
338 # different programming environments, including REST APIs and RPC APIs. It is
339 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
340 # three pieces of data: error code, error message, and error details.
341 #
342 # You can find out more about this error model and how to work with it in the
343 # [API Design Guide](https://cloud.google.com/apis/design/errors).
344 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
345 # message types for APIs to use.
346 {
347 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
348 },
349 ],
350 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
351 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
352 # user-facing error message should be localized and sent in the
353 # google.rpc.Status.details field, or localized by the client.
354 },
355 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
356 # contains progress information and common metadata such as create time.
357 # Some services might not provide such metadata. Any method that returns a
358 # long-running operation should document the metadata type, if any.
359 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
360 },
361 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
362 # If `true`, the operation is completed, and either `error` or `response` is
363 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700364 }</pre>
365</div>
366
367<div class="method">
368 <code class="details" id="get">get(name, accessLevelFormat=None, x__xgafv=None)</code>
369 <pre>Get an Access Level by resource
370name.
371
372Args:
373 name: string, Required. Resource name for the Access Level.
374
375Format:
376`accessPolicies/{policy_id}/accessLevels/{access_level_id}` (required)
377 accessLevelFormat: string, Whether to return `BasicLevels` in the Cloud Common Expression
378Language rather than as `BasicLevels`. Defaults to AS_DEFINED, where
379Access Levels
380are returned as `BasicLevels` or `CustomLevels` based on how they were
381created. If set to CEL, all Access Levels are returned as
382`CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent
383`CustomLevels`.
384 x__xgafv: string, V1 error format.
385 Allowed values
386 1 - v1 error format
387 2 - v2 error format
388
389Returns:
390 An object of the form:
391
Dan O'Mearadd494642020-05-01 07:42:23 -0700392 { # An `AccessLevel` is a label that can be applied to requests to Google Cloud
Bu Sun Kim65020912020-05-20 12:08:20 -0700393 # services, along with a list of requirements necessary for the label to be
394 # applied.
395 &quot;custom&quot;: { # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language # A `CustomLevel` written in the Common Expression Language.
396 # to represent the necessary conditions for the level to apply to a request.
397 # See CEL spec at: https://github.com/google/cel-spec
398 &quot;expr&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # Required. A Cloud CEL expression evaluating to a boolean.
399 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
400 # are documented at https://github.com/google/cel-spec.
401 #
402 # Example (Comparison):
403 #
404 # title: &quot;Summary size limit&quot;
405 # description: &quot;Determines if a summary is less than 100 chars&quot;
406 # expression: &quot;document.summary.size() &lt; 100&quot;
407 #
408 # Example (Equality):
409 #
410 # title: &quot;Requestor is owner&quot;
411 # description: &quot;Determines if requestor is the document owner&quot;
412 # expression: &quot;document.owner == request.auth.claims.email&quot;
413 #
414 # Example (Logic):
415 #
416 # title: &quot;Public documents&quot;
417 # description: &quot;Determine whether the document should be publicly visible&quot;
418 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
419 #
420 # Example (Data Manipulation):
421 #
422 # title: &quot;Notification string&quot;
423 # description: &quot;Create a notification string with a timestamp.&quot;
424 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
425 #
426 # The exact variables and functions that may be referenced within an expression
427 # are determined by the service that evaluates it. See the service
428 # documentation for additional information.
429 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
430 # describes the expression, e.g. when hovered over it in a UI.
431 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
432 # syntax.
433 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
434 # its purpose. This can be used e.g. in UIs which allow to enter the
435 # expression.
436 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
437 # reporting, e.g. a file name and a position in the file.
438 },
439 },
440 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
441 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the Access Level. The `short_name` component
442 # must begin with a letter and only include alphanumeric and &#x27;_&#x27;. Format:
443 # `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length
444 # // of the `short_name` component is 50 characters.
445 &quot;basic&quot;: { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`.
446 &quot;combiningFunction&quot;: &quot;A String&quot;, # How the `conditions` list should be combined to determine if a request is
447 # granted this `AccessLevel`. If AND is used, each `Condition` in
448 # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
449 # is used, at least one `Condition` in `conditions` must be satisfied for the
450 # `AccessLevel` to be applied. Default behavior is AND.
451 &quot;conditions&quot;: [ # Required. A list of requirements for the `AccessLevel` to be granted.
452 { # A condition necessary for an `AccessLevel` to be granted. The Condition is an
453 # AND over its fields. So a Condition is true if: 1) the request IP is from one
454 # of the listed subnetworks AND 2) the originating device complies with the
455 # listed device policy AND 3) all listed access levels are granted AND 4) the
456 # request was sent at a time allowed by the DateTimeRestriction.
457 &quot;regions&quot;: [ # The request must originate from one of the provided countries/regions.
458 # Must be valid ISO 3166-1 alpha-2 codes.
459 &quot;A String&quot;,
460 ],
461 &quot;requiredAccessLevels&quot;: [ # A list of other access levels defined in the same `Policy`, referenced by
462 # resource name. Referencing an `AccessLevel` which does not exist is an
463 # error. All access levels listed must be granted for the Condition
464 # to be true. Example:
465 # &quot;`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME&quot;`
466 &quot;A String&quot;,
467 ],
468 &quot;devicePolicy&quot;: { # `DevicePolicy` specifies device specific restrictions necessary to acquire a # Device specific restrictions, all restrictions must hold for the
469 # Condition to be true. If not specified, all devices are allowed.
470 # given access level. A `DevicePolicy` specifies requirements for requests from
471 # devices to be granted access levels, it does not do any enforcement on the
472 # device. `DevicePolicy` acts as an AND over all specified fields, and each
473 # repeated field is an OR over its elements. Any unset fields are ignored. For
474 # example, if the proto is { os_type : DESKTOP_WINDOWS, os_type :
475 # DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be
476 # true for requests originating from encrypted Linux desktops and encrypted
477 # Windows desktops.
478 &quot;requireCorpOwned&quot;: True or False, # Whether the device needs to be corp owned.
479 &quot;requireAdminApproval&quot;: True or False, # Whether the device needs to be approved by the customer admin.
480 &quot;requireScreenlock&quot;: True or False, # Whether or not screenlock is required for the DevicePolicy to be true.
481 # Defaults to `false`.
482 &quot;allowedEncryptionStatuses&quot;: [ # Allowed encryptions statuses, an empty list allows all statuses.
483 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700484 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700485 &quot;allowedDeviceManagementLevels&quot;: [ # Allowed device management levels, an empty list allows all management
486 # levels.
487 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700488 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700489 &quot;osConstraints&quot;: [ # Allowed OS versions, an empty list allows all types and all versions.
490 { # A restriction on the OS type and version of devices making requests.
491 &quot;minimumVersion&quot;: &quot;A String&quot;, # The minimum allowed OS version. If not set, any version of this OS
492 # satisfies the constraint. Format: `&quot;major.minor.patch&quot;`.
493 # Examples: `&quot;10.5.301&quot;`, `&quot;9.2.1&quot;`.
494 &quot;osType&quot;: &quot;A String&quot;, # Required. The allowed OS type.
495 &quot;requireVerifiedChromeOs&quot;: True or False, # Only allows requests from devices with a verified Chrome OS.
496 # Verifications includes requirements that the device is enterprise-managed,
497 # conformant to domain policies, and the caller has permission to call
498 # the API targeted by the request.
499 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700500 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700501 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700502 &quot;members&quot;: [ # The request must be made by one of the provided user or service
503 # accounts. Groups are not supported.
504 # Syntax:
505 # `user:{emailid}`
506 # `serviceAccount:{emailid}`
507 # If not specified, a request may come from any user.
508 &quot;A String&quot;,
509 ],
510 &quot;ipSubnetworks&quot;: [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
511 # a CIDR IP address block, the specified IP address portion must be properly
512 # truncated (i.e. all the host bits must be zero) or the input is considered
513 # malformed. For example, &quot;192.0.2.0/24&quot; is accepted but &quot;192.0.2.1/24&quot; is
514 # not. Similarly, for IPv6, &quot;2001:db8::/32&quot; is accepted whereas
515 # &quot;2001:db8::1/32&quot; is not. The originating IP of a request must be in one of
516 # the listed subnets in order for this Condition to be true. If empty, all IP
517 # addresses are allowed.
518 &quot;A String&quot;,
519 ],
520 &quot;negate&quot;: True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over
521 # its non-empty fields, each field must be false for the Condition overall to
522 # be satisfied. Defaults to false.
Dan O'Mearadd494642020-05-01 07:42:23 -0700523 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700524 ],
525 },
526 &quot;description&quot;: &quot;A String&quot;, # Description of the `AccessLevel` and its use. Does not affect behavior.
527 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700528</div>
529
530<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700531 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, accessLevelFormat=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700532 <pre>List all Access Levels for an access
533policy.
534
535Args:
536 parent: string, Required. Resource name for the access policy to list Access Levels from.
537
538Format:
539`accessPolicies/{policy_id}` (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700540 pageToken: string, Next page token for the next batch of Access Level instances.
541Defaults to the first page of results.
542 pageSize: integer, Number of Access Levels to include in
543the list. Default 100.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700544 accessLevelFormat: string, Whether to return `BasicLevels` in the Cloud Common Expression language, as
545`CustomLevels`, rather than as `BasicLevels`. Defaults to returning
546`AccessLevels` in the format they were defined.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700547 x__xgafv: string, V1 error format.
548 Allowed values
549 1 - v1 error format
550 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700551
552Returns:
553 An object of the form:
554
555 { # A response to `ListAccessLevelsRequest`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700556 &quot;nextPageToken&quot;: &quot;A String&quot;, # The pagination token to retrieve the next page of results. If the value is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700557 # empty, no further results remain.
Bu Sun Kim65020912020-05-20 12:08:20 -0700558 &quot;accessLevels&quot;: [ # List of the Access Level instances.
Dan O'Mearadd494642020-05-01 07:42:23 -0700559 { # An `AccessLevel` is a label that can be applied to requests to Google Cloud
Bu Sun Kim65020912020-05-20 12:08:20 -0700560 # services, along with a list of requirements necessary for the label to be
561 # applied.
562 &quot;custom&quot;: { # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language # A `CustomLevel` written in the Common Expression Language.
563 # to represent the necessary conditions for the level to apply to a request.
564 # See CEL spec at: https://github.com/google/cel-spec
565 &quot;expr&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # Required. A Cloud CEL expression evaluating to a boolean.
566 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
567 # are documented at https://github.com/google/cel-spec.
568 #
569 # Example (Comparison):
570 #
571 # title: &quot;Summary size limit&quot;
572 # description: &quot;Determines if a summary is less than 100 chars&quot;
573 # expression: &quot;document.summary.size() &lt; 100&quot;
574 #
575 # Example (Equality):
576 #
577 # title: &quot;Requestor is owner&quot;
578 # description: &quot;Determines if requestor is the document owner&quot;
579 # expression: &quot;document.owner == request.auth.claims.email&quot;
580 #
581 # Example (Logic):
582 #
583 # title: &quot;Public documents&quot;
584 # description: &quot;Determine whether the document should be publicly visible&quot;
585 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
586 #
587 # Example (Data Manipulation):
588 #
589 # title: &quot;Notification string&quot;
590 # description: &quot;Create a notification string with a timestamp.&quot;
591 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
592 #
593 # The exact variables and functions that may be referenced within an expression
594 # are determined by the service that evaluates it. See the service
595 # documentation for additional information.
596 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
597 # describes the expression, e.g. when hovered over it in a UI.
598 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
599 # syntax.
600 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
601 # its purpose. This can be used e.g. in UIs which allow to enter the
602 # expression.
603 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
604 # reporting, e.g. a file name and a position in the file.
Dan O'Mearadd494642020-05-01 07:42:23 -0700605 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700606 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700607 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
608 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the Access Level. The `short_name` component
609 # must begin with a letter and only include alphanumeric and &#x27;_&#x27;. Format:
610 # `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length
611 # // of the `short_name` component is 50 characters.
612 &quot;basic&quot;: { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`.
613 &quot;combiningFunction&quot;: &quot;A String&quot;, # How the `conditions` list should be combined to determine if a request is
614 # granted this `AccessLevel`. If AND is used, each `Condition` in
615 # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
616 # is used, at least one `Condition` in `conditions` must be satisfied for the
617 # `AccessLevel` to be applied. Default behavior is AND.
618 &quot;conditions&quot;: [ # Required. A list of requirements for the `AccessLevel` to be granted.
619 { # A condition necessary for an `AccessLevel` to be granted. The Condition is an
620 # AND over its fields. So a Condition is true if: 1) the request IP is from one
621 # of the listed subnetworks AND 2) the originating device complies with the
622 # listed device policy AND 3) all listed access levels are granted AND 4) the
623 # request was sent at a time allowed by the DateTimeRestriction.
624 &quot;regions&quot;: [ # The request must originate from one of the provided countries/regions.
625 # Must be valid ISO 3166-1 alpha-2 codes.
626 &quot;A String&quot;,
627 ],
628 &quot;requiredAccessLevels&quot;: [ # A list of other access levels defined in the same `Policy`, referenced by
629 # resource name. Referencing an `AccessLevel` which does not exist is an
630 # error. All access levels listed must be granted for the Condition
631 # to be true. Example:
632 # &quot;`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME&quot;`
633 &quot;A String&quot;,
634 ],
635 &quot;devicePolicy&quot;: { # `DevicePolicy` specifies device specific restrictions necessary to acquire a # Device specific restrictions, all restrictions must hold for the
636 # Condition to be true. If not specified, all devices are allowed.
637 # given access level. A `DevicePolicy` specifies requirements for requests from
638 # devices to be granted access levels, it does not do any enforcement on the
639 # device. `DevicePolicy` acts as an AND over all specified fields, and each
640 # repeated field is an OR over its elements. Any unset fields are ignored. For
641 # example, if the proto is { os_type : DESKTOP_WINDOWS, os_type :
642 # DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be
643 # true for requests originating from encrypted Linux desktops and encrypted
644 # Windows desktops.
645 &quot;requireCorpOwned&quot;: True or False, # Whether the device needs to be corp owned.
646 &quot;requireAdminApproval&quot;: True or False, # Whether the device needs to be approved by the customer admin.
647 &quot;requireScreenlock&quot;: True or False, # Whether or not screenlock is required for the DevicePolicy to be true.
648 # Defaults to `false`.
649 &quot;allowedEncryptionStatuses&quot;: [ # Allowed encryptions statuses, an empty list allows all statuses.
650 &quot;A String&quot;,
651 ],
652 &quot;allowedDeviceManagementLevels&quot;: [ # Allowed device management levels, an empty list allows all management
653 # levels.
654 &quot;A String&quot;,
655 ],
656 &quot;osConstraints&quot;: [ # Allowed OS versions, an empty list allows all types and all versions.
657 { # A restriction on the OS type and version of devices making requests.
658 &quot;minimumVersion&quot;: &quot;A String&quot;, # The minimum allowed OS version. If not set, any version of this OS
659 # satisfies the constraint. Format: `&quot;major.minor.patch&quot;`.
660 # Examples: `&quot;10.5.301&quot;`, `&quot;9.2.1&quot;`.
661 &quot;osType&quot;: &quot;A String&quot;, # Required. The allowed OS type.
662 &quot;requireVerifiedChromeOs&quot;: True or False, # Only allows requests from devices with a verified Chrome OS.
663 # Verifications includes requirements that the device is enterprise-managed,
664 # conformant to domain policies, and the caller has permission to call
665 # the API targeted by the request.
666 },
667 ],
668 },
669 &quot;members&quot;: [ # The request must be made by one of the provided user or service
670 # accounts. Groups are not supported.
671 # Syntax:
672 # `user:{emailid}`
673 # `serviceAccount:{emailid}`
674 # If not specified, a request may come from any user.
675 &quot;A String&quot;,
676 ],
677 &quot;ipSubnetworks&quot;: [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
678 # a CIDR IP address block, the specified IP address portion must be properly
679 # truncated (i.e. all the host bits must be zero) or the input is considered
680 # malformed. For example, &quot;192.0.2.0/24&quot; is accepted but &quot;192.0.2.1/24&quot; is
681 # not. Similarly, for IPv6, &quot;2001:db8::/32&quot; is accepted whereas
682 # &quot;2001:db8::1/32&quot; is not. The originating IP of a request must be in one of
683 # the listed subnets in order for this Condition to be true. If empty, all IP
684 # addresses are allowed.
685 &quot;A String&quot;,
686 ],
687 &quot;negate&quot;: True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over
688 # its non-empty fields, each field must be false for the Condition overall to
689 # be satisfied. Defaults to false.
690 },
691 ],
692 },
693 &quot;description&quot;: &quot;A String&quot;, # Description of the `AccessLevel` and its use. Does not affect behavior.
694 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700695 ],
696 }</pre>
697</div>
698
699<div class="method">
700 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
701 <pre>Retrieves the next page of results.
702
703Args:
704 previous_request: The request for the previous page. (required)
705 previous_response: The response from the request for the previous page. (required)
706
707Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700708 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700709 page. Returns None if there are no more items in the collection.
710 </pre>
711</div>
712
713<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700714 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700715 <pre>Update an Access Level. The longrunning
716operation from this RPC will have a successful status once the changes to
717the Access Level have propagated
718to long-lasting storage. Access Levels containing
719errors will result in an error response for the first error encountered.
720
721Args:
722 name: string, Required. Resource name for the Access Level. The `short_name` component
Bu Sun Kim65020912020-05-20 12:08:20 -0700723must begin with a letter and only include alphanumeric and &#x27;_&#x27;. Format:
Dan O'Mearadd494642020-05-01 07:42:23 -0700724`accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length
725 // of the `short_name` component is 50 characters. (required)
726 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700727 The object takes the form of:
728
Dan O'Mearadd494642020-05-01 07:42:23 -0700729{ # An `AccessLevel` is a label that can be applied to requests to Google Cloud
Bu Sun Kim65020912020-05-20 12:08:20 -0700730 # services, along with a list of requirements necessary for the label to be
731 # applied.
732 &quot;custom&quot;: { # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language # A `CustomLevel` written in the Common Expression Language.
733 # to represent the necessary conditions for the level to apply to a request.
734 # See CEL spec at: https://github.com/google/cel-spec
735 &quot;expr&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # Required. A Cloud CEL expression evaluating to a boolean.
736 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
737 # are documented at https://github.com/google/cel-spec.
738 #
739 # Example (Comparison):
740 #
741 # title: &quot;Summary size limit&quot;
742 # description: &quot;Determines if a summary is less than 100 chars&quot;
743 # expression: &quot;document.summary.size() &lt; 100&quot;
744 #
745 # Example (Equality):
746 #
747 # title: &quot;Requestor is owner&quot;
748 # description: &quot;Determines if requestor is the document owner&quot;
749 # expression: &quot;document.owner == request.auth.claims.email&quot;
750 #
751 # Example (Logic):
752 #
753 # title: &quot;Public documents&quot;
754 # description: &quot;Determine whether the document should be publicly visible&quot;
755 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
756 #
757 # Example (Data Manipulation):
758 #
759 # title: &quot;Notification string&quot;
760 # description: &quot;Create a notification string with a timestamp.&quot;
761 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
762 #
763 # The exact variables and functions that may be referenced within an expression
764 # are determined by the service that evaluates it. See the service
765 # documentation for additional information.
766 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
767 # describes the expression, e.g. when hovered over it in a UI.
768 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
769 # syntax.
770 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
771 # its purpose. This can be used e.g. in UIs which allow to enter the
772 # expression.
773 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
774 # reporting, e.g. a file name and a position in the file.
775 },
776 },
777 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
778 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the Access Level. The `short_name` component
779 # must begin with a letter and only include alphanumeric and &#x27;_&#x27;. Format:
780 # `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length
781 # // of the `short_name` component is 50 characters.
782 &quot;basic&quot;: { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`.
783 &quot;combiningFunction&quot;: &quot;A String&quot;, # How the `conditions` list should be combined to determine if a request is
784 # granted this `AccessLevel`. If AND is used, each `Condition` in
785 # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
786 # is used, at least one `Condition` in `conditions` must be satisfied for the
787 # `AccessLevel` to be applied. Default behavior is AND.
788 &quot;conditions&quot;: [ # Required. A list of requirements for the `AccessLevel` to be granted.
789 { # A condition necessary for an `AccessLevel` to be granted. The Condition is an
790 # AND over its fields. So a Condition is true if: 1) the request IP is from one
791 # of the listed subnetworks AND 2) the originating device complies with the
792 # listed device policy AND 3) all listed access levels are granted AND 4) the
793 # request was sent at a time allowed by the DateTimeRestriction.
794 &quot;regions&quot;: [ # The request must originate from one of the provided countries/regions.
795 # Must be valid ISO 3166-1 alpha-2 codes.
796 &quot;A String&quot;,
797 ],
798 &quot;requiredAccessLevels&quot;: [ # A list of other access levels defined in the same `Policy`, referenced by
799 # resource name. Referencing an `AccessLevel` which does not exist is an
800 # error. All access levels listed must be granted for the Condition
801 # to be true. Example:
802 # &quot;`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME&quot;`
803 &quot;A String&quot;,
804 ],
805 &quot;devicePolicy&quot;: { # `DevicePolicy` specifies device specific restrictions necessary to acquire a # Device specific restrictions, all restrictions must hold for the
806 # Condition to be true. If not specified, all devices are allowed.
807 # given access level. A `DevicePolicy` specifies requirements for requests from
808 # devices to be granted access levels, it does not do any enforcement on the
809 # device. `DevicePolicy` acts as an AND over all specified fields, and each
810 # repeated field is an OR over its elements. Any unset fields are ignored. For
811 # example, if the proto is { os_type : DESKTOP_WINDOWS, os_type :
812 # DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be
813 # true for requests originating from encrypted Linux desktops and encrypted
814 # Windows desktops.
815 &quot;requireCorpOwned&quot;: True or False, # Whether the device needs to be corp owned.
816 &quot;requireAdminApproval&quot;: True or False, # Whether the device needs to be approved by the customer admin.
817 &quot;requireScreenlock&quot;: True or False, # Whether or not screenlock is required for the DevicePolicy to be true.
818 # Defaults to `false`.
819 &quot;allowedEncryptionStatuses&quot;: [ # Allowed encryptions statuses, an empty list allows all statuses.
820 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700821 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700822 &quot;allowedDeviceManagementLevels&quot;: [ # Allowed device management levels, an empty list allows all management
823 # levels.
824 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700825 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700826 &quot;osConstraints&quot;: [ # Allowed OS versions, an empty list allows all types and all versions.
827 { # A restriction on the OS type and version of devices making requests.
828 &quot;minimumVersion&quot;: &quot;A String&quot;, # The minimum allowed OS version. If not set, any version of this OS
829 # satisfies the constraint. Format: `&quot;major.minor.patch&quot;`.
830 # Examples: `&quot;10.5.301&quot;`, `&quot;9.2.1&quot;`.
831 &quot;osType&quot;: &quot;A String&quot;, # Required. The allowed OS type.
832 &quot;requireVerifiedChromeOs&quot;: True or False, # Only allows requests from devices with a verified Chrome OS.
833 # Verifications includes requirements that the device is enterprise-managed,
834 # conformant to domain policies, and the caller has permission to call
835 # the API targeted by the request.
836 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700837 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700838 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700839 &quot;members&quot;: [ # The request must be made by one of the provided user or service
840 # accounts. Groups are not supported.
841 # Syntax:
842 # `user:{emailid}`
843 # `serviceAccount:{emailid}`
844 # If not specified, a request may come from any user.
845 &quot;A String&quot;,
846 ],
847 &quot;ipSubnetworks&quot;: [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
848 # a CIDR IP address block, the specified IP address portion must be properly
849 # truncated (i.e. all the host bits must be zero) or the input is considered
850 # malformed. For example, &quot;192.0.2.0/24&quot; is accepted but &quot;192.0.2.1/24&quot; is
851 # not. Similarly, for IPv6, &quot;2001:db8::/32&quot; is accepted whereas
852 # &quot;2001:db8::1/32&quot; is not. The originating IP of a request must be in one of
853 # the listed subnets in order for this Condition to be true. If empty, all IP
854 # addresses are allowed.
855 &quot;A String&quot;,
856 ],
857 &quot;negate&quot;: True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over
858 # its non-empty fields, each field must be false for the Condition overall to
859 # be satisfied. Defaults to false.
Dan O'Mearadd494642020-05-01 07:42:23 -0700860 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700861 ],
862 },
863 &quot;description&quot;: &quot;A String&quot;, # Description of the `AccessLevel` and its use. Does not affect behavior.
864}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700865
Dan O'Mearadd494642020-05-01 07:42:23 -0700866 updateMask: string, Required. Mask to control which fields get updated. Must be non-empty.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700867 x__xgafv: string, V1 error format.
868 Allowed values
869 1 - v1 error format
870 2 - v2 error format
871
872Returns:
873 An object of the form:
874
875 { # This resource represents a long-running operation that is the result of a
876 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700877 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Dan O'Mearadd494642020-05-01 07:42:23 -0700878 # method returns no data on success, such as `Delete`, the response is
879 # `google.protobuf.Empty`. If the original method is standard
880 # `Get`/`Create`/`Update`, the response should be the resource. For other
881 # methods, the response should have the type `XxxResponse`, where `Xxx`
882 # is the original method name. For example, if the original method name
883 # is `TakeSnapshot()`, the inferred response type is
884 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700885 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700886 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700887 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700888 # originally returns it. If you use the default HTTP mapping, the
889 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700890 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
891 # different programming environments, including REST APIs and RPC APIs. It is
892 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
893 # three pieces of data: error code, error message, and error details.
894 #
895 # You can find out more about this error model and how to work with it in the
896 # [API Design Guide](https://cloud.google.com/apis/design/errors).
897 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
898 # message types for APIs to use.
899 {
900 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
901 },
902 ],
903 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
904 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
905 # user-facing error message should be localized and sent in the
906 # google.rpc.Status.details field, or localized by the client.
907 },
908 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
909 # contains progress information and common metadata such as create time.
910 # Some services might not provide such metadata. Any method that returns a
911 # long-running operation should document the metadata type, if any.
912 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
913 },
914 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
915 # If `true`, the operation is completed, and either `error` or `response` is
916 # available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700917 }</pre>
918</div>
919
920</body></html>