Debian Codegraph @

docs/dyn/vmwareengine_v1.projects.locations.privateClouds.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="vmwareengine_v1.html">VMware Engine API</a> . <a href="vmwareengine_v1.projects.html">projects</a> . <a href="vmwareengine_v1.projects.locations.html">locations</a> . <a href="vmwareengine_v1.projects.locations.privateClouds.html">privateClouds</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="vmwareengine_v1.projects.locations.privateClouds.clusters.html">clusters()</a></code>
79 </p>
80 <p class="firstline">Returns the clusters Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="vmwareengine_v1.projects.locations.privateClouds.externalAddresses.html">externalAddresses()</a></code>
84 </p>
85 <p class="firstline">Returns the externalAddresses Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="vmwareengine_v1.projects.locations.privateClouds.hcxActivationKeys.html">hcxActivationKeys()</a></code>
89 </p>
90 <p class="firstline">Returns the hcxActivationKeys Resource.</p>
91
92 <p class="toc_element">
93 <code><a href="vmwareengine_v1.projects.locations.privateClouds.loggingServers.html">loggingServers()</a></code>
94 </p>
95 <p class="firstline">Returns the loggingServers Resource.</p>
96
97 <p class="toc_element">
98 <code><a href="vmwareengine_v1.projects.locations.privateClouds.managementDnsZoneBindings.html">managementDnsZoneBindings()</a></code>
99 </p>
100 <p class="firstline">Returns the managementDnsZoneBindings Resource.</p>
101
102 <p class="toc_element">
103 <code><a href="vmwareengine_v1.projects.locations.privateClouds.subnets.html">subnets()</a></code>
104 </p>
105 <p class="firstline">Returns the subnets Resource.</p>
106
107 <p class="toc_element">
108 <code><a href="vmwareengine_v1.projects.locations.privateClouds.upgrades.html">upgrades()</a></code>
109 </p>
110 <p class="firstline">Returns the upgrades Resource.</p>
111
112 <p class="toc_element">
113 <code><a href="#close">close()</a></code></p>
114 <p class="firstline">Close httplib2 connections.</p>
115 <p class="toc_element">
116 <code><a href="#create">create(parent, body=None, privateCloudId=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
117 <p class="firstline">Creates a new `PrivateCloud` resource in a given project and location. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional. Creating a private cloud also creates a [management cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) for that private cloud.</p>
118 <p class="toc_element">
119 <code><a href="#delete">delete(name, delayHours=None, force=None, requestId=None, x__xgafv=None)</a></code></p>
120 <p class="firstline">Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `expireTime` set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the `PrivateCloud` is successfully scheduled for deletion (this also applies when `delayHours` is set to zero), and the operation is not kept in pending state until `PrivateCloud` is purged. `PrivateCloud` can be restored using `UndeletePrivateCloud` method before the `expireTime` elapses. When `expireTime` is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using standard `GET` method for the whole period of deletion and purging. It will not be returned only when it is completely purged.</p>
121 <p class="toc_element">
122 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
123 <p class="firstline">Retrieves a `PrivateCloud` resource by its resource name.</p>
124 <p class="toc_element">
125 <code><a href="#getDnsForwarding">getDnsForwarding(name, x__xgafv=None)</a></code></p>
126 <p class="firstline">Gets details of the `DnsForwarding` config.</p>
127 <p class="toc_element">
128 <code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
129 <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>
130 <p class="toc_element">
131 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
132 <p class="firstline">Lists `PrivateCloud` resources in a given project and location.</p>
133 <p class="toc_element">
134 <code><a href="#list_next">list_next()</a></code></p>
135 <p class="firstline">Retrieves the next page of results.</p>
136 <p class="toc_element">
137 <code><a href="#migrateManagementVms">migrateManagementVms(name, body=None, x__xgafv=None)</a></code></p>
138 <p class="firstline">Migrates the management VMs of the PC from the current management cluster to a workload cluster. Post this migration, the provided workload cluster becomes the management cluster</p>
139 <p class="toc_element">
140 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
141 <p class="firstline">Modifies a `PrivateCloud` resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.</p>
142 <p class="toc_element">
143 <code><a href="#privateCloudDeletionNow">privateCloudDeletionNow(name, body=None, x__xgafv=None)</a></code></p>
144 <p class="firstline">Accelerates the deletion of a private cloud that is currently in soft deletion A `PrivateCloud` resource in soft deletion has `PrivateCloud.state` set to `SOFT_DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.</p>
145 <p class="toc_element">
146 <code><a href="#resetNsxCredentials">resetNsxCredentials(privateCloud, body=None, x__xgafv=None)</a></code></p>
147 <p class="firstline">Resets credentials of the NSX appliance.</p>
148 <p class="toc_element">
149 <code><a href="#resetVcenterCredentials">resetVcenterCredentials(privateCloud, body=None, x__xgafv=None)</a></code></p>
150 <p class="firstline">Resets credentials of the Vcenter appliance.</p>
151 <p class="toc_element">
152 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
153 <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>
154 <p class="toc_element">
155 <code><a href="#showNsxCredentials">showNsxCredentials(privateCloud, x__xgafv=None)</a></code></p>
156 <p class="firstline">Gets details of credentials for NSX appliance.</p>
157 <p class="toc_element">
158 <code><a href="#showVcenterCredentials">showVcenterCredentials(privateCloud, username=None, x__xgafv=None)</a></code></p>
159 <p class="firstline">Gets details of credentials for Vcenter appliance.</p>
160 <p class="toc_element">
161 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
162 <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>
163 <p class="toc_element">
164 <code><a href="#undelete">undelete(name, body=None, x__xgafv=None)</a></code></p>
165 <p class="firstline">Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.</p>
166 <p class="toc_element">
167 <code><a href="#updateDnsForwarding">updateDnsForwarding(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
168 <p class="firstline">Updates the parameters of the `DnsForwarding` config, like associated domains. Only fields specified in `update_mask` are applied.</p>
169 <h3>Method Details</h3>
170 <div class="method">
171 <code class="details" id="close">close()</code>
172 <pre>Close httplib2 connections.</pre>
173 </div>
174
175 <div class="method">
176 <code class="details" id="create">create(parent, body=None, privateCloudId=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
177 <pre>Creates a new `PrivateCloud` resource in a given project and location. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional. Creating a private cloud also creates a [management cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) for that private cloud.
178
179 Args:
180 parent: string, Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a` (required)
181 body: object, The request body.
182 The object takes the form of:
183
184 { # Represents a private cloud resource. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional.
185 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
186 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when the resource was scheduled for deletion.
187 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this private cloud.
188 &quot;encryptionConfig&quot;: { # Encryption configuration for a private cloud. # Optional. Encryption configuration for the private cloud. If this field is left unspecified, Google default encryption is used.
189 &quot;cryptoKeyName&quot;: &quot;A String&quot;, # Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of this field is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key must be in the same region as the private cloud. This key is used for wrapping the key-encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or `LEGACY_CMEK`, and must not be set when `type` is `OTHER`.
190 &quot;type&quot;: &quot;A String&quot;, # Required. The encryption type of the private cloud.
191 },
192 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time when the resource will be irreversibly deleted.
193 &quot;hcx&quot;: { # Details about a HCX Cloud Manager appliance. # Output only. HCX appliance.
194 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
195 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
196 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
197 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
198 },
199 &quot;managementCluster&quot;: { # Management cluster configuration. # Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster. The following fields can&#x27;t be changed after private cloud creation: `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`.
200 &quot;clusterId&quot;: &quot;A String&quot;, # Required. The user-provided identifier of the new `Cluster`. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
201 &quot;nodeTypeConfigs&quot;: { # Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`).
202 &quot;a_key&quot;: { # Information about the type and number of nodes associated with the cluster.
203 &quot;customCoreCount&quot;: 42, # Optional. Customized number of cores available to each node of the type. This number must always be one of `nodeType.availableCustomCoreCounts`. If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
204 &quot;nodeCount&quot;: 42, # Required. The number of nodes of this type in the cluster
205 },
206 },
207 &quot;stretchedClusterConfig&quot;: { # Configuration of a stretched cluster. # Optional. Configuration of a stretched cluster. Required for STRETCHED private clouds.
208 &quot;preferredLocation&quot;: &quot;A String&quot;, # Required. Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-a` where `{project}` can either be a project number or a project ID.
209 &quot;secondaryLocation&quot;: &quot;A String&quot;, # Required. Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-b` where `{project}` can either be a project number or a project ID.
210 },
211 },
212 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
213 &quot;networkConfig&quot;: { # Network configuration in the consumer project with which the peering has to be done. # Required. Network configuration of the private cloud.
214 &quot;dnsServerIp&quot;: &quot;A String&quot;, # Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud&#x27;s management entities like vCenter, NSX-T Manager and ESXi hosts.
215 &quot;managementCidr&quot;: &quot;A String&quot;, # Required. Management CIDR used by VMware management appliances.
216 &quot;managementIpAddressLayoutVersion&quot;: 42, # Output only. The IP address layout version of the management IP address range. Possible versions include: * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features. * `managementIpAddressLayoutVersion=2`: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
217 &quot;vmwareEngineNetwork&quot;: &quot;A String&quot;, # Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
218 &quot;vmwareEngineNetworkCanonical&quot;: &quot;A String&quot;, # Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
219 },
220 &quot;nsx&quot;: { # Details about a NSX Manager appliance. # Output only. NSX appliance.
221 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
222 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
223 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
224 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
225 },
226 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the resource. New values may be added to this enum when appropriate.
227 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the private cloud. Defaults to STANDARD.
228 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
229 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
230 &quot;vcenter&quot;: { # Details about a vCenter Server management appliance. # Output only. Vcenter appliance.
231 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
232 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
233 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
234 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
235 },
236 }
237
238 privateCloudId: string, Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each `PrivateCloud` within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
239 requestId: string, Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
240 validateOnly: boolean, Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request.
241 x__xgafv: string, V1 error format.
242 Allowed values
243 1 - v1 error format
244 2 - v2 error format
245
246 Returns:
247 An object of the form:
248
249 { # This resource represents a long-running operation that is the result of a network API call.
250 &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.
251 &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.
252 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
253 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
254 {
255 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
256 },
257 ],
258 &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.
259 },
260 &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.
261 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
262 },
263 &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}`.
264 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
265 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
266 },
267 }</pre>
268 </div>
269
270 <div class="method">
271 <code class="details" id="delete">delete(name, delayHours=None, force=None, requestId=None, x__xgafv=None)</code>
272 <pre>Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `expireTime` set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the `PrivateCloud` is successfully scheduled for deletion (this also applies when `delayHours` is set to zero), and the operation is not kept in pending state until `PrivateCloud` is purged. `PrivateCloud` can be restored using `UndeletePrivateCloud` method before the `expireTime` elapses. When `expireTime` is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using standard `GET` method for the whole period of deletion and purging. It will not be returned only when it is completely purged.
273
274 Args:
275 name: string, Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
276 delayHours: integer, Optional. Time delay of the deletion specified in hours. The default value is `3`. Specifying a non-zero value for this field changes the value of `PrivateCloud.state` to `DELETED` and sets `expire_time` to the planned deletion time. Deletion can be cancelled before `expire_time` elapses using VmwareEngine.UndeletePrivateCloud. Specifying a value of `0` for this field instead begins the deletion process and ceases billing immediately. During the final deletion process, the value of `PrivateCloud.state` becomes `PURGING`.
277 force: boolean, Optional. If set to true, cascade delete is enabled and all children of this private cloud resource are also deleted. When this flag is set to false, the private cloud will not be deleted if there are any children other than the management cluster. The management cluster is always deleted.
278 requestId: string, Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
279 x__xgafv: string, V1 error format.
280 Allowed values
281 1 - v1 error format
282 2 - v2 error format
283
284 Returns:
285 An object of the form:
286
287 { # This resource represents a long-running operation that is the result of a network API call.
288 &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.
289 &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.
290 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
291 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
292 {
293 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
294 },
295 ],
296 &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.
297 },
298 &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.
299 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
300 },
301 &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}`.
302 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
303 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
304 },
305 }</pre>
306 </div>
307
308 <div class="method">
309 <code class="details" id="get">get(name, x__xgafv=None)</code>
310 <pre>Retrieves a `PrivateCloud` resource by its resource name.
311
312 Args:
313 name: string, Required. The resource name of the private cloud to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
314 x__xgafv: string, V1 error format.
315 Allowed values
316 1 - v1 error format
317 2 - v2 error format
318
319 Returns:
320 An object of the form:
321
322 { # Represents a private cloud resource. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional.
323 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
324 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when the resource was scheduled for deletion.
325 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this private cloud.
326 &quot;encryptionConfig&quot;: { # Encryption configuration for a private cloud. # Optional. Encryption configuration for the private cloud. If this field is left unspecified, Google default encryption is used.
327 &quot;cryptoKeyName&quot;: &quot;A String&quot;, # Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of this field is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key must be in the same region as the private cloud. This key is used for wrapping the key-encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or `LEGACY_CMEK`, and must not be set when `type` is `OTHER`.
328 &quot;type&quot;: &quot;A String&quot;, # Required. The encryption type of the private cloud.
329 },
330 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time when the resource will be irreversibly deleted.
331 &quot;hcx&quot;: { # Details about a HCX Cloud Manager appliance. # Output only. HCX appliance.
332 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
333 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
334 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
335 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
336 },
337 &quot;managementCluster&quot;: { # Management cluster configuration. # Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster. The following fields can&#x27;t be changed after private cloud creation: `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`.
338 &quot;clusterId&quot;: &quot;A String&quot;, # Required. The user-provided identifier of the new `Cluster`. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
339 &quot;nodeTypeConfigs&quot;: { # Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`).
340 &quot;a_key&quot;: { # Information about the type and number of nodes associated with the cluster.
341 &quot;customCoreCount&quot;: 42, # Optional. Customized number of cores available to each node of the type. This number must always be one of `nodeType.availableCustomCoreCounts`. If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
342 &quot;nodeCount&quot;: 42, # Required. The number of nodes of this type in the cluster
343 },
344 },
345 &quot;stretchedClusterConfig&quot;: { # Configuration of a stretched cluster. # Optional. Configuration of a stretched cluster. Required for STRETCHED private clouds.
346 &quot;preferredLocation&quot;: &quot;A String&quot;, # Required. Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-a` where `{project}` can either be a project number or a project ID.
347 &quot;secondaryLocation&quot;: &quot;A String&quot;, # Required. Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-b` where `{project}` can either be a project number or a project ID.
348 },
349 },
350 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
351 &quot;networkConfig&quot;: { # Network configuration in the consumer project with which the peering has to be done. # Required. Network configuration of the private cloud.
352 &quot;dnsServerIp&quot;: &quot;A String&quot;, # Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud&#x27;s management entities like vCenter, NSX-T Manager and ESXi hosts.
353 &quot;managementCidr&quot;: &quot;A String&quot;, # Required. Management CIDR used by VMware management appliances.
354 &quot;managementIpAddressLayoutVersion&quot;: 42, # Output only. The IP address layout version of the management IP address range. Possible versions include: * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features. * `managementIpAddressLayoutVersion=2`: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
355 &quot;vmwareEngineNetwork&quot;: &quot;A String&quot;, # Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
356 &quot;vmwareEngineNetworkCanonical&quot;: &quot;A String&quot;, # Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
357 },
358 &quot;nsx&quot;: { # Details about a NSX Manager appliance. # Output only. NSX appliance.
359 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
360 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
361 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
362 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
363 },
364 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the resource. New values may be added to this enum when appropriate.
365 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the private cloud. Defaults to STANDARD.
366 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
367 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
368 &quot;vcenter&quot;: { # Details about a vCenter Server management appliance. # Output only. Vcenter appliance.
369 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
370 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
371 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
372 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
373 },
374 }</pre>
375 </div>
376
377 <div class="method">
378 <code class="details" id="getDnsForwarding">getDnsForwarding(name, x__xgafv=None)</code>
379 <pre>Gets details of the `DnsForwarding` config.
380
381 Args:
382 name: string, Required. The resource name of a `DnsForwarding` to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` (required)
383 x__xgafv: string, V1 error format.
384 Allowed values
385 1 - v1 error format
386 2 - v2 error format
387
388 Returns:
389 An object of the form:
390
391 { # DNS forwarding config. This config defines a list of domain to name server mappings, and is attached to the private cloud for custom domain resolution.
392 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
393 &quot;forwardingRules&quot;: [ # Required. List of domain mappings to configure
394 { # A forwarding rule is a mapping of a `domain` to `name_servers`. This mapping allows VMware Engine to resolve domains for attached private clouds by forwarding DNS requests for a given domain to the specified nameservers.
395 &quot;domain&quot;: &quot;A String&quot;, # Required. Domain used to resolve a `name_servers` list.
396 &quot;nameServers&quot;: [ # Required. List of DNS servers to use for domain resolution
397 &quot;A String&quot;,
398 ],
399 },
400 ],
401 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of this DNS profile. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`
402 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
403 }</pre>
404 </div>
405
406 <div class="method">
407 <code class="details" id="getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</code>
408 <pre>Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
409
410 Args:
411 resource: string, REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
412 options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
413 x__xgafv: string, V1 error format.
414 Allowed values
415 1 - v1 error format
416 2 - v2 error format
417
418 Returns:
419 An object of the form:
420
421 { # 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`, or principals, to a single `role`. Principals 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:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&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:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] 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/).
422 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
423 { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { &quot;audit_configs&quot;: [ { &quot;service&quot;: &quot;allServices&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; }, { &quot;log_type&quot;: &quot;ADMIN_READ&quot; } ] }, { &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot; }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
424 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
425 { # Provides the configuration for logging a type of permissions. Example: { &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting [email protected] from DATA_READ logging.
426 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
427 &quot;A String&quot;,
428 ],
429 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
430 },
431 ],
432 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
433 },
434 ],
435 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with 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 principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
436 { # Associates `members`, or principals, with a `role`.
437 &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 principals 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).
438 &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.
439 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
440 &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.
441 &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.
442 },
443 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?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, `[email protected]?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, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
444 &quot;A String&quot;,
445 ],
446 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
447 },
448 ],
449 &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.
450 &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).
451 }</pre>
452 </div>
453
454 <div class="method">
455 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
456 <pre>Lists `PrivateCloud` resources in a given project and location.
457
458 Args:
459 parent: string, Required. The resource name of the private cloud to be queried for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a` (required)
460 filter: string, A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `&gt;`, or `&lt;`. For example, if you are filtering a list of private clouds, you can exclude the ones named `example-pc` by specifying `name != &quot;example-pc&quot;`. You can also filter nested fields. For example, you could specify `networkConfig.managementCidr = &quot;192.168.0.0/24&quot;` to include private clouds only if they have a matching address in their network configuration. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = &quot;example-pc&quot;) (createTime &gt; &quot;2021-04-12T08:15:10.40Z&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = &quot;private-cloud-1&quot;) AND (createTime &gt; &quot;2021-04-12T08:15:10.40Z&quot;) OR (name = &quot;private-cloud-2&quot;) ```
461 orderBy: string, Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=&quot;name desc&quot;`. Currently, only ordering by `name` is supported.
462 pageSize: integer, The maximum number of private clouds to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.
463 pageToken: string, A page token, received from a previous `ListPrivateClouds` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateClouds` must match the call that provided the page token.
464 x__xgafv: string, V1 error format.
465 Allowed values
466 1 - v1 error format
467 2 - v2 error format
468
469 Returns:
470 An object of the form:
471
472 { # Response message for VmwareEngine.ListPrivateClouds
473 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
474 &quot;privateClouds&quot;: [ # A list of private clouds.
475 { # Represents a private cloud resource. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional.
476 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
477 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when the resource was scheduled for deletion.
478 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this private cloud.
479 &quot;encryptionConfig&quot;: { # Encryption configuration for a private cloud. # Optional. Encryption configuration for the private cloud. If this field is left unspecified, Google default encryption is used.
480 &quot;cryptoKeyName&quot;: &quot;A String&quot;, # Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of this field is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key must be in the same region as the private cloud. This key is used for wrapping the key-encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or `LEGACY_CMEK`, and must not be set when `type` is `OTHER`.
481 &quot;type&quot;: &quot;A String&quot;, # Required. The encryption type of the private cloud.
482 },
483 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time when the resource will be irreversibly deleted.
484 &quot;hcx&quot;: { # Details about a HCX Cloud Manager appliance. # Output only. HCX appliance.
485 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
486 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
487 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
488 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
489 },
490 &quot;managementCluster&quot;: { # Management cluster configuration. # Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster. The following fields can&#x27;t be changed after private cloud creation: `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`.
491 &quot;clusterId&quot;: &quot;A String&quot;, # Required. The user-provided identifier of the new `Cluster`. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
492 &quot;nodeTypeConfigs&quot;: { # Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`).
493 &quot;a_key&quot;: { # Information about the type and number of nodes associated with the cluster.
494 &quot;customCoreCount&quot;: 42, # Optional. Customized number of cores available to each node of the type. This number must always be one of `nodeType.availableCustomCoreCounts`. If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
495 &quot;nodeCount&quot;: 42, # Required. The number of nodes of this type in the cluster
496 },
497 },
498 &quot;stretchedClusterConfig&quot;: { # Configuration of a stretched cluster. # Optional. Configuration of a stretched cluster. Required for STRETCHED private clouds.
499 &quot;preferredLocation&quot;: &quot;A String&quot;, # Required. Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-a` where `{project}` can either be a project number or a project ID.
500 &quot;secondaryLocation&quot;: &quot;A String&quot;, # Required. Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-b` where `{project}` can either be a project number or a project ID.
501 },
502 },
503 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
504 &quot;networkConfig&quot;: { # Network configuration in the consumer project with which the peering has to be done. # Required. Network configuration of the private cloud.
505 &quot;dnsServerIp&quot;: &quot;A String&quot;, # Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud&#x27;s management entities like vCenter, NSX-T Manager and ESXi hosts.
506 &quot;managementCidr&quot;: &quot;A String&quot;, # Required. Management CIDR used by VMware management appliances.
507 &quot;managementIpAddressLayoutVersion&quot;: 42, # Output only. The IP address layout version of the management IP address range. Possible versions include: * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features. * `managementIpAddressLayoutVersion=2`: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
508 &quot;vmwareEngineNetwork&quot;: &quot;A String&quot;, # Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
509 &quot;vmwareEngineNetworkCanonical&quot;: &quot;A String&quot;, # Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
510 },
511 &quot;nsx&quot;: { # Details about a NSX Manager appliance. # Output only. NSX appliance.
512 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
513 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
514 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
515 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
516 },
517 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the resource. New values may be added to this enum when appropriate.
518 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the private cloud. Defaults to STANDARD.
519 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
520 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
521 &quot;vcenter&quot;: { # Details about a vCenter Server management appliance. # Output only. Vcenter appliance.
522 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
523 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
524 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
525 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
526 },
527 },
528 ],
529 &quot;unreachable&quot;: [ # Locations that could not be reached when making an aggregated query using wildcards.
530 &quot;A String&quot;,
531 ],
532 }</pre>
533 </div>
534
535 <div class="method">
536 <code class="details" id="list_next">list_next()</code>
537 <pre>Retrieves the next page of results.
538
539 Args:
540 previous_request: The request for the previous page. (required)
541 previous_response: The response from the request for the previous page. (required)
542
543 Returns:
544 A request object that you can call &#x27;execute()&#x27; on to request the next
545 page. Returns None if there are no more items in the collection.
546 </pre>
547 </div>
548
549 <div class="method">
550 <code class="details" id="migrateManagementVms">migrateManagementVms(name, body=None, x__xgafv=None)</code>
551 <pre>Migrates the management VMs of the PC from the current management cluster to a workload cluster. Post this migration, the provided workload cluster becomes the management cluster
552
553 Args:
554 name: string, Required. The resource name of the private cloud whose management vms are getting migrated. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
555 body: object, The request body.
556 The object takes the form of:
557
558 { # Request message for VmwareEngine.MigrateManagementVms
559 &quot;clusterId&quot;: &quot;A String&quot;, # Required. The user-provided identifier of the workload cluster to which the management VMs are to be migrated. The cluster must be in the same private cloud as the one specified in `name`, and must be a workload cluster. The eventual cluster name will be constructed from the private cloud name and this cluster ID.
560 &quot;etag&quot;: &quot;A String&quot;, # Optional. Checksum used to ensure that the user-provided value is up to date before the server processes the request. The server compares provided checksum with the current checksum of the resource. If the user-provided value is out of date, this request returns an `ABORTED` error.
561 &quot;requestId&quot;: &quot;A String&quot;, # Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
562 }
563
564 x__xgafv: string, V1 error format.
565 Allowed values
566 1 - v1 error format
567 2 - v2 error format
568
569 Returns:
570 An object of the form:
571
572 { # This resource represents a long-running operation that is the result of a network API call.
573 &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.
574 &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.
575 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
576 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
577 {
578 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
579 },
580 ],
581 &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.
582 },
583 &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.
584 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
585 },
586 &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}`.
587 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
588 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
589 },
590 }</pre>
591 </div>
592
593 <div class="method">
594 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
595 <pre>Modifies a `PrivateCloud` resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can&#x27;t update the resource. Use the operation status to determine when the processing fully completes.
596
597 Args:
598 name: string, Output only. Identifier. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
599 body: object, The request body.
600 The object takes the form of:
601
602 { # Represents a private cloud resource. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional.
603 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
604 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when the resource was scheduled for deletion.
605 &quot;description&quot;: &quot;A String&quot;, # User-provided description for this private cloud.
606 &quot;encryptionConfig&quot;: { # Encryption configuration for a private cloud. # Optional. Encryption configuration for the private cloud. If this field is left unspecified, Google default encryption is used.
607 &quot;cryptoKeyName&quot;: &quot;A String&quot;, # Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of this field is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key must be in the same region as the private cloud. This key is used for wrapping the key-encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or `LEGACY_CMEK`, and must not be set when `type` is `OTHER`.
608 &quot;type&quot;: &quot;A String&quot;, # Required. The encryption type of the private cloud.
609 },
610 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time when the resource will be irreversibly deleted.
611 &quot;hcx&quot;: { # Details about a HCX Cloud Manager appliance. # Output only. HCX appliance.
612 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
613 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
614 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
615 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
616 },
617 &quot;managementCluster&quot;: { # Management cluster configuration. # Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster. The following fields can&#x27;t be changed after private cloud creation: `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`.
618 &quot;clusterId&quot;: &quot;A String&quot;, # Required. The user-provided identifier of the new `Cluster`. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
619 &quot;nodeTypeConfigs&quot;: { # Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`).
620 &quot;a_key&quot;: { # Information about the type and number of nodes associated with the cluster.
621 &quot;customCoreCount&quot;: 42, # Optional. Customized number of cores available to each node of the type. This number must always be one of `nodeType.availableCustomCoreCounts`. If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
622 &quot;nodeCount&quot;: 42, # Required. The number of nodes of this type in the cluster
623 },
624 },
625 &quot;stretchedClusterConfig&quot;: { # Configuration of a stretched cluster. # Optional. Configuration of a stretched cluster. Required for STRETCHED private clouds.
626 &quot;preferredLocation&quot;: &quot;A String&quot;, # Required. Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-a` where `{project}` can either be a project number or a project ID.
627 &quot;secondaryLocation&quot;: &quot;A String&quot;, # Required. Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-b` where `{project}` can either be a project number or a project ID.
628 },
629 },
630 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
631 &quot;networkConfig&quot;: { # Network configuration in the consumer project with which the peering has to be done. # Required. Network configuration of the private cloud.
632 &quot;dnsServerIp&quot;: &quot;A String&quot;, # Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud&#x27;s management entities like vCenter, NSX-T Manager and ESXi hosts.
633 &quot;managementCidr&quot;: &quot;A String&quot;, # Required. Management CIDR used by VMware management appliances.
634 &quot;managementIpAddressLayoutVersion&quot;: 42, # Output only. The IP address layout version of the management IP address range. Possible versions include: * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features. * `managementIpAddressLayoutVersion=2`: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
635 &quot;vmwareEngineNetwork&quot;: &quot;A String&quot;, # Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
636 &quot;vmwareEngineNetworkCanonical&quot;: &quot;A String&quot;, # Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
637 },
638 &quot;nsx&quot;: { # Details about a NSX Manager appliance. # Output only. NSX appliance.
639 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
640 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
641 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
642 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
643 },
644 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the resource. New values may be added to this enum when appropriate.
645 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the private cloud. Defaults to STANDARD.
646 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
647 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
648 &quot;vcenter&quot;: { # Details about a vCenter Server management appliance. # Output only. Vcenter appliance.
649 &quot;fqdn&quot;: &quot;A String&quot;, # Fully qualified domain name of the appliance.
650 &quot;internalIp&quot;: &quot;A String&quot;, # Internal IP address of the appliance.
651 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the appliance.
652 &quot;version&quot;: &quot;A String&quot;, # Version of the appliance.
653 },
654 }
655
656 requestId: string, Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
657 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the `PrivateCloud` resource by the update. The fields specified in `updateMask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
658 validateOnly: boolean, Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request.
659 x__xgafv: string, V1 error format.
660 Allowed values
661 1 - v1 error format
662 2 - v2 error format
663
664 Returns:
665 An object of the form:
666
667 { # This resource represents a long-running operation that is the result of a network API call.
668 &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.
669 &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.
670 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
671 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
672 {
673 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
674 },
675 ],
676 &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.
677 },
678 &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.
679 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
680 },
681 &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}`.
682 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
683 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
684 },
685 }</pre>
686 </div>
687
688 <div class="method">
689 <code class="details" id="privateCloudDeletionNow">privateCloudDeletionNow(name, body=None, x__xgafv=None)</code>
690 <pre>Accelerates the deletion of a private cloud that is currently in soft deletion A `PrivateCloud` resource in soft deletion has `PrivateCloud.state` set to `SOFT_DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.
691
692 Args:
693 name: string, Required. The resource name of the private cloud in softdeletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
694 body: object, The request body.
695 The object takes the form of:
696
697 { # Request message for VmwareEngine.AcceleratePrivateCloudDeletion
698 &quot;etag&quot;: &quot;A String&quot;, # Optional. Checksum used to ensure that the user-provided value is up to date before the server processes the request. The server compares provided checksum with the current checksum of the resource. If the user-provided value is out of date, this request returns an `ABORTED` error.
699 &quot;requestId&quot;: &quot;A String&quot;, # Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
700 }
701
702 x__xgafv: string, V1 error format.
703 Allowed values
704 1 - v1 error format
705 2 - v2 error format
706
707 Returns:
708 An object of the form:
709
710 { # This resource represents a long-running operation that is the result of a network API call.
711 &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.
712 &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.
713 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
714 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
715 {
716 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
717 },
718 ],
719 &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.
720 },
721 &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.
722 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
723 },
724 &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}`.
725 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
726 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
727 },
728 }</pre>
729 </div>
730
731 <div class="method">
732 <code class="details" id="resetNsxCredentials">resetNsxCredentials(privateCloud, body=None, x__xgafv=None)</code>
733 <pre>Resets credentials of the NSX appliance.
734
735 Args:
736 privateCloud: string, Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
737 body: object, The request body.
738 The object takes the form of:
739
740 { # Request message for VmwareEngine.ResetNsxCredentials
741 &quot;requestId&quot;: &quot;A String&quot;, # Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
742 }
743
744 x__xgafv: string, V1 error format.
745 Allowed values
746 1 - v1 error format
747 2 - v2 error format
748
749 Returns:
750 An object of the form:
751
752 { # This resource represents a long-running operation that is the result of a network API call.
753 &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.
754 &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.
755 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
756 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
757 {
758 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
759 },
760 ],
761 &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.
762 },
763 &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.
764 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
765 },
766 &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}`.
767 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
768 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
769 },
770 }</pre>
771 </div>
772
773 <div class="method">
774 <code class="details" id="resetVcenterCredentials">resetVcenterCredentials(privateCloud, body=None, x__xgafv=None)</code>
775 <pre>Resets credentials of the Vcenter appliance.
776
777 Args:
778 privateCloud: string, Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
779 body: object, The request body.
780 The object takes the form of:
781
782 { # Request message for VmwareEngine.ResetVcenterCredentials
783 &quot;requestId&quot;: &quot;A String&quot;, # Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
784 &quot;username&quot;: &quot;A String&quot;, # Optional. The username of the user to be to reset the credentials. The default value of this field is [email protected]. The provided value should be one of the following: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected].
785 }
786
787 x__xgafv: string, V1 error format.
788 Allowed values
789 1 - v1 error format
790 2 - v2 error format
791
792 Returns:
793 An object of the form:
794
795 { # This resource represents a long-running operation that is the result of a network API call.
796 &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.
797 &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.
798 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
799 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
800 {
801 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
802 },
803 ],
804 &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.
805 },
806 &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.
807 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
808 },
809 &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}`.
810 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
811 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
812 },
813 }</pre>
814 </div>
815
816 <div class="method">
817 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
818 <pre>Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
819
820 Args:
821 resource: string, REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
822 body: object, The request body.
823 The object takes the form of:
824
825 { # Request message for `SetIamPolicy` method.
826 &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`, or principals, to a single `role`. Principals 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:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&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:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] 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 Google Cloud services (such as Projects) might reject them.
827 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
828 { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { &quot;audit_configs&quot;: [ { &quot;service&quot;: &quot;allServices&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; }, { &quot;log_type&quot;: &quot;ADMIN_READ&quot; } ] }, { &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot; }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
829 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
830 { # Provides the configuration for logging a type of permissions. Example: { &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting [email protected] from DATA_READ logging.
831 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
832 &quot;A String&quot;,
833 ],
834 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
835 },
836 ],
837 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
838 },
839 ],
840 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with 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 principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
841 { # Associates `members`, or principals, with a `role`.
842 &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 principals 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).
843 &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.
844 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
845 &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.
846 &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.
847 },
848 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?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, `[email protected]?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, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
849 &quot;A String&quot;,
850 ],
851 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
852 },
853 ],
854 &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.
855 &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).
856 },
857 &quot;updateMask&quot;: &quot;A String&quot;, # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: &quot;bindings, etag&quot;`
858 }
859
860 x__xgafv: string, V1 error format.
861 Allowed values
862 1 - v1 error format
863 2 - v2 error format
864
865 Returns:
866 An object of the form:
867
868 { # 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`, or principals, to a single `role`. Principals 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:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&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:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] 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/).
869 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
870 { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { &quot;audit_configs&quot;: [ { &quot;service&quot;: &quot;allServices&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; }, { &quot;log_type&quot;: &quot;ADMIN_READ&quot; } ] }, { &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot; }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
871 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
872 { # Provides the configuration for logging a type of permissions. Example: { &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting [email protected] from DATA_READ logging.
873 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
874 &quot;A String&quot;,
875 ],
876 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
877 },
878 ],
879 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
880 },
881 ],
882 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with 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 principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
883 { # Associates `members`, or principals, with a `role`.
884 &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 principals 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).
885 &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.
886 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
887 &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.
888 &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.
889 },
890 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?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, `[email protected]?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, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
891 &quot;A String&quot;,
892 ],
893 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
894 },
895 ],
896 &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.
897 &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).
898 }</pre>
899 </div>
900
901 <div class="method">
902 <code class="details" id="showNsxCredentials">showNsxCredentials(privateCloud, x__xgafv=None)</code>
903 <pre>Gets details of credentials for NSX appliance.
904
905 Args:
906 privateCloud: string, Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
907 x__xgafv: string, V1 error format.
908 Allowed values
909 1 - v1 error format
910 2 - v2 error format
911
912 Returns:
913 An object of the form:
914
915 { # Credentials for a private cloud.
916 &quot;password&quot;: &quot;A String&quot;, # Initial password.
917 &quot;username&quot;: &quot;A String&quot;, # Initial username.
918 }</pre>
919 </div>
920
921 <div class="method">
922 <code class="details" id="showVcenterCredentials">showVcenterCredentials(privateCloud, username=None, x__xgafv=None)</code>
923 <pre>Gets details of credentials for Vcenter appliance.
924
925 Args:
926 privateCloud: string, Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
927 username: string, Optional. The username of the user to be queried for credentials. The default value of this field is [email protected]. The provided value must be one of the following: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected].
928 x__xgafv: string, V1 error format.
929 Allowed values
930 1 - v1 error format
931 2 - v2 error format
932
933 Returns:
934 An object of the form:
935
936 { # Credentials for a private cloud.
937 &quot;password&quot;: &quot;A String&quot;, # Initial password.
938 &quot;username&quot;: &quot;A String&quot;, # Initial username.
939 }</pre>
940 </div>
941
942 <div class="method">
943 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
944 <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.
945
946 Args:
947 resource: string, REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
948 body: object, The request body.
949 The object takes the form of:
950
951 { # Request message for `TestIamPermissions` method.
952 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
953 &quot;A String&quot;,
954 ],
955 }
956
957 x__xgafv: string, V1 error format.
958 Allowed values
959 1 - v1 error format
960 2 - v2 error format
961
962 Returns:
963 An object of the form:
964
965 { # Response message for `TestIamPermissions` method.
966 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
967 &quot;A String&quot;,
968 ],
969 }</pre>
970 </div>
971
972 <div class="method">
973 <code class="details" id="undelete">undelete(name, body=None, x__xgafv=None)</code>
974 <pre>Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.
975
976 Args:
977 name: string, Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
978 body: object, The request body.
979 The object takes the form of:
980
981 { # Request message for VmwareEngine.UndeletePrivateCloud
982 &quot;requestId&quot;: &quot;A String&quot;, # Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
983 }
984
985 x__xgafv: string, V1 error format.
986 Allowed values
987 1 - v1 error format
988 2 - v2 error format
989
990 Returns:
991 An object of the form:
992
993 { # This resource represents a long-running operation that is the result of a network API call.
994 &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.
995 &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.
996 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
997 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
998 {
999 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1000 },
1001 ],
1002 &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.
1003 },
1004 &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.
1005 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1006 },
1007 &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}`.
1008 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
1009 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1010 },
1011 }</pre>
1012 </div>
1013
1014 <div class="method">
1015 <code class="details" id="updateDnsForwarding">updateDnsForwarding(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
1016 <pre>Updates the parameters of the `DnsForwarding` config, like associated domains. Only fields specified in `update_mask` are applied.
1017
1018 Args:
1019 name: string, Output only. Identifier. The resource name of this DNS profile. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` (required)
1020 body: object, The request body.
1021 The object takes the form of:
1022
1023 { # DNS forwarding config. This config defines a list of domain to name server mappings, and is attached to the private cloud for custom domain resolution.
1024 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
1025 &quot;forwardingRules&quot;: [ # Required. List of domain mappings to configure
1026 { # A forwarding rule is a mapping of a `domain` to `name_servers`. This mapping allows VMware Engine to resolve domains for attached private clouds by forwarding DNS requests for a given domain to the specified nameservers.
1027 &quot;domain&quot;: &quot;A String&quot;, # Required. Domain used to resolve a `name_servers` list.
1028 &quot;nameServers&quot;: [ # Required. List of DNS servers to use for domain resolution
1029 &quot;A String&quot;,
1030 ],
1031 },
1032 ],
1033 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of this DNS profile. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`
1034 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
1035 }
1036
1037 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1038 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the `DnsForwarding` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
1039 x__xgafv: string, V1 error format.
1040 Allowed values
1041 1 - v1 error format
1042 2 - v2 error format
1043
1044 Returns:
1045 An object of the form:
1046
1047 { # This resource represents a long-running operation that is the result of a network API call.
1048 &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.
1049 &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.
1050 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1051 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1052 {
1053 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1054 },
1055 ],
1056 &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.
1057 },
1058 &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.
1059 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1060 },
1061 &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}`.
1062 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
1063 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1064 },
1065 }</pre>
1066 </div>
1067
1068 </body></html>