blob: 5646ef56aab1c89c4696aba25a920f08f0401f69 [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 Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#list">list(parent, accessLevelFormat=None, pageSize=None, pageToken=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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700115 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
116 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the Access Level. The `short_name` component
117 # must begin with a letter and only include alphanumeric and &#x27;_&#x27;. Format:
118 # `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length
119 # // of the `short_name` component is 50 characters.
120 &quot;basic&quot;: { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`.
121 &quot;combiningFunction&quot;: &quot;A String&quot;, # How the `conditions` list should be combined to determine if a request is
122 # granted this `AccessLevel`. If AND is used, each `Condition` in
123 # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
124 # is used, at least one `Condition` in `conditions` must be satisfied for the
125 # `AccessLevel` to be applied. Default behavior is AND.
126 &quot;conditions&quot;: [ # Required. A list of requirements for the `AccessLevel` to be granted.
127 { # A condition necessary for an `AccessLevel` to be granted. The Condition is an
128 # AND over its fields. So a Condition is true if: 1) the request IP is from one
129 # of the listed subnetworks AND 2) the originating device complies with the
130 # listed device policy AND 3) all listed access levels are granted AND 4) the
131 # request was sent at a time allowed by the DateTimeRestriction.
132 &quot;regions&quot;: [ # The request must originate from one of the provided countries/regions.
133 # Must be valid ISO 3166-1 alpha-2 codes.
134 &quot;A String&quot;,
135 ],
136 &quot;ipSubnetworks&quot;: [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
137 # a CIDR IP address block, the specified IP address portion must be properly
138 # truncated (i.e. all the host bits must be zero) or the input is considered
139 # malformed. For example, &quot;192.0.2.0/24&quot; is accepted but &quot;192.0.2.1/24&quot; is
140 # not. Similarly, for IPv6, &quot;2001:db8::/32&quot; is accepted whereas
141 # &quot;2001:db8::1/32&quot; is not. The originating IP of a request must be in one of
142 # the listed subnets in order for this Condition to be true. If empty, all IP
143 # addresses are allowed.
144 &quot;A String&quot;,
145 ],
146 &quot;devicePolicy&quot;: { # `DevicePolicy` specifies device specific restrictions necessary to acquire a # Device specific restrictions, all restrictions must hold for the
147 # Condition to be true. If not specified, all devices are allowed.
148 # given access level. A `DevicePolicy` specifies requirements for requests from
149 # devices to be granted access levels, it does not do any enforcement on the
150 # device. `DevicePolicy` acts as an AND over all specified fields, and each
151 # repeated field is an OR over its elements. Any unset fields are ignored. For
152 # example, if the proto is { os_type : DESKTOP_WINDOWS, os_type :
153 # DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be
154 # true for requests originating from encrypted Linux desktops and encrypted
155 # Windows desktops.
156 &quot;requireCorpOwned&quot;: True or False, # Whether the device needs to be corp owned.
157 &quot;allowedEncryptionStatuses&quot;: [ # Allowed encryptions statuses, an empty list allows all statuses.
158 &quot;A String&quot;,
159 ],
160 &quot;allowedDeviceManagementLevels&quot;: [ # Allowed device management levels, an empty list allows all management
161 # levels.
162 &quot;A String&quot;,
163 ],
164 &quot;osConstraints&quot;: [ # Allowed OS versions, an empty list allows all types and all versions.
165 { # A restriction on the OS type and version of devices making requests.
166 &quot;minimumVersion&quot;: &quot;A String&quot;, # The minimum allowed OS version. If not set, any version of this OS
167 # satisfies the constraint. Format: `&quot;major.minor.patch&quot;`.
168 # Examples: `&quot;10.5.301&quot;`, `&quot;9.2.1&quot;`.
169 &quot;requireVerifiedChromeOs&quot;: True or False, # Only allows requests from devices with a verified Chrome OS.
170 # Verifications includes requirements that the device is enterprise-managed,
171 # conformant to domain policies, and the caller has permission to call
172 # the API targeted by the request.
173 &quot;osType&quot;: &quot;A String&quot;, # Required. The allowed OS type.
174 },
175 ],
176 &quot;requireAdminApproval&quot;: True or False, # Whether the device needs to be approved by the customer admin.
177 &quot;requireScreenlock&quot;: True or False, # Whether or not screenlock is required for the DevicePolicy to be true.
178 # Defaults to `false`.
179 },
180 &quot;requiredAccessLevels&quot;: [ # A list of other access levels defined in the same `Policy`, referenced by
181 # resource name. Referencing an `AccessLevel` which does not exist is an
182 # error. All access levels listed must be granted for the Condition
183 # to be true. Example:
184 # &quot;`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME&quot;`
185 &quot;A String&quot;,
186 ],
187 &quot;negate&quot;: True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over
188 # its non-empty fields, each field must be false for the Condition overall to
189 # be satisfied. Defaults to false.
190 &quot;members&quot;: [ # The request must be made by one of the provided user or service
191 # accounts. Groups are not supported.
192 # Syntax:
193 # `user:{emailid}`
194 # `serviceAccount:{emailid}`
195 # If not specified, a request may come from any user.
196 &quot;A String&quot;,
197 ],
198 },
199 ],
200 },
201 &quot;description&quot;: &quot;A String&quot;, # Description of the `AccessLevel` and its use. Does not affect behavior.
Bu Sun Kim65020912020-05-20 12:08:20 -0700202 &quot;custom&quot;: { # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language # A `CustomLevel` written in the Common Expression Language.
203 # to represent the necessary conditions for the level to apply to a request.
204 # See CEL spec at: https://github.com/google/cel-spec
205 &quot;expr&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # Required. A Cloud CEL expression evaluating to a boolean.
206 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
207 # are documented at https://github.com/google/cel-spec.
208 #
209 # Example (Comparison):
210 #
211 # title: &quot;Summary size limit&quot;
212 # description: &quot;Determines if a summary is less than 100 chars&quot;
213 # expression: &quot;document.summary.size() &lt; 100&quot;
214 #
215 # Example (Equality):
216 #
217 # title: &quot;Requestor is owner&quot;
218 # description: &quot;Determines if requestor is the document owner&quot;
219 # expression: &quot;document.owner == request.auth.claims.email&quot;
220 #
221 # Example (Logic):
222 #
223 # title: &quot;Public documents&quot;
224 # description: &quot;Determine whether the document should be publicly visible&quot;
225 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
226 #
227 # Example (Data Manipulation):
228 #
229 # title: &quot;Notification string&quot;
230 # description: &quot;Create a notification string with a timestamp.&quot;
231 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
232 #
233 # The exact variables and functions that may be referenced within an expression
234 # are determined by the service that evaluates it. See the service
235 # documentation for additional information.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700236 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
237 # describes the expression, e.g. when hovered over it in a UI.
Bu Sun Kim65020912020-05-20 12:08:20 -0700238 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
239 # its purpose. This can be used e.g. in UIs which allow to enter the
240 # expression.
241 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
242 # reporting, e.g. a file name and a position in the file.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700243 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
244 # syntax.
Bu Sun Kim65020912020-05-20 12:08:20 -0700245 },
246 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700247 }
248
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.
259 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
260 # contains progress information and common metadata such as create time.
261 # Some services might not provide such metadata. Any method that returns a
262 # long-running operation should document the metadata type, if any.
263 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
264 },
265 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
266 # method returns no data on success, such as `Delete`, the response is
267 # `google.protobuf.Empty`. If the original method is standard
268 # `Get`/`Create`/`Update`, the response should be the resource. For other
269 # methods, the response should have the type `XxxResponse`, where `Xxx`
270 # is the original method name. For example, if the original method name
271 # is `TakeSnapshot()`, the inferred response type is
272 # `TakeSnapshotResponse`.
273 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
274 },
275 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
276 # originally returns it. If you use the default HTTP mapping, the
277 # `name` should be a resource name ending with `operations/{unique_id}`.
278 &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.
279 # different programming environments, including REST APIs and RPC APIs. It is
280 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
281 # three pieces of data: error code, error message, and error details.
282 #
283 # You can find out more about this error model and how to work with it in the
284 # [API Design Guide](https://cloud.google.com/apis/design/errors).
285 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
286 # user-facing error message should be localized and sent in the
287 # google.rpc.Status.details field, or localized by the client.
288 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
289 # message types for APIs to use.
290 {
291 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700292 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700293 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700294 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim65020912020-05-20 12:08:20 -0700295 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700296 &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 Kim65020912020-05-20 12:08:20 -0700299 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700300</div>
301
302<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700303 <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.
324 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
325 # contains progress information and common metadata such as create time.
326 # Some services might not provide such metadata. Any method that returns a
327 # long-running operation should document the metadata type, if any.
328 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
329 },
330 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
331 # method returns no data on success, such as `Delete`, the response is
332 # `google.protobuf.Empty`. If the original method is standard
333 # `Get`/`Create`/`Update`, the response should be the resource. For other
334 # methods, the response should have the type `XxxResponse`, where `Xxx`
335 # is the original method name. For example, if the original method name
336 # is `TakeSnapshot()`, the inferred response type is
337 # `TakeSnapshotResponse`.
338 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
339 },
340 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
341 # originally returns it. If you use the default HTTP mapping, the
342 # `name` should be a resource name ending with `operations/{unique_id}`.
343 &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.
344 # different programming environments, including REST APIs and RPC APIs. It is
345 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
346 # three pieces of data: error code, error message, and error details.
347 #
348 # You can find out more about this error model and how to work with it in the
349 # [API Design Guide](https://cloud.google.com/apis/design/errors).
350 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
351 # user-facing error message should be localized and sent in the
352 # google.rpc.Status.details field, or localized by the client.
353 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
354 # message types for APIs to use.
355 {
356 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
357 },
358 ],
359 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
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.
364 }</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
392 { # An `AccessLevel` is a label that can be applied to requests to Google Cloud
393 # services, along with a list of requirements necessary for the label to be
394 # applied.
395 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
396 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the Access Level. The `short_name` component
397 # must begin with a letter and only include alphanumeric and &#x27;_&#x27;. Format:
398 # `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length
399 # // of the `short_name` component is 50 characters.
400 &quot;basic&quot;: { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`.
401 &quot;combiningFunction&quot;: &quot;A String&quot;, # How the `conditions` list should be combined to determine if a request is
402 # granted this `AccessLevel`. If AND is used, each `Condition` in
403 # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
404 # is used, at least one `Condition` in `conditions` must be satisfied for the
405 # `AccessLevel` to be applied. Default behavior is AND.
406 &quot;conditions&quot;: [ # Required. A list of requirements for the `AccessLevel` to be granted.
407 { # A condition necessary for an `AccessLevel` to be granted. The Condition is an
408 # AND over its fields. So a Condition is true if: 1) the request IP is from one
409 # of the listed subnetworks AND 2) the originating device complies with the
410 # listed device policy AND 3) all listed access levels are granted AND 4) the
411 # request was sent at a time allowed by the DateTimeRestriction.
412 &quot;regions&quot;: [ # The request must originate from one of the provided countries/regions.
413 # Must be valid ISO 3166-1 alpha-2 codes.
414 &quot;A String&quot;,
415 ],
416 &quot;ipSubnetworks&quot;: [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
417 # a CIDR IP address block, the specified IP address portion must be properly
418 # truncated (i.e. all the host bits must be zero) or the input is considered
419 # malformed. For example, &quot;192.0.2.0/24&quot; is accepted but &quot;192.0.2.1/24&quot; is
420 # not. Similarly, for IPv6, &quot;2001:db8::/32&quot; is accepted whereas
421 # &quot;2001:db8::1/32&quot; is not. The originating IP of a request must be in one of
422 # the listed subnets in order for this Condition to be true. If empty, all IP
423 # addresses are allowed.
424 &quot;A String&quot;,
425 ],
426 &quot;devicePolicy&quot;: { # `DevicePolicy` specifies device specific restrictions necessary to acquire a # Device specific restrictions, all restrictions must hold for the
427 # Condition to be true. If not specified, all devices are allowed.
428 # given access level. A `DevicePolicy` specifies requirements for requests from
429 # devices to be granted access levels, it does not do any enforcement on the
430 # device. `DevicePolicy` acts as an AND over all specified fields, and each
431 # repeated field is an OR over its elements. Any unset fields are ignored. For
432 # example, if the proto is { os_type : DESKTOP_WINDOWS, os_type :
433 # DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be
434 # true for requests originating from encrypted Linux desktops and encrypted
435 # Windows desktops.
436 &quot;requireCorpOwned&quot;: True or False, # Whether the device needs to be corp owned.
437 &quot;allowedEncryptionStatuses&quot;: [ # Allowed encryptions statuses, an empty list allows all statuses.
438 &quot;A String&quot;,
439 ],
440 &quot;allowedDeviceManagementLevels&quot;: [ # Allowed device management levels, an empty list allows all management
441 # levels.
442 &quot;A String&quot;,
443 ],
444 &quot;osConstraints&quot;: [ # Allowed OS versions, an empty list allows all types and all versions.
445 { # A restriction on the OS type and version of devices making requests.
446 &quot;minimumVersion&quot;: &quot;A String&quot;, # The minimum allowed OS version. If not set, any version of this OS
447 # satisfies the constraint. Format: `&quot;major.minor.patch&quot;`.
448 # Examples: `&quot;10.5.301&quot;`, `&quot;9.2.1&quot;`.
449 &quot;requireVerifiedChromeOs&quot;: True or False, # Only allows requests from devices with a verified Chrome OS.
450 # Verifications includes requirements that the device is enterprise-managed,
451 # conformant to domain policies, and the caller has permission to call
452 # the API targeted by the request.
453 &quot;osType&quot;: &quot;A String&quot;, # Required. The allowed OS type.
454 },
455 ],
456 &quot;requireAdminApproval&quot;: True or False, # Whether the device needs to be approved by the customer admin.
457 &quot;requireScreenlock&quot;: True or False, # Whether or not screenlock is required for the DevicePolicy to be true.
458 # Defaults to `false`.
459 },
460 &quot;requiredAccessLevels&quot;: [ # A list of other access levels defined in the same `Policy`, referenced by
461 # resource name. Referencing an `AccessLevel` which does not exist is an
462 # error. All access levels listed must be granted for the Condition
463 # to be true. Example:
464 # &quot;`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME&quot;`
465 &quot;A String&quot;,
466 ],
467 &quot;negate&quot;: True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over
468 # its non-empty fields, each field must be false for the Condition overall to
469 # be satisfied. Defaults to false.
470 &quot;members&quot;: [ # The request must be made by one of the provided user or service
471 # accounts. Groups are not supported.
472 # Syntax:
473 # `user:{emailid}`
474 # `serviceAccount:{emailid}`
475 # If not specified, a request may come from any user.
476 &quot;A String&quot;,
477 ],
478 },
479 ],
480 },
481 &quot;description&quot;: &quot;A String&quot;, # Description of the `AccessLevel` and its use. Does not affect behavior.
482 &quot;custom&quot;: { # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language # A `CustomLevel` written in the Common Expression Language.
483 # to represent the necessary conditions for the level to apply to a request.
484 # See CEL spec at: https://github.com/google/cel-spec
485 &quot;expr&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # Required. A Cloud CEL expression evaluating to a boolean.
486 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
487 # are documented at https://github.com/google/cel-spec.
488 #
489 # Example (Comparison):
490 #
491 # title: &quot;Summary size limit&quot;
492 # description: &quot;Determines if a summary is less than 100 chars&quot;
493 # expression: &quot;document.summary.size() &lt; 100&quot;
494 #
495 # Example (Equality):
496 #
497 # title: &quot;Requestor is owner&quot;
498 # description: &quot;Determines if requestor is the document owner&quot;
499 # expression: &quot;document.owner == request.auth.claims.email&quot;
500 #
501 # Example (Logic):
502 #
503 # title: &quot;Public documents&quot;
504 # description: &quot;Determine whether the document should be publicly visible&quot;
505 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
506 #
507 # Example (Data Manipulation):
508 #
509 # title: &quot;Notification string&quot;
510 # description: &quot;Create a notification string with a timestamp.&quot;
511 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
512 #
513 # The exact variables and functions that may be referenced within an expression
514 # are determined by the service that evaluates it. See the service
515 # documentation for additional information.
516 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
517 # describes the expression, e.g. when hovered over it in a UI.
518 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
519 # its purpose. This can be used e.g. in UIs which allow to enter the
520 # expression.
521 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
522 # reporting, e.g. a file name and a position in the file.
523 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
524 # syntax.
525 },
526 },
527 }</pre>
528</div>
529
530<div class="method">
531 <code class="details" id="list">list(parent, accessLevelFormat=None, pageSize=None, pageToken=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 Kim4ed7d3f2020-05-27 12:20:54 -0700540 accessLevelFormat: string, Whether to return `BasicLevels` in the Cloud Common Expression language, as
541`CustomLevels`, rather than as `BasicLevels`. Defaults to returning
542`AccessLevels` in the format they were defined.
Bu Sun Kim65020912020-05-20 12:08:20 -0700543 pageSize: integer, Number of Access Levels to include in
544the list. Default 100.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700545 pageToken: string, Next page token for the next batch of Access Level instances.
546Defaults to the first page of results.
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;accessLevels&quot;: [ # List of the Access Level instances.
Dan O'Mearadd494642020-05-01 07:42:23 -0700557 { # An `AccessLevel` is a label that can be applied to requests to Google Cloud
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700558 # services, along with a list of requirements necessary for the label to be
559 # applied.
560 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
561 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the Access Level. The `short_name` component
562 # must begin with a letter and only include alphanumeric and &#x27;_&#x27;. Format:
563 # `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length
564 # // of the `short_name` component is 50 characters.
565 &quot;basic&quot;: { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`.
566 &quot;combiningFunction&quot;: &quot;A String&quot;, # How the `conditions` list should be combined to determine if a request is
567 # granted this `AccessLevel`. If AND is used, each `Condition` in
568 # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
569 # is used, at least one `Condition` in `conditions` must be satisfied for the
570 # `AccessLevel` to be applied. Default behavior is AND.
571 &quot;conditions&quot;: [ # Required. A list of requirements for the `AccessLevel` to be granted.
572 { # A condition necessary for an `AccessLevel` to be granted. The Condition is an
573 # AND over its fields. So a Condition is true if: 1) the request IP is from one
574 # of the listed subnetworks AND 2) the originating device complies with the
575 # listed device policy AND 3) all listed access levels are granted AND 4) the
576 # request was sent at a time allowed by the DateTimeRestriction.
577 &quot;regions&quot;: [ # The request must originate from one of the provided countries/regions.
578 # Must be valid ISO 3166-1 alpha-2 codes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700579 &quot;A String&quot;,
580 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700581 &quot;ipSubnetworks&quot;: [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
582 # a CIDR IP address block, the specified IP address portion must be properly
583 # truncated (i.e. all the host bits must be zero) or the input is considered
584 # malformed. For example, &quot;192.0.2.0/24&quot; is accepted but &quot;192.0.2.1/24&quot; is
585 # not. Similarly, for IPv6, &quot;2001:db8::/32&quot; is accepted whereas
586 # &quot;2001:db8::1/32&quot; is not. The originating IP of a request must be in one of
587 # the listed subnets in order for this Condition to be true. If empty, all IP
588 # addresses are allowed.
589 &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700590 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700591 &quot;devicePolicy&quot;: { # `DevicePolicy` specifies device specific restrictions necessary to acquire a # Device specific restrictions, all restrictions must hold for the
592 # Condition to be true. If not specified, all devices are allowed.
593 # given access level. A `DevicePolicy` specifies requirements for requests from
594 # devices to be granted access levels, it does not do any enforcement on the
595 # device. `DevicePolicy` acts as an AND over all specified fields, and each
596 # repeated field is an OR over its elements. Any unset fields are ignored. For
597 # example, if the proto is { os_type : DESKTOP_WINDOWS, os_type :
598 # DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be
599 # true for requests originating from encrypted Linux desktops and encrypted
600 # Windows desktops.
601 &quot;requireCorpOwned&quot;: True or False, # Whether the device needs to be corp owned.
602 &quot;allowedEncryptionStatuses&quot;: [ # Allowed encryptions statuses, an empty list allows all statuses.
603 &quot;A String&quot;,
604 ],
605 &quot;allowedDeviceManagementLevels&quot;: [ # Allowed device management levels, an empty list allows all management
606 # levels.
607 &quot;A String&quot;,
608 ],
609 &quot;osConstraints&quot;: [ # Allowed OS versions, an empty list allows all types and all versions.
610 { # A restriction on the OS type and version of devices making requests.
611 &quot;minimumVersion&quot;: &quot;A String&quot;, # The minimum allowed OS version. If not set, any version of this OS
612 # satisfies the constraint. Format: `&quot;major.minor.patch&quot;`.
613 # Examples: `&quot;10.5.301&quot;`, `&quot;9.2.1&quot;`.
614 &quot;requireVerifiedChromeOs&quot;: True or False, # Only allows requests from devices with a verified Chrome OS.
615 # Verifications includes requirements that the device is enterprise-managed,
616 # conformant to domain policies, and the caller has permission to call
617 # the API targeted by the request.
618 &quot;osType&quot;: &quot;A String&quot;, # Required. The allowed OS type.
619 },
620 ],
621 &quot;requireAdminApproval&quot;: True or False, # Whether the device needs to be approved by the customer admin.
622 &quot;requireScreenlock&quot;: True or False, # Whether or not screenlock is required for the DevicePolicy to be true.
623 # Defaults to `false`.
624 },
625 &quot;requiredAccessLevels&quot;: [ # A list of other access levels defined in the same `Policy`, referenced by
626 # resource name. Referencing an `AccessLevel` which does not exist is an
627 # error. All access levels listed must be granted for the Condition
628 # to be true. Example:
629 # &quot;`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME&quot;`
630 &quot;A String&quot;,
631 ],
632 &quot;negate&quot;: True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over
633 # its non-empty fields, each field must be false for the Condition overall to
634 # be satisfied. Defaults to false.
635 &quot;members&quot;: [ # The request must be made by one of the provided user or service
636 # accounts. Groups are not supported.
637 # Syntax:
638 # `user:{emailid}`
639 # `serviceAccount:{emailid}`
640 # If not specified, a request may come from any user.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700641 &quot;A String&quot;,
642 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700643 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700644 ],
645 },
646 &quot;description&quot;: &quot;A String&quot;, # Description of the `AccessLevel` and its use. Does not affect behavior.
647 &quot;custom&quot;: { # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language # A `CustomLevel` written in the Common Expression Language.
648 # to represent the necessary conditions for the level to apply to a request.
649 # See CEL spec at: https://github.com/google/cel-spec
650 &quot;expr&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # Required. A Cloud CEL expression evaluating to a boolean.
651 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
652 # are documented at https://github.com/google/cel-spec.
653 #
654 # Example (Comparison):
655 #
656 # title: &quot;Summary size limit&quot;
657 # description: &quot;Determines if a summary is less than 100 chars&quot;
658 # expression: &quot;document.summary.size() &lt; 100&quot;
659 #
660 # Example (Equality):
661 #
662 # title: &quot;Requestor is owner&quot;
663 # description: &quot;Determines if requestor is the document owner&quot;
664 # expression: &quot;document.owner == request.auth.claims.email&quot;
665 #
666 # Example (Logic):
667 #
668 # title: &quot;Public documents&quot;
669 # description: &quot;Determine whether the document should be publicly visible&quot;
670 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
671 #
672 # Example (Data Manipulation):
673 #
674 # title: &quot;Notification string&quot;
675 # description: &quot;Create a notification string with a timestamp.&quot;
676 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
677 #
678 # The exact variables and functions that may be referenced within an expression
679 # are determined by the service that evaluates it. See the service
680 # documentation for additional information.
681 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
682 # describes the expression, e.g. when hovered over it in a UI.
683 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
684 # its purpose. This can be used e.g. in UIs which allow to enter the
685 # expression.
686 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
687 # reporting, e.g. a file name and a position in the file.
688 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
689 # syntax.
Bu Sun Kim65020912020-05-20 12:08:20 -0700690 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700691 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700692 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700693 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700694 &quot;nextPageToken&quot;: &quot;A String&quot;, # The pagination token to retrieve the next page of results. If the value is
695 # empty, no further results remain.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700696 }</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 Kimd059ad82020-07-22 17:02:09 -0700730 # services, along with a list of requirements necessary for the label to be
731 # applied.
732 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
733 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the Access Level. The `short_name` component
734 # must begin with a letter and only include alphanumeric and &#x27;_&#x27;. Format:
735 # `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum length
736 # // of the `short_name` component is 50 characters.
737 &quot;basic&quot;: { # `BasicLevel` is an `AccessLevel` using a set of recommended features. # A `BasicLevel` composed of `Conditions`.
738 &quot;combiningFunction&quot;: &quot;A String&quot;, # How the `conditions` list should be combined to determine if a request is
739 # granted this `AccessLevel`. If AND is used, each `Condition` in
740 # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
741 # is used, at least one `Condition` in `conditions` must be satisfied for the
742 # `AccessLevel` to be applied. Default behavior is AND.
743 &quot;conditions&quot;: [ # Required. A list of requirements for the `AccessLevel` to be granted.
744 { # A condition necessary for an `AccessLevel` to be granted. The Condition is an
745 # AND over its fields. So a Condition is true if: 1) the request IP is from one
746 # of the listed subnetworks AND 2) the originating device complies with the
747 # listed device policy AND 3) all listed access levels are granted AND 4) the
748 # request was sent at a time allowed by the DateTimeRestriction.
749 &quot;regions&quot;: [ # The request must originate from one of the provided countries/regions.
750 # Must be valid ISO 3166-1 alpha-2 codes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700751 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700752 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700753 &quot;ipSubnetworks&quot;: [ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
754 # a CIDR IP address block, the specified IP address portion must be properly
755 # truncated (i.e. all the host bits must be zero) or the input is considered
756 # malformed. For example, &quot;192.0.2.0/24&quot; is accepted but &quot;192.0.2.1/24&quot; is
757 # not. Similarly, for IPv6, &quot;2001:db8::/32&quot; is accepted whereas
758 # &quot;2001:db8::1/32&quot; is not. The originating IP of a request must be in one of
759 # the listed subnets in order for this Condition to be true. If empty, all IP
760 # addresses are allowed.
761 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700762 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700763 &quot;devicePolicy&quot;: { # `DevicePolicy` specifies device specific restrictions necessary to acquire a # Device specific restrictions, all restrictions must hold for the
764 # Condition to be true. If not specified, all devices are allowed.
765 # given access level. A `DevicePolicy` specifies requirements for requests from
766 # devices to be granted access levels, it does not do any enforcement on the
767 # device. `DevicePolicy` acts as an AND over all specified fields, and each
768 # repeated field is an OR over its elements. Any unset fields are ignored. For
769 # example, if the proto is { os_type : DESKTOP_WINDOWS, os_type :
770 # DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be
771 # true for requests originating from encrypted Linux desktops and encrypted
772 # Windows desktops.
773 &quot;requireCorpOwned&quot;: True or False, # Whether the device needs to be corp owned.
774 &quot;allowedEncryptionStatuses&quot;: [ # Allowed encryptions statuses, an empty list allows all statuses.
775 &quot;A String&quot;,
776 ],
777 &quot;allowedDeviceManagementLevels&quot;: [ # Allowed device management levels, an empty list allows all management
778 # levels.
779 &quot;A String&quot;,
780 ],
781 &quot;osConstraints&quot;: [ # Allowed OS versions, an empty list allows all types and all versions.
782 { # A restriction on the OS type and version of devices making requests.
783 &quot;minimumVersion&quot;: &quot;A String&quot;, # The minimum allowed OS version. If not set, any version of this OS
784 # satisfies the constraint. Format: `&quot;major.minor.patch&quot;`.
785 # Examples: `&quot;10.5.301&quot;`, `&quot;9.2.1&quot;`.
786 &quot;requireVerifiedChromeOs&quot;: True or False, # Only allows requests from devices with a verified Chrome OS.
787 # Verifications includes requirements that the device is enterprise-managed,
788 # conformant to domain policies, and the caller has permission to call
789 # the API targeted by the request.
790 &quot;osType&quot;: &quot;A String&quot;, # Required. The allowed OS type.
791 },
792 ],
793 &quot;requireAdminApproval&quot;: True or False, # Whether the device needs to be approved by the customer admin.
794 &quot;requireScreenlock&quot;: True or False, # Whether or not screenlock is required for the DevicePolicy to be true.
795 # Defaults to `false`.
796 },
797 &quot;requiredAccessLevels&quot;: [ # A list of other access levels defined in the same `Policy`, referenced by
798 # resource name. Referencing an `AccessLevel` which does not exist is an
799 # error. All access levels listed must be granted for the Condition
800 # to be true. Example:
801 # &quot;`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME&quot;`
802 &quot;A String&quot;,
803 ],
804 &quot;negate&quot;: True or False, # Whether to negate the Condition. If true, the Condition becomes a NAND over
805 # its non-empty fields, each field must be false for the Condition overall to
806 # be satisfied. Defaults to false.
807 &quot;members&quot;: [ # The request must be made by one of the provided user or service
808 # accounts. Groups are not supported.
809 # Syntax:
810 # `user:{emailid}`
811 # `serviceAccount:{emailid}`
812 # If not specified, a request may come from any user.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700813 &quot;A String&quot;,
814 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700815 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700816 ],
817 },
818 &quot;description&quot;: &quot;A String&quot;, # Description of the `AccessLevel` and its use. Does not affect behavior.
819 &quot;custom&quot;: { # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language # A `CustomLevel` written in the Common Expression Language.
820 # to represent the necessary conditions for the level to apply to a request.
821 # See CEL spec at: https://github.com/google/cel-spec
822 &quot;expr&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # Required. A Cloud CEL expression evaluating to a boolean.
823 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
824 # are documented at https://github.com/google/cel-spec.
825 #
826 # Example (Comparison):
827 #
828 # title: &quot;Summary size limit&quot;
829 # description: &quot;Determines if a summary is less than 100 chars&quot;
830 # expression: &quot;document.summary.size() &lt; 100&quot;
831 #
832 # Example (Equality):
833 #
834 # title: &quot;Requestor is owner&quot;
835 # description: &quot;Determines if requestor is the document owner&quot;
836 # expression: &quot;document.owner == request.auth.claims.email&quot;
837 #
838 # Example (Logic):
839 #
840 # title: &quot;Public documents&quot;
841 # description: &quot;Determine whether the document should be publicly visible&quot;
842 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
843 #
844 # Example (Data Manipulation):
845 #
846 # title: &quot;Notification string&quot;
847 # description: &quot;Create a notification string with a timestamp.&quot;
848 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
849 #
850 # The exact variables and functions that may be referenced within an expression
851 # are determined by the service that evaluates it. See the service
852 # documentation for additional information.
853 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
854 # describes the expression, e.g. when hovered over it in a UI.
855 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
856 # its purpose. This can be used e.g. in UIs which allow to enter the
857 # expression.
858 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
859 # reporting, e.g. a file name and a position in the file.
860 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
861 # syntax.
Dan O'Mearadd494642020-05-01 07:42:23 -0700862 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700863 },
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;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
878 # contains progress information and common metadata such as create time.
879 # Some services might not provide such metadata. Any method that returns a
880 # long-running operation should document the metadata type, if any.
881 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
882 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700883 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
884 # method returns no data on success, such as `Delete`, the response is
885 # `google.protobuf.Empty`. If the original method is standard
886 # `Get`/`Create`/`Update`, the response should be the resource. For other
887 # methods, the response should have the type `XxxResponse`, where `Xxx`
888 # is the original method name. For example, if the original method name
889 # is `TakeSnapshot()`, the inferred response type is
890 # `TakeSnapshotResponse`.
891 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
892 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700893 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
894 # originally returns it. If you use the default HTTP mapping, the
895 # `name` should be a resource name ending with `operations/{unique_id}`.
896 &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.
897 # different programming environments, including REST APIs and RPC APIs. It is
898 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
899 # three pieces of data: error code, error message, and error details.
900 #
901 # You can find out more about this error model and how to work with it in the
902 # [API Design Guide](https://cloud.google.com/apis/design/errors).
903 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
904 # user-facing error message should be localized and sent in the
905 # google.rpc.Status.details field, or localized by the client.
906 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
907 # message types for APIs to use.
908 {
909 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
910 },
911 ],
912 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
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>