blob: c60afd01e7f03d22466ba384b0308c65ac3eb046 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="datafusion_v1beta1.html">Cloud Data Fusion API</a> . <a href="datafusion_v1beta1.projects.html">projects</a> . <a href="datafusion_v1beta1.projects.locations.html">locations</a> . <a href="datafusion_v1beta1.projects.locations.instances.html">instances</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(parent, body=None, instanceId=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Creates a new Data Fusion instance in the specified project and location.</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 single Date Fusion instance.</p>
83<p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Gets details of a single Data Fusion instance.</p>
86<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">Gets the access control policy for a resource.</p>
89<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#list">list(parent, orderBy=None, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070091<p class="firstline">Lists Data Fusion instances in the specified project and location.</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">
Dan O'Mearadd494642020-05-01 07:42:23 -070096 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070097<p class="firstline">Updates a single Data Fusion instance.</p>
98<p class="toc_element">
99 <code><a href="#restart">restart(name, body=None, x__xgafv=None)</a></code></p>
100<p class="firstline">Restart a single Data Fusion instance.</p>
101<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700103<p class="firstline">Sets the access control policy on the specified resource. Replaces any</p>
104<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700106<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
107<p class="toc_element">
108 <code><a href="#upgrade">upgrade(name, body=None, x__xgafv=None)</a></code></p>
109<p class="firstline">Upgrade a single Data Fusion instance.</p>
110<h3>Method Details</h3>
111<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700112 <code class="details" id="create">create(parent, body=None, instanceId=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700113 <pre>Creates a new Data Fusion instance in the specified project and location.
114
115Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700116 parent: string, The instance&#x27;s project and location in the format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700117projects/{project}/locations/{location}. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700118 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700119 The object takes the form of:
120
121{ # Represents a Data Fusion instance.
Dan O'Mearadd494642020-05-01 07:42:23 -0700122 # Next available ID: 23
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700123 &quot;enableStackdriverLogging&quot;: True or False, # Option to enable Stackdriver Logging.
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 &quot;options&quot;: { # Map of additional options used to configure the behavior of
125 # Data Fusion instance.
126 &quot;a_key&quot;: &quot;A String&quot;,
127 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 &quot;availableVersion&quot;: [ # Available versions that the instance can be upgraded to using
129 # UpdateInstanceRequest.
130 { # The Data Fusion version.
131 &quot;defaultVersion&quot;: True or False, # Whether this is currently the default version for Cloud Data Fusion
132 &quot;versionNumber&quot;: &quot;A String&quot;, # The version number of the Data Fusion instance, such as &#x27;6.0.1.0&#x27;.
133 },
134 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700135 &quot;networkConfig&quot;: { # Network configuration for a Data Fusion instance. These configurations # Network configuration options. These are required when a private Data
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700136 # Fusion instance is to be created.
137 # are used for peering with the customer network. Configurations are optional
138 # when a public Data Fusion instance is to be created. However, providing
139 # these configurations allows several benefits, such as reduced network latency
140 # while accessing the customer resources from managed Data Fusion instance
141 # nodes, as well as access to the customer on-prem resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700142 &quot;network&quot;: &quot;A String&quot;, # Name of the network in the customer project with which the Tenant Project
Dan O'Mearadd494642020-05-01 07:42:23 -0700143 # will be peered for executing pipelines. In case of shared VPC where the
144 # network resides in another host project the network should specified in
145 # the form of projects/{host-project-id}/global/networks/{network}
Bu Sun Kim65020912020-05-20 12:08:20 -0700146 &quot;ipAllocation&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the managed Data Fusion instance
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700147 # nodes. This range must not overlap with any other ranges used in the Data
148 # Fusion instance network.
149 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 &quot;description&quot;: &quot;A String&quot;, # A description of this instance.
151 &quot;serviceEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint on which the Data Fusion UI is accessible.
Bu Sun Kim65020912020-05-20 12:08:20 -0700152 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this Data Fusion instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700153 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the instance was last updated.
Bu Sun Kim65020912020-05-20 12:08:20 -0700154 &quot;privateInstance&quot;: True or False, # Specifies whether the Data Fusion instance should be private. If set to
155 # true, all Data Fusion nodes will have private IP addresses and will not be
156 # able to access the public internet.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700157 &quot;apiEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint on which the REST APIs is accessible.
Bu Sun Kim65020912020-05-20 12:08:20 -0700158 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. Service account which will be used to access resources in
159 # the customer project.&quot;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700160 &quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying
161 # resources such as Compute Engine VMs. The character &#x27;=&#x27; is not allowed to
162 # be used within the labels.
163 &quot;a_key&quot;: &quot;A String&quot;,
164 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700165 &quot;displayName&quot;: &quot;A String&quot;, # Display name for an instance.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700166 &quot;enableStackdriverMonitoring&quot;: True or False, # Option to enable Stackdriver Monitoring.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700167 &quot;gcsBucket&quot;: &quot;A String&quot;, # Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
168 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
169 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of this instance is in the form of
170 # projects/{project}/locations/{location}/instances/{instance}.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700171 &quot;type&quot;: &quot;A String&quot;, # Required. Instance type.
172 &quot;version&quot;: &quot;A String&quot;, # Current version of Data Fusion.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700173 &quot;zone&quot;: &quot;A String&quot;, # Name of the zone in which the Data Fusion instance will be created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700174 &quot;accelerators&quot;: [ # List of accelerators enabled for this CDF instance.
175 { # Identifies Data Fusion accelerators for an instance.
176 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of an accelator for a CDF instance.
177 },
178 ],
179 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this Data
180 # Fusion instance if available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700181}
182
183 instanceId: string, The name of the instance to create.
184 x__xgafv: string, V1 error format.
185 Allowed values
186 1 - v1 error format
187 2 - v2 error format
188
189Returns:
190 An object of the form:
191
192 { # This resource represents a long-running operation that is the result of a
193 # network API call.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700194 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
195 # different programming environments, including REST APIs and RPC APIs. It is
196 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
197 # three pieces of data: error code, error message, and error details.
198 #
199 # You can find out more about this error model and how to work with it in the
200 # [API Design Guide](https://cloud.google.com/apis/design/errors).
201 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
202 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
203 # user-facing error message should be localized and sent in the
204 # google.rpc.Status.details field, or localized by the client.
205 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
206 # message types for APIs to use.
207 {
208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
209 },
210 ],
211 },
212 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
213 # If `true`, the operation is completed, and either `error` or `response` is
214 # available.
215 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
216 # contains progress information and common metadata such as create time.
217 # Some services might not provide such metadata. Any method that returns a
218 # long-running operation should document the metadata type, if any.
219 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
220 },
221 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
222 # originally returns it. If you use the default HTTP mapping, the
223 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700224 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700225 # method returns no data on success, such as `Delete`, the response is
226 # `google.protobuf.Empty`. If the original method is standard
227 # `Get`/`Create`/`Update`, the response should be the resource. For other
228 # methods, the response should have the type `XxxResponse`, where `Xxx`
229 # is the original method name. For example, if the original method name
230 # is `TakeSnapshot()`, the inferred response type is
231 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700232 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700233 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700234 }</pre>
235</div>
236
237<div class="method">
238 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
239 <pre>Deletes a single Date Fusion instance.
240
241Args:
242 name: string, The instance resource name in the format
243projects/{project}/locations/{location}/instances/{instance} (required)
244 x__xgafv: string, V1 error format.
245 Allowed values
246 1 - v1 error format
247 2 - v2 error format
248
249Returns:
250 An object of the form:
251
252 { # This resource represents a long-running operation that is the result of a
253 # network API call.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700254 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
255 # different programming environments, including REST APIs and RPC APIs. It is
256 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
257 # three pieces of data: error code, error message, and error details.
258 #
259 # You can find out more about this error model and how to work with it in the
260 # [API Design Guide](https://cloud.google.com/apis/design/errors).
261 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
262 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
263 # user-facing error message should be localized and sent in the
264 # google.rpc.Status.details field, or localized by the client.
265 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
266 # message types for APIs to use.
267 {
268 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
269 },
270 ],
271 },
272 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
273 # If `true`, the operation is completed, and either `error` or `response` is
274 # available.
275 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
276 # contains progress information and common metadata such as create time.
277 # Some services might not provide such metadata. Any method that returns a
278 # long-running operation should document the metadata type, if any.
279 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
280 },
281 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
282 # originally returns it. If you use the default HTTP mapping, the
283 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700284 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700285 # method returns no data on success, such as `Delete`, the response is
286 # `google.protobuf.Empty`. If the original method is standard
287 # `Get`/`Create`/`Update`, the response should be the resource. For other
288 # methods, the response should have the type `XxxResponse`, where `Xxx`
289 # is the original method name. For example, if the original method name
290 # is `TakeSnapshot()`, the inferred response type is
291 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700292 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700293 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700294 }</pre>
295</div>
296
297<div class="method">
298 <code class="details" id="get">get(name, x__xgafv=None)</code>
299 <pre>Gets details of a single Data Fusion instance.
300
301Args:
302 name: string, The instance resource name in the format
303projects/{project}/locations/{location}/instances/{instance}. (required)
304 x__xgafv: string, V1 error format.
305 Allowed values
306 1 - v1 error format
307 2 - v2 error format
308
309Returns:
310 An object of the form:
311
312 { # Represents a Data Fusion instance.
Dan O'Mearadd494642020-05-01 07:42:23 -0700313 # Next available ID: 23
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700314 &quot;enableStackdriverLogging&quot;: True or False, # Option to enable Stackdriver Logging.
Bu Sun Kim65020912020-05-20 12:08:20 -0700315 &quot;options&quot;: { # Map of additional options used to configure the behavior of
316 # Data Fusion instance.
317 &quot;a_key&quot;: &quot;A String&quot;,
318 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700319 &quot;availableVersion&quot;: [ # Available versions that the instance can be upgraded to using
320 # UpdateInstanceRequest.
321 { # The Data Fusion version.
322 &quot;defaultVersion&quot;: True or False, # Whether this is currently the default version for Cloud Data Fusion
323 &quot;versionNumber&quot;: &quot;A String&quot;, # The version number of the Data Fusion instance, such as &#x27;6.0.1.0&#x27;.
324 },
325 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 &quot;networkConfig&quot;: { # Network configuration for a Data Fusion instance. These configurations # Network configuration options. These are required when a private Data
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700327 # Fusion instance is to be created.
328 # are used for peering with the customer network. Configurations are optional
329 # when a public Data Fusion instance is to be created. However, providing
330 # these configurations allows several benefits, such as reduced network latency
331 # while accessing the customer resources from managed Data Fusion instance
332 # nodes, as well as access to the customer on-prem resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700333 &quot;network&quot;: &quot;A String&quot;, # Name of the network in the customer project with which the Tenant Project
Dan O'Mearadd494642020-05-01 07:42:23 -0700334 # will be peered for executing pipelines. In case of shared VPC where the
335 # network resides in another host project the network should specified in
336 # the form of projects/{host-project-id}/global/networks/{network}
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 &quot;ipAllocation&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the managed Data Fusion instance
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700338 # nodes. This range must not overlap with any other ranges used in the Data
339 # Fusion instance network.
340 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700341 &quot;description&quot;: &quot;A String&quot;, # A description of this instance.
342 &quot;serviceEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint on which the Data Fusion UI is accessible.
Bu Sun Kim65020912020-05-20 12:08:20 -0700343 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this Data Fusion instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700344 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the instance was last updated.
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 &quot;privateInstance&quot;: True or False, # Specifies whether the Data Fusion instance should be private. If set to
346 # true, all Data Fusion nodes will have private IP addresses and will not be
347 # able to access the public internet.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700348 &quot;apiEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint on which the REST APIs is accessible.
Bu Sun Kim65020912020-05-20 12:08:20 -0700349 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. Service account which will be used to access resources in
350 # the customer project.&quot;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700351 &quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying
352 # resources such as Compute Engine VMs. The character &#x27;=&#x27; is not allowed to
353 # be used within the labels.
354 &quot;a_key&quot;: &quot;A String&quot;,
355 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700356 &quot;displayName&quot;: &quot;A String&quot;, # Display name for an instance.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700357 &quot;enableStackdriverMonitoring&quot;: True or False, # Option to enable Stackdriver Monitoring.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700358 &quot;gcsBucket&quot;: &quot;A String&quot;, # Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
359 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
360 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of this instance is in the form of
361 # projects/{project}/locations/{location}/instances/{instance}.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700362 &quot;type&quot;: &quot;A String&quot;, # Required. Instance type.
363 &quot;version&quot;: &quot;A String&quot;, # Current version of Data Fusion.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700364 &quot;zone&quot;: &quot;A String&quot;, # Name of the zone in which the Data Fusion instance will be created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700365 &quot;accelerators&quot;: [ # List of accelerators enabled for this CDF instance.
366 { # Identifies Data Fusion accelerators for an instance.
367 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of an accelator for a CDF instance.
368 },
369 ],
370 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this Data
371 # Fusion instance if available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700372 }</pre>
373</div>
374
375<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700376 <code class="details" id="getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700377 <pre>Gets the access control policy for a resource.
378Returns an empty policy if the resource exists and does not have a policy
379set.
380
381Args:
382 resource: string, REQUIRED: The resource for which the policy is being requested.
383See the operation documentation for the appropriate value for this field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700384 options_requestedPolicyVersion: integer, Optional. The policy format version to be returned.
385
386Valid values are 0, 1, and 3. Requests specifying an invalid value will be
387rejected.
388
389Requests for policies with any conditional bindings must specify version 3.
390Policies without any conditional bindings may specify any valid value or
391leave the field unset.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700392
393To learn which resources support conditions in their IAM policies, see the
394[IAM
395documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700396 x__xgafv: string, V1 error format.
397 Allowed values
398 1 - v1 error format
399 2 - v2 error format
400
401Returns:
402 An object of the form:
403
Dan O'Mearadd494642020-05-01 07:42:23 -0700404 { # An Identity and Access Management (IAM) policy, which specifies access
405 # controls for Google Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700406 #
407 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700408 # A `Policy` is a collection of `bindings`. A `binding` binds one or more
409 # `members` to a single `role`. Members can be user accounts, service accounts,
410 # Google groups, and domains (such as G Suite). A `role` is a named list of
411 # permissions; each `role` can be an IAM predefined role or a user-created
412 # custom role.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700413 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700414 # For some types of Google Cloud resources, a `binding` can also specify a
415 # `condition`, which is a logical expression that allows access to a resource
416 # only if the expression evaluates to `true`. A condition can add constraints
417 # based on attributes of the request, the resource, or both. To learn which
418 # resources support conditions in their IAM policies, see the
419 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Dan O'Mearadd494642020-05-01 07:42:23 -0700420 #
421 # **JSON example:**
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700422 #
423 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700424 # &quot;bindings&quot;: [
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700425 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700426 # &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;,
427 # &quot;members&quot;: [
428 # &quot;user:mike@example.com&quot;,
429 # &quot;group:admins@example.com&quot;,
430 # &quot;domain:google.com&quot;,
431 # &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700432 # ]
433 # },
434 # {
Bu Sun Kim65020912020-05-20 12:08:20 -0700435 # &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700436 # &quot;members&quot;: [
437 # &quot;user:eve@example.com&quot;
438 # ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700439 # &quot;condition&quot;: {
440 # &quot;title&quot;: &quot;expirable access&quot;,
441 # &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;,
442 # &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700443 # }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700444 # }
Dan O'Mearadd494642020-05-01 07:42:23 -0700445 # ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700446 # &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;,
447 # &quot;version&quot;: 3
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700448 # }
449 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700450 # **YAML example:**
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700451 #
452 # bindings:
453 # - members:
454 # - user:mike@example.com
455 # - group:admins@example.com
456 # - domain:google.com
Dan O'Mearadd494642020-05-01 07:42:23 -0700457 # - serviceAccount:my-project-id@appspot.gserviceaccount.com
458 # role: roles/resourcemanager.organizationAdmin
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700459 # - members:
Dan O'Mearadd494642020-05-01 07:42:23 -0700460 # - user:eve@example.com
461 # role: roles/resourcemanager.organizationViewer
462 # condition:
463 # title: expirable access
464 # description: Does not grant access after Sep 2020
Bu Sun Kim65020912020-05-20 12:08:20 -0700465 # expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)
Dan O'Mearadd494642020-05-01 07:42:23 -0700466 # - etag: BwWWja0YfJA=
467 # - version: 3
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700468 #
469 # For a description of IAM and its features, see the
Dan O'Mearadd494642020-05-01 07:42:23 -0700470 # [IAM documentation](https://cloud.google.com/iam/docs/).
Bu Sun Kim65020912020-05-20 12:08:20 -0700471 &quot;version&quot;: 42, # Specifies the format of the policy.
472 #
473 # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
474 # are rejected.
475 #
476 # Any operation that affects conditional role bindings must specify version
477 # `3`. This requirement applies to the following operations:
478 #
479 # * Getting a policy that includes a conditional role binding
480 # * Adding a conditional role binding to a policy
481 # * Changing a conditional role binding in a policy
482 # * Removing any role binding, with or without a condition, from a policy
483 # that includes conditions
484 #
485 # **Important:** If you use IAM Conditions, you must include the `etag` field
486 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
487 # you to overwrite a version `3` policy with a version `1` policy, and all of
488 # the conditions in the version `3` policy are lost.
489 #
490 # If a policy does not include any conditions, operations on that policy may
491 # specify any valid version or leave the field unset.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700492 #
493 # To learn which resources support conditions in their IAM policies, see the
494 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
495 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help
496 # prevent simultaneous updates of a policy from overwriting each other.
497 # It is strongly suggested that systems make use of the `etag` in the
498 # read-modify-write cycle to perform policy updates in order to avoid race
499 # conditions: An `etag` is returned in the response to `getIamPolicy`, and
500 # systems are expected to put that etag in the request to `setIamPolicy` to
501 # ensure that their change will be applied to the same version of the policy.
502 #
503 # **Important:** If you use IAM Conditions, you must include the `etag` field
504 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
505 # you to overwrite a version `3` policy with a version `1` policy, and all of
506 # the conditions in the version `3` policy are lost.
Bu Sun Kim65020912020-05-20 12:08:20 -0700507 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
508 { # Specifies the audit configuration for a service.
509 # The configuration determines which permission types are logged, and what
510 # identities, if any, are exempted from logging.
511 # An AuditConfig must have one or more AuditLogConfigs.
512 #
513 # If there are AuditConfigs for both `allServices` and a specific service,
514 # the union of the two AuditConfigs is used for that service: the log_types
515 # specified in each AuditConfig are enabled, and the exempted_members in each
516 # AuditLogConfig are exempted.
517 #
518 # Example Policy with multiple AuditConfigs:
519 #
520 # {
521 # &quot;audit_configs&quot;: [
522 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700523 # &quot;service&quot;: &quot;allServices&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700524 # &quot;audit_log_configs&quot;: [
525 # {
526 # &quot;log_type&quot;: &quot;DATA_READ&quot;,
527 # &quot;exempted_members&quot;: [
528 # &quot;user:jose@example.com&quot;
529 # ]
530 # },
531 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700532 # &quot;log_type&quot;: &quot;DATA_WRITE&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -0700533 # },
534 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700535 # &quot;log_type&quot;: &quot;ADMIN_READ&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -0700536 # }
537 # ]
538 # },
539 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700540 # &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700541 # &quot;audit_log_configs&quot;: [
542 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700543 # &quot;log_type&quot;: &quot;DATA_READ&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -0700544 # },
545 # {
546 # &quot;log_type&quot;: &quot;DATA_WRITE&quot;,
547 # &quot;exempted_members&quot;: [
548 # &quot;user:aliya@example.com&quot;
549 # ]
550 # }
551 # ]
552 # }
553 # ]
554 # }
555 #
556 # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
557 # logging. It also exempts jose@example.com from DATA_READ logging, and
558 # aliya@example.com from DATA_WRITE logging.
559 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging.
560 # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
561 # `allServices` is a special value that covers all services.
562 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
563 { # Provides the configuration for logging a type of permissions.
564 # Example:
565 #
566 # {
567 # &quot;audit_log_configs&quot;: [
568 # {
569 # &quot;log_type&quot;: &quot;DATA_READ&quot;,
570 # &quot;exempted_members&quot;: [
571 # &quot;user:jose@example.com&quot;
572 # ]
573 # },
574 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700575 # &quot;log_type&quot;: &quot;DATA_WRITE&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -0700576 # }
577 # ]
578 # }
579 #
580 # This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting
581 # jose@example.com from DATA_READ logging.
Bu Sun Kim65020912020-05-20 12:08:20 -0700582 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of
583 # permission.
584 # Follows the same format of Binding.members.
585 &quot;A String&quot;,
586 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700587 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
Bu Sun Kim65020912020-05-20 12:08:20 -0700588 },
589 ],
590 },
591 ],
592 &quot;bindings&quot;: [ # Associates a list of `members` to a `role`. Optionally, may specify a
Dan O'Mearadd494642020-05-01 07:42:23 -0700593 # `condition` that determines how and when the `bindings` are applied. Each
594 # of the `bindings` must contain at least one member.
595 { # Associates `members` with a `role`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700596 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # The condition that is associated with this binding.
597 #
598 # If the condition evaluates to `true`, then this binding applies to the
599 # current request.
600 #
601 # If the condition evaluates to `false`, then this binding does not apply to
602 # the current request. However, a different role binding might grant the same
603 # role to one or more of the members in this binding.
604 #
605 # To learn which resources support conditions in their IAM policies, see the
606 # [IAM
607 # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
608 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
609 # are documented at https://github.com/google/cel-spec.
610 #
611 # Example (Comparison):
612 #
613 # title: &quot;Summary size limit&quot;
614 # description: &quot;Determines if a summary is less than 100 chars&quot;
615 # expression: &quot;document.summary.size() &lt; 100&quot;
616 #
617 # Example (Equality):
618 #
619 # title: &quot;Requestor is owner&quot;
620 # description: &quot;Determines if requestor is the document owner&quot;
621 # expression: &quot;document.owner == request.auth.claims.email&quot;
622 #
623 # Example (Logic):
624 #
625 # title: &quot;Public documents&quot;
626 # description: &quot;Determine whether the document should be publicly visible&quot;
627 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
628 #
629 # Example (Data Manipulation):
630 #
631 # title: &quot;Notification string&quot;
632 # description: &quot;Create a notification string with a timestamp.&quot;
633 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
634 #
635 # The exact variables and functions that may be referenced within an expression
636 # are determined by the service that evaluates it. See the service
637 # documentation for additional information.
638 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
639 # reporting, e.g. a file name and a position in the file.
640 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
641 # describes the expression, e.g. when hovered over it in a UI.
642 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
643 # syntax.
644 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
645 # its purpose. This can be used e.g. in UIs which allow to enter the
646 # expression.
647 },
648 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`.
649 # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700650 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform resource.
651 # `members` can have the following values:
652 #
653 # * `allUsers`: A special identifier that represents anyone who is
654 # on the internet; with or without a Google account.
655 #
656 # * `allAuthenticatedUsers`: A special identifier that represents anyone
657 # who is authenticated with a Google account or a service account.
658 #
659 # * `user:{emailid}`: An email address that represents a specific Google
660 # account. For example, `alice@example.com` .
661 #
662 #
663 # * `serviceAccount:{emailid}`: An email address that represents a service
664 # account. For example, `my-other-app@appspot.gserviceaccount.com`.
665 #
666 # * `group:{emailid}`: An email address that represents a Google group.
667 # For example, `admins@example.com`.
668 #
669 # * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
670 # identifier) representing a user that has been recently deleted. For
671 # example, `alice@example.com?uid=123456789012345678901`. If the user is
672 # recovered, this value reverts to `user:{emailid}` and the recovered user
673 # retains the role in the binding.
674 #
675 # * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
676 # unique identifier) representing a service account that has been recently
677 # deleted. For example,
678 # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
679 # If the service account is undeleted, this value reverts to
680 # `serviceAccount:{emailid}` and the undeleted service account retains the
681 # role in the binding.
682 #
683 # * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
684 # identifier) representing a Google group that has been recently
685 # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
686 # the group is recovered, this value reverts to `group:{emailid}` and the
687 # recovered group retains the role in the binding.
688 #
689 #
690 # * `domain:{domain}`: The G Suite domain (primary) that represents all the
691 # users of that domain. For example, `google.com` or `example.com`.
692 #
693 &quot;A String&quot;,
694 ],
Dan O'Mearadd494642020-05-01 07:42:23 -0700695 },
696 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700697 }</pre>
698</div>
699
700<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700701 <code class="details" id="list">list(parent, orderBy=None, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700702 <pre>Lists Data Fusion instances in the specified project and location.
703
704Args:
705 parent: string, The project and location for which to retrieve instance information
706in the format projects/{project}/locations/{location}. If the location is
Bu Sun Kim65020912020-05-20 12:08:20 -0700707specified as &#x27;-&#x27; (wildcard), then all regions available to the project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700708are queried, and the results are aggregated. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700709 orderBy: string, Sort results. Supported values are &quot;name&quot;, &quot;name desc&quot;, or &quot;&quot; (unsorted).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700710 pageToken: string, The next_page_token value to use if there are additional
711results to retrieve for this list request.
Bu Sun Kim65020912020-05-20 12:08:20 -0700712 pageSize: integer, The maximum number of items to return.
713 filter: string, List filter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700714 x__xgafv: string, V1 error format.
715 Allowed values
716 1 - v1 error format
717 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700718
719Returns:
720 An object of the form:
721
722 { # Response message for the list instance request.
Bu Sun Kim65020912020-05-20 12:08:20 -0700723 &quot;instances&quot;: [ # Represents a list of Data Fusion instances.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700724 { # Represents a Data Fusion instance.
Dan O'Mearadd494642020-05-01 07:42:23 -0700725 # Next available ID: 23
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700726 &quot;enableStackdriverLogging&quot;: True or False, # Option to enable Stackdriver Logging.
Bu Sun Kim65020912020-05-20 12:08:20 -0700727 &quot;options&quot;: { # Map of additional options used to configure the behavior of
728 # Data Fusion instance.
729 &quot;a_key&quot;: &quot;A String&quot;,
730 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700731 &quot;availableVersion&quot;: [ # Available versions that the instance can be upgraded to using
732 # UpdateInstanceRequest.
733 { # The Data Fusion version.
734 &quot;defaultVersion&quot;: True or False, # Whether this is currently the default version for Cloud Data Fusion
735 &quot;versionNumber&quot;: &quot;A String&quot;, # The version number of the Data Fusion instance, such as &#x27;6.0.1.0&#x27;.
736 },
737 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700738 &quot;networkConfig&quot;: { # Network configuration for a Data Fusion instance. These configurations # Network configuration options. These are required when a private Data
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700739 # Fusion instance is to be created.
740 # are used for peering with the customer network. Configurations are optional
741 # when a public Data Fusion instance is to be created. However, providing
742 # these configurations allows several benefits, such as reduced network latency
743 # while accessing the customer resources from managed Data Fusion instance
744 # nodes, as well as access to the customer on-prem resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700745 &quot;network&quot;: &quot;A String&quot;, # Name of the network in the customer project with which the Tenant Project
Dan O'Mearadd494642020-05-01 07:42:23 -0700746 # will be peered for executing pipelines. In case of shared VPC where the
747 # network resides in another host project the network should specified in
748 # the form of projects/{host-project-id}/global/networks/{network}
Bu Sun Kim65020912020-05-20 12:08:20 -0700749 &quot;ipAllocation&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the managed Data Fusion instance
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700750 # nodes. This range must not overlap with any other ranges used in the Data
751 # Fusion instance network.
752 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700753 &quot;description&quot;: &quot;A String&quot;, # A description of this instance.
754 &quot;serviceEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint on which the Data Fusion UI is accessible.
Bu Sun Kim65020912020-05-20 12:08:20 -0700755 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this Data Fusion instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700756 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the instance was last updated.
Bu Sun Kim65020912020-05-20 12:08:20 -0700757 &quot;privateInstance&quot;: True or False, # Specifies whether the Data Fusion instance should be private. If set to
758 # true, all Data Fusion nodes will have private IP addresses and will not be
759 # able to access the public internet.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700760 &quot;apiEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint on which the REST APIs is accessible.
Bu Sun Kim65020912020-05-20 12:08:20 -0700761 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. Service account which will be used to access resources in
762 # the customer project.&quot;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700763 &quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying
764 # resources such as Compute Engine VMs. The character &#x27;=&#x27; is not allowed to
765 # be used within the labels.
766 &quot;a_key&quot;: &quot;A String&quot;,
767 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700768 &quot;displayName&quot;: &quot;A String&quot;, # Display name for an instance.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700769 &quot;enableStackdriverMonitoring&quot;: True or False, # Option to enable Stackdriver Monitoring.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700770 &quot;gcsBucket&quot;: &quot;A String&quot;, # Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
771 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
772 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of this instance is in the form of
773 # projects/{project}/locations/{location}/instances/{instance}.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700774 &quot;type&quot;: &quot;A String&quot;, # Required. Instance type.
775 &quot;version&quot;: &quot;A String&quot;, # Current version of Data Fusion.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700776 &quot;zone&quot;: &quot;A String&quot;, # Name of the zone in which the Data Fusion instance will be created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700777 &quot;accelerators&quot;: [ # List of accelerators enabled for this CDF instance.
778 { # Identifies Data Fusion accelerators for an instance.
779 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of an accelator for a CDF instance.
780 },
781 ],
782 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this Data
783 # Fusion instance if available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700784 },
785 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700786 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results or empty if there are no more
787 # results in the list.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700788 &quot;unreachable&quot;: [ # Locations that could not be reached.
789 &quot;A String&quot;,
790 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700791 }</pre>
792</div>
793
794<div class="method">
795 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
796 <pre>Retrieves the next page of results.
797
798Args:
799 previous_request: The request for the previous page. (required)
800 previous_response: The response from the request for the previous page. (required)
801
802Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700803 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700804 page. Returns None if there are no more items in the collection.
805 </pre>
806</div>
807
808<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700809 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700810 <pre>Updates a single Data Fusion instance.
811
812Args:
813 name: string, Output only. The name of this instance is in the form of
814projects/{project}/locations/{location}/instances/{instance}. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700815 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700816 The object takes the form of:
817
818{ # Represents a Data Fusion instance.
Dan O'Mearadd494642020-05-01 07:42:23 -0700819 # Next available ID: 23
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700820 &quot;enableStackdriverLogging&quot;: True or False, # Option to enable Stackdriver Logging.
Bu Sun Kim65020912020-05-20 12:08:20 -0700821 &quot;options&quot;: { # Map of additional options used to configure the behavior of
822 # Data Fusion instance.
823 &quot;a_key&quot;: &quot;A String&quot;,
824 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700825 &quot;availableVersion&quot;: [ # Available versions that the instance can be upgraded to using
826 # UpdateInstanceRequest.
827 { # The Data Fusion version.
828 &quot;defaultVersion&quot;: True or False, # Whether this is currently the default version for Cloud Data Fusion
829 &quot;versionNumber&quot;: &quot;A String&quot;, # The version number of the Data Fusion instance, such as &#x27;6.0.1.0&#x27;.
830 },
831 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700832 &quot;networkConfig&quot;: { # Network configuration for a Data Fusion instance. These configurations # Network configuration options. These are required when a private Data
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700833 # Fusion instance is to be created.
834 # are used for peering with the customer network. Configurations are optional
835 # when a public Data Fusion instance is to be created. However, providing
836 # these configurations allows several benefits, such as reduced network latency
837 # while accessing the customer resources from managed Data Fusion instance
838 # nodes, as well as access to the customer on-prem resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700839 &quot;network&quot;: &quot;A String&quot;, # Name of the network in the customer project with which the Tenant Project
Dan O'Mearadd494642020-05-01 07:42:23 -0700840 # will be peered for executing pipelines. In case of shared VPC where the
841 # network resides in another host project the network should specified in
842 # the form of projects/{host-project-id}/global/networks/{network}
Bu Sun Kim65020912020-05-20 12:08:20 -0700843 &quot;ipAllocation&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the managed Data Fusion instance
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700844 # nodes. This range must not overlap with any other ranges used in the Data
845 # Fusion instance network.
846 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700847 &quot;description&quot;: &quot;A String&quot;, # A description of this instance.
848 &quot;serviceEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint on which the Data Fusion UI is accessible.
Bu Sun Kim65020912020-05-20 12:08:20 -0700849 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this Data Fusion instance.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700850 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the instance was last updated.
Bu Sun Kim65020912020-05-20 12:08:20 -0700851 &quot;privateInstance&quot;: True or False, # Specifies whether the Data Fusion instance should be private. If set to
852 # true, all Data Fusion nodes will have private IP addresses and will not be
853 # able to access the public internet.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700854 &quot;apiEndpoint&quot;: &quot;A String&quot;, # Output only. Endpoint on which the REST APIs is accessible.
Bu Sun Kim65020912020-05-20 12:08:20 -0700855 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. Service account which will be used to access resources in
856 # the customer project.&quot;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700857 &quot;labels&quot;: { # The resource labels for instance to use to annotate any related underlying
858 # resources such as Compute Engine VMs. The character &#x27;=&#x27; is not allowed to
859 # be used within the labels.
860 &quot;a_key&quot;: &quot;A String&quot;,
861 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700862 &quot;displayName&quot;: &quot;A String&quot;, # Display name for an instance.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700863 &quot;enableStackdriverMonitoring&quot;: True or False, # Option to enable Stackdriver Monitoring.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700864 &quot;gcsBucket&quot;: &quot;A String&quot;, # Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
865 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
866 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of this instance is in the form of
867 # projects/{project}/locations/{location}/instances/{instance}.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700868 &quot;type&quot;: &quot;A String&quot;, # Required. Instance type.
869 &quot;version&quot;: &quot;A String&quot;, # Current version of Data Fusion.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700870 &quot;zone&quot;: &quot;A String&quot;, # Name of the zone in which the Data Fusion instance will be created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700871 &quot;accelerators&quot;: [ # List of accelerators enabled for this CDF instance.
872 { # Identifies Data Fusion accelerators for an instance.
873 &quot;acceleratorType&quot;: &quot;A String&quot;, # The type of an accelator for a CDF instance.
874 },
875 ],
876 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this Data
877 # Fusion instance if available.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700878}
879
880 updateMask: string, Field mask is used to specify the fields that the update will overwrite
881in an instance resource. The fields specified in the update_mask are
882relative to the resource, not the full request.
883A field will be overwritten if it is in the mask.
884If the user does not provide a mask, all the supported fields (labels and
885options currently) will be overwritten.
886 x__xgafv: string, V1 error format.
887 Allowed values
888 1 - v1 error format
889 2 - v2 error format
890
891Returns:
892 An object of the form:
893
894 { # This resource represents a long-running operation that is the result of a
895 # network API call.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700896 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
897 # different programming environments, including REST APIs and RPC APIs. It is
898 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
899 # three pieces of data: error code, error message, and error details.
900 #
901 # You can find out more about this error model and how to work with it in the
902 # [API Design Guide](https://cloud.google.com/apis/design/errors).
903 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
904 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
905 # user-facing error message should be localized and sent in the
906 # google.rpc.Status.details field, or localized by the client.
907 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
908 # message types for APIs to use.
909 {
910 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
911 },
912 ],
913 },
914 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
915 # If `true`, the operation is completed, and either `error` or `response` is
916 # available.
917 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
918 # contains progress information and common metadata such as create time.
919 # Some services might not provide such metadata. Any method that returns a
920 # long-running operation should document the metadata type, if any.
921 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
922 },
923 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
924 # originally returns it. If you use the default HTTP mapping, the
925 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700926 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700927 # method returns no data on success, such as `Delete`, the response is
928 # `google.protobuf.Empty`. If the original method is standard
929 # `Get`/`Create`/`Update`, the response should be the resource. For other
930 # methods, the response should have the type `XxxResponse`, where `Xxx`
931 # is the original method name. For example, if the original method name
932 # is `TakeSnapshot()`, the inferred response type is
933 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700934 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700935 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700936 }</pre>
937</div>
938
939<div class="method">
940 <code class="details" id="restart">restart(name, body=None, x__xgafv=None)</code>
941 <pre>Restart a single Data Fusion instance.
942At the end of an operation instance is fully restarted.
943
944Args:
945 name: string, Name of the Data Fusion instance which need to be restarted in the form of
946projects/{project}/locations/{location}/instances/{instance} (required)
947 body: object, The request body.
948 The object takes the form of:
949
950{ # Request message for restarting a Data Fusion instance.
951 }
952
953 x__xgafv: string, V1 error format.
954 Allowed values
955 1 - v1 error format
956 2 - v2 error format
957
958Returns:
959 An object of the form:
960
961 { # This resource represents a long-running operation that is the result of a
962 # network API call.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700963 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
964 # different programming environments, including REST APIs and RPC APIs. It is
965 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
966 # three pieces of data: error code, error message, and error details.
967 #
968 # You can find out more about this error model and how to work with it in the
969 # [API Design Guide](https://cloud.google.com/apis/design/errors).
970 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
971 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
972 # user-facing error message should be localized and sent in the
973 # google.rpc.Status.details field, or localized by the client.
974 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
975 # message types for APIs to use.
976 {
977 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
978 },
979 ],
980 },
981 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
982 # If `true`, the operation is completed, and either `error` or `response` is
983 # available.
984 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
985 # contains progress information and common metadata such as create time.
986 # Some services might not provide such metadata. Any method that returns a
987 # long-running operation should document the metadata type, if any.
988 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
989 },
990 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
991 # originally returns it. If you use the default HTTP mapping, the
992 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700993 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700994 # method returns no data on success, such as `Delete`, the response is
995 # `google.protobuf.Empty`. If the original method is standard
996 # `Get`/`Create`/`Update`, the response should be the resource. For other
997 # methods, the response should have the type `XxxResponse`, where `Xxx`
998 # is the original method name. For example, if the original method name
999 # is `TakeSnapshot()`, the inferred response type is
1000 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001001 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001002 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001003 }</pre>
1004</div>
1005
1006<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001007 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001008 <pre>Sets the access control policy on the specified resource. Replaces any
1009existing policy.
1010
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001011Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
Dan O'Mearadd494642020-05-01 07:42:23 -07001012
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001013Args:
1014 resource: string, REQUIRED: The resource for which the policy is being specified.
1015See the operation documentation for the appropriate value for this field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001016 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001017 The object takes the form of:
1018
1019{ # Request message for `SetIamPolicy` method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001020 &quot;policy&quot;: { # An Identity and Access Management (IAM) policy, which specifies access # REQUIRED: The complete policy to be applied to the `resource`. The size of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001021 # the policy is limited to a few 10s of KB. An empty policy is a
1022 # valid policy but certain Cloud Platform services (such as Projects)
1023 # might reject them.
Dan O'Mearadd494642020-05-01 07:42:23 -07001024 # controls for Google Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001025 #
1026 #
Dan O'Mearadd494642020-05-01 07:42:23 -07001027 # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1028 # `members` to a single `role`. Members can be user accounts, service accounts,
1029 # Google groups, and domains (such as G Suite). A `role` is a named list of
1030 # permissions; each `role` can be an IAM predefined role or a user-created
1031 # custom role.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001032 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001033 # For some types of Google Cloud resources, a `binding` can also specify a
1034 # `condition`, which is a logical expression that allows access to a resource
1035 # only if the expression evaluates to `true`. A condition can add constraints
1036 # based on attributes of the request, the resource, or both. To learn which
1037 # resources support conditions in their IAM policies, see the
1038 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Dan O'Mearadd494642020-05-01 07:42:23 -07001039 #
1040 # **JSON example:**
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001041 #
1042 # {
Bu Sun Kim65020912020-05-20 12:08:20 -07001043 # &quot;bindings&quot;: [
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001044 # {
Bu Sun Kim65020912020-05-20 12:08:20 -07001045 # &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;,
1046 # &quot;members&quot;: [
1047 # &quot;user:mike@example.com&quot;,
1048 # &quot;group:admins@example.com&quot;,
1049 # &quot;domain:google.com&quot;,
1050 # &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001051 # ]
1052 # },
1053 # {
Bu Sun Kim65020912020-05-20 12:08:20 -07001054 # &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001055 # &quot;members&quot;: [
1056 # &quot;user:eve@example.com&quot;
1057 # ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001058 # &quot;condition&quot;: {
1059 # &quot;title&quot;: &quot;expirable access&quot;,
1060 # &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;,
1061 # &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001062 # }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001063 # }
Dan O'Mearadd494642020-05-01 07:42:23 -07001064 # ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001065 # &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;,
1066 # &quot;version&quot;: 3
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001067 # }
1068 #
Dan O'Mearadd494642020-05-01 07:42:23 -07001069 # **YAML example:**
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001070 #
1071 # bindings:
1072 # - members:
1073 # - user:mike@example.com
1074 # - group:admins@example.com
1075 # - domain:google.com
Dan O'Mearadd494642020-05-01 07:42:23 -07001076 # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1077 # role: roles/resourcemanager.organizationAdmin
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001078 # - members:
Dan O'Mearadd494642020-05-01 07:42:23 -07001079 # - user:eve@example.com
1080 # role: roles/resourcemanager.organizationViewer
1081 # condition:
1082 # title: expirable access
1083 # description: Does not grant access after Sep 2020
Bu Sun Kim65020912020-05-20 12:08:20 -07001084 # expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)
Dan O'Mearadd494642020-05-01 07:42:23 -07001085 # - etag: BwWWja0YfJA=
1086 # - version: 3
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001087 #
1088 # For a description of IAM and its features, see the
Dan O'Mearadd494642020-05-01 07:42:23 -07001089 # [IAM documentation](https://cloud.google.com/iam/docs/).
Bu Sun Kim65020912020-05-20 12:08:20 -07001090 &quot;version&quot;: 42, # Specifies the format of the policy.
1091 #
1092 # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1093 # are rejected.
1094 #
1095 # Any operation that affects conditional role bindings must specify version
1096 # `3`. This requirement applies to the following operations:
1097 #
1098 # * Getting a policy that includes a conditional role binding
1099 # * Adding a conditional role binding to a policy
1100 # * Changing a conditional role binding in a policy
1101 # * Removing any role binding, with or without a condition, from a policy
1102 # that includes conditions
1103 #
1104 # **Important:** If you use IAM Conditions, you must include the `etag` field
1105 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1106 # you to overwrite a version `3` policy with a version `1` policy, and all of
1107 # the conditions in the version `3` policy are lost.
1108 #
1109 # If a policy does not include any conditions, operations on that policy may
1110 # specify any valid version or leave the field unset.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001111 #
1112 # To learn which resources support conditions in their IAM policies, see the
1113 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1114 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help
1115 # prevent simultaneous updates of a policy from overwriting each other.
1116 # It is strongly suggested that systems make use of the `etag` in the
1117 # read-modify-write cycle to perform policy updates in order to avoid race
1118 # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1119 # systems are expected to put that etag in the request to `setIamPolicy` to
1120 # ensure that their change will be applied to the same version of the policy.
1121 #
1122 # **Important:** If you use IAM Conditions, you must include the `etag` field
1123 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1124 # you to overwrite a version `3` policy with a version `1` policy, and all of
1125 # the conditions in the version `3` policy are lost.
Bu Sun Kim65020912020-05-20 12:08:20 -07001126 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
1127 { # Specifies the audit configuration for a service.
1128 # The configuration determines which permission types are logged, and what
1129 # identities, if any, are exempted from logging.
1130 # An AuditConfig must have one or more AuditLogConfigs.
1131 #
1132 # If there are AuditConfigs for both `allServices` and a specific service,
1133 # the union of the two AuditConfigs is used for that service: the log_types
1134 # specified in each AuditConfig are enabled, and the exempted_members in each
1135 # AuditLogConfig are exempted.
1136 #
1137 # Example Policy with multiple AuditConfigs:
1138 #
1139 # {
1140 # &quot;audit_configs&quot;: [
1141 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001142 # &quot;service&quot;: &quot;allServices&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001143 # &quot;audit_log_configs&quot;: [
1144 # {
1145 # &quot;log_type&quot;: &quot;DATA_READ&quot;,
1146 # &quot;exempted_members&quot;: [
1147 # &quot;user:jose@example.com&quot;
1148 # ]
1149 # },
1150 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001151 # &quot;log_type&quot;: &quot;DATA_WRITE&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -07001152 # },
1153 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001154 # &quot;log_type&quot;: &quot;ADMIN_READ&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -07001155 # }
1156 # ]
1157 # },
1158 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001159 # &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001160 # &quot;audit_log_configs&quot;: [
1161 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001162 # &quot;log_type&quot;: &quot;DATA_READ&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -07001163 # },
1164 # {
1165 # &quot;log_type&quot;: &quot;DATA_WRITE&quot;,
1166 # &quot;exempted_members&quot;: [
1167 # &quot;user:aliya@example.com&quot;
1168 # ]
1169 # }
1170 # ]
1171 # }
1172 # ]
1173 # }
1174 #
1175 # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
1176 # logging. It also exempts jose@example.com from DATA_READ logging, and
1177 # aliya@example.com from DATA_WRITE logging.
1178 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging.
1179 # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
1180 # `allServices` is a special value that covers all services.
1181 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
1182 { # Provides the configuration for logging a type of permissions.
1183 # Example:
1184 #
1185 # {
1186 # &quot;audit_log_configs&quot;: [
1187 # {
1188 # &quot;log_type&quot;: &quot;DATA_READ&quot;,
1189 # &quot;exempted_members&quot;: [
1190 # &quot;user:jose@example.com&quot;
1191 # ]
1192 # },
1193 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001194 # &quot;log_type&quot;: &quot;DATA_WRITE&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -07001195 # }
1196 # ]
1197 # }
1198 #
1199 # This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting
1200 # jose@example.com from DATA_READ logging.
Bu Sun Kim65020912020-05-20 12:08:20 -07001201 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of
1202 # permission.
1203 # Follows the same format of Binding.members.
1204 &quot;A String&quot;,
1205 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001206 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
Bu Sun Kim65020912020-05-20 12:08:20 -07001207 },
1208 ],
1209 },
1210 ],
1211 &quot;bindings&quot;: [ # Associates a list of `members` to a `role`. Optionally, may specify a
Dan O'Mearadd494642020-05-01 07:42:23 -07001212 # `condition` that determines how and when the `bindings` are applied. Each
1213 # of the `bindings` must contain at least one member.
1214 { # Associates `members` with a `role`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001215 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # The condition that is associated with this binding.
1216 #
1217 # If the condition evaluates to `true`, then this binding applies to the
1218 # current request.
1219 #
1220 # If the condition evaluates to `false`, then this binding does not apply to
1221 # the current request. However, a different role binding might grant the same
1222 # role to one or more of the members in this binding.
1223 #
1224 # To learn which resources support conditions in their IAM policies, see the
1225 # [IAM
1226 # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1227 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1228 # are documented at https://github.com/google/cel-spec.
1229 #
1230 # Example (Comparison):
1231 #
1232 # title: &quot;Summary size limit&quot;
1233 # description: &quot;Determines if a summary is less than 100 chars&quot;
1234 # expression: &quot;document.summary.size() &lt; 100&quot;
1235 #
1236 # Example (Equality):
1237 #
1238 # title: &quot;Requestor is owner&quot;
1239 # description: &quot;Determines if requestor is the document owner&quot;
1240 # expression: &quot;document.owner == request.auth.claims.email&quot;
1241 #
1242 # Example (Logic):
1243 #
1244 # title: &quot;Public documents&quot;
1245 # description: &quot;Determine whether the document should be publicly visible&quot;
1246 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
1247 #
1248 # Example (Data Manipulation):
1249 #
1250 # title: &quot;Notification string&quot;
1251 # description: &quot;Create a notification string with a timestamp.&quot;
1252 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
1253 #
1254 # The exact variables and functions that may be referenced within an expression
1255 # are determined by the service that evaluates it. See the service
1256 # documentation for additional information.
1257 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
1258 # reporting, e.g. a file name and a position in the file.
1259 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
1260 # describes the expression, e.g. when hovered over it in a UI.
1261 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
1262 # syntax.
1263 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
1264 # its purpose. This can be used e.g. in UIs which allow to enter the
1265 # expression.
1266 },
1267 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`.
1268 # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001269 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform resource.
1270 # `members` can have the following values:
1271 #
1272 # * `allUsers`: A special identifier that represents anyone who is
1273 # on the internet; with or without a Google account.
1274 #
1275 # * `allAuthenticatedUsers`: A special identifier that represents anyone
1276 # who is authenticated with a Google account or a service account.
1277 #
1278 # * `user:{emailid}`: An email address that represents a specific Google
1279 # account. For example, `alice@example.com` .
1280 #
1281 #
1282 # * `serviceAccount:{emailid}`: An email address that represents a service
1283 # account. For example, `my-other-app@appspot.gserviceaccount.com`.
1284 #
1285 # * `group:{emailid}`: An email address that represents a Google group.
1286 # For example, `admins@example.com`.
1287 #
1288 # * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
1289 # identifier) representing a user that has been recently deleted. For
1290 # example, `alice@example.com?uid=123456789012345678901`. If the user is
1291 # recovered, this value reverts to `user:{emailid}` and the recovered user
1292 # retains the role in the binding.
1293 #
1294 # * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
1295 # unique identifier) representing a service account that has been recently
1296 # deleted. For example,
1297 # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
1298 # If the service account is undeleted, this value reverts to
1299 # `serviceAccount:{emailid}` and the undeleted service account retains the
1300 # role in the binding.
1301 #
1302 # * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
1303 # identifier) representing a Google group that has been recently
1304 # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
1305 # the group is recovered, this value reverts to `group:{emailid}` and the
1306 # recovered group retains the role in the binding.
1307 #
1308 #
1309 # * `domain:{domain}`: The G Suite domain (primary) that represents all the
1310 # users of that domain. For example, `google.com` or `example.com`.
1311 #
1312 &quot;A String&quot;,
1313 ],
Dan O'Mearadd494642020-05-01 07:42:23 -07001314 },
1315 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001316 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001317 &quot;updateMask&quot;: &quot;A String&quot;, # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001318 # the fields in the mask will be modified. If no mask is provided, the
1319 # following default mask is used:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001320 #
1321 # `paths: &quot;bindings, etag&quot;`
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001322 }
1323
1324 x__xgafv: string, V1 error format.
1325 Allowed values
1326 1 - v1 error format
1327 2 - v2 error format
1328
1329Returns:
1330 An object of the form:
1331
Dan O'Mearadd494642020-05-01 07:42:23 -07001332 { # An Identity and Access Management (IAM) policy, which specifies access
1333 # controls for Google Cloud resources.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001334 #
1335 #
Dan O'Mearadd494642020-05-01 07:42:23 -07001336 # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1337 # `members` to a single `role`. Members can be user accounts, service accounts,
1338 # Google groups, and domains (such as G Suite). A `role` is a named list of
1339 # permissions; each `role` can be an IAM predefined role or a user-created
1340 # custom role.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001341 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001342 # For some types of Google Cloud resources, a `binding` can also specify a
1343 # `condition`, which is a logical expression that allows access to a resource
1344 # only if the expression evaluates to `true`. A condition can add constraints
1345 # based on attributes of the request, the resource, or both. To learn which
1346 # resources support conditions in their IAM policies, see the
1347 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
Dan O'Mearadd494642020-05-01 07:42:23 -07001348 #
1349 # **JSON example:**
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001350 #
1351 # {
Bu Sun Kim65020912020-05-20 12:08:20 -07001352 # &quot;bindings&quot;: [
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001353 # {
Bu Sun Kim65020912020-05-20 12:08:20 -07001354 # &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;,
1355 # &quot;members&quot;: [
1356 # &quot;user:mike@example.com&quot;,
1357 # &quot;group:admins@example.com&quot;,
1358 # &quot;domain:google.com&quot;,
1359 # &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001360 # ]
1361 # },
1362 # {
Bu Sun Kim65020912020-05-20 12:08:20 -07001363 # &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001364 # &quot;members&quot;: [
1365 # &quot;user:eve@example.com&quot;
1366 # ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001367 # &quot;condition&quot;: {
1368 # &quot;title&quot;: &quot;expirable access&quot;,
1369 # &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;,
1370 # &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001371 # }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001372 # }
Dan O'Mearadd494642020-05-01 07:42:23 -07001373 # ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001374 # &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;,
1375 # &quot;version&quot;: 3
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001376 # }
1377 #
Dan O'Mearadd494642020-05-01 07:42:23 -07001378 # **YAML example:**
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001379 #
1380 # bindings:
1381 # - members:
1382 # - user:mike@example.com
1383 # - group:admins@example.com
1384 # - domain:google.com
Dan O'Mearadd494642020-05-01 07:42:23 -07001385 # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1386 # role: roles/resourcemanager.organizationAdmin
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001387 # - members:
Dan O'Mearadd494642020-05-01 07:42:23 -07001388 # - user:eve@example.com
1389 # role: roles/resourcemanager.organizationViewer
1390 # condition:
1391 # title: expirable access
1392 # description: Does not grant access after Sep 2020
Bu Sun Kim65020912020-05-20 12:08:20 -07001393 # expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)
Dan O'Mearadd494642020-05-01 07:42:23 -07001394 # - etag: BwWWja0YfJA=
1395 # - version: 3
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001396 #
1397 # For a description of IAM and its features, see the
Dan O'Mearadd494642020-05-01 07:42:23 -07001398 # [IAM documentation](https://cloud.google.com/iam/docs/).
Bu Sun Kim65020912020-05-20 12:08:20 -07001399 &quot;version&quot;: 42, # Specifies the format of the policy.
1400 #
1401 # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1402 # are rejected.
1403 #
1404 # Any operation that affects conditional role bindings must specify version
1405 # `3`. This requirement applies to the following operations:
1406 #
1407 # * Getting a policy that includes a conditional role binding
1408 # * Adding a conditional role binding to a policy
1409 # * Changing a conditional role binding in a policy
1410 # * Removing any role binding, with or without a condition, from a policy
1411 # that includes conditions
1412 #
1413 # **Important:** If you use IAM Conditions, you must include the `etag` field
1414 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1415 # you to overwrite a version `3` policy with a version `1` policy, and all of
1416 # the conditions in the version `3` policy are lost.
1417 #
1418 # If a policy does not include any conditions, operations on that policy may
1419 # specify any valid version or leave the field unset.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001420 #
1421 # To learn which resources support conditions in their IAM policies, see the
1422 # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1423 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help
1424 # prevent simultaneous updates of a policy from overwriting each other.
1425 # It is strongly suggested that systems make use of the `etag` in the
1426 # read-modify-write cycle to perform policy updates in order to avoid race
1427 # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1428 # systems are expected to put that etag in the request to `setIamPolicy` to
1429 # ensure that their change will be applied to the same version of the policy.
1430 #
1431 # **Important:** If you use IAM Conditions, you must include the `etag` field
1432 # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1433 # you to overwrite a version `3` policy with a version `1` policy, and all of
1434 # the conditions in the version `3` policy are lost.
Bu Sun Kim65020912020-05-20 12:08:20 -07001435 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
1436 { # Specifies the audit configuration for a service.
1437 # The configuration determines which permission types are logged, and what
1438 # identities, if any, are exempted from logging.
1439 # An AuditConfig must have one or more AuditLogConfigs.
1440 #
1441 # If there are AuditConfigs for both `allServices` and a specific service,
1442 # the union of the two AuditConfigs is used for that service: the log_types
1443 # specified in each AuditConfig are enabled, and the exempted_members in each
1444 # AuditLogConfig are exempted.
1445 #
1446 # Example Policy with multiple AuditConfigs:
1447 #
1448 # {
1449 # &quot;audit_configs&quot;: [
1450 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001451 # &quot;service&quot;: &quot;allServices&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001452 # &quot;audit_log_configs&quot;: [
1453 # {
1454 # &quot;log_type&quot;: &quot;DATA_READ&quot;,
1455 # &quot;exempted_members&quot;: [
1456 # &quot;user:jose@example.com&quot;
1457 # ]
1458 # },
1459 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001460 # &quot;log_type&quot;: &quot;DATA_WRITE&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -07001461 # },
1462 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001463 # &quot;log_type&quot;: &quot;ADMIN_READ&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -07001464 # }
1465 # ]
1466 # },
1467 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001468 # &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -07001469 # &quot;audit_log_configs&quot;: [
1470 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001471 # &quot;log_type&quot;: &quot;DATA_READ&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -07001472 # },
1473 # {
1474 # &quot;log_type&quot;: &quot;DATA_WRITE&quot;,
1475 # &quot;exempted_members&quot;: [
1476 # &quot;user:aliya@example.com&quot;
1477 # ]
1478 # }
1479 # ]
1480 # }
1481 # ]
1482 # }
1483 #
1484 # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
1485 # logging. It also exempts jose@example.com from DATA_READ logging, and
1486 # aliya@example.com from DATA_WRITE logging.
1487 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging.
1488 # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
1489 # `allServices` is a special value that covers all services.
1490 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
1491 { # Provides the configuration for logging a type of permissions.
1492 # Example:
1493 #
1494 # {
1495 # &quot;audit_log_configs&quot;: [
1496 # {
1497 # &quot;log_type&quot;: &quot;DATA_READ&quot;,
1498 # &quot;exempted_members&quot;: [
1499 # &quot;user:jose@example.com&quot;
1500 # ]
1501 # },
1502 # {
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001503 # &quot;log_type&quot;: &quot;DATA_WRITE&quot;
Bu Sun Kim65020912020-05-20 12:08:20 -07001504 # }
1505 # ]
1506 # }
1507 #
1508 # This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting
1509 # jose@example.com from DATA_READ logging.
Bu Sun Kim65020912020-05-20 12:08:20 -07001510 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of
1511 # permission.
1512 # Follows the same format of Binding.members.
1513 &quot;A String&quot;,
1514 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001515 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
Bu Sun Kim65020912020-05-20 12:08:20 -07001516 },
1517 ],
1518 },
1519 ],
1520 &quot;bindings&quot;: [ # Associates a list of `members` to a `role`. Optionally, may specify a
Dan O'Mearadd494642020-05-01 07:42:23 -07001521 # `condition` that determines how and when the `bindings` are applied. Each
1522 # of the `bindings` must contain at least one member.
1523 { # Associates `members` with a `role`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001524 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) # The condition that is associated with this binding.
1525 #
1526 # If the condition evaluates to `true`, then this binding applies to the
1527 # current request.
1528 #
1529 # If the condition evaluates to `false`, then this binding does not apply to
1530 # the current request. However, a different role binding might grant the same
1531 # role to one or more of the members in this binding.
1532 #
1533 # To learn which resources support conditions in their IAM policies, see the
1534 # [IAM
1535 # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1536 # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1537 # are documented at https://github.com/google/cel-spec.
1538 #
1539 # Example (Comparison):
1540 #
1541 # title: &quot;Summary size limit&quot;
1542 # description: &quot;Determines if a summary is less than 100 chars&quot;
1543 # expression: &quot;document.summary.size() &lt; 100&quot;
1544 #
1545 # Example (Equality):
1546 #
1547 # title: &quot;Requestor is owner&quot;
1548 # description: &quot;Determines if requestor is the document owner&quot;
1549 # expression: &quot;document.owner == request.auth.claims.email&quot;
1550 #
1551 # Example (Logic):
1552 #
1553 # title: &quot;Public documents&quot;
1554 # description: &quot;Determine whether the document should be publicly visible&quot;
1555 # expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot;
1556 #
1557 # Example (Data Manipulation):
1558 #
1559 # title: &quot;Notification string&quot;
1560 # description: &quot;Create a notification string with a timestamp.&quot;
1561 # expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot;
1562 #
1563 # The exact variables and functions that may be referenced within an expression
1564 # are determined by the service that evaluates it. See the service
1565 # documentation for additional information.
1566 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error
1567 # reporting, e.g. a file name and a position in the file.
1568 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which
1569 # describes the expression, e.g. when hovered over it in a UI.
1570 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language
1571 # syntax.
1572 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing
1573 # its purpose. This can be used e.g. in UIs which allow to enter the
1574 # expression.
1575 },
1576 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`.
1577 # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001578 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform resource.
1579 # `members` can have the following values:
1580 #
1581 # * `allUsers`: A special identifier that represents anyone who is
1582 # on the internet; with or without a Google account.
1583 #
1584 # * `allAuthenticatedUsers`: A special identifier that represents anyone
1585 # who is authenticated with a Google account or a service account.
1586 #
1587 # * `user:{emailid}`: An email address that represents a specific Google
1588 # account. For example, `alice@example.com` .
1589 #
1590 #
1591 # * `serviceAccount:{emailid}`: An email address that represents a service
1592 # account. For example, `my-other-app@appspot.gserviceaccount.com`.
1593 #
1594 # * `group:{emailid}`: An email address that represents a Google group.
1595 # For example, `admins@example.com`.
1596 #
1597 # * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
1598 # identifier) representing a user that has been recently deleted. For
1599 # example, `alice@example.com?uid=123456789012345678901`. If the user is
1600 # recovered, this value reverts to `user:{emailid}` and the recovered user
1601 # retains the role in the binding.
1602 #
1603 # * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
1604 # unique identifier) representing a service account that has been recently
1605 # deleted. For example,
1606 # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
1607 # If the service account is undeleted, this value reverts to
1608 # `serviceAccount:{emailid}` and the undeleted service account retains the
1609 # role in the binding.
1610 #
1611 # * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
1612 # identifier) representing a Google group that has been recently
1613 # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
1614 # the group is recovered, this value reverts to `group:{emailid}` and the
1615 # recovered group retains the role in the binding.
1616 #
1617 #
1618 # * `domain:{domain}`: The G Suite domain (primary) that represents all the
1619 # users of that domain. For example, `google.com` or `example.com`.
1620 #
1621 &quot;A String&quot;,
1622 ],
Dan O'Mearadd494642020-05-01 07:42:23 -07001623 },
1624 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001625 }</pre>
1626</div>
1627
1628<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001629 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001630 <pre>Returns permissions that a caller has on the specified resource.
1631If the resource does not exist, this will return an empty set of
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001632permissions, not a `NOT_FOUND` error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001633
1634Note: This operation is designed to be used for building permission-aware
1635UIs and command-line tools, not for authorization checking. This operation
Bu Sun Kim65020912020-05-20 12:08:20 -07001636may &quot;fail open&quot; without warning.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001637
1638Args:
1639 resource: string, REQUIRED: The resource for which the policy detail is being requested.
1640See the operation documentation for the appropriate value for this field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001641 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001642 The object takes the form of:
1643
1644{ # Request message for `TestIamPermissions` method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001645 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with
1646 # wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed. For more
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001647 # information see
1648 # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
Bu Sun Kim65020912020-05-20 12:08:20 -07001649 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001650 ],
1651 }
1652
1653 x__xgafv: string, V1 error format.
1654 Allowed values
1655 1 - v1 error format
1656 2 - v2 error format
1657
1658Returns:
1659 An object of the form:
1660
1661 { # Response message for `TestIamPermissions` method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001662 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001663 # allowed.
Bu Sun Kim65020912020-05-20 12:08:20 -07001664 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001665 ],
1666 }</pre>
1667</div>
1668
1669<div class="method">
1670 <code class="details" id="upgrade">upgrade(name, body=None, x__xgafv=None)</code>
1671 <pre>Upgrade a single Data Fusion instance.
1672At the end of an operation instance is fully upgraded.
1673
1674Args:
1675 name: string, Name of the Data Fusion instance which need to be upgraded in the form of
1676projects/{project}/locations/{location}/instances/{instance}
1677Instance will be upgraded with the latest stable version of the Data
1678Fusion. (required)
1679 body: object, The request body.
1680 The object takes the form of:
1681
1682{ # Request message for upgrading a Data Fusion instance.
1683 # To change the instance properties, instance update should be used.
1684 }
1685
1686 x__xgafv: string, V1 error format.
1687 Allowed values
1688 1 - v1 error format
1689 2 - v2 error format
1690
1691Returns:
1692 An object of the form:
1693
1694 { # This resource represents a long-running operation that is the result of a
1695 # network API call.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001696 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
1697 # different programming environments, including REST APIs and RPC APIs. It is
1698 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1699 # three pieces of data: error code, error message, and error details.
1700 #
1701 # You can find out more about this error model and how to work with it in the
1702 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1703 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1704 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1705 # user-facing error message should be localized and sent in the
1706 # google.rpc.Status.details field, or localized by the client.
1707 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1708 # message types for APIs to use.
1709 {
1710 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1711 },
1712 ],
1713 },
1714 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
1715 # If `true`, the operation is completed, and either `error` or `response` is
1716 # available.
1717 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
1718 # contains progress information and common metadata such as create time.
1719 # Some services might not provide such metadata. Any method that returns a
1720 # long-running operation should document the metadata type, if any.
1721 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1722 },
1723 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
1724 # originally returns it. If you use the default HTTP mapping, the
1725 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001726 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001727 # method returns no data on success, such as `Delete`, the response is
1728 # `google.protobuf.Empty`. If the original method is standard
1729 # `Get`/`Create`/`Update`, the response should be the resource. For other
1730 # methods, the response should have the type `XxxResponse`, where `Xxx`
1731 # is the original method name. For example, if the original method name
1732 # is `TakeSnapshot()`, the inferred response type is
1733 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001734 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001735 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001736 }</pre>
1737</div>
1738
1739</body></html>