blob: f0bac7f8686030f1019aad5c515544ecba4c7174 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -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="managedidentities_v1alpha1.html">Managed Service for Microsoft Active Directory API</a> . <a href="managedidentities_v1alpha1.projects.html">projects</a> . <a href="managedidentities_v1alpha1.projects.locations.html">locations</a> . <a href="managedidentities_v1alpha1.projects.locations.global_.html">global_</a> . <a href="managedidentities_v1alpha1.projects.locations.global_.domains.html">domains</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
yoshi-code-bot04bafe12021-06-29 00:20:25 -070078 <code><a href="managedidentities_v1alpha1.projects.locations.global_.domains.backups.html">backups()</a></code>
79</p>
80<p class="firstline">Returns the backups Resource.</p>
81
82<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070083 <code><a href="managedidentities_v1alpha1.projects.locations.global_.domains.sqlIntegrations.html">sqlIntegrations()</a></code>
84</p>
85<p class="firstline">Returns the sqlIntegrations Resource.</p>
86
87<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070088 <code><a href="#attachTrust">attachTrust(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070089<p class="firstline">Adds AD trust in a given domain. Operation</p>
90<p class="toc_element">
91 <code><a href="#close">close()</a></code></p>
92<p class="firstline">Close httplib2 connections.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -070093<p class="toc_element">
94 <code><a href="#create">create(parent, body=None, domainName=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070095<p class="firstline">Creates a Microsoft AD Domain in a given project. Operation</p>
Bu Sun Kim65020912020-05-20 12:08:20 -070096<p class="toc_element">
97 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070098<p class="firstline">Deletes identified domain. Operation</p>
Bu Sun Kim65020912020-05-20 12:08:20 -070099<p class="toc_element">
100 <code><a href="#detachTrust">detachTrust(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700101<p class="firstline">Removes identified trust. Operation</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700102<p class="toc_element">
103 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
104<p class="firstline">Gets details of a single Domain.</p>
105<p class="toc_element">
106 <code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700107<p class="firstline">Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700108<p class="toc_element">
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700109 <code><a href="#getLdapssettings">getLdapssettings(name, x__xgafv=None)</a></code></p>
110<p class="firstline">Gets the domain ldaps settings.</p>
111<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800112 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700113<p class="firstline">Lists Domains in a given project.</p>
114<p class="toc_element">
115 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
116<p class="firstline">Retrieves the next page of results.</p>
117<p class="toc_element">
118 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700119<p class="firstline">Updates the metadata and configuration of a specified domain. Operation</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700120<p class="toc_element">
121 <code><a href="#reconfigureTrust">reconfigureTrust(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700122<p class="firstline">Updates the dns conditional forwarder. Operation</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700123<p class="toc_element">
124 <code><a href="#resetAdminPassword">resetAdminPassword(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700125<p class="firstline">Resets managed identities admin password identified by managed_identities_admin_name</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700126<p class="toc_element">
127 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700128<p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700129<p class="toc_element">
130 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700131<p class="firstline">Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700132<p class="toc_element">
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700133 <code><a href="#updateLdapssettings">updateLdapssettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
134<p class="firstline">Patches a single ldaps settings.</p>
135<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -0700136 <code><a href="#validateTrust">validateTrust(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700137<p class="firstline">Validate the trust state Operation</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700138<h3>Method Details</h3>
139<div class="method">
140 <code class="details" id="attachTrust">attachTrust(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700141 <pre>Adds AD trust in a given domain. Operation
Bu Sun Kim65020912020-05-20 12:08:20 -0700142
143Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700144 name: string, The resource domain name, project name and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700145 body: object, The request body.
146 The object takes the form of:
147
148{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800149 &quot;trust&quot;: { # Represents a relationship between two domains which makes it possible for users in one domain to be authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10) If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state. # The domain trust resource.
150 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
151 &quot;lastKnownTrustConnectedHeartbeatTime&quot;: &quot;A String&quot;, # Output only. The last heartbeat time when the trust was known to be connected.
152 &quot;selectiveAuthentication&quot;: True or False, # The trust authentication type which decides whether the trusted side has forest/domain wide access or selective access to approved set of resources.
153 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this trust.
154 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this trust, if available.
155 &quot;targetDnsIpAddresses&quot;: [ # The target dns server ip addresses which can resolve the remote domain involved in trust.
156 &quot;A String&quot;,
157 ],
158 &quot;targetDomainName&quot;: &quot;A String&quot;, # The fully qualified target domain name which will be in trust with current domain.
159 &quot;trustDirection&quot;: &quot;A String&quot;, # The trust direction decides the current domain is trusted, trusting or both.
160 &quot;trustHandshakeSecret&quot;: &quot;A String&quot;, # Input only, and will not be stored. The trust secret used for handshake with target domain.
161 &quot;trustType&quot;: &quot;A String&quot;, # The type of trust represented by the trust resource.
162 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
163 },
164}
Bu Sun Kim65020912020-05-20 12:08:20 -0700165
166 x__xgafv: string, V1 error format.
167 Allowed values
168 1 - v1 error format
169 2 - v2 error format
170
171Returns:
172 An object of the form:
173
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700174 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800175 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
176 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
177 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
178 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
179 {
180 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
181 },
182 ],
183 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
184 },
185 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187 },
188 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
189 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
191 },
192}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700193</div>
194
195<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700196 <code class="details" id="close">close()</code>
197 <pre>Close httplib2 connections.</pre>
198</div>
199
200<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700201 <code class="details" id="create">create(parent, body=None, domainName=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700202 <pre>Creates a Microsoft AD Domain in a given project. Operation
Bu Sun Kim65020912020-05-20 12:08:20 -0700203
204Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700205 parent: string, Resource project name and location using the form: `projects/{project_id}/locations/global` (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700206 body: object, The request body.
207 The object takes the form of:
208
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800209{ # If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800210 &quot;auditLogsEnabled&quot;: True or False, # Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800211 &quot;authorizedNetworks&quot;: [ # Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail.
212 &quot;A String&quot;,
213 ],
214 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created. Synthetic field is populated automatically by CCFE. go/ccfe-synthetic-field-user-guide
215 &quot;fqdn&quot;: &quot;A String&quot;, # Output only. Fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory that is set up on an internal network.
216 &quot;labels&quot;: { # Optional. Resource labels to represent user provided metadata
217 &quot;a_key&quot;: &quot;A String&quot;,
218 },
219 &quot;locations&quot;: [ # Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
220 &quot;A String&quot;,
221 ],
222 &quot;managedIdentitiesAdminName&quot;: &quot;A String&quot;, # Optional. Name of customer-visible admin used to perform Active Directory operations. If not specified `setupadmin` would be used.
223 &quot;name&quot;: &quot;A String&quot;, # Output only. Unique name of the domain in this scope including projects and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
224 &quot;reservedIpRange&quot;: &quot;A String&quot;, # Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
225 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this domain.
226 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current status of this domain, if available.
227 &quot;trusts&quot;: [ # Output only. The current trusts associated with the domain.
228 { # Represents a relationship between two domains which makes it possible for users in one domain to be authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10) If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
229 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
230 &quot;lastKnownTrustConnectedHeartbeatTime&quot;: &quot;A String&quot;, # Output only. The last heartbeat time when the trust was known to be connected.
231 &quot;selectiveAuthentication&quot;: True or False, # The trust authentication type which decides whether the trusted side has forest/domain wide access or selective access to approved set of resources.
232 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this trust.
233 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this trust, if available.
234 &quot;targetDnsIpAddresses&quot;: [ # The target dns server ip addresses which can resolve the remote domain involved in trust.
235 &quot;A String&quot;,
236 ],
237 &quot;targetDomainName&quot;: &quot;A String&quot;, # The fully qualified target domain name which will be in trust with current domain.
238 &quot;trustDirection&quot;: &quot;A String&quot;, # The trust direction decides the current domain is trusted, trusting or both.
239 &quot;trustHandshakeSecret&quot;: &quot;A String&quot;, # Input only, and will not be stored. The trust secret used for handshake with target domain.
240 &quot;trustType&quot;: &quot;A String&quot;, # The type of trust represented by the trust resource.
241 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800242 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800243 ],
244 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time. Synthetic field is populated automatically by CCFE.
245}
Bu Sun Kim65020912020-05-20 12:08:20 -0700246
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700247 domainName: string, The fully qualified domain name. e.g. mydomain.myorganization.com, with the following restrictions: * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must not start with period. * Must be unique within the project. * First segment length (mydomain form example above) shouldn&#x27;t exceed 15 chars. * The last segment cannot be fully numeric.
Bu Sun Kim65020912020-05-20 12:08:20 -0700248 x__xgafv: string, V1 error format.
249 Allowed values
250 1 - v1 error format
251 2 - v2 error format
252
253Returns:
254 An object of the form:
255
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700256 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800257 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
258 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
259 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
260 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
261 {
262 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
263 },
264 ],
265 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
266 },
267 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
268 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
269 },
270 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
271 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
272 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
273 },
274}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700275</div>
276
277<div class="method">
278 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700279 <pre>Deletes identified domain. Operation
Bu Sun Kim65020912020-05-20 12:08:20 -0700280
281Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700282 name: string, Domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 x__xgafv: string, V1 error format.
284 Allowed values
285 1 - v1 error format
286 2 - v2 error format
287
288Returns:
289 An object of the form:
290
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700291 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800292 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
293 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
294 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
295 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
296 {
297 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
298 },
299 ],
300 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
301 },
302 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
303 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
304 },
305 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
306 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
307 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
308 },
309}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700310</div>
311
312<div class="method">
313 <code class="details" id="detachTrust">detachTrust(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700314 <pre>Removes identified trust. Operation
Bu Sun Kim65020912020-05-20 12:08:20 -0700315
316Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700317 name: string, The resource domain name, project name, and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700318 body: object, The request body.
319 The object takes the form of:
320
321{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800322 &quot;trust&quot;: { # Represents a relationship between two domains which makes it possible for users in one domain to be authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10) If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state. # The domain trust resource to removed.
323 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
324 &quot;lastKnownTrustConnectedHeartbeatTime&quot;: &quot;A String&quot;, # Output only. The last heartbeat time when the trust was known to be connected.
325 &quot;selectiveAuthentication&quot;: True or False, # The trust authentication type which decides whether the trusted side has forest/domain wide access or selective access to approved set of resources.
326 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this trust.
327 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this trust, if available.
328 &quot;targetDnsIpAddresses&quot;: [ # The target dns server ip addresses which can resolve the remote domain involved in trust.
329 &quot;A String&quot;,
330 ],
331 &quot;targetDomainName&quot;: &quot;A String&quot;, # The fully qualified target domain name which will be in trust with current domain.
332 &quot;trustDirection&quot;: &quot;A String&quot;, # The trust direction decides the current domain is trusted, trusting or both.
333 &quot;trustHandshakeSecret&quot;: &quot;A String&quot;, # Input only, and will not be stored. The trust secret used for handshake with target domain.
334 &quot;trustType&quot;: &quot;A String&quot;, # The type of trust represented by the trust resource.
335 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
336 },
337}
Bu Sun Kim65020912020-05-20 12:08:20 -0700338
339 x__xgafv: string, V1 error format.
340 Allowed values
341 1 - v1 error format
342 2 - v2 error format
343
344Returns:
345 An object of the form:
346
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700347 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800348 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
349 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
350 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
351 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
352 {
353 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
354 },
355 ],
356 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
357 },
358 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
359 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
360 },
361 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
362 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
363 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
364 },
365}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700366</div>
367
368<div class="method">
369 <code class="details" id="get">get(name, x__xgafv=None)</code>
370 <pre>Gets details of a single Domain.
371
372Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700373 name: string, Domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700374 x__xgafv: string, V1 error format.
375 Allowed values
376 1 - v1 error format
377 2 - v2 error format
378
379Returns:
380 An object of the form:
381
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800382 { # If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800383 &quot;auditLogsEnabled&quot;: True or False, # Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800384 &quot;authorizedNetworks&quot;: [ # Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail.
385 &quot;A String&quot;,
386 ],
387 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created. Synthetic field is populated automatically by CCFE. go/ccfe-synthetic-field-user-guide
388 &quot;fqdn&quot;: &quot;A String&quot;, # Output only. Fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory that is set up on an internal network.
389 &quot;labels&quot;: { # Optional. Resource labels to represent user provided metadata
390 &quot;a_key&quot;: &quot;A String&quot;,
391 },
392 &quot;locations&quot;: [ # Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
393 &quot;A String&quot;,
394 ],
395 &quot;managedIdentitiesAdminName&quot;: &quot;A String&quot;, # Optional. Name of customer-visible admin used to perform Active Directory operations. If not specified `setupadmin` would be used.
396 &quot;name&quot;: &quot;A String&quot;, # Output only. Unique name of the domain in this scope including projects and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
397 &quot;reservedIpRange&quot;: &quot;A String&quot;, # Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
398 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this domain.
399 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current status of this domain, if available.
400 &quot;trusts&quot;: [ # Output only. The current trusts associated with the domain.
401 { # Represents a relationship between two domains which makes it possible for users in one domain to be authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10) If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
402 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
403 &quot;lastKnownTrustConnectedHeartbeatTime&quot;: &quot;A String&quot;, # Output only. The last heartbeat time when the trust was known to be connected.
404 &quot;selectiveAuthentication&quot;: True or False, # The trust authentication type which decides whether the trusted side has forest/domain wide access or selective access to approved set of resources.
405 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this trust.
406 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this trust, if available.
407 &quot;targetDnsIpAddresses&quot;: [ # The target dns server ip addresses which can resolve the remote domain involved in trust.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800408 &quot;A String&quot;,
409 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800410 &quot;targetDomainName&quot;: &quot;A String&quot;, # The fully qualified target domain name which will be in trust with current domain.
411 &quot;trustDirection&quot;: &quot;A String&quot;, # The trust direction decides the current domain is trusted, trusting or both.
412 &quot;trustHandshakeSecret&quot;: &quot;A String&quot;, # Input only, and will not be stored. The trust secret used for handshake with target domain.
413 &quot;trustType&quot;: &quot;A String&quot;, # The type of trust represented by the trust resource.
414 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
415 },
416 ],
417 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time. Synthetic field is populated automatically by CCFE.
418}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700419</div>
420
421<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700422 <code class="details" id="getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</code>
423 <pre>Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
424
425Args:
426 resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
427 options_requestedPolicyVersion: integer, Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
428 x__xgafv: string, V1 error format.
429 Allowed values
430 1 - v1 error format
431 2 - v2 error format
432
433Returns:
434 An object of the form:
435
436 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:mike@example.com&quot;, &quot;group:admins@example.com&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:eve@example.com&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800437 &quot;bindings&quot;: [ # Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.
438 { # Associates `members` with a `role`.
439 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
440 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
441 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
442 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
443 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700444 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800445 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
446 &quot;A String&quot;,
447 ],
448 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
449 },
450 ],
451 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
452 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
453}</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700454</div>
455
456<div class="method">
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700457 <code class="details" id="getLdapssettings">getLdapssettings(name, x__xgafv=None)</code>
458 <pre>Gets the domain ldaps settings.
459
460Args:
461 name: string, Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
462 x__xgafv: string, V1 error format.
463 Allowed values
464 1 - v1 error format
465 2 - v2 error format
466
467Returns:
468 An object of the form:
469
470 { # LDAPSSettings represents the ldaps settings for domain resource. LDAP is the Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
471 &quot;certificate&quot;: { # Certificate used to configure LDAPS. # Output only. The certificate used to configure LDAPS. Certificates can be chained with a maximum length of 15.
472 &quot;expireTime&quot;: &quot;A String&quot;, # The certificate expire time.
473 &quot;issuingCertificate&quot;: # Object with schema name: Certificate # The issuer of this certificate.
474 &quot;subject&quot;: &quot;A String&quot;, # The certificate subject.
475 &quot;subjectAlternativeName&quot;: [ # The additional hostnames for the domain.
476 &quot;A String&quot;,
477 ],
478 &quot;thumbprint&quot;: &quot;A String&quot;, # The certificate thumbprint which uniquely identifies the certificate.
479 },
480 &quot;certificatePassword&quot;: &quot;A String&quot;, # Input only. The password used to encrypt the uploaded pfx certificate.
481 &quot;certificatePfx&quot;: &quot;A String&quot;, # Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with. It will enable the domain controllers in this domain to accept LDAPS connections (either LDAP over SSL/TLS or the StartTLS operation). A valid certificate chain must form a valid x.509 certificate chain (or be comprised of a single self-signed certificate. It must be encrypted with either: 1) PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-KeyTripleDES-CBC Private key must be included for the leaf / single self-signed certificate. Note: For a fqdn your-example-domain.com, the wildcard fqdn is *.your-example-domain.com. Specifically the leaf certificate must have: - Either a blank subject or a subject with CN matching the wildcard fqdn. - Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key signature key usages. - Server authentication extended key usage (OID=1.3.6.1.5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA, ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
482 &quot;name&quot;: &quot;A String&quot;, # The resource name of the LDAPS settings. Uses the form: `projects/{project}/locations/{location}/domains/{domain}`.
483 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this LDAPS settings.
484 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
485}</pre>
486</div>
487
488<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800489 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700490 <pre>Lists Domains in a given project.
491
492Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700493 parent: string, Required. The resource name of the domain location using the form: `projects/{project_id}/locations/global` (required)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800494 filter: string, Optional. Filter specifying constraints of a list operation. For example, `Domain.fqdn=&quot;mydomain.myorginization&quot;`.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800495 orderBy: string, Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800496 pageSize: integer, If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response&#x27;s next_page_token to determine if there are more instances left to be queried.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800497 pageToken: string, The next_page_token value returned from a previous List request, if any.
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 x__xgafv: string, V1 error format.
499 Allowed values
500 1 - v1 error format
501 2 - v2 error format
502
503Returns:
504 An object of the form:
505
506 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800507 &quot;domains&quot;: [ # A list of Managed Identities Service domains in the project.
508 { # If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800509 &quot;auditLogsEnabled&quot;: True or False, # Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800510 &quot;authorizedNetworks&quot;: [ # Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail.
511 &quot;A String&quot;,
512 ],
513 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created. Synthetic field is populated automatically by CCFE. go/ccfe-synthetic-field-user-guide
514 &quot;fqdn&quot;: &quot;A String&quot;, # Output only. Fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory that is set up on an internal network.
515 &quot;labels&quot;: { # Optional. Resource labels to represent user provided metadata
516 &quot;a_key&quot;: &quot;A String&quot;,
517 },
518 &quot;locations&quot;: [ # Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
519 &quot;A String&quot;,
520 ],
521 &quot;managedIdentitiesAdminName&quot;: &quot;A String&quot;, # Optional. Name of customer-visible admin used to perform Active Directory operations. If not specified `setupadmin` would be used.
522 &quot;name&quot;: &quot;A String&quot;, # Output only. Unique name of the domain in this scope including projects and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
523 &quot;reservedIpRange&quot;: &quot;A String&quot;, # Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
524 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this domain.
525 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current status of this domain, if available.
526 &quot;trusts&quot;: [ # Output only. The current trusts associated with the domain.
527 { # Represents a relationship between two domains which makes it possible for users in one domain to be authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10) If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
528 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
529 &quot;lastKnownTrustConnectedHeartbeatTime&quot;: &quot;A String&quot;, # Output only. The last heartbeat time when the trust was known to be connected.
530 &quot;selectiveAuthentication&quot;: True or False, # The trust authentication type which decides whether the trusted side has forest/domain wide access or selective access to approved set of resources.
531 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this trust.
532 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this trust, if available.
533 &quot;targetDnsIpAddresses&quot;: [ # The target dns server ip addresses which can resolve the remote domain involved in trust.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800534 &quot;A String&quot;,
535 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800536 &quot;targetDomainName&quot;: &quot;A String&quot;, # The fully qualified target domain name which will be in trust with current domain.
537 &quot;trustDirection&quot;: &quot;A String&quot;, # The trust direction decides the current domain is trusted, trusting or both.
538 &quot;trustHandshakeSecret&quot;: &quot;A String&quot;, # Input only, and will not be stored. The trust secret used for handshake with target domain.
539 &quot;trustType&quot;: &quot;A String&quot;, # The type of trust represented by the trust resource.
540 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800541 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800542 ],
543 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time. Synthetic field is populated automatically by CCFE.
544 },
545 ],
546 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
547 &quot;unreachable&quot;: [ # Locations that could not be reached.
548 &quot;A String&quot;,
549 ],
550}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700551</div>
552
553<div class="method">
554 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
555 <pre>Retrieves the next page of results.
556
557Args:
558 previous_request: The request for the previous page. (required)
559 previous_response: The response from the request for the previous page. (required)
560
561Returns:
562 A request object that you can call &#x27;execute()&#x27; on to request the next
563 page. Returns None if there are no more items in the collection.
564 </pre>
565</div>
566
567<div class="method">
568 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700569 <pre>Updates the metadata and configuration of a specified domain. Operation
Bu Sun Kim65020912020-05-20 12:08:20 -0700570
571Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700572 name: string, Output only. Unique name of the domain in this scope including projects and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700573 body: object, The request body.
574 The object takes the form of:
575
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800576{ # If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800577 &quot;auditLogsEnabled&quot;: True or False, # Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800578 &quot;authorizedNetworks&quot;: [ # Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail.
579 &quot;A String&quot;,
580 ],
581 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created. Synthetic field is populated automatically by CCFE. go/ccfe-synthetic-field-user-guide
582 &quot;fqdn&quot;: &quot;A String&quot;, # Output only. Fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory that is set up on an internal network.
583 &quot;labels&quot;: { # Optional. Resource labels to represent user provided metadata
584 &quot;a_key&quot;: &quot;A String&quot;,
585 },
586 &quot;locations&quot;: [ # Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
587 &quot;A String&quot;,
588 ],
589 &quot;managedIdentitiesAdminName&quot;: &quot;A String&quot;, # Optional. Name of customer-visible admin used to perform Active Directory operations. If not specified `setupadmin` would be used.
590 &quot;name&quot;: &quot;A String&quot;, # Output only. Unique name of the domain in this scope including projects and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
591 &quot;reservedIpRange&quot;: &quot;A String&quot;, # Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
592 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this domain.
593 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. Additional information about the current status of this domain, if available.
594 &quot;trusts&quot;: [ # Output only. The current trusts associated with the domain.
595 { # Represents a relationship between two domains which makes it possible for users in one domain to be authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10) If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
596 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
597 &quot;lastKnownTrustConnectedHeartbeatTime&quot;: &quot;A String&quot;, # Output only. The last heartbeat time when the trust was known to be connected.
598 &quot;selectiveAuthentication&quot;: True or False, # The trust authentication type which decides whether the trusted side has forest/domain wide access or selective access to approved set of resources.
599 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this trust.
600 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this trust, if available.
601 &quot;targetDnsIpAddresses&quot;: [ # The target dns server ip addresses which can resolve the remote domain involved in trust.
602 &quot;A String&quot;,
603 ],
604 &quot;targetDomainName&quot;: &quot;A String&quot;, # The fully qualified target domain name which will be in trust with current domain.
605 &quot;trustDirection&quot;: &quot;A String&quot;, # The trust direction decides the current domain is trusted, trusting or both.
606 &quot;trustHandshakeSecret&quot;: &quot;A String&quot;, # Input only, and will not be stored. The trust secret used for handshake with target domain.
607 &quot;trustType&quot;: &quot;A String&quot;, # The type of trust represented by the trust resource.
608 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800609 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800610 ],
611 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time. Synthetic field is populated automatically by CCFE.
612}
Bu Sun Kim65020912020-05-20 12:08:20 -0700613
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700614 updateMask: string, Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled`
Bu Sun Kim65020912020-05-20 12:08:20 -0700615 x__xgafv: string, V1 error format.
616 Allowed values
617 1 - v1 error format
618 2 - v2 error format
619
620Returns:
621 An object of the form:
622
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700623 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800624 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
625 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
626 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
627 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
628 {
629 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
630 },
631 ],
632 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
633 },
634 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
635 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
636 },
637 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
638 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
639 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
640 },
641}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700642</div>
643
644<div class="method">
645 <code class="details" id="reconfigureTrust">reconfigureTrust(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700646 <pre>Updates the dns conditional forwarder. Operation
Bu Sun Kim65020912020-05-20 12:08:20 -0700647
648Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700649 name: string, The resource domain name, project name and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700650 body: object, The request body.
651 The object takes the form of:
652
653{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800654 &quot;trust&quot;: { # Represents a relationship between two domains which makes it possible for users in one domain to be authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10) If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state. # The domain trust resource with updated dns conditional forwarder.
655 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
656 &quot;lastKnownTrustConnectedHeartbeatTime&quot;: &quot;A String&quot;, # Output only. The last heartbeat time when the trust was known to be connected.
657 &quot;selectiveAuthentication&quot;: True or False, # The trust authentication type which decides whether the trusted side has forest/domain wide access or selective access to approved set of resources.
658 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this trust.
659 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this trust, if available.
660 &quot;targetDnsIpAddresses&quot;: [ # The target dns server ip addresses which can resolve the remote domain involved in trust.
661 &quot;A String&quot;,
662 ],
663 &quot;targetDomainName&quot;: &quot;A String&quot;, # The fully qualified target domain name which will be in trust with current domain.
664 &quot;trustDirection&quot;: &quot;A String&quot;, # The trust direction decides the current domain is trusted, trusting or both.
665 &quot;trustHandshakeSecret&quot;: &quot;A String&quot;, # Input only, and will not be stored. The trust secret used for handshake with target domain.
666 &quot;trustType&quot;: &quot;A String&quot;, # The type of trust represented by the trust resource.
667 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
668 },
669}
Bu Sun Kim65020912020-05-20 12:08:20 -0700670
671 x__xgafv: string, V1 error format.
672 Allowed values
673 1 - v1 error format
674 2 - v2 error format
675
676Returns:
677 An object of the form:
678
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700679 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800680 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
681 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
682 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
683 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
684 {
685 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
686 },
687 ],
688 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
689 },
690 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
691 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
692 },
693 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
694 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
695 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
696 },
697}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700698</div>
699
700<div class="method">
701 <code class="details" id="resetAdminPassword">resetAdminPassword(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700702 <pre>Resets managed identities admin password identified by managed_identities_admin_name
Bu Sun Kim65020912020-05-20 12:08:20 -0700703
704Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700705 name: string, The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700706 body: object, The request body.
707 The object takes the form of:
708
709{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800710}
Bu Sun Kim65020912020-05-20 12:08:20 -0700711
712 x__xgafv: string, V1 error format.
713 Allowed values
714 1 - v1 error format
715 2 - v2 error format
716
717Returns:
718 An object of the form:
719
720 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800721 &quot;password&quot;: &quot;A String&quot;, # A random password. See admin for more information.
722}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700723</div>
724
725<div class="method">
726 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700727 <pre>Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
Bu Sun Kim65020912020-05-20 12:08:20 -0700728
729Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700730 resource: string, REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700731 body: object, The request body.
732 The object takes the form of:
733
734{ # Request message for `SetIamPolicy` method.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800735 &quot;policy&quot;: { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:mike@example.com&quot;, &quot;group:admins@example.com&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:eve@example.com&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
736 &quot;bindings&quot;: [ # Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.
737 { # Associates `members` with a `role`.
738 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
739 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
740 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
741 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
742 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
Bu Sun Kim65020912020-05-20 12:08:20 -0700743 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800744 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
745 &quot;A String&quot;,
746 ],
747 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
748 },
749 ],
750 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
751 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
752 },
753}
Bu Sun Kim65020912020-05-20 12:08:20 -0700754
755 x__xgafv: string, V1 error format.
756 Allowed values
757 1 - v1 error format
758 2 - v2 error format
759
760Returns:
761 An object of the form:
762
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700763 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:mike@example.com&quot;, &quot;group:admins@example.com&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:eve@example.com&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800764 &quot;bindings&quot;: [ # Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.
765 { # Associates `members` with a `role`.
766 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
767 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
768 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
769 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
770 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
Bu Sun Kim65020912020-05-20 12:08:20 -0700771 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800772 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
773 &quot;A String&quot;,
774 ],
775 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
776 },
777 ],
778 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
779 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
780}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700781</div>
782
783<div class="method">
784 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700785 <pre>Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may &quot;fail open&quot; without warning.
Bu Sun Kim65020912020-05-20 12:08:20 -0700786
787Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700788 resource: string, REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700789 body: object, The request body.
790 The object takes the form of:
791
792{ # Request message for `TestIamPermissions` method.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800793 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
794 &quot;A String&quot;,
795 ],
796}
Bu Sun Kim65020912020-05-20 12:08:20 -0700797
798 x__xgafv: string, V1 error format.
799 Allowed values
800 1 - v1 error format
801 2 - v2 error format
802
803Returns:
804 An object of the form:
805
806 { # Response message for `TestIamPermissions` method.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800807 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
808 &quot;A String&quot;,
809 ],
810}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700811</div>
812
813<div class="method">
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700814 <code class="details" id="updateLdapssettings">updateLdapssettings(name, body=None, updateMask=None, x__xgafv=None)</code>
815 <pre>Patches a single ldaps settings.
816
817Args:
818 name: string, The resource name of the LDAPS settings. Uses the form: `projects/{project}/locations/{location}/domains/{domain}`. (required)
819 body: object, The request body.
820 The object takes the form of:
821
822{ # LDAPSSettings represents the ldaps settings for domain resource. LDAP is the Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
823 &quot;certificate&quot;: { # Certificate used to configure LDAPS. # Output only. The certificate used to configure LDAPS. Certificates can be chained with a maximum length of 15.
824 &quot;expireTime&quot;: &quot;A String&quot;, # The certificate expire time.
825 &quot;issuingCertificate&quot;: # Object with schema name: Certificate # The issuer of this certificate.
826 &quot;subject&quot;: &quot;A String&quot;, # The certificate subject.
827 &quot;subjectAlternativeName&quot;: [ # The additional hostnames for the domain.
828 &quot;A String&quot;,
829 ],
830 &quot;thumbprint&quot;: &quot;A String&quot;, # The certificate thumbprint which uniquely identifies the certificate.
831 },
832 &quot;certificatePassword&quot;: &quot;A String&quot;, # Input only. The password used to encrypt the uploaded pfx certificate.
833 &quot;certificatePfx&quot;: &quot;A String&quot;, # Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with. It will enable the domain controllers in this domain to accept LDAPS connections (either LDAP over SSL/TLS or the StartTLS operation). A valid certificate chain must form a valid x.509 certificate chain (or be comprised of a single self-signed certificate. It must be encrypted with either: 1) PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-KeyTripleDES-CBC Private key must be included for the leaf / single self-signed certificate. Note: For a fqdn your-example-domain.com, the wildcard fqdn is *.your-example-domain.com. Specifically the leaf certificate must have: - Either a blank subject or a subject with CN matching the wildcard fqdn. - Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key signature key usages. - Server authentication extended key usage (OID=1.3.6.1.5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA, ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
834 &quot;name&quot;: &quot;A String&quot;, # The resource name of the LDAPS settings. Uses the form: `projects/{project}/locations/{location}/domains/{domain}`.
835 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this LDAPS settings.
836 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
837}
838
839 updateMask: string, Required. Mask of fields to update. At least one path must be supplied in this field. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
840 x__xgafv: string, V1 error format.
841 Allowed values
842 1 - v1 error format
843 2 - v2 error format
844
845Returns:
846 An object of the form:
847
848 { # This resource represents a long-running operation that is the result of a network API call.
849 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
850 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
851 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
852 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
853 {
854 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
855 },
856 ],
857 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
858 },
859 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
860 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
861 },
862 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
863 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
864 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
865 },
866}</pre>
867</div>
868
869<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700870 <code class="details" id="validateTrust">validateTrust(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700871 <pre>Validate the trust state Operation
Bu Sun Kim65020912020-05-20 12:08:20 -0700872
873Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700874 name: string, The resource domain name, project name, and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700875 body: object, The request body.
876 The object takes the form of:
877
878{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800879 &quot;trust&quot;: { # Represents a relationship between two domains which makes it possible for users in one domain to be authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10) If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state. # The domain trust to validate trust state for.
880 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the instance was created.
881 &quot;lastKnownTrustConnectedHeartbeatTime&quot;: &quot;A String&quot;, # Output only. The last heartbeat time when the trust was known to be connected.
882 &quot;selectiveAuthentication&quot;: True or False, # The trust authentication type which decides whether the trusted side has forest/domain wide access or selective access to approved set of resources.
883 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this trust.
884 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information about the current state of this trust, if available.
885 &quot;targetDnsIpAddresses&quot;: [ # The target dns server ip addresses which can resolve the remote domain involved in trust.
886 &quot;A String&quot;,
887 ],
888 &quot;targetDomainName&quot;: &quot;A String&quot;, # The fully qualified target domain name which will be in trust with current domain.
889 &quot;trustDirection&quot;: &quot;A String&quot;, # The trust direction decides the current domain is trusted, trusting or both.
890 &quot;trustHandshakeSecret&quot;: &quot;A String&quot;, # Input only, and will not be stored. The trust secret used for handshake with target domain.
891 &quot;trustType&quot;: &quot;A String&quot;, # The type of trust represented by the trust resource.
892 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time.
893 },
894}
Bu Sun Kim65020912020-05-20 12:08:20 -0700895
896 x__xgafv: string, V1 error format.
897 Allowed values
898 1 - v1 error format
899 2 - v2 error format
900
901Returns:
902 An object of the form:
903
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700904 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800905 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
906 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
907 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
908 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of 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 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
914 },
915 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
916 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
917 },
918 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
919 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
920 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
921 },
922}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700923</div>
924
925</body></html>