• 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="dataproc_v1beta2.html">Cloud Dataproc API</a> . <a href="dataproc_v1beta2.projects.html">projects</a> . <a href="dataproc_v1beta2.projects.regions.html">regions</a> . <a href="dataproc_v1beta2.projects.regions.operations.html">operations</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#cancel">cancel(name, x__xgafv=None)</a></code></p>
79<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.</p>
80<p class="toc_element">
81  <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.</p>
83<p class="toc_element">
84  <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
86<p class="toc_element">
87  <code><a href="#getIamPolicy">getIamPolicy(resource, x__xgafv=None)</a></code></p>
88<p class="firstline">Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.</p>
89<p class="toc_element">
90  <code><a href="#list">list(name, pageToken=None, x__xgafv=None, pageSize=None, filter=None)</a></code></p>
91<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.</p>
92<p class="toc_element">
93  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
96  <code><a href="#setIamPolicy">setIamPolicy(resource, body, x__xgafv=None)</a></code></p>
97<p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy.</p>
98<p class="toc_element">
99  <code><a href="#testIamPermissions">testIamPermissions(resource, body, x__xgafv=None)</a></code></p>
100<p class="firstline">Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.</p>
101<h3>Method Details</h3>
102<div class="method">
103    <code class="details" id="cancel">cancel(name, x__xgafv=None)</code>
104  <pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
105
106Args:
107  name: string, The name of the operation resource to be cancelled. (required)
108  x__xgafv: string, V1 error format.
109    Allowed values
110      1 - v1 error format
111      2 - v2 error format
112
113Returns:
114  An object of the form:
115
116    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
117      # service Foo {
118      #   rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
119      # }
120      # The JSON representation for Empty is empty JSON object {}.
121  }</pre>
122</div>
123
124<div class="method">
125    <code class="details" id="delete">delete(name, x__xgafv=None)</code>
126  <pre>Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
127
128Args:
129  name: string, The name of the operation resource to be deleted. (required)
130  x__xgafv: string, V1 error format.
131    Allowed values
132      1 - v1 error format
133      2 - v2 error format
134
135Returns:
136  An object of the form:
137
138    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
139      # service Foo {
140      #   rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
141      # }
142      # The JSON representation for Empty is empty JSON object {}.
143  }</pre>
144</div>
145
146<div class="method">
147    <code class="details" id="get">get(name, x__xgafv=None)</code>
148  <pre>Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
149
150Args:
151  name: string, The name of the operation resource. (required)
152  x__xgafv: string, V1 error format.
153    Allowed values
154      1 - v1 error format
155      2 - v2 error format
156
157Returns:
158  An object of the form:
159
160    { # This resource represents a long-running operation that is the result of a network API call.
161    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
162      "a_key": "", # Properties of the object. Contains field @type with type URL.
163    },
164    "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
165      "a_key": "", # Properties of the object. Contains field @type with type URL.
166    },
167    "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
168    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
169    "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
170      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
171      "code": 42, # The status code, which should be an enum value of google.rpc.Code.
172      "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
173        {
174          "a_key": "", # Properties of the object. Contains field @type with type URL.
175        },
176      ],
177    },
178  }</pre>
179</div>
180
181<div class="method">
182    <code class="details" id="getIamPolicy">getIamPolicy(resource, x__xgafv=None)</code>
183  <pre>Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
184
185Args:
186  resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
187  x__xgafv: string, V1 error format.
188    Allowed values
189      1 - v1 error format
190      2 - v2 error format
191
192Returns:
193  An object of the form:
194
195    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.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.JSON Example
196      # {
197      #   "bindings": [
198      #     {
199      #       "role": "roles/owner",
200      #       "members": [
201      #         "user:mike@example.com",
202      #         "group:admins@example.com",
203      #         "domain:google.com",
204      #         "serviceAccount:my-other-app@appspot.gserviceaccount.com"
205      #       ]
206      #     },
207      #     {
208      #       "role": "roles/viewer",
209      #       "members": ["user:sean@example.com"]
210      #     }
211      #   ]
212      # }
213      # YAML Example
214      # bindings:
215      # - members:
216      #   - user:mike@example.com
217      #   - group:admins@example.com
218      #   - domain:google.com
219      #   - serviceAccount:my-other-app@appspot.gserviceaccount.com
220      #   role: roles/owner
221      # - members:
222      #   - user:sean@example.com
223      #   role: roles/viewer
224      # For a description of IAM and its features, see the IAM developer's guide (https://cloud.google.com/iam/docs).
225    "bindings": [ # Associates a list of members to a role. bindings with no members will result in an error.
226      { # Associates members with a role.
227        "role": "A String", # Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner.
228        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. members can have the following values:
229            # allUsers: A special identifier that represents anyone who is  on the internet; with or without a Google account.
230            # allAuthenticatedUsers: A special identifier that represents anyone  who is authenticated with a Google account or a service account.
231            # user:{emailid}: An email address that represents a specific Google  account. For example, alice@gmail.com .
232            # serviceAccount:{emailid}: An email address that represents a service  account. For example, my-other-app@appspot.gserviceaccount.com.
233            # group:{emailid}: An email address that represents a Google group.  For example, admins@example.com.
234            # domain:{domain}: The G Suite domain (primary) that represents all the  users of that domain. For example, google.com or example.com.
235          "A String",
236        ],
237        "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.
238            # title: "User account presence"
239            # description: "Determines whether the request has a user account"
240            # expression: "size(request.user) > 0"
241          "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.
242          "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.The application context of the containing message determines which well-known feature set of CEL is supported.
243          "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.
244          "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.
245        },
246      },
247    ],
248    "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.If no etag is provided in the call to setIamPolicy, then the existing policy is overwritten blindly.
249    "version": 42, # Deprecated.
250  }</pre>
251</div>
252
253<div class="method">
254    <code class="details" id="list">list(name, pageToken=None, x__xgafv=None, pageSize=None, filter=None)</code>
255  <pre>Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
256
257Args:
258  name: string, The name of the operation's parent resource. (required)
259  pageToken: string, The standard list page token.
260  x__xgafv: string, V1 error format.
261    Allowed values
262      1 - v1 error format
263      2 - v2 error format
264  pageSize: integer, The standard list page size.
265  filter: string, The standard list filter.
266
267Returns:
268  An object of the form:
269
270    { # The response message for Operations.ListOperations.
271    "nextPageToken": "A String", # The standard List next-page token.
272    "operations": [ # A list of operations that matches the specified filter in the request.
273      { # This resource represents a long-running operation that is the result of a network API call.
274        "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
275          "a_key": "", # Properties of the object. Contains field @type with type URL.
276        },
277        "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
278          "a_key": "", # Properties of the object. Contains field @type with type URL.
279        },
280        "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
281        "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
282        "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
283          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
284          "code": 42, # The status code, which should be an enum value of google.rpc.Code.
285          "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
286            {
287              "a_key": "", # Properties of the object. Contains field @type with type URL.
288            },
289          ],
290        },
291      },
292    ],
293  }</pre>
294</div>
295
296<div class="method">
297    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
298  <pre>Retrieves the next page of results.
299
300Args:
301  previous_request: The request for the previous page. (required)
302  previous_response: The response from the request for the previous page. (required)
303
304Returns:
305  A request object that you can call 'execute()' on to request the next
306  page. Returns None if there are no more items in the collection.
307    </pre>
308</div>
309
310<div class="method">
311    <code class="details" id="setIamPolicy">setIamPolicy(resource, body, x__xgafv=None)</code>
312  <pre>Sets the access control policy on the specified resource. Replaces any existing policy.
313
314Args:
315  resource: string, REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. (required)
316  body: object, The request body. (required)
317    The object takes the form of:
318
319{ # Request message for SetIamPolicy method.
320    "policy": { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.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.JSON Example # REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
321        # {
322        #   "bindings": [
323        #     {
324        #       "role": "roles/owner",
325        #       "members": [
326        #         "user:mike@example.com",
327        #         "group:admins@example.com",
328        #         "domain:google.com",
329        #         "serviceAccount:my-other-app@appspot.gserviceaccount.com"
330        #       ]
331        #     },
332        #     {
333        #       "role": "roles/viewer",
334        #       "members": ["user:sean@example.com"]
335        #     }
336        #   ]
337        # }
338        # YAML Example
339        # bindings:
340        # - members:
341        #   - user:mike@example.com
342        #   - group:admins@example.com
343        #   - domain:google.com
344        #   - serviceAccount:my-other-app@appspot.gserviceaccount.com
345        #   role: roles/owner
346        # - members:
347        #   - user:sean@example.com
348        #   role: roles/viewer
349        # For a description of IAM and its features, see the IAM developer's guide (https://cloud.google.com/iam/docs).
350      "bindings": [ # Associates a list of members to a role. bindings with no members will result in an error.
351        { # Associates members with a role.
352          "role": "A String", # Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner.
353          "members": [ # Specifies the identities requesting access for a Cloud Platform resource. members can have the following values:
354              # allUsers: A special identifier that represents anyone who is  on the internet; with or without a Google account.
355              # allAuthenticatedUsers: A special identifier that represents anyone  who is authenticated with a Google account or a service account.
356              # user:{emailid}: An email address that represents a specific Google  account. For example, alice@gmail.com .
357              # serviceAccount:{emailid}: An email address that represents a service  account. For example, my-other-app@appspot.gserviceaccount.com.
358              # group:{emailid}: An email address that represents a Google group.  For example, admins@example.com.
359              # domain:{domain}: The G Suite domain (primary) that represents all the  users of that domain. For example, google.com or example.com.
360            "A String",
361          ],
362          "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.
363              # title: "User account presence"
364              # description: "Determines whether the request has a user account"
365              # expression: "size(request.user) > 0"
366            "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.
367            "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.The application context of the containing message determines which well-known feature set of CEL is supported.
368            "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.
369            "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.
370          },
371        },
372      ],
373      "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.If no etag is provided in the call to setIamPolicy, then the existing policy is overwritten blindly.
374      "version": 42, # Deprecated.
375    },
376  }
377
378  x__xgafv: string, V1 error format.
379    Allowed values
380      1 - v1 error format
381      2 - v2 error format
382
383Returns:
384  An object of the form:
385
386    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.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.JSON Example
387      # {
388      #   "bindings": [
389      #     {
390      #       "role": "roles/owner",
391      #       "members": [
392      #         "user:mike@example.com",
393      #         "group:admins@example.com",
394      #         "domain:google.com",
395      #         "serviceAccount:my-other-app@appspot.gserviceaccount.com"
396      #       ]
397      #     },
398      #     {
399      #       "role": "roles/viewer",
400      #       "members": ["user:sean@example.com"]
401      #     }
402      #   ]
403      # }
404      # YAML Example
405      # bindings:
406      # - members:
407      #   - user:mike@example.com
408      #   - group:admins@example.com
409      #   - domain:google.com
410      #   - serviceAccount:my-other-app@appspot.gserviceaccount.com
411      #   role: roles/owner
412      # - members:
413      #   - user:sean@example.com
414      #   role: roles/viewer
415      # For a description of IAM and its features, see the IAM developer's guide (https://cloud.google.com/iam/docs).
416    "bindings": [ # Associates a list of members to a role. bindings with no members will result in an error.
417      { # Associates members with a role.
418        "role": "A String", # Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner.
419        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. members can have the following values:
420            # allUsers: A special identifier that represents anyone who is  on the internet; with or without a Google account.
421            # allAuthenticatedUsers: A special identifier that represents anyone  who is authenticated with a Google account or a service account.
422            # user:{emailid}: An email address that represents a specific Google  account. For example, alice@gmail.com .
423            # serviceAccount:{emailid}: An email address that represents a service  account. For example, my-other-app@appspot.gserviceaccount.com.
424            # group:{emailid}: An email address that represents a Google group.  For example, admins@example.com.
425            # domain:{domain}: The G Suite domain (primary) that represents all the  users of that domain. For example, google.com or example.com.
426          "A String",
427        ],
428        "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.
429            # title: "User account presence"
430            # description: "Determines whether the request has a user account"
431            # expression: "size(request.user) > 0"
432          "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.
433          "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.The application context of the containing message determines which well-known feature set of CEL is supported.
434          "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.
435          "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.
436        },
437      },
438    ],
439    "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.If no etag is provided in the call to setIamPolicy, then the existing policy is overwritten blindly.
440    "version": 42, # Deprecated.
441  }</pre>
442</div>
443
444<div class="method">
445    <code class="details" id="testIamPermissions">testIamPermissions(resource, body, x__xgafv=None)</code>
446  <pre>Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
447
448Args:
449  resource: string, REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. (required)
450  body: object, The request body. (required)
451    The object takes the form of:
452
453{ # Request message for TestIamPermissions method.
454    "permissions": [ # The set of permissions to check for the resource. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).
455      "A String",
456    ],
457  }
458
459  x__xgafv: string, V1 error format.
460    Allowed values
461      1 - v1 error format
462      2 - v2 error format
463
464Returns:
465  An object of the form:
466
467    { # Response message for TestIamPermissions method.
468    "permissions": [ # A subset of TestPermissionsRequest.permissions that the caller is allowed.
469      "A String",
470    ],
471  }</pre>
472</div>
473
474</body></html>