• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<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="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.reservations.html">reservations</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#aggregatedList">aggregatedList(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
79<p class="firstline">Retrieves an aggregated list of reservations.</p>
80<p class="toc_element">
81  <code><a href="#aggregatedList_next">aggregatedList_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<p class="toc_element">
84  <code><a href="#delete">delete(project, zone, reservation, requestId=None)</a></code></p>
85<p class="firstline">Deletes the specified reservation.</p>
86<p class="toc_element">
87  <code><a href="#get">get(project, zone, reservation)</a></code></p>
88<p class="firstline">Retrieves all information of the specified reservation.</p>
89<p class="toc_element">
90  <code><a href="#getIamPolicy">getIamPolicy(project, zone, resource)</a></code></p>
91<p class="firstline">Gets the access control policy for a resource. May be empty if no such policy or resource exists.</p>
92<p class="toc_element">
93  <code><a href="#insert">insert(project, zone, body, requestId=None)</a></code></p>
94<p class="firstline">Creates a new reservation.</p>
95<p class="toc_element">
96  <code><a href="#list">list(project, zone, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
97<p class="firstline">A list all the reservations that have been configured for the specified project in specified zone.</p>
98<p class="toc_element">
99  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
102  <code><a href="#resize">resize(project, zone, reservation, body, requestId=None)</a></code></p>
103<p class="firstline">Resizes the reservation (applicable to standalone reservations only)</p>
104<p class="toc_element">
105  <code><a href="#setIamPolicy">setIamPolicy(project, zone, resource, body)</a></code></p>
106<p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy.</p>
107<p class="toc_element">
108  <code><a href="#testIamPermissions">testIamPermissions(project, zone, resource, body)</a></code></p>
109<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
110<h3>Method Details</h3>
111<div class="method">
112    <code class="details" id="aggregatedList">aggregatedList(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
113  <pre>Retrieves an aggregated list of reservations.
114
115Args:
116  project: string, Project ID for this request. (required)
117  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
118
119You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
120
121Currently, only sorting by name or creationTimestamp desc is supported.
122  maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
123  pageToken: string, Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
124  filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
125
126For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
127
128You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
129
130To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
131
132Returns:
133  An object of the form:
134
135    { # Contains a list of reservations.
136    "nextPageToken": "A String", # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
137    "kind": "compute#reservationAggregatedList", # Type of resource.
138    "items": { # A list of Allocation resources.
139      "a_key": { # Name of the scope containing this set of reservations.
140        "reservations": [ # A list of reservations contained in this scope.
141          { # Reservation resource NextID: 13
142            "status": "A String", # [Output Only] The status of the reservation.
143            "kind": "compute#reservation", # [Output Only] Type of the resource. Always compute#reservations for reservations.
144            "name": "A String", # The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
145            "specificReservationRequired": True or False, # Indicates whether the reservation can be consumed by VMs with "any reservation" defined. If the field is set, then only VMs that target the reservation by name using --reservation-affinity can consume this reservation.
146            "commitment": "A String", # [OutputOnly] Full or partial url for parent commitment for reservations which are tied to a commitment.
147            "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
148            "specificReservation": { # This reservation type allows to pre allocate specific instance configuration. # Reservation for instances with specific machine shapes.
149              "count": "A String", # Specifies number of resources that are allocated.
150              "instanceProperties": { # Properties of the SKU instances being reserved. # The instance properties for this specific sku reservation.
151                "minCpuPlatform": "A String", # Minimum cpu platform the reservation.
152                "machineType": "A String", # Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
153                "guestAccelerators": [ # Specifies accelerator type and count.
154                  { # A specification of the type and number of accelerator cards attached to the instance.
155                    "acceleratorCount": 42, # The number of the guest accelerator cards exposed to this instance.
156                    "acceleratorType": "A String", # Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
157                  },
158                ],
159                "localSsds": [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
160                  {
161                    "interface": "A String", # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
162                    "diskSizeGb": "A String", # Specifies the size of the disk in base-2 GB.
163                  },
164                ],
165              },
166              "inUseCount": "A String", # [OutputOnly] Indicates how many resource are in use.
167            },
168            "zone": "A String", # Zone in which the reservation resides, must be provided if reservation is created with commitment creation.
169            "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
170            "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
171            "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource.
172            "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
173          },
174        ],
175        "warning": { # Informational warning which replaces the list of reservations when the list is empty.
176          "message": "A String", # [Output Only] A human-readable description of the warning code.
177          "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
178          "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
179              # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
180            {
181              "value": "A String", # [Output Only] A warning data value corresponding to the key.
182              "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
183            },
184          ],
185        },
186      },
187    },
188    "warning": { # [Output Only] Informational warning message.
189      "message": "A String", # [Output Only] A human-readable description of the warning code.
190      "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
191      "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
192          # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
193        {
194          "value": "A String", # [Output Only] A warning data value corresponding to the key.
195          "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
196        },
197      ],
198    },
199    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
200    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
201  }</pre>
202</div>
203
204<div class="method">
205    <code class="details" id="aggregatedList_next">aggregatedList_next(previous_request, previous_response)</code>
206  <pre>Retrieves the next page of results.
207
208Args:
209  previous_request: The request for the previous page. (required)
210  previous_response: The response from the request for the previous page. (required)
211
212Returns:
213  A request object that you can call 'execute()' on to request the next
214  page. Returns None if there are no more items in the collection.
215    </pre>
216</div>
217
218<div class="method">
219    <code class="details" id="delete">delete(project, zone, reservation, requestId=None)</code>
220  <pre>Deletes the specified reservation.
221
222Args:
223  project: string, Project ID for this request. (required)
224  zone: string, Name of the zone for this request. (required)
225  reservation: string, Name of the reservation to delete. (required)
226  requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
227
228For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
229
230The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
231
232Returns:
233  An object of the form:
234
235    { # Represents an Operation resource.
236      #
237      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
238      #
239      # Operations can be global, regional or zonal.
240      # - For global operations, use the globalOperations resource.
241      # - For regional operations, use the regionOperations resource.
242      # - For zonal operations, use the zonalOperations resource.
243      #
244      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
245    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
246    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
247    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
248    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
249    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
250    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
251    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
252    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
253    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
254    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
255    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
256    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
257    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
258    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
259      {
260        "message": "A String", # [Output Only] A human-readable description of the warning code.
261        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
262        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
263            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
264          {
265            "value": "A String", # [Output Only] A warning data value corresponding to the key.
266            "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
267          },
268        ],
269      },
270    ],
271    "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
272    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
273    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
274    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
275    "name": "A String", # [Output Only] Name of the resource.
276    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
277    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
278      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
279        {
280          "message": "A String", # [Output Only] An optional, human-readable error message.
281          "code": "A String", # [Output Only] The error type identifier for this error.
282          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
283        },
284      ],
285    },
286    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
287    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
288    "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
289  }</pre>
290</div>
291
292<div class="method">
293    <code class="details" id="get">get(project, zone, reservation)</code>
294  <pre>Retrieves all information of the specified reservation.
295
296Args:
297  project: string, Project ID for this request. (required)
298  zone: string, Name of the zone for this request. (required)
299  reservation: string, Name of the reservation to retrieve. (required)
300
301Returns:
302  An object of the form:
303
304    { # Reservation resource NextID: 13
305    "status": "A String", # [Output Only] The status of the reservation.
306    "kind": "compute#reservation", # [Output Only] Type of the resource. Always compute#reservations for reservations.
307    "name": "A String", # The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
308    "specificReservationRequired": True or False, # Indicates whether the reservation can be consumed by VMs with "any reservation" defined. If the field is set, then only VMs that target the reservation by name using --reservation-affinity can consume this reservation.
309    "commitment": "A String", # [OutputOnly] Full or partial url for parent commitment for reservations which are tied to a commitment.
310    "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
311    "specificReservation": { # This reservation type allows to pre allocate specific instance configuration. # Reservation for instances with specific machine shapes.
312      "count": "A String", # Specifies number of resources that are allocated.
313      "instanceProperties": { # Properties of the SKU instances being reserved. # The instance properties for this specific sku reservation.
314        "minCpuPlatform": "A String", # Minimum cpu platform the reservation.
315        "machineType": "A String", # Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
316        "guestAccelerators": [ # Specifies accelerator type and count.
317          { # A specification of the type and number of accelerator cards attached to the instance.
318            "acceleratorCount": 42, # The number of the guest accelerator cards exposed to this instance.
319            "acceleratorType": "A String", # Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
320          },
321        ],
322        "localSsds": [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
323          {
324            "interface": "A String", # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
325            "diskSizeGb": "A String", # Specifies the size of the disk in base-2 GB.
326          },
327        ],
328      },
329      "inUseCount": "A String", # [OutputOnly] Indicates how many resource are in use.
330    },
331    "zone": "A String", # Zone in which the reservation resides, must be provided if reservation is created with commitment creation.
332    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
333    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
334    "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource.
335    "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
336  }</pre>
337</div>
338
339<div class="method">
340    <code class="details" id="getIamPolicy">getIamPolicy(project, zone, resource)</code>
341  <pre>Gets the access control policy for a resource. May be empty if no such policy or resource exists.
342
343Args:
344  project: string, Project ID for this request. (required)
345  zone: string, The name of the zone for this request. (required)
346  resource: string, Name or id of the resource for this request. (required)
347
348Returns:
349  An object of the form:
350
351    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
352      #
353      #
354      #
355      # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.
356      #
357      # **JSON Example**
358      #
359      # { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
360      #
361      # **YAML Example**
362      #
363      # bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer
364      #
365      #
366      #
367      # For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).
368    "auditConfigs": [ # Specifies cloud audit logging configuration for this policy.
369      { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.
370          #
371          # If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.
372          #
373          # Example Policy with multiple AuditConfigs:
374          #
375          # { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] } ] } ] }
376          #
377          # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.
378        "exemptedMembers": [
379          "A String",
380        ],
381        "auditLogConfigs": [ # The configuration for logging of each type of permission.
382          { # Provides the configuration for logging a type of permissions. Example:
383              #
384              # { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", } ] }
385              #
386              # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.
387            "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][].
388              "A String",
389            ],
390            "logType": "A String", # The log type that this config enables.
391          },
392        ],
393        "service": "A String", # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
394      },
395    ],
396    "rules": [ # If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.
397      { # A rule to be applied in a Policy.
398        "logConfigs": [ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
399          { # Specifies what kind of log the caller must write
400            "counter": { # Increment a streamz counter with the specified metric and field names. # Counter options.
401                #
402                # Metric names should start with a '/', generally be lowercase-only, and end in "_count". Field names should not contain an initial slash. The actual exported metric names will have "/iam/policy" prepended.
403                #
404                # Field names correspond to IAM request parameters and field values are their respective values.
405                #
406                # Supported field names: - "authority", which is "[token]" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - "iam_principal", a representation of IAMContext.principal even if a token or authority selector is present; or - "" (empty string), resulting in a counter with no fields.
407                #
408                # Examples: counter { metric: "/debug_access_count" field: "iam_principal" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]}
409                #
410                # At this time we do not support multiple field names (though this may be supported in the future).
411              "field": "A String", # The field value to attribute.
412              "metric": "A String", # The metric to update.
413            },
414            "dataAccess": { # Write a Data Access (Gin) log # Data access options.
415              "logMode": "A String", # Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now.
416            },
417            "cloudAudit": { # Write a Cloud Audit log # Cloud audit options.
418              "logName": "A String", # The log_name to populate in the Cloud Audit Record.
419              "authorizationLoggingOptions": { # Authorization-related information used by Cloud Audit Logging. # Information used by the Cloud Audit Logging pipeline.
420                "permissionType": "A String", # The type of the permission that was checked.
421              },
422            },
423          },
424        ],
425        "notIns": [ # If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
426          "A String",
427        ],
428        "ins": [ # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
429          "A String",
430        ],
431        "action": "A String", # Required
432        "permissions": [ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
433          "A String",
434        ],
435        "conditions": [ # Additional restrictions that must be met. All conditions must pass for the rule to match.
436          { # A condition to be met.
437            "iam": "A String", # Trusted attributes supplied by the IAM system.
438            "sys": "A String", # Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
439            "values": [ # The objects of the condition.
440              "A String",
441            ],
442            "svc": "A String", # Trusted attributes discharged by the service.
443            "op": "A String", # An operator to apply the subject with.
444          },
445        ],
446        "description": "A String", # Human-readable description of the rule.
447      },
448    ],
449    "version": 42, # Deprecated.
450    "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.
451        #
452        # If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.
453    "bindings": [ # Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
454      { # Associates `members` with a `role`.
455        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
456        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:
457            #
458            # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
459            #
460            # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
461            #
462            # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` .
463            #
464            #
465            #
466            # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
467            #
468            # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
469            #
470            #
471            #
472            # * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
473          "A String",
474        ],
475        "condition": { # Represents an expression text. Example: # The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
476            #
477            # title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
478          "title": "A String", # An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
479          "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
480              #
481              # The application context of the containing message determines which well-known feature set of CEL is supported.
482          "description": "A String", # An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
483          "location": "A String", # An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
484        },
485      },
486    ],
487    "iamOwned": True or False,
488  }</pre>
489</div>
490
491<div class="method">
492    <code class="details" id="insert">insert(project, zone, body, requestId=None)</code>
493  <pre>Creates a new reservation.
494
495Args:
496  project: string, Project ID for this request. (required)
497  zone: string, Name of the zone for this request. (required)
498  body: object, The request body. (required)
499    The object takes the form of:
500
501{ # Reservation resource NextID: 13
502  "status": "A String", # [Output Only] The status of the reservation.
503  "kind": "compute#reservation", # [Output Only] Type of the resource. Always compute#reservations for reservations.
504  "name": "A String", # The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
505  "specificReservationRequired": True or False, # Indicates whether the reservation can be consumed by VMs with "any reservation" defined. If the field is set, then only VMs that target the reservation by name using --reservation-affinity can consume this reservation.
506  "commitment": "A String", # [OutputOnly] Full or partial url for parent commitment for reservations which are tied to a commitment.
507  "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
508  "specificReservation": { # This reservation type allows to pre allocate specific instance configuration. # Reservation for instances with specific machine shapes.
509    "count": "A String", # Specifies number of resources that are allocated.
510    "instanceProperties": { # Properties of the SKU instances being reserved. # The instance properties for this specific sku reservation.
511      "minCpuPlatform": "A String", # Minimum cpu platform the reservation.
512      "machineType": "A String", # Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
513      "guestAccelerators": [ # Specifies accelerator type and count.
514        { # A specification of the type and number of accelerator cards attached to the instance.
515          "acceleratorCount": 42, # The number of the guest accelerator cards exposed to this instance.
516          "acceleratorType": "A String", # Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
517        },
518      ],
519      "localSsds": [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
520        {
521          "interface": "A String", # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
522          "diskSizeGb": "A String", # Specifies the size of the disk in base-2 GB.
523        },
524      ],
525    },
526    "inUseCount": "A String", # [OutputOnly] Indicates how many resource are in use.
527  },
528  "zone": "A String", # Zone in which the reservation resides, must be provided if reservation is created with commitment creation.
529  "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
530  "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
531  "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource.
532  "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
533}
534
535  requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
536
537For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
538
539The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
540
541Returns:
542  An object of the form:
543
544    { # Represents an Operation resource.
545      #
546      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
547      #
548      # Operations can be global, regional or zonal.
549      # - For global operations, use the globalOperations resource.
550      # - For regional operations, use the regionOperations resource.
551      # - For zonal operations, use the zonalOperations resource.
552      #
553      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
554    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
555    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
556    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
557    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
558    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
559    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
560    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
561    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
562    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
563    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
564    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
565    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
566    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
567    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
568      {
569        "message": "A String", # [Output Only] A human-readable description of the warning code.
570        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
571        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
572            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
573          {
574            "value": "A String", # [Output Only] A warning data value corresponding to the key.
575            "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
576          },
577        ],
578      },
579    ],
580    "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
581    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
582    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
583    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
584    "name": "A String", # [Output Only] Name of the resource.
585    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
586    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
587      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
588        {
589          "message": "A String", # [Output Only] An optional, human-readable error message.
590          "code": "A String", # [Output Only] The error type identifier for this error.
591          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
592        },
593      ],
594    },
595    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
596    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
597    "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
598  }</pre>
599</div>
600
601<div class="method">
602    <code class="details" id="list">list(project, zone, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
603  <pre>A list all the reservations that have been configured for the specified project in specified zone.
604
605Args:
606  project: string, Project ID for this request. (required)
607  zone: string, Name of the zone for this request. (required)
608  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
609
610You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
611
612Currently, only sorting by name or creationTimestamp desc is supported.
613  maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
614  pageToken: string, Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
615  filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
616
617For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
618
619You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
620
621To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
622
623Returns:
624  An object of the form:
625
626    {
627    "nextPageToken": "A String", # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
628    "kind": "compute#reservationList", # [Output Only] Type of resource.Always compute#reservationsList for listsof reservations
629    "items": [ # [Output Only] A list of Allocation resources.
630      { # Reservation resource NextID: 13
631        "status": "A String", # [Output Only] The status of the reservation.
632        "kind": "compute#reservation", # [Output Only] Type of the resource. Always compute#reservations for reservations.
633        "name": "A String", # The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
634        "specificReservationRequired": True or False, # Indicates whether the reservation can be consumed by VMs with "any reservation" defined. If the field is set, then only VMs that target the reservation by name using --reservation-affinity can consume this reservation.
635        "commitment": "A String", # [OutputOnly] Full or partial url for parent commitment for reservations which are tied to a commitment.
636        "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
637        "specificReservation": { # This reservation type allows to pre allocate specific instance configuration. # Reservation for instances with specific machine shapes.
638          "count": "A String", # Specifies number of resources that are allocated.
639          "instanceProperties": { # Properties of the SKU instances being reserved. # The instance properties for this specific sku reservation.
640            "minCpuPlatform": "A String", # Minimum cpu platform the reservation.
641            "machineType": "A String", # Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
642            "guestAccelerators": [ # Specifies accelerator type and count.
643              { # A specification of the type and number of accelerator cards attached to the instance.
644                "acceleratorCount": 42, # The number of the guest accelerator cards exposed to this instance.
645                "acceleratorType": "A String", # Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
646              },
647            ],
648            "localSsds": [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
649              {
650                "interface": "A String", # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
651                "diskSizeGb": "A String", # Specifies the size of the disk in base-2 GB.
652              },
653            ],
654          },
655          "inUseCount": "A String", # [OutputOnly] Indicates how many resource are in use.
656        },
657        "zone": "A String", # Zone in which the reservation resides, must be provided if reservation is created with commitment creation.
658        "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
659        "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
660        "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource.
661        "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
662      },
663    ],
664    "warning": { # [Output Only] Informational warning message.
665      "message": "A String", # [Output Only] A human-readable description of the warning code.
666      "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
667      "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
668          # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
669        {
670          "value": "A String", # [Output Only] A warning data value corresponding to the key.
671          "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
672        },
673      ],
674    },
675    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
676    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
677  }</pre>
678</div>
679
680<div class="method">
681    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
682  <pre>Retrieves the next page of results.
683
684Args:
685  previous_request: The request for the previous page. (required)
686  previous_response: The response from the request for the previous page. (required)
687
688Returns:
689  A request object that you can call 'execute()' on to request the next
690  page. Returns None if there are no more items in the collection.
691    </pre>
692</div>
693
694<div class="method">
695    <code class="details" id="resize">resize(project, zone, reservation, body, requestId=None)</code>
696  <pre>Resizes the reservation (applicable to standalone reservations only)
697
698Args:
699  project: string, Project ID for this request. (required)
700  zone: string, Name of the zone for this request. (required)
701  reservation: string, Name of the reservation to update. (required)
702  body: object, The request body. (required)
703    The object takes the form of:
704
705{
706    "specificSkuCount": "A String", # Number of allocated resources can be resized with minimum = 1 and maximum = 1000.
707  }
708
709  requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
710
711For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
712
713The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
714
715Returns:
716  An object of the form:
717
718    { # Represents an Operation resource.
719      #
720      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
721      #
722      # Operations can be global, regional or zonal.
723      # - For global operations, use the globalOperations resource.
724      # - For regional operations, use the regionOperations resource.
725      # - For zonal operations, use the zonalOperations resource.
726      #
727      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
728    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
729    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
730    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
731    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
732    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
733    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
734    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
735    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
736    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
737    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
738    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
739    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
740    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
741    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
742      {
743        "message": "A String", # [Output Only] A human-readable description of the warning code.
744        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
745        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
746            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
747          {
748            "value": "A String", # [Output Only] A warning data value corresponding to the key.
749            "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
750          },
751        ],
752      },
753    ],
754    "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id.
755    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
756    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
757    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
758    "name": "A String", # [Output Only] Name of the resource.
759    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
760    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
761      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
762        {
763          "message": "A String", # [Output Only] An optional, human-readable error message.
764          "code": "A String", # [Output Only] The error type identifier for this error.
765          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
766        },
767      ],
768    },
769    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
770    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
771    "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
772  }</pre>
773</div>
774
775<div class="method">
776    <code class="details" id="setIamPolicy">setIamPolicy(project, zone, resource, body)</code>
777  <pre>Sets the access control policy on the specified resource. Replaces any existing policy.
778
779Args:
780  project: string, Project ID for this request. (required)
781  zone: string, The name of the zone for this request. (required)
782  resource: string, Name or id of the resource for this request. (required)
783  body: object, The request body. (required)
784    The object takes the form of:
785
786{
787    "policy": { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. # REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
788        #
789        #
790        #
791        # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.
792        #
793        # **JSON Example**
794        #
795        # { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
796        #
797        # **YAML Example**
798        #
799        # bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer
800        #
801        #
802        #
803        # For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).
804      "auditConfigs": [ # Specifies cloud audit logging configuration for this policy.
805        { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.
806            #
807            # If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.
808            #
809            # Example Policy with multiple AuditConfigs:
810            #
811            # { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] } ] } ] }
812            #
813            # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.
814          "exemptedMembers": [
815            "A String",
816          ],
817          "auditLogConfigs": [ # The configuration for logging of each type of permission.
818            { # Provides the configuration for logging a type of permissions. Example:
819                #
820                # { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", } ] }
821                #
822                # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.
823              "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][].
824                "A String",
825              ],
826              "logType": "A String", # The log type that this config enables.
827            },
828          ],
829          "service": "A String", # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
830        },
831      ],
832      "rules": [ # If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.
833        { # A rule to be applied in a Policy.
834          "logConfigs": [ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
835            { # Specifies what kind of log the caller must write
836              "counter": { # Increment a streamz counter with the specified metric and field names. # Counter options.
837                  #
838                  # Metric names should start with a '/', generally be lowercase-only, and end in "_count". Field names should not contain an initial slash. The actual exported metric names will have "/iam/policy" prepended.
839                  #
840                  # Field names correspond to IAM request parameters and field values are their respective values.
841                  #
842                  # Supported field names: - "authority", which is "[token]" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - "iam_principal", a representation of IAMContext.principal even if a token or authority selector is present; or - "" (empty string), resulting in a counter with no fields.
843                  #
844                  # Examples: counter { metric: "/debug_access_count" field: "iam_principal" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]}
845                  #
846                  # At this time we do not support multiple field names (though this may be supported in the future).
847                "field": "A String", # The field value to attribute.
848                "metric": "A String", # The metric to update.
849              },
850              "dataAccess": { # Write a Data Access (Gin) log # Data access options.
851                "logMode": "A String", # Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now.
852              },
853              "cloudAudit": { # Write a Cloud Audit log # Cloud audit options.
854                "logName": "A String", # The log_name to populate in the Cloud Audit Record.
855                "authorizationLoggingOptions": { # Authorization-related information used by Cloud Audit Logging. # Information used by the Cloud Audit Logging pipeline.
856                  "permissionType": "A String", # The type of the permission that was checked.
857                },
858              },
859            },
860          ],
861          "notIns": [ # If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
862            "A String",
863          ],
864          "ins": [ # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
865            "A String",
866          ],
867          "action": "A String", # Required
868          "permissions": [ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
869            "A String",
870          ],
871          "conditions": [ # Additional restrictions that must be met. All conditions must pass for the rule to match.
872            { # A condition to be met.
873              "iam": "A String", # Trusted attributes supplied by the IAM system.
874              "sys": "A String", # Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
875              "values": [ # The objects of the condition.
876                "A String",
877              ],
878              "svc": "A String", # Trusted attributes discharged by the service.
879              "op": "A String", # An operator to apply the subject with.
880            },
881          ],
882          "description": "A String", # Human-readable description of the rule.
883        },
884      ],
885      "version": 42, # Deprecated.
886      "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.
887          #
888          # If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.
889      "bindings": [ # Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
890        { # Associates `members` with a `role`.
891          "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
892          "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:
893              #
894              # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
895              #
896              # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
897              #
898              # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` .
899              #
900              #
901              #
902              # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
903              #
904              # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
905              #
906              #
907              #
908              # * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
909            "A String",
910          ],
911          "condition": { # Represents an expression text. Example: # The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
912              #
913              # title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
914            "title": "A String", # An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
915            "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
916                #
917                # The application context of the containing message determines which well-known feature set of CEL is supported.
918            "description": "A String", # An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
919            "location": "A String", # An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
920          },
921        },
922      ],
923      "iamOwned": True or False,
924    },
925    "bindings": [ # Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.
926      { # Associates `members` with a `role`.
927        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
928        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:
929            #
930            # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
931            #
932            # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
933            #
934            # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` .
935            #
936            #
937            #
938            # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
939            #
940            # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
941            #
942            #
943            #
944            # * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
945          "A String",
946        ],
947        "condition": { # Represents an expression text. Example: # The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
948            #
949            # title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
950          "title": "A String", # An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
951          "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
952              #
953              # The application context of the containing message determines which well-known feature set of CEL is supported.
954          "description": "A String", # An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
955          "location": "A String", # An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
956        },
957      },
958    ],
959    "etag": "A String", # Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
960  }
961
962
963Returns:
964  An object of the form:
965
966    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
967      #
968      #
969      #
970      # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.
971      #
972      # **JSON Example**
973      #
974      # { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
975      #
976      # **YAML Example**
977      #
978      # bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer
979      #
980      #
981      #
982      # For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).
983    "auditConfigs": [ # Specifies cloud audit logging configuration for this policy.
984      { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.
985          #
986          # If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.
987          #
988          # Example Policy with multiple AuditConfigs:
989          #
990          # { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] } ] } ] }
991          #
992          # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.
993        "exemptedMembers": [
994          "A String",
995        ],
996        "auditLogConfigs": [ # The configuration for logging of each type of permission.
997          { # Provides the configuration for logging a type of permissions. Example:
998              #
999              # { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", } ] }
1000              #
1001              # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.
1002            "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][].
1003              "A String",
1004            ],
1005            "logType": "A String", # The log type that this config enables.
1006          },
1007        ],
1008        "service": "A String", # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
1009      },
1010    ],
1011    "rules": [ # If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.
1012      { # A rule to be applied in a Policy.
1013        "logConfigs": [ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
1014          { # Specifies what kind of log the caller must write
1015            "counter": { # Increment a streamz counter with the specified metric and field names. # Counter options.
1016                #
1017                # Metric names should start with a '/', generally be lowercase-only, and end in "_count". Field names should not contain an initial slash. The actual exported metric names will have "/iam/policy" prepended.
1018                #
1019                # Field names correspond to IAM request parameters and field values are their respective values.
1020                #
1021                # Supported field names: - "authority", which is "[token]" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - "iam_principal", a representation of IAMContext.principal even if a token or authority selector is present; or - "" (empty string), resulting in a counter with no fields.
1022                #
1023                # Examples: counter { metric: "/debug_access_count" field: "iam_principal" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]}
1024                #
1025                # At this time we do not support multiple field names (though this may be supported in the future).
1026              "field": "A String", # The field value to attribute.
1027              "metric": "A String", # The metric to update.
1028            },
1029            "dataAccess": { # Write a Data Access (Gin) log # Data access options.
1030              "logMode": "A String", # Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now.
1031            },
1032            "cloudAudit": { # Write a Cloud Audit log # Cloud audit options.
1033              "logName": "A String", # The log_name to populate in the Cloud Audit Record.
1034              "authorizationLoggingOptions": { # Authorization-related information used by Cloud Audit Logging. # Information used by the Cloud Audit Logging pipeline.
1035                "permissionType": "A String", # The type of the permission that was checked.
1036              },
1037            },
1038          },
1039        ],
1040        "notIns": [ # If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
1041          "A String",
1042        ],
1043        "ins": [ # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
1044          "A String",
1045        ],
1046        "action": "A String", # Required
1047        "permissions": [ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
1048          "A String",
1049        ],
1050        "conditions": [ # Additional restrictions that must be met. All conditions must pass for the rule to match.
1051          { # A condition to be met.
1052            "iam": "A String", # Trusted attributes supplied by the IAM system.
1053            "sys": "A String", # Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
1054            "values": [ # The objects of the condition.
1055              "A String",
1056            ],
1057            "svc": "A String", # Trusted attributes discharged by the service.
1058            "op": "A String", # An operator to apply the subject with.
1059          },
1060        ],
1061        "description": "A String", # Human-readable description of the rule.
1062      },
1063    ],
1064    "version": 42, # Deprecated.
1065    "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.
1066        #
1067        # If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.
1068    "bindings": [ # Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
1069      { # Associates `members` with a `role`.
1070        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
1071        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:
1072            #
1073            # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
1074            #
1075            # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
1076            #
1077            # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` .
1078            #
1079            #
1080            #
1081            # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
1082            #
1083            # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
1084            #
1085            #
1086            #
1087            # * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
1088          "A String",
1089        ],
1090        "condition": { # Represents an expression text. Example: # The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
1091            #
1092            # title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
1093          "title": "A String", # An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
1094          "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
1095              #
1096              # The application context of the containing message determines which well-known feature set of CEL is supported.
1097          "description": "A String", # An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
1098          "location": "A String", # An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
1099        },
1100      },
1101    ],
1102    "iamOwned": True or False,
1103  }</pre>
1104</div>
1105
1106<div class="method">
1107    <code class="details" id="testIamPermissions">testIamPermissions(project, zone, resource, body)</code>
1108  <pre>Returns permissions that a caller has on the specified resource.
1109
1110Args:
1111  project: string, Project ID for this request. (required)
1112  zone: string, The name of the zone for this request. (required)
1113  resource: string, Name or id of the resource for this request. (required)
1114  body: object, The request body. (required)
1115    The object takes the form of:
1116
1117{
1118    "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
1119      "A String",
1120    ],
1121  }
1122
1123
1124Returns:
1125  An object of the form:
1126
1127    {
1128    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1129      "A String",
1130    ],
1131  }</pre>
1132</div>
1133
1134</body></html>