@maxim_mazurok/gapi.client.vmwareengine-v1 0.0.20230922
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4394 -0
- package/package.json +20 -0
- package/readme.md +68 -0
- package/tests.ts +705 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,4394 @@
|
|
|
1
|
+
/* Type definitions for non-npm package VMware Engine API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/solutions/vmware-as-a-service
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
|
|
8
|
+
// IMPORTANT
|
|
9
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
|
+
// Generated from: https://vmwareengine.googleapis.com/$discovery/rest?version=v1
|
|
12
|
+
// Revision: 20230922
|
|
13
|
+
|
|
14
|
+
/// <reference types="gapi.client" />
|
|
15
|
+
|
|
16
|
+
declare namespace gapi.client {
|
|
17
|
+
/** Load VMware Engine API v1 */
|
|
18
|
+
function load(urlOrObject: "https://vmwareengine.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
19
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
20
|
+
function load(name: "vmwareengine", version: "v1"): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: "vmwareengine", version: "v1", callback: () => any): void;
|
|
23
|
+
|
|
24
|
+
namespace vmwareengine {
|
|
25
|
+
interface AuditConfig {
|
|
26
|
+
/** The configuration for logging of each type of permission. */
|
|
27
|
+
auditLogConfigs?:
|
|
28
|
+
AuditLogConfig[];
|
|
29
|
+
/**
|
|
30
|
+
* 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
|
|
31
|
+
* services.
|
|
32
|
+
*/
|
|
33
|
+
service?:
|
|
34
|
+
string;
|
|
35
|
+
}
|
|
36
|
+
interface AuditLogConfig {
|
|
37
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
38
|
+
exemptedMembers?:
|
|
39
|
+
string[];
|
|
40
|
+
/** The log type that this config enables. */
|
|
41
|
+
logType?:
|
|
42
|
+
string;
|
|
43
|
+
}
|
|
44
|
+
interface Binding {
|
|
45
|
+
/**
|
|
46
|
+
* 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`,
|
|
47
|
+
* 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
|
|
48
|
+
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
49
|
+
*/
|
|
50
|
+
condition?:
|
|
51
|
+
Expr;
|
|
52
|
+
/**
|
|
53
|
+
* 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
|
|
54
|
+
* 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
|
|
55
|
+
* account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific
|
|
56
|
+
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
57
|
+
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
58
|
+
* 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]`. *
|
|
59
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
|
60
|
+
* users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has
|
|
61
|
+
* been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains
|
|
62
|
+
* the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently
|
|
63
|
+
* deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and
|
|
64
|
+
* 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
|
|
65
|
+
* has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
|
|
66
|
+
* retains the role in the binding.
|
|
67
|
+
*/
|
|
68
|
+
members?:
|
|
69
|
+
string[];
|
|
70
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
71
|
+
role?:
|
|
72
|
+
string;
|
|
73
|
+
}
|
|
74
|
+
interface Cluster {
|
|
75
|
+
/** Output only. Creation time of this resource. */
|
|
76
|
+
createTime?:
|
|
77
|
+
string;
|
|
78
|
+
/** Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one. */
|
|
79
|
+
management?:
|
|
80
|
+
boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Output only. The resource name of this cluster. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
|
|
83
|
+
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
|
|
84
|
+
*/
|
|
85
|
+
name?:
|
|
86
|
+
string;
|
|
87
|
+
/** Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`). */
|
|
88
|
+
nodeTypeConfigs?:
|
|
89
|
+
{ [P in string]: NodeTypeConfig };
|
|
90
|
+
/** Output only. State of the resource. */
|
|
91
|
+
state?:
|
|
92
|
+
string;
|
|
93
|
+
/** Output only. System-generated unique identifier for the resource. */
|
|
94
|
+
uid?:
|
|
95
|
+
string;
|
|
96
|
+
/** Output only. Last update time of this resource. */
|
|
97
|
+
updateTime?:
|
|
98
|
+
string;
|
|
99
|
+
}
|
|
100
|
+
interface Credentials {
|
|
101
|
+
/** Initial password. */
|
|
102
|
+
password?:
|
|
103
|
+
string;
|
|
104
|
+
/** Initial username. */
|
|
105
|
+
username?:
|
|
106
|
+
string;
|
|
107
|
+
}
|
|
108
|
+
// tslint:disable-next-line:no-empty-interface
|
|
109
|
+
interface Empty {
|
|
110
|
+
}
|
|
111
|
+
interface Expr {
|
|
112
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
113
|
+
description?:
|
|
114
|
+
string;
|
|
115
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
116
|
+
expression?:
|
|
117
|
+
string;
|
|
118
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
119
|
+
location?:
|
|
120
|
+
string;
|
|
121
|
+
/** 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. */
|
|
122
|
+
title?:
|
|
123
|
+
string;
|
|
124
|
+
}
|
|
125
|
+
interface Hcx {
|
|
126
|
+
/** Fully qualified domain name of the appliance. */
|
|
127
|
+
fqdn?:
|
|
128
|
+
string;
|
|
129
|
+
/** Internal IP address of the appliance. */
|
|
130
|
+
internalIp?:
|
|
131
|
+
string;
|
|
132
|
+
/** Output only. The state of the appliance. */
|
|
133
|
+
state?:
|
|
134
|
+
string;
|
|
135
|
+
/** Version of the appliance. */
|
|
136
|
+
version?:
|
|
137
|
+
string;
|
|
138
|
+
}
|
|
139
|
+
interface HcxActivationKey {
|
|
140
|
+
/** Output only. HCX activation key. */
|
|
141
|
+
activationKey?:
|
|
142
|
+
string;
|
|
143
|
+
/** Output only. Creation time of HCX activation key. */
|
|
144
|
+
createTime?:
|
|
145
|
+
string;
|
|
146
|
+
/**
|
|
147
|
+
* Output only. The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
148
|
+
* example: `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key`
|
|
149
|
+
*/
|
|
150
|
+
name?:
|
|
151
|
+
string;
|
|
152
|
+
/** Output only. State of HCX activation key. */
|
|
153
|
+
state?:
|
|
154
|
+
string;
|
|
155
|
+
/** Output only. System-generated unique identifier for the resource. */
|
|
156
|
+
uid?:
|
|
157
|
+
string;
|
|
158
|
+
}
|
|
159
|
+
interface ListClustersResponse {
|
|
160
|
+
/** A list of private cloud clusters. */
|
|
161
|
+
clusters?:
|
|
162
|
+
Cluster[];
|
|
163
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
164
|
+
nextPageToken?:
|
|
165
|
+
string;
|
|
166
|
+
/** Locations that could not be reached when making an aggregated query using wildcards. */
|
|
167
|
+
unreachable?:
|
|
168
|
+
string[];
|
|
169
|
+
}
|
|
170
|
+
interface ListHcxActivationKeysResponse {
|
|
171
|
+
/** List of HCX activation keys. */
|
|
172
|
+
hcxActivationKeys?:
|
|
173
|
+
HcxActivationKey[];
|
|
174
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
175
|
+
nextPageToken?:
|
|
176
|
+
string;
|
|
177
|
+
/** Locations that could not be reached when making an aggregated query using wildcards. */
|
|
178
|
+
unreachable?:
|
|
179
|
+
string[];
|
|
180
|
+
}
|
|
181
|
+
interface ListLocationsResponse {
|
|
182
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
183
|
+
locations?:
|
|
184
|
+
Location[];
|
|
185
|
+
/** The standard List next-page token. */
|
|
186
|
+
nextPageToken?:
|
|
187
|
+
string;
|
|
188
|
+
}
|
|
189
|
+
interface ListNetworkPoliciesResponse {
|
|
190
|
+
/** A list of network policies. */
|
|
191
|
+
networkPolicies?:
|
|
192
|
+
NetworkPolicy[];
|
|
193
|
+
/** A token, which can be send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
194
|
+
nextPageToken?:
|
|
195
|
+
string;
|
|
196
|
+
/** Locations that could not be reached when making an aggregated query using wildcards. */
|
|
197
|
+
unreachable?:
|
|
198
|
+
string[];
|
|
199
|
+
}
|
|
200
|
+
interface ListNodeTypesResponse {
|
|
201
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
202
|
+
nextPageToken?:
|
|
203
|
+
string;
|
|
204
|
+
/** A list of Node Types. */
|
|
205
|
+
nodeTypes?:
|
|
206
|
+
NodeType[];
|
|
207
|
+
/** Locations that could not be reached when making an aggregated query using wildcards. */
|
|
208
|
+
unreachable?:
|
|
209
|
+
string[];
|
|
210
|
+
}
|
|
211
|
+
interface ListOperationsResponse {
|
|
212
|
+
/** The standard List next-page token. */
|
|
213
|
+
nextPageToken?:
|
|
214
|
+
string;
|
|
215
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
216
|
+
operations?:
|
|
217
|
+
Operation[];
|
|
218
|
+
}
|
|
219
|
+
interface ListPrivateCloudsResponse {
|
|
220
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
221
|
+
nextPageToken?:
|
|
222
|
+
string;
|
|
223
|
+
/** A list of private clouds. */
|
|
224
|
+
privateClouds?:
|
|
225
|
+
PrivateCloud[];
|
|
226
|
+
/** Locations that could not be reached when making an aggregated query using wildcards. */
|
|
227
|
+
unreachable?:
|
|
228
|
+
string[];
|
|
229
|
+
}
|
|
230
|
+
interface ListPrivateConnectionPeeringRoutesResponse {
|
|
231
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
232
|
+
nextPageToken?:
|
|
233
|
+
string;
|
|
234
|
+
/** A list of peering routes. */
|
|
235
|
+
peeringRoutes?:
|
|
236
|
+
PeeringRoute[];
|
|
237
|
+
}
|
|
238
|
+
interface ListPrivateConnectionsResponse {
|
|
239
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
240
|
+
nextPageToken?:
|
|
241
|
+
string;
|
|
242
|
+
/** A list of private connections. */
|
|
243
|
+
privateConnections?:
|
|
244
|
+
PrivateConnection[];
|
|
245
|
+
/** Unreachable resources. */
|
|
246
|
+
unreachable?:
|
|
247
|
+
string[];
|
|
248
|
+
}
|
|
249
|
+
interface ListSubnetsResponse {
|
|
250
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
251
|
+
nextPageToken?:
|
|
252
|
+
string;
|
|
253
|
+
/** A list of subnets. */
|
|
254
|
+
subnets?:
|
|
255
|
+
Subnet[];
|
|
256
|
+
/** Locations that could not be reached when making an aggregated query using wildcards. */
|
|
257
|
+
unreachable?:
|
|
258
|
+
string[];
|
|
259
|
+
}
|
|
260
|
+
interface ListVmwareEngineNetworksResponse {
|
|
261
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
262
|
+
nextPageToken?:
|
|
263
|
+
string;
|
|
264
|
+
/** Unreachable resources. */
|
|
265
|
+
unreachable?:
|
|
266
|
+
string[];
|
|
267
|
+
/** A list of VMware Engine networks. */
|
|
268
|
+
vmwareEngineNetworks?:
|
|
269
|
+
VmwareEngineNetwork[];
|
|
270
|
+
}
|
|
271
|
+
interface Location {
|
|
272
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
273
|
+
displayName?:
|
|
274
|
+
string;
|
|
275
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
276
|
+
labels?:
|
|
277
|
+
{ [P in string]: string };
|
|
278
|
+
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
279
|
+
locationId?:
|
|
280
|
+
string;
|
|
281
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
282
|
+
metadata?:
|
|
283
|
+
{ [P in string]: any };
|
|
284
|
+
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
285
|
+
name?:
|
|
286
|
+
string;
|
|
287
|
+
}
|
|
288
|
+
interface ManagementCluster {
|
|
289
|
+
/**
|
|
290
|
+
* 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
|
|
291
|
+
* 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)
|
|
292
|
+
*/
|
|
293
|
+
clusterId?:
|
|
294
|
+
string;
|
|
295
|
+
/** Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`). */
|
|
296
|
+
nodeTypeConfigs?:
|
|
297
|
+
{ [P in string]: NodeTypeConfig };
|
|
298
|
+
}
|
|
299
|
+
interface NetworkConfig {
|
|
300
|
+
/** Required. Management CIDR used by VMware management appliances. */
|
|
301
|
+
managementCidr?:
|
|
302
|
+
string;
|
|
303
|
+
/**
|
|
304
|
+
* Output only. The IP address layout version of the management IP address range. Possible versions include: * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address
|
|
305
|
+
* 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`:
|
|
306
|
+
* Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
|
|
307
|
+
*/
|
|
308
|
+
managementIpAddressLayoutVersion?:
|
|
309
|
+
number;
|
|
310
|
+
/**
|
|
311
|
+
* Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form:
|
|
312
|
+
* `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
|
|
313
|
+
*/
|
|
314
|
+
vmwareEngineNetwork?:
|
|
315
|
+
string;
|
|
316
|
+
/** Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` */
|
|
317
|
+
vmwareEngineNetworkCanonical?:
|
|
318
|
+
string;
|
|
319
|
+
}
|
|
320
|
+
interface NetworkPolicy {
|
|
321
|
+
/** Output only. Creation time of this resource. */
|
|
322
|
+
createTime?:
|
|
323
|
+
string;
|
|
324
|
+
/** Optional. User-provided description for this network policy. */
|
|
325
|
+
description?:
|
|
326
|
+
string;
|
|
327
|
+
/**
|
|
328
|
+
* Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap
|
|
329
|
+
* with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.
|
|
330
|
+
*/
|
|
331
|
+
edgeServicesCidr?:
|
|
332
|
+
string;
|
|
333
|
+
/** Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled. */
|
|
334
|
+
externalIp?:
|
|
335
|
+
NetworkService;
|
|
336
|
+
/** Network service that allows VMware workloads to access the internet. */
|
|
337
|
+
internetAccess?:
|
|
338
|
+
NetworkService;
|
|
339
|
+
/**
|
|
340
|
+
* Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
341
|
+
* example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
|
|
342
|
+
*/
|
|
343
|
+
name?:
|
|
344
|
+
string;
|
|
345
|
+
/** Output only. System-generated unique identifier for the resource. */
|
|
346
|
+
uid?:
|
|
347
|
+
string;
|
|
348
|
+
/** Output only. Last update time of this resource. */
|
|
349
|
+
updateTime?:
|
|
350
|
+
string;
|
|
351
|
+
/**
|
|
352
|
+
* Optional. The relative resource name of the VMware Engine network. Specify the name in the following form:
|
|
353
|
+
* `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
|
|
354
|
+
*/
|
|
355
|
+
vmwareEngineNetwork?:
|
|
356
|
+
string;
|
|
357
|
+
/** Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` */
|
|
358
|
+
vmwareEngineNetworkCanonical?:
|
|
359
|
+
string;
|
|
360
|
+
}
|
|
361
|
+
interface NetworkService {
|
|
362
|
+
/** True if the service is enabled; false otherwise. */
|
|
363
|
+
enabled?:
|
|
364
|
+
boolean;
|
|
365
|
+
/** Output only. State of the service. New values may be added to this enum when appropriate. */
|
|
366
|
+
state?:
|
|
367
|
+
string;
|
|
368
|
+
}
|
|
369
|
+
interface NodeType {
|
|
370
|
+
/** Output only. List of possible values of custom core count. */
|
|
371
|
+
availableCustomCoreCounts?:
|
|
372
|
+
number[];
|
|
373
|
+
/** Output only. The amount of storage available, defined in GB. */
|
|
374
|
+
diskSizeGb?:
|
|
375
|
+
number;
|
|
376
|
+
/** Output only. The friendly name for this node type. For example: ve1-standard-72 */
|
|
377
|
+
displayName?:
|
|
378
|
+
string;
|
|
379
|
+
/** Output only. The amount of physical memory available, defined in GB. */
|
|
380
|
+
memoryGb?:
|
|
381
|
+
number;
|
|
382
|
+
/**
|
|
383
|
+
* Output only. The resource name of this node type. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
|
|
384
|
+
* `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`
|
|
385
|
+
*/
|
|
386
|
+
name?:
|
|
387
|
+
string;
|
|
388
|
+
/** Output only. The canonical identifier of the node type (corresponds to the `NodeType`). For example: standard-72. */
|
|
389
|
+
nodeTypeId?:
|
|
390
|
+
string;
|
|
391
|
+
/** Output only. The total number of CPU cores in a single node. */
|
|
392
|
+
totalCoreCount?:
|
|
393
|
+
number;
|
|
394
|
+
/** Output only. The total number of virtual CPUs in a single node. */
|
|
395
|
+
virtualCpuCount?:
|
|
396
|
+
number;
|
|
397
|
+
}
|
|
398
|
+
interface NodeTypeConfig {
|
|
399
|
+
/**
|
|
400
|
+
* 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
|
|
401
|
+
* `nodeType.availableCustomCoreCounts` will be used.
|
|
402
|
+
*/
|
|
403
|
+
customCoreCount?:
|
|
404
|
+
number;
|
|
405
|
+
/** Required. The number of nodes of this type in the cluster */
|
|
406
|
+
nodeCount?:
|
|
407
|
+
number;
|
|
408
|
+
}
|
|
409
|
+
interface Nsx {
|
|
410
|
+
/** Fully qualified domain name of the appliance. */
|
|
411
|
+
fqdn?:
|
|
412
|
+
string;
|
|
413
|
+
/** Internal IP address of the appliance. */
|
|
414
|
+
internalIp?:
|
|
415
|
+
string;
|
|
416
|
+
/** Output only. The state of the appliance. */
|
|
417
|
+
state?:
|
|
418
|
+
string;
|
|
419
|
+
/** Version of the appliance. */
|
|
420
|
+
version?:
|
|
421
|
+
string;
|
|
422
|
+
}
|
|
423
|
+
interface Operation {
|
|
424
|
+
/** 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. */
|
|
425
|
+
done?:
|
|
426
|
+
boolean;
|
|
427
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
428
|
+
error?:
|
|
429
|
+
Status;
|
|
430
|
+
/**
|
|
431
|
+
* 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
|
|
432
|
+
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
433
|
+
*/
|
|
434
|
+
metadata?:
|
|
435
|
+
{ [P in string]: any };
|
|
436
|
+
/**
|
|
437
|
+
* 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
|
|
438
|
+
* with `operations/{unique_id}`.
|
|
439
|
+
*/
|
|
440
|
+
name?:
|
|
441
|
+
string;
|
|
442
|
+
/**
|
|
443
|
+
* 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
|
|
444
|
+
* 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
|
|
445
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
446
|
+
*/
|
|
447
|
+
response?:
|
|
448
|
+
{ [P in string]: any };
|
|
449
|
+
}
|
|
450
|
+
interface OperationMetadata {
|
|
451
|
+
/** Output only. API version used to start the operation. */
|
|
452
|
+
apiVersion?:
|
|
453
|
+
string;
|
|
454
|
+
/** Output only. The time the operation was created. */
|
|
455
|
+
createTime?:
|
|
456
|
+
string;
|
|
457
|
+
/** Output only. The time the operation finished running. */
|
|
458
|
+
endTime?:
|
|
459
|
+
string;
|
|
460
|
+
/**
|
|
461
|
+
* Output only. True if the user has requested cancellation of the operation; false otherwise. Operations that have successfully been cancelled have Operation.error value with a
|
|
462
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
463
|
+
*/
|
|
464
|
+
requestedCancellation?:
|
|
465
|
+
boolean;
|
|
466
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
467
|
+
statusMessage?:
|
|
468
|
+
string;
|
|
469
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
470
|
+
target?:
|
|
471
|
+
string;
|
|
472
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
473
|
+
verb?:
|
|
474
|
+
string;
|
|
475
|
+
}
|
|
476
|
+
interface PeeringRoute {
|
|
477
|
+
/** Output only. Destination range of the peering route in CIDR notation. */
|
|
478
|
+
destRange?:
|
|
479
|
+
string;
|
|
480
|
+
/**
|
|
481
|
+
* Output only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective: * Routes of direction `INCOMING` are imported from the peer
|
|
482
|
+
* network. * Routes of direction `OUTGOING` are exported from the intranet VPC network of the VMware Engine network.
|
|
483
|
+
*/
|
|
484
|
+
direction?:
|
|
485
|
+
string;
|
|
486
|
+
/**
|
|
487
|
+
* Output only. True if the peering route has been imported from a peered VPC network; false otherwise. The import happens if the field `NetworkPeering.importCustomRoutes` is true for
|
|
488
|
+
* this network, `NetworkPeering.exportCustomRoutes` is true for the peer VPC network, and the import does not result in a route conflict.
|
|
489
|
+
*/
|
|
490
|
+
imported?:
|
|
491
|
+
boolean;
|
|
492
|
+
/** Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network. */
|
|
493
|
+
nextHopRegion?:
|
|
494
|
+
string;
|
|
495
|
+
/** Output only. The priority of the peering route. */
|
|
496
|
+
priority?:
|
|
497
|
+
string;
|
|
498
|
+
/** Output only. Type of the route in the peer VPC network. */
|
|
499
|
+
type?:
|
|
500
|
+
string;
|
|
501
|
+
}
|
|
502
|
+
interface Policy {
|
|
503
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
504
|
+
auditConfigs?:
|
|
505
|
+
AuditConfig[];
|
|
506
|
+
/**
|
|
507
|
+
* 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`
|
|
508
|
+
* 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
|
|
509
|
+
* principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
|
|
510
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
511
|
+
*/
|
|
512
|
+
bindings?:
|
|
513
|
+
Binding[];
|
|
514
|
+
/**
|
|
515
|
+
* `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
|
|
516
|
+
* 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
|
|
517
|
+
* 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
|
|
518
|
+
* 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`
|
|
519
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
520
|
+
*/
|
|
521
|
+
etag?:
|
|
522
|
+
string;
|
|
523
|
+
/**
|
|
524
|
+
* 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
|
|
525
|
+
* 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
|
|
526
|
+
* 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
|
|
527
|
+
* 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`
|
|
528
|
+
* 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
|
|
529
|
+
* 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).
|
|
530
|
+
*/
|
|
531
|
+
version?:
|
|
532
|
+
number;
|
|
533
|
+
}
|
|
534
|
+
interface PrivateCloud {
|
|
535
|
+
/** Output only. Creation time of this resource. */
|
|
536
|
+
createTime?:
|
|
537
|
+
string;
|
|
538
|
+
/** Output only. Time when the resource was scheduled for deletion. */
|
|
539
|
+
deleteTime?:
|
|
540
|
+
string;
|
|
541
|
+
/** User-provided description for this private cloud. */
|
|
542
|
+
description?:
|
|
543
|
+
string;
|
|
544
|
+
/** Output only. Time when the resource will be irreversibly deleted. */
|
|
545
|
+
expireTime?:
|
|
546
|
+
string;
|
|
547
|
+
/** Output only. HCX appliance. */
|
|
548
|
+
hcx?:
|
|
549
|
+
Hcx;
|
|
550
|
+
/**
|
|
551
|
+
* 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
|
|
552
|
+
* following fields can't be changed after private cloud creation: `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`.
|
|
553
|
+
*/
|
|
554
|
+
managementCluster?:
|
|
555
|
+
ManagementCluster;
|
|
556
|
+
/**
|
|
557
|
+
* Output only. 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
|
|
558
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
559
|
+
*/
|
|
560
|
+
name?:
|
|
561
|
+
string;
|
|
562
|
+
/** Required. Network configuration of the private cloud. */
|
|
563
|
+
networkConfig?:
|
|
564
|
+
NetworkConfig;
|
|
565
|
+
/** Output only. NSX appliance. */
|
|
566
|
+
nsx?:
|
|
567
|
+
Nsx;
|
|
568
|
+
/** Output only. State of the resource. New values may be added to this enum when appropriate. */
|
|
569
|
+
state?:
|
|
570
|
+
string;
|
|
571
|
+
/** Optional. Type of the private cloud. Defaults to STANDARD. */
|
|
572
|
+
type?:
|
|
573
|
+
string;
|
|
574
|
+
/** Output only. System-generated unique identifier for the resource. */
|
|
575
|
+
uid?:
|
|
576
|
+
string;
|
|
577
|
+
/** Output only. Last update time of this resource. */
|
|
578
|
+
updateTime?:
|
|
579
|
+
string;
|
|
580
|
+
/** Output only. Vcenter appliance. */
|
|
581
|
+
vcenter?:
|
|
582
|
+
Vcenter;
|
|
583
|
+
}
|
|
584
|
+
interface PrivateConnection {
|
|
585
|
+
/** Output only. Creation time of this resource. */
|
|
586
|
+
createTime?:
|
|
587
|
+
string;
|
|
588
|
+
/** Optional. User-provided description for this private connection. */
|
|
589
|
+
description?:
|
|
590
|
+
string;
|
|
591
|
+
/**
|
|
592
|
+
* Output only. The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
593
|
+
* example: `projects/my-project/locations/us-central1/privateConnections/my-connection`
|
|
594
|
+
*/
|
|
595
|
+
name?:
|
|
596
|
+
string;
|
|
597
|
+
/** Output only. VPC network peering id between given network VPC and VMwareEngineNetwork. */
|
|
598
|
+
peeringId?:
|
|
599
|
+
string;
|
|
600
|
+
/** Output only. Peering state between service network and VMware Engine network. */
|
|
601
|
+
peeringState?:
|
|
602
|
+
string;
|
|
603
|
+
/** Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported. */
|
|
604
|
+
routingMode?:
|
|
605
|
+
string;
|
|
606
|
+
/**
|
|
607
|
+
* Required. Service network to create private connection. Specify the name in the following form: `projects/{project}/global/networks/{network_id}` For type = PRIVATE_SERVICE_ACCESS,
|
|
608
|
+
* this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC,
|
|
609
|
+
* e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g.
|
|
610
|
+
* projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine
|
|
611
|
+
* Network needs to be connected, e.g. projects/project/global/networks/vpc.
|
|
612
|
+
*/
|
|
613
|
+
serviceNetwork?:
|
|
614
|
+
string;
|
|
615
|
+
/** Output only. State of the private connection. */
|
|
616
|
+
state?:
|
|
617
|
+
string;
|
|
618
|
+
/** Required. Private connection type. */
|
|
619
|
+
type?:
|
|
620
|
+
string;
|
|
621
|
+
/** Output only. System-generated unique identifier for the resource. */
|
|
622
|
+
uid?:
|
|
623
|
+
string;
|
|
624
|
+
/** Output only. Last update time of this resource. */
|
|
625
|
+
updateTime?:
|
|
626
|
+
string;
|
|
627
|
+
/**
|
|
628
|
+
* Required. The relative resource name of Legacy VMware Engine network. Specify the name in the following form:
|
|
629
|
+
* `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}`, `{location}` will be same as specified in private connection resource
|
|
630
|
+
* name and `{vmware_engine_network_id}` will be in the form of `{location}`-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.
|
|
631
|
+
*/
|
|
632
|
+
vmwareEngineNetwork?:
|
|
633
|
+
string;
|
|
634
|
+
/** Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` */
|
|
635
|
+
vmwareEngineNetworkCanonical?:
|
|
636
|
+
string;
|
|
637
|
+
}
|
|
638
|
+
interface ResetNsxCredentialsRequest {
|
|
639
|
+
/**
|
|
640
|
+
* 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
|
|
641
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
642
|
+
* 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,
|
|
643
|
+
* 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
|
|
644
|
+
* UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
645
|
+
*/
|
|
646
|
+
requestId?:
|
|
647
|
+
string;
|
|
648
|
+
}
|
|
649
|
+
interface ResetVcenterCredentialsRequest {
|
|
650
|
+
/**
|
|
651
|
+
* 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
|
|
652
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
653
|
+
* 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,
|
|
654
|
+
* 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
|
|
655
|
+
* UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
656
|
+
*/
|
|
657
|
+
requestId?:
|
|
658
|
+
string;
|
|
659
|
+
}
|
|
660
|
+
interface SetIamPolicyRequest {
|
|
661
|
+
/**
|
|
662
|
+
* 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
|
|
663
|
+
* services (such as Projects) might reject them.
|
|
664
|
+
*/
|
|
665
|
+
policy?:
|
|
666
|
+
Policy;
|
|
667
|
+
/**
|
|
668
|
+
* 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:
|
|
669
|
+
* `paths: "bindings, etag"`
|
|
670
|
+
*/
|
|
671
|
+
updateMask?:
|
|
672
|
+
string;
|
|
673
|
+
}
|
|
674
|
+
interface Status {
|
|
675
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
676
|
+
code?:
|
|
677
|
+
number;
|
|
678
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
679
|
+
details?:
|
|
680
|
+
Array<{ [P in string]: any }>;
|
|
681
|
+
/**
|
|
682
|
+
* 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
|
|
683
|
+
* client.
|
|
684
|
+
*/
|
|
685
|
+
message?:
|
|
686
|
+
string;
|
|
687
|
+
}
|
|
688
|
+
interface Subnet {
|
|
689
|
+
/** The IP address of the gateway of this subnet. Must fall within the IP prefix defined above. */
|
|
690
|
+
gatewayIp?:
|
|
691
|
+
string;
|
|
692
|
+
/** The IP address range of the subnet in CIDR format '10.0.0.0/24'. */
|
|
693
|
+
ipCidrRange?:
|
|
694
|
+
string;
|
|
695
|
+
/**
|
|
696
|
+
* Output only. The resource name of this subnet. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
|
|
697
|
+
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`
|
|
698
|
+
*/
|
|
699
|
+
name?:
|
|
700
|
+
string;
|
|
701
|
+
/** Output only. The state of the resource. */
|
|
702
|
+
state?:
|
|
703
|
+
string;
|
|
704
|
+
/** Output only. The type of the subnet. For example "management" or "userDefined". */
|
|
705
|
+
type?:
|
|
706
|
+
string;
|
|
707
|
+
}
|
|
708
|
+
interface TestIamPermissionsRequest {
|
|
709
|
+
/**
|
|
710
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
711
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
712
|
+
*/
|
|
713
|
+
permissions?:
|
|
714
|
+
string[];
|
|
715
|
+
}
|
|
716
|
+
interface TestIamPermissionsResponse {
|
|
717
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
718
|
+
permissions?:
|
|
719
|
+
string[];
|
|
720
|
+
}
|
|
721
|
+
interface UndeletePrivateCloudRequest {
|
|
722
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
723
|
+
requestId?:
|
|
724
|
+
string;
|
|
725
|
+
}
|
|
726
|
+
interface Vcenter {
|
|
727
|
+
/** Fully qualified domain name of the appliance. */
|
|
728
|
+
fqdn?:
|
|
729
|
+
string;
|
|
730
|
+
/** Internal IP address of the appliance. */
|
|
731
|
+
internalIp?:
|
|
732
|
+
string;
|
|
733
|
+
/** Output only. The state of the appliance. */
|
|
734
|
+
state?:
|
|
735
|
+
string;
|
|
736
|
+
/** Version of the appliance. */
|
|
737
|
+
version?:
|
|
738
|
+
string;
|
|
739
|
+
}
|
|
740
|
+
interface VmwareEngineNetwork {
|
|
741
|
+
/** Output only. Creation time of this resource. */
|
|
742
|
+
createTime?:
|
|
743
|
+
string;
|
|
744
|
+
/** User-provided description for this VMware Engine network. */
|
|
745
|
+
description?:
|
|
746
|
+
string;
|
|
747
|
+
/**
|
|
748
|
+
* Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums
|
|
749
|
+
* based on the value of other fields in the request.
|
|
750
|
+
*/
|
|
751
|
+
etag?:
|
|
752
|
+
string;
|
|
753
|
+
/**
|
|
754
|
+
* Output only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.
|
|
755
|
+
* For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`
|
|
756
|
+
*/
|
|
757
|
+
name?:
|
|
758
|
+
string;
|
|
759
|
+
/** Output only. State of the VMware Engine network. */
|
|
760
|
+
state?:
|
|
761
|
+
string;
|
|
762
|
+
/** Required. VMware Engine network type. */
|
|
763
|
+
type?:
|
|
764
|
+
string;
|
|
765
|
+
/** Output only. System-generated unique identifier for the resource. */
|
|
766
|
+
uid?:
|
|
767
|
+
string;
|
|
768
|
+
/** Output only. Last update time of this resource. */
|
|
769
|
+
updateTime?:
|
|
770
|
+
string;
|
|
771
|
+
/** Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services. */
|
|
772
|
+
vpcNetworks?:
|
|
773
|
+
VpcNetwork[];
|
|
774
|
+
}
|
|
775
|
+
interface VpcNetwork {
|
|
776
|
+
/** Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: `projects/123123/global/networks/my-network` */
|
|
777
|
+
network?:
|
|
778
|
+
string;
|
|
779
|
+
/** Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD) */
|
|
780
|
+
type?:
|
|
781
|
+
string;
|
|
782
|
+
}
|
|
783
|
+
interface NetworkPoliciesResource {
|
|
784
|
+
/**
|
|
785
|
+
* Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in
|
|
786
|
+
* the same scope.
|
|
787
|
+
*/
|
|
788
|
+
create(request: {
|
|
789
|
+
/** V1 error format. */
|
|
790
|
+
"$.xgafv"?:
|
|
791
|
+
string;
|
|
792
|
+
/** OAuth access token. */
|
|
793
|
+
access_token?:
|
|
794
|
+
string;
|
|
795
|
+
/** Data format for response. */
|
|
796
|
+
alt?:
|
|
797
|
+
string;
|
|
798
|
+
/** JSONP */
|
|
799
|
+
callback?:
|
|
800
|
+
string;
|
|
801
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
802
|
+
fields?:
|
|
803
|
+
string;
|
|
804
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
805
|
+
key?:
|
|
806
|
+
string;
|
|
807
|
+
/**
|
|
808
|
+
* Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent
|
|
809
|
+
* `projects/{my-project}/locations/{us-central1}/networkPolicies` and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains
|
|
810
|
+
* 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
|
|
811
|
+
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
|
|
812
|
+
*/
|
|
813
|
+
networkPolicyId?:
|
|
814
|
+
string;
|
|
815
|
+
/** OAuth 2.0 token for the current user. */
|
|
816
|
+
oauth_token?:
|
|
817
|
+
string;
|
|
818
|
+
/**
|
|
819
|
+
* Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in
|
|
820
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
|
|
821
|
+
*/
|
|
822
|
+
parent:
|
|
823
|
+
string;
|
|
824
|
+
/** Returns response with indentations and line breaks. */
|
|
825
|
+
prettyPrint?:
|
|
826
|
+
boolean;
|
|
827
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
828
|
+
quotaUser?:
|
|
829
|
+
string;
|
|
830
|
+
/**
|
|
831
|
+
* 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
|
|
832
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
833
|
+
* 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
|
|
834
|
+
* 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
|
|
835
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
836
|
+
*/
|
|
837
|
+
requestId?:
|
|
838
|
+
string;
|
|
839
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
840
|
+
upload_protocol?:
|
|
841
|
+
string;
|
|
842
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
843
|
+
uploadType?:
|
|
844
|
+
string;
|
|
845
|
+
/** Request body */
|
|
846
|
+
resource:
|
|
847
|
+
NetworkPolicy;
|
|
848
|
+
}): Request<Operation>;
|
|
849
|
+
create(request: {
|
|
850
|
+
/** V1 error format. */
|
|
851
|
+
"$.xgafv"?:
|
|
852
|
+
string;
|
|
853
|
+
/** OAuth access token. */
|
|
854
|
+
access_token?:
|
|
855
|
+
string;
|
|
856
|
+
/** Data format for response. */
|
|
857
|
+
alt?:
|
|
858
|
+
string;
|
|
859
|
+
/** JSONP */
|
|
860
|
+
callback?:
|
|
861
|
+
string;
|
|
862
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
863
|
+
fields?:
|
|
864
|
+
string;
|
|
865
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
866
|
+
key?:
|
|
867
|
+
string;
|
|
868
|
+
/**
|
|
869
|
+
* Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent
|
|
870
|
+
* `projects/{my-project}/locations/{us-central1}/networkPolicies` and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains
|
|
871
|
+
* 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
|
|
872
|
+
* 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
|
|
873
|
+
*/
|
|
874
|
+
networkPolicyId?:
|
|
875
|
+
string;
|
|
876
|
+
/** OAuth 2.0 token for the current user. */
|
|
877
|
+
oauth_token?:
|
|
878
|
+
string;
|
|
879
|
+
/**
|
|
880
|
+
* Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in
|
|
881
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
|
|
882
|
+
*/
|
|
883
|
+
parent:
|
|
884
|
+
string;
|
|
885
|
+
/** Returns response with indentations and line breaks. */
|
|
886
|
+
prettyPrint?:
|
|
887
|
+
boolean;
|
|
888
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
889
|
+
quotaUser?:
|
|
890
|
+
string;
|
|
891
|
+
/**
|
|
892
|
+
* 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
|
|
893
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
894
|
+
* 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
|
|
895
|
+
* 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
|
|
896
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
897
|
+
*/
|
|
898
|
+
requestId?:
|
|
899
|
+
string;
|
|
900
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
901
|
+
upload_protocol?:
|
|
902
|
+
string;
|
|
903
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
904
|
+
uploadType?:
|
|
905
|
+
string;
|
|
906
|
+
},
|
|
907
|
+
body: NetworkPolicy): Request<Operation>;
|
|
908
|
+
/** Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when `NetworkService.state` is set to `RECONCILING` for either its external IP or internet access service. */
|
|
909
|
+
delete(request?: {
|
|
910
|
+
/** V1 error format. */
|
|
911
|
+
"$.xgafv"?:
|
|
912
|
+
string;
|
|
913
|
+
/** OAuth access token. */
|
|
914
|
+
access_token?:
|
|
915
|
+
string;
|
|
916
|
+
/** Data format for response. */
|
|
917
|
+
alt?:
|
|
918
|
+
string;
|
|
919
|
+
/** JSONP */
|
|
920
|
+
callback?:
|
|
921
|
+
string;
|
|
922
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
923
|
+
fields?:
|
|
924
|
+
string;
|
|
925
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
926
|
+
key?:
|
|
927
|
+
string;
|
|
928
|
+
/**
|
|
929
|
+
* Required. The resource name of the network policy to delete. Resource names are schemeless URIs that follow the conventions in
|
|
930
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
|
|
931
|
+
*/
|
|
932
|
+
name:
|
|
933
|
+
string;
|
|
934
|
+
/** OAuth 2.0 token for the current user. */
|
|
935
|
+
oauth_token?:
|
|
936
|
+
string;
|
|
937
|
+
/** Returns response with indentations and line breaks. */
|
|
938
|
+
prettyPrint?:
|
|
939
|
+
boolean;
|
|
940
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
941
|
+
quotaUser?:
|
|
942
|
+
string;
|
|
943
|
+
/**
|
|
944
|
+
* 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
|
|
945
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
946
|
+
* 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
|
|
947
|
+
* 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
|
|
948
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
949
|
+
*/
|
|
950
|
+
requestId?:
|
|
951
|
+
string;
|
|
952
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
953
|
+
upload_protocol?:
|
|
954
|
+
string;
|
|
955
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
956
|
+
uploadType?:
|
|
957
|
+
string;
|
|
958
|
+
}): Request<Operation>;
|
|
959
|
+
/** Retrieves a `NetworkPolicy` resource by its resource name. */
|
|
960
|
+
get(request?: {
|
|
961
|
+
/** V1 error format. */
|
|
962
|
+
"$.xgafv"?:
|
|
963
|
+
string;
|
|
964
|
+
/** OAuth access token. */
|
|
965
|
+
access_token?:
|
|
966
|
+
string;
|
|
967
|
+
/** Data format for response. */
|
|
968
|
+
alt?:
|
|
969
|
+
string;
|
|
970
|
+
/** JSONP */
|
|
971
|
+
callback?:
|
|
972
|
+
string;
|
|
973
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
974
|
+
fields?:
|
|
975
|
+
string;
|
|
976
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
977
|
+
key?:
|
|
978
|
+
string;
|
|
979
|
+
/**
|
|
980
|
+
* Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in
|
|
981
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
|
|
982
|
+
*/
|
|
983
|
+
name:
|
|
984
|
+
string;
|
|
985
|
+
/** OAuth 2.0 token for the current user. */
|
|
986
|
+
oauth_token?:
|
|
987
|
+
string;
|
|
988
|
+
/** Returns response with indentations and line breaks. */
|
|
989
|
+
prettyPrint?:
|
|
990
|
+
boolean;
|
|
991
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
992
|
+
quotaUser?:
|
|
993
|
+
string;
|
|
994
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
995
|
+
upload_protocol?:
|
|
996
|
+
string;
|
|
997
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
998
|
+
uploadType?:
|
|
999
|
+
string;
|
|
1000
|
+
}): Request<NetworkPolicy>;
|
|
1001
|
+
/** Lists `NetworkPolicy` resources in a specified project and location. */
|
|
1002
|
+
list(request?: {
|
|
1003
|
+
/** V1 error format. */
|
|
1004
|
+
"$.xgafv"?:
|
|
1005
|
+
string;
|
|
1006
|
+
/** OAuth access token. */
|
|
1007
|
+
access_token?:
|
|
1008
|
+
string;
|
|
1009
|
+
/** Data format for response. */
|
|
1010
|
+
alt?:
|
|
1011
|
+
string;
|
|
1012
|
+
/** JSONP */
|
|
1013
|
+
callback?:
|
|
1014
|
+
string;
|
|
1015
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1016
|
+
fields?:
|
|
1017
|
+
string;
|
|
1018
|
+
/**
|
|
1019
|
+
* 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
|
|
1020
|
+
* filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of network
|
|
1021
|
+
* policies, you can exclude the ones named `example-policy` by specifying `name != "example-policy"`. To filter on multiple expressions, provide each separate expression within
|
|
1022
|
+
* parentheses. For example: ``` (name = "example-policy") (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can include
|
|
1023
|
+
* `AND` and `OR` expressions explicitly. For example: ``` (name = "example-policy-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-policy-2") ```
|
|
1024
|
+
*/
|
|
1025
|
+
filter?:
|
|
1026
|
+
string;
|
|
1027
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1028
|
+
key?:
|
|
1029
|
+
string;
|
|
1030
|
+
/** OAuth 2.0 token for the current user. */
|
|
1031
|
+
oauth_token?:
|
|
1032
|
+
string;
|
|
1033
|
+
/**
|
|
1034
|
+
* 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`
|
|
1035
|
+
* value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
|
|
1036
|
+
*/
|
|
1037
|
+
orderBy?:
|
|
1038
|
+
string;
|
|
1039
|
+
/**
|
|
1040
|
+
* The maximum number of network policies 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
|
|
1041
|
+
* is 500.
|
|
1042
|
+
*/
|
|
1043
|
+
pageSize?:
|
|
1044
|
+
number;
|
|
1045
|
+
/**
|
|
1046
|
+
* A page token, received from a previous `ListNetworkPolicies` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
1047
|
+
* `ListNetworkPolicies` must match the call that provided the page token.
|
|
1048
|
+
*/
|
|
1049
|
+
pageToken?:
|
|
1050
|
+
string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Required. The resource name of the location (region) to query for network policies. Resource names are schemeless URIs that follow the conventions in
|
|
1053
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
|
|
1054
|
+
*/
|
|
1055
|
+
parent:
|
|
1056
|
+
string;
|
|
1057
|
+
/** Returns response with indentations and line breaks. */
|
|
1058
|
+
prettyPrint?:
|
|
1059
|
+
boolean;
|
|
1060
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1061
|
+
quotaUser?:
|
|
1062
|
+
string;
|
|
1063
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1064
|
+
upload_protocol?:
|
|
1065
|
+
string;
|
|
1066
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1067
|
+
uploadType?:
|
|
1068
|
+
string;
|
|
1069
|
+
}): Request<ListNetworkPoliciesResponse>;
|
|
1070
|
+
/**
|
|
1071
|
+
* Modifies a `NetworkPolicy` resource. Only the following fields can be updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields specified in `updateMask` are
|
|
1072
|
+
* applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a
|
|
1073
|
+
* `NetworkService` cannot be updated when `NetworkService.state` is set to `RECONCILING`. During operation processing, the resource is temporarily in the `ACTIVE` state before the
|
|
1074
|
+
* 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.
|
|
1075
|
+
*/
|
|
1076
|
+
patch(request: {
|
|
1077
|
+
/** V1 error format. */
|
|
1078
|
+
"$.xgafv"?:
|
|
1079
|
+
string;
|
|
1080
|
+
/** OAuth access token. */
|
|
1081
|
+
access_token?:
|
|
1082
|
+
string;
|
|
1083
|
+
/** Data format for response. */
|
|
1084
|
+
alt?:
|
|
1085
|
+
string;
|
|
1086
|
+
/** JSONP */
|
|
1087
|
+
callback?:
|
|
1088
|
+
string;
|
|
1089
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1090
|
+
fields?:
|
|
1091
|
+
string;
|
|
1092
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1093
|
+
key?:
|
|
1094
|
+
string;
|
|
1095
|
+
/**
|
|
1096
|
+
* Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
1097
|
+
* example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
|
|
1098
|
+
*/
|
|
1099
|
+
name:
|
|
1100
|
+
string;
|
|
1101
|
+
/** OAuth 2.0 token for the current user. */
|
|
1102
|
+
oauth_token?:
|
|
1103
|
+
string;
|
|
1104
|
+
/** Returns response with indentations and line breaks. */
|
|
1105
|
+
prettyPrint?:
|
|
1106
|
+
boolean;
|
|
1107
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1108
|
+
quotaUser?:
|
|
1109
|
+
string;
|
|
1110
|
+
/**
|
|
1111
|
+
* 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
|
|
1112
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
1113
|
+
* 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
|
|
1114
|
+
* 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
|
|
1115
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
1116
|
+
*/
|
|
1117
|
+
requestId?:
|
|
1118
|
+
string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Required. Field mask is used to specify the fields to be overwritten in the `NetworkPolicy` resource by the update. The fields specified in the `update_mask` are relative to the
|
|
1121
|
+
* 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.
|
|
1122
|
+
*/
|
|
1123
|
+
updateMask?:
|
|
1124
|
+
string;
|
|
1125
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1126
|
+
upload_protocol?:
|
|
1127
|
+
string;
|
|
1128
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1129
|
+
uploadType?:
|
|
1130
|
+
string;
|
|
1131
|
+
/** Request body */
|
|
1132
|
+
resource:
|
|
1133
|
+
NetworkPolicy;
|
|
1134
|
+
}): Request<Operation>;
|
|
1135
|
+
patch(request: {
|
|
1136
|
+
/** V1 error format. */
|
|
1137
|
+
"$.xgafv"?:
|
|
1138
|
+
string;
|
|
1139
|
+
/** OAuth access token. */
|
|
1140
|
+
access_token?:
|
|
1141
|
+
string;
|
|
1142
|
+
/** Data format for response. */
|
|
1143
|
+
alt?:
|
|
1144
|
+
string;
|
|
1145
|
+
/** JSONP */
|
|
1146
|
+
callback?:
|
|
1147
|
+
string;
|
|
1148
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1149
|
+
fields?:
|
|
1150
|
+
string;
|
|
1151
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1152
|
+
key?:
|
|
1153
|
+
string;
|
|
1154
|
+
/**
|
|
1155
|
+
* Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
1156
|
+
* example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
|
|
1157
|
+
*/
|
|
1158
|
+
name:
|
|
1159
|
+
string;
|
|
1160
|
+
/** OAuth 2.0 token for the current user. */
|
|
1161
|
+
oauth_token?:
|
|
1162
|
+
string;
|
|
1163
|
+
/** Returns response with indentations and line breaks. */
|
|
1164
|
+
prettyPrint?:
|
|
1165
|
+
boolean;
|
|
1166
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1167
|
+
quotaUser?:
|
|
1168
|
+
string;
|
|
1169
|
+
/**
|
|
1170
|
+
* 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
|
|
1171
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
1172
|
+
* 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
|
|
1173
|
+
* 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
|
|
1174
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
1175
|
+
*/
|
|
1176
|
+
requestId?:
|
|
1177
|
+
string;
|
|
1178
|
+
/**
|
|
1179
|
+
* Required. Field mask is used to specify the fields to be overwritten in the `NetworkPolicy` resource by the update. The fields specified in the `update_mask` are relative to the
|
|
1180
|
+
* 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.
|
|
1181
|
+
*/
|
|
1182
|
+
updateMask?:
|
|
1183
|
+
string;
|
|
1184
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1185
|
+
upload_protocol?:
|
|
1186
|
+
string;
|
|
1187
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1188
|
+
uploadType?:
|
|
1189
|
+
string;
|
|
1190
|
+
},
|
|
1191
|
+
body: NetworkPolicy): Request<Operation>;
|
|
1192
|
+
}
|
|
1193
|
+
interface NodeTypesResource {
|
|
1194
|
+
/** Gets details of a single `NodeType`. */
|
|
1195
|
+
get(request?: {
|
|
1196
|
+
/** V1 error format. */
|
|
1197
|
+
"$.xgafv"?:
|
|
1198
|
+
string;
|
|
1199
|
+
/** OAuth access token. */
|
|
1200
|
+
access_token?:
|
|
1201
|
+
string;
|
|
1202
|
+
/** Data format for response. */
|
|
1203
|
+
alt?:
|
|
1204
|
+
string;
|
|
1205
|
+
/** JSONP */
|
|
1206
|
+
callback?:
|
|
1207
|
+
string;
|
|
1208
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1209
|
+
fields?:
|
|
1210
|
+
string;
|
|
1211
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1212
|
+
key?:
|
|
1213
|
+
string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.
|
|
1216
|
+
* For example: `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`
|
|
1217
|
+
*/
|
|
1218
|
+
name:
|
|
1219
|
+
string;
|
|
1220
|
+
/** OAuth 2.0 token for the current user. */
|
|
1221
|
+
oauth_token?:
|
|
1222
|
+
string;
|
|
1223
|
+
/** Returns response with indentations and line breaks. */
|
|
1224
|
+
prettyPrint?:
|
|
1225
|
+
boolean;
|
|
1226
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1227
|
+
quotaUser?:
|
|
1228
|
+
string;
|
|
1229
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1230
|
+
upload_protocol?:
|
|
1231
|
+
string;
|
|
1232
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1233
|
+
uploadType?:
|
|
1234
|
+
string;
|
|
1235
|
+
}): Request<NodeType>;
|
|
1236
|
+
/** Lists node types */
|
|
1237
|
+
list(request?: {
|
|
1238
|
+
/** V1 error format. */
|
|
1239
|
+
"$.xgafv"?:
|
|
1240
|
+
string;
|
|
1241
|
+
/** OAuth access token. */
|
|
1242
|
+
access_token?:
|
|
1243
|
+
string;
|
|
1244
|
+
/** Data format for response. */
|
|
1245
|
+
alt?:
|
|
1246
|
+
string;
|
|
1247
|
+
/** JSONP */
|
|
1248
|
+
callback?:
|
|
1249
|
+
string;
|
|
1250
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1251
|
+
fields?:
|
|
1252
|
+
string;
|
|
1253
|
+
/**
|
|
1254
|
+
* 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
|
|
1255
|
+
* filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of node types,
|
|
1256
|
+
* you can exclude the ones named `standard-72` by specifying `name != "standard-72"`. To filter on multiple expressions, provide each separate expression within parentheses. For
|
|
1257
|
+
* example: ``` (name = "standard-72") (virtual_cpu_count > 2) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions
|
|
1258
|
+
* explicitly. For example: ``` (name = "standard-96") AND (virtual_cpu_count > 2) OR (name = "standard-72") ```
|
|
1259
|
+
*/
|
|
1260
|
+
filter?:
|
|
1261
|
+
string;
|
|
1262
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1263
|
+
key?:
|
|
1264
|
+
string;
|
|
1265
|
+
/** OAuth 2.0 token for the current user. */
|
|
1266
|
+
oauth_token?:
|
|
1267
|
+
string;
|
|
1268
|
+
/**
|
|
1269
|
+
* The maximum number of node types 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
|
|
1270
|
+
* 500.
|
|
1271
|
+
*/
|
|
1272
|
+
pageSize?:
|
|
1273
|
+
number;
|
|
1274
|
+
/**
|
|
1275
|
+
* A page token, received from a previous `ListNodeTypes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNodeTypes` must
|
|
1276
|
+
* match the call that provided the page token.
|
|
1277
|
+
*/
|
|
1278
|
+
pageToken?:
|
|
1279
|
+
string;
|
|
1280
|
+
/**
|
|
1281
|
+
* Required. The resource name of the location to be queried for node types. Resource names are schemeless URIs that follow the conventions in
|
|
1282
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a`
|
|
1283
|
+
*/
|
|
1284
|
+
parent:
|
|
1285
|
+
string;
|
|
1286
|
+
/** Returns response with indentations and line breaks. */
|
|
1287
|
+
prettyPrint?:
|
|
1288
|
+
boolean;
|
|
1289
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1290
|
+
quotaUser?:
|
|
1291
|
+
string;
|
|
1292
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1293
|
+
upload_protocol?:
|
|
1294
|
+
string;
|
|
1295
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1296
|
+
uploadType?:
|
|
1297
|
+
string;
|
|
1298
|
+
}): Request<ListNodeTypesResponse>;
|
|
1299
|
+
}
|
|
1300
|
+
interface OperationsResource {
|
|
1301
|
+
/**
|
|
1302
|
+
* Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
|
|
1303
|
+
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
1304
|
+
*/
|
|
1305
|
+
delete(request?: {
|
|
1306
|
+
/** V1 error format. */
|
|
1307
|
+
"$.xgafv"?:
|
|
1308
|
+
string;
|
|
1309
|
+
/** OAuth access token. */
|
|
1310
|
+
access_token?:
|
|
1311
|
+
string;
|
|
1312
|
+
/** Data format for response. */
|
|
1313
|
+
alt?:
|
|
1314
|
+
string;
|
|
1315
|
+
/** JSONP */
|
|
1316
|
+
callback?:
|
|
1317
|
+
string;
|
|
1318
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1319
|
+
fields?:
|
|
1320
|
+
string;
|
|
1321
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1322
|
+
key?:
|
|
1323
|
+
string;
|
|
1324
|
+
/** The name of the operation resource to be deleted. */
|
|
1325
|
+
name:
|
|
1326
|
+
string;
|
|
1327
|
+
/** OAuth 2.0 token for the current user. */
|
|
1328
|
+
oauth_token?:
|
|
1329
|
+
string;
|
|
1330
|
+
/** Returns response with indentations and line breaks. */
|
|
1331
|
+
prettyPrint?:
|
|
1332
|
+
boolean;
|
|
1333
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1334
|
+
quotaUser?:
|
|
1335
|
+
string;
|
|
1336
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1337
|
+
upload_protocol?:
|
|
1338
|
+
string;
|
|
1339
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1340
|
+
uploadType?:
|
|
1341
|
+
string;
|
|
1342
|
+
}): Request<{}>;
|
|
1343
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1344
|
+
get(request?: {
|
|
1345
|
+
/** V1 error format. */
|
|
1346
|
+
"$.xgafv"?:
|
|
1347
|
+
string;
|
|
1348
|
+
/** OAuth access token. */
|
|
1349
|
+
access_token?:
|
|
1350
|
+
string;
|
|
1351
|
+
/** Data format for response. */
|
|
1352
|
+
alt?:
|
|
1353
|
+
string;
|
|
1354
|
+
/** JSONP */
|
|
1355
|
+
callback?:
|
|
1356
|
+
string;
|
|
1357
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1358
|
+
fields?:
|
|
1359
|
+
string;
|
|
1360
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1361
|
+
key?:
|
|
1362
|
+
string;
|
|
1363
|
+
/** The name of the operation resource. */
|
|
1364
|
+
name:
|
|
1365
|
+
string;
|
|
1366
|
+
/** OAuth 2.0 token for the current user. */
|
|
1367
|
+
oauth_token?:
|
|
1368
|
+
string;
|
|
1369
|
+
/** Returns response with indentations and line breaks. */
|
|
1370
|
+
prettyPrint?:
|
|
1371
|
+
boolean;
|
|
1372
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1373
|
+
quotaUser?:
|
|
1374
|
+
string;
|
|
1375
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1376
|
+
upload_protocol?:
|
|
1377
|
+
string;
|
|
1378
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1379
|
+
uploadType?:
|
|
1380
|
+
string;
|
|
1381
|
+
}): Request<Operation>;
|
|
1382
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1383
|
+
list(request?: {
|
|
1384
|
+
/** V1 error format. */
|
|
1385
|
+
"$.xgafv"?:
|
|
1386
|
+
string;
|
|
1387
|
+
/** OAuth access token. */
|
|
1388
|
+
access_token?:
|
|
1389
|
+
string;
|
|
1390
|
+
/** Data format for response. */
|
|
1391
|
+
alt?:
|
|
1392
|
+
string;
|
|
1393
|
+
/** JSONP */
|
|
1394
|
+
callback?:
|
|
1395
|
+
string;
|
|
1396
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1397
|
+
fields?:
|
|
1398
|
+
string;
|
|
1399
|
+
/** The standard list filter. */
|
|
1400
|
+
filter?:
|
|
1401
|
+
string;
|
|
1402
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1403
|
+
key?:
|
|
1404
|
+
string;
|
|
1405
|
+
/** The name of the operation's parent resource. */
|
|
1406
|
+
name:
|
|
1407
|
+
string;
|
|
1408
|
+
/** OAuth 2.0 token for the current user. */
|
|
1409
|
+
oauth_token?:
|
|
1410
|
+
string;
|
|
1411
|
+
/** The standard list page size. */
|
|
1412
|
+
pageSize?:
|
|
1413
|
+
number;
|
|
1414
|
+
/** The standard list page token. */
|
|
1415
|
+
pageToken?:
|
|
1416
|
+
string;
|
|
1417
|
+
/** Returns response with indentations and line breaks. */
|
|
1418
|
+
prettyPrint?:
|
|
1419
|
+
boolean;
|
|
1420
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1421
|
+
quotaUser?:
|
|
1422
|
+
string;
|
|
1423
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1424
|
+
upload_protocol?:
|
|
1425
|
+
string;
|
|
1426
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1427
|
+
uploadType?:
|
|
1428
|
+
string;
|
|
1429
|
+
}): Request<ListOperationsResponse>;
|
|
1430
|
+
}
|
|
1431
|
+
interface ClustersResource {
|
|
1432
|
+
/**
|
|
1433
|
+
* Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient [node
|
|
1434
|
+
* quota](https://cloud.google.com/vmware-engine/quotas).
|
|
1435
|
+
*/
|
|
1436
|
+
create(request: {
|
|
1437
|
+
/** V1 error format. */
|
|
1438
|
+
"$.xgafv"?:
|
|
1439
|
+
string;
|
|
1440
|
+
/** OAuth access token. */
|
|
1441
|
+
access_token?:
|
|
1442
|
+
string;
|
|
1443
|
+
/** Data format for response. */
|
|
1444
|
+
alt?:
|
|
1445
|
+
string;
|
|
1446
|
+
/** JSONP */
|
|
1447
|
+
callback?:
|
|
1448
|
+
string;
|
|
1449
|
+
/**
|
|
1450
|
+
* Required. The user-provided identifier of the new `Cluster`. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The
|
|
1451
|
+
* identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen
|
|
1452
|
+
* character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
|
|
1453
|
+
*/
|
|
1454
|
+
clusterId?:
|
|
1455
|
+
string;
|
|
1456
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1457
|
+
fields?:
|
|
1458
|
+
string;
|
|
1459
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1460
|
+
key?:
|
|
1461
|
+
string;
|
|
1462
|
+
/** OAuth 2.0 token for the current user. */
|
|
1463
|
+
oauth_token?:
|
|
1464
|
+
string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in
|
|
1467
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
1468
|
+
*/
|
|
1469
|
+
parent:
|
|
1470
|
+
string;
|
|
1471
|
+
/** Returns response with indentations and line breaks. */
|
|
1472
|
+
prettyPrint?:
|
|
1473
|
+
boolean;
|
|
1474
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1475
|
+
quotaUser?:
|
|
1476
|
+
string;
|
|
1477
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1478
|
+
requestId?:
|
|
1479
|
+
string;
|
|
1480
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1481
|
+
upload_protocol?:
|
|
1482
|
+
string;
|
|
1483
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1484
|
+
uploadType?:
|
|
1485
|
+
string;
|
|
1486
|
+
/** Optional. True if you want the request to be validated and not executed; false otherwise. */
|
|
1487
|
+
validateOnly?:
|
|
1488
|
+
boolean;
|
|
1489
|
+
/** Request body */
|
|
1490
|
+
resource:
|
|
1491
|
+
Cluster;
|
|
1492
|
+
}): Request<Operation>;
|
|
1493
|
+
create(request: {
|
|
1494
|
+
/** V1 error format. */
|
|
1495
|
+
"$.xgafv"?:
|
|
1496
|
+
string;
|
|
1497
|
+
/** OAuth access token. */
|
|
1498
|
+
access_token?:
|
|
1499
|
+
string;
|
|
1500
|
+
/** Data format for response. */
|
|
1501
|
+
alt?:
|
|
1502
|
+
string;
|
|
1503
|
+
/** JSONP */
|
|
1504
|
+
callback?:
|
|
1505
|
+
string;
|
|
1506
|
+
/**
|
|
1507
|
+
* Required. The user-provided identifier of the new `Cluster`. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The
|
|
1508
|
+
* identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen
|
|
1509
|
+
* character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
|
|
1510
|
+
*/
|
|
1511
|
+
clusterId?:
|
|
1512
|
+
string;
|
|
1513
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1514
|
+
fields?:
|
|
1515
|
+
string;
|
|
1516
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1517
|
+
key?:
|
|
1518
|
+
string;
|
|
1519
|
+
/** OAuth 2.0 token for the current user. */
|
|
1520
|
+
oauth_token?:
|
|
1521
|
+
string;
|
|
1522
|
+
/**
|
|
1523
|
+
* Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in
|
|
1524
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
1525
|
+
*/
|
|
1526
|
+
parent:
|
|
1527
|
+
string;
|
|
1528
|
+
/** Returns response with indentations and line breaks. */
|
|
1529
|
+
prettyPrint?:
|
|
1530
|
+
boolean;
|
|
1531
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1532
|
+
quotaUser?:
|
|
1533
|
+
string;
|
|
1534
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1535
|
+
requestId?:
|
|
1536
|
+
string;
|
|
1537
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1538
|
+
upload_protocol?:
|
|
1539
|
+
string;
|
|
1540
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1541
|
+
uploadType?:
|
|
1542
|
+
string;
|
|
1543
|
+
/** Optional. True if you want the request to be validated and not executed; false otherwise. */
|
|
1544
|
+
validateOnly?:
|
|
1545
|
+
boolean;
|
|
1546
|
+
},
|
|
1547
|
+
body: Cluster): Request<Operation>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Deletes a `Cluster` resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management
|
|
1550
|
+
* cluster of a private cloud using this method.
|
|
1551
|
+
*/
|
|
1552
|
+
delete(request?: {
|
|
1553
|
+
/** V1 error format. */
|
|
1554
|
+
"$.xgafv"?:
|
|
1555
|
+
string;
|
|
1556
|
+
/** OAuth access token. */
|
|
1557
|
+
access_token?:
|
|
1558
|
+
string;
|
|
1559
|
+
/** Data format for response. */
|
|
1560
|
+
alt?:
|
|
1561
|
+
string;
|
|
1562
|
+
/** JSONP */
|
|
1563
|
+
callback?:
|
|
1564
|
+
string;
|
|
1565
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1566
|
+
fields?:
|
|
1567
|
+
string;
|
|
1568
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1569
|
+
key?:
|
|
1570
|
+
string;
|
|
1571
|
+
/**
|
|
1572
|
+
* Required. The resource name of the cluster to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
1573
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
|
|
1574
|
+
*/
|
|
1575
|
+
name:
|
|
1576
|
+
string;
|
|
1577
|
+
/** OAuth 2.0 token for the current user. */
|
|
1578
|
+
oauth_token?:
|
|
1579
|
+
string;
|
|
1580
|
+
/** Returns response with indentations and line breaks. */
|
|
1581
|
+
prettyPrint?:
|
|
1582
|
+
boolean;
|
|
1583
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1584
|
+
quotaUser?:
|
|
1585
|
+
string;
|
|
1586
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1587
|
+
requestId?:
|
|
1588
|
+
string;
|
|
1589
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1590
|
+
upload_protocol?:
|
|
1591
|
+
string;
|
|
1592
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1593
|
+
uploadType?:
|
|
1594
|
+
string;
|
|
1595
|
+
}): Request<Operation>;
|
|
1596
|
+
/** Retrieves a `Cluster` resource by its resource name. */
|
|
1597
|
+
get(request?: {
|
|
1598
|
+
/** V1 error format. */
|
|
1599
|
+
"$.xgafv"?:
|
|
1600
|
+
string;
|
|
1601
|
+
/** OAuth access token. */
|
|
1602
|
+
access_token?:
|
|
1603
|
+
string;
|
|
1604
|
+
/** Data format for response. */
|
|
1605
|
+
alt?:
|
|
1606
|
+
string;
|
|
1607
|
+
/** JSONP */
|
|
1608
|
+
callback?:
|
|
1609
|
+
string;
|
|
1610
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1611
|
+
fields?:
|
|
1612
|
+
string;
|
|
1613
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1614
|
+
key?:
|
|
1615
|
+
string;
|
|
1616
|
+
/**
|
|
1617
|
+
* Required. The cluster resource name to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
1618
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
|
|
1619
|
+
*/
|
|
1620
|
+
name:
|
|
1621
|
+
string;
|
|
1622
|
+
/** OAuth 2.0 token for the current user. */
|
|
1623
|
+
oauth_token?:
|
|
1624
|
+
string;
|
|
1625
|
+
/** Returns response with indentations and line breaks. */
|
|
1626
|
+
prettyPrint?:
|
|
1627
|
+
boolean;
|
|
1628
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1629
|
+
quotaUser?:
|
|
1630
|
+
string;
|
|
1631
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1632
|
+
upload_protocol?:
|
|
1633
|
+
string;
|
|
1634
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1635
|
+
uploadType?:
|
|
1636
|
+
string;
|
|
1637
|
+
}): Request<Cluster>;
|
|
1638
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1639
|
+
getIamPolicy(request?: {
|
|
1640
|
+
/** V1 error format. */
|
|
1641
|
+
"$.xgafv"?:
|
|
1642
|
+
string;
|
|
1643
|
+
/** OAuth access token. */
|
|
1644
|
+
access_token?:
|
|
1645
|
+
string;
|
|
1646
|
+
/** Data format for response. */
|
|
1647
|
+
alt?:
|
|
1648
|
+
string;
|
|
1649
|
+
/** JSONP */
|
|
1650
|
+
callback?:
|
|
1651
|
+
string;
|
|
1652
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1653
|
+
fields?:
|
|
1654
|
+
string;
|
|
1655
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1656
|
+
key?:
|
|
1657
|
+
string;
|
|
1658
|
+
/** OAuth 2.0 token for the current user. */
|
|
1659
|
+
oauth_token?:
|
|
1660
|
+
string;
|
|
1661
|
+
/**
|
|
1662
|
+
* 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
|
|
1663
|
+
* 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
|
|
1664
|
+
* 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
|
|
1665
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1666
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1667
|
+
*/
|
|
1668
|
+
"options.requestedPolicyVersion"?:
|
|
1669
|
+
number;
|
|
1670
|
+
/** Returns response with indentations and line breaks. */
|
|
1671
|
+
prettyPrint?:
|
|
1672
|
+
boolean;
|
|
1673
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1674
|
+
quotaUser?:
|
|
1675
|
+
string;
|
|
1676
|
+
/**
|
|
1677
|
+
* 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
|
|
1678
|
+
* field.
|
|
1679
|
+
*/
|
|
1680
|
+
resource:
|
|
1681
|
+
string;
|
|
1682
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1683
|
+
upload_protocol?:
|
|
1684
|
+
string;
|
|
1685
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1686
|
+
uploadType?:
|
|
1687
|
+
string;
|
|
1688
|
+
}): Request<Policy>;
|
|
1689
|
+
/** Lists `Cluster` resources in a given private cloud. */
|
|
1690
|
+
list(request?: {
|
|
1691
|
+
/** V1 error format. */
|
|
1692
|
+
"$.xgafv"?:
|
|
1693
|
+
string;
|
|
1694
|
+
/** OAuth access token. */
|
|
1695
|
+
access_token?:
|
|
1696
|
+
string;
|
|
1697
|
+
/** Data format for response. */
|
|
1698
|
+
alt?:
|
|
1699
|
+
string;
|
|
1700
|
+
/** JSONP */
|
|
1701
|
+
callback?:
|
|
1702
|
+
string;
|
|
1703
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1704
|
+
fields?:
|
|
1705
|
+
string;
|
|
1706
|
+
/**
|
|
1707
|
+
* To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "example-cluster") (nodeCount = "3") ``` By default, each
|
|
1708
|
+
* expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "example-cluster-1") AND (createTime >
|
|
1709
|
+
* "2021-04-12T08:15:10.40Z") OR (name = "example-cluster-2") ```
|
|
1710
|
+
*/
|
|
1711
|
+
filter?:
|
|
1712
|
+
string;
|
|
1713
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1714
|
+
key?:
|
|
1715
|
+
string;
|
|
1716
|
+
/** OAuth 2.0 token for the current user. */
|
|
1717
|
+
oauth_token?:
|
|
1718
|
+
string;
|
|
1719
|
+
/**
|
|
1720
|
+
* 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`
|
|
1721
|
+
* value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
|
|
1722
|
+
*/
|
|
1723
|
+
orderBy?:
|
|
1724
|
+
string;
|
|
1725
|
+
/** The maximum number of clusters 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. */
|
|
1726
|
+
pageSize?:
|
|
1727
|
+
number;
|
|
1728
|
+
/**
|
|
1729
|
+
* A page token, received from a previous `ListClusters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListClusters` must
|
|
1730
|
+
* match the call that provided the page token.
|
|
1731
|
+
*/
|
|
1732
|
+
pageToken?:
|
|
1733
|
+
string;
|
|
1734
|
+
/**
|
|
1735
|
+
* Required. The resource name of the private cloud to query for clusters. Resource names are schemeless URIs that follow the conventions in
|
|
1736
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
1737
|
+
*/
|
|
1738
|
+
parent:
|
|
1739
|
+
string;
|
|
1740
|
+
/** Returns response with indentations and line breaks. */
|
|
1741
|
+
prettyPrint?:
|
|
1742
|
+
boolean;
|
|
1743
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1744
|
+
quotaUser?:
|
|
1745
|
+
string;
|
|
1746
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1747
|
+
upload_protocol?:
|
|
1748
|
+
string;
|
|
1749
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1750
|
+
uploadType?:
|
|
1751
|
+
string;
|
|
1752
|
+
}): Request<ListClustersResponse>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Modifies a `Cluster` resource. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation
|
|
1755
|
+
* fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.
|
|
1756
|
+
*/
|
|
1757
|
+
patch(request: {
|
|
1758
|
+
/** V1 error format. */
|
|
1759
|
+
"$.xgafv"?:
|
|
1760
|
+
string;
|
|
1761
|
+
/** OAuth access token. */
|
|
1762
|
+
access_token?:
|
|
1763
|
+
string;
|
|
1764
|
+
/** Data format for response. */
|
|
1765
|
+
alt?:
|
|
1766
|
+
string;
|
|
1767
|
+
/** JSONP */
|
|
1768
|
+
callback?:
|
|
1769
|
+
string;
|
|
1770
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1771
|
+
fields?:
|
|
1772
|
+
string;
|
|
1773
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1774
|
+
key?:
|
|
1775
|
+
string;
|
|
1776
|
+
/**
|
|
1777
|
+
* Output only. The resource name of this cluster. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
1778
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
|
|
1779
|
+
*/
|
|
1780
|
+
name:
|
|
1781
|
+
string;
|
|
1782
|
+
/** OAuth 2.0 token for the current user. */
|
|
1783
|
+
oauth_token?:
|
|
1784
|
+
string;
|
|
1785
|
+
/** Returns response with indentations and line breaks. */
|
|
1786
|
+
prettyPrint?:
|
|
1787
|
+
boolean;
|
|
1788
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1789
|
+
quotaUser?:
|
|
1790
|
+
string;
|
|
1791
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1792
|
+
requestId?:
|
|
1793
|
+
string;
|
|
1794
|
+
/**
|
|
1795
|
+
* Required. Field mask is used to specify the fields to be overwritten in the `Cluster` resource by the update. The fields specified in the `updateMask` are relative to the
|
|
1796
|
+
* 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.
|
|
1797
|
+
*/
|
|
1798
|
+
updateMask?:
|
|
1799
|
+
string;
|
|
1800
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1801
|
+
upload_protocol?:
|
|
1802
|
+
string;
|
|
1803
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1804
|
+
uploadType?:
|
|
1805
|
+
string;
|
|
1806
|
+
/** Optional. True if you want the request to be validated and not executed; false otherwise. */
|
|
1807
|
+
validateOnly?:
|
|
1808
|
+
boolean;
|
|
1809
|
+
/** Request body */
|
|
1810
|
+
resource:
|
|
1811
|
+
Cluster;
|
|
1812
|
+
}): Request<Operation>;
|
|
1813
|
+
patch(request: {
|
|
1814
|
+
/** V1 error format. */
|
|
1815
|
+
"$.xgafv"?:
|
|
1816
|
+
string;
|
|
1817
|
+
/** OAuth access token. */
|
|
1818
|
+
access_token?:
|
|
1819
|
+
string;
|
|
1820
|
+
/** Data format for response. */
|
|
1821
|
+
alt?:
|
|
1822
|
+
string;
|
|
1823
|
+
/** JSONP */
|
|
1824
|
+
callback?:
|
|
1825
|
+
string;
|
|
1826
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1827
|
+
fields?:
|
|
1828
|
+
string;
|
|
1829
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1830
|
+
key?:
|
|
1831
|
+
string;
|
|
1832
|
+
/**
|
|
1833
|
+
* Output only. The resource name of this cluster. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
1834
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
|
|
1835
|
+
*/
|
|
1836
|
+
name:
|
|
1837
|
+
string;
|
|
1838
|
+
/** OAuth 2.0 token for the current user. */
|
|
1839
|
+
oauth_token?:
|
|
1840
|
+
string;
|
|
1841
|
+
/** Returns response with indentations and line breaks. */
|
|
1842
|
+
prettyPrint?:
|
|
1843
|
+
boolean;
|
|
1844
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1845
|
+
quotaUser?:
|
|
1846
|
+
string;
|
|
1847
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
1848
|
+
requestId?:
|
|
1849
|
+
string;
|
|
1850
|
+
/**
|
|
1851
|
+
* Required. Field mask is used to specify the fields to be overwritten in the `Cluster` resource by the update. The fields specified in the `updateMask` are relative to the
|
|
1852
|
+
* 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.
|
|
1853
|
+
*/
|
|
1854
|
+
updateMask?:
|
|
1855
|
+
string;
|
|
1856
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1857
|
+
upload_protocol?:
|
|
1858
|
+
string;
|
|
1859
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1860
|
+
uploadType?:
|
|
1861
|
+
string;
|
|
1862
|
+
/** Optional. True if you want the request to be validated and not executed; false otherwise. */
|
|
1863
|
+
validateOnly?:
|
|
1864
|
+
boolean;
|
|
1865
|
+
},
|
|
1866
|
+
body: Cluster): Request<Operation>;
|
|
1867
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1868
|
+
setIamPolicy(request: {
|
|
1869
|
+
/** V1 error format. */
|
|
1870
|
+
"$.xgafv"?:
|
|
1871
|
+
string;
|
|
1872
|
+
/** OAuth access token. */
|
|
1873
|
+
access_token?:
|
|
1874
|
+
string;
|
|
1875
|
+
/** Data format for response. */
|
|
1876
|
+
alt?:
|
|
1877
|
+
string;
|
|
1878
|
+
/** JSONP */
|
|
1879
|
+
callback?:
|
|
1880
|
+
string;
|
|
1881
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1882
|
+
fields?:
|
|
1883
|
+
string;
|
|
1884
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1885
|
+
key?:
|
|
1886
|
+
string;
|
|
1887
|
+
/** OAuth 2.0 token for the current user. */
|
|
1888
|
+
oauth_token?:
|
|
1889
|
+
string;
|
|
1890
|
+
/** Returns response with indentations and line breaks. */
|
|
1891
|
+
prettyPrint?:
|
|
1892
|
+
boolean;
|
|
1893
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1894
|
+
quotaUser?:
|
|
1895
|
+
string;
|
|
1896
|
+
/**
|
|
1897
|
+
* 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
|
|
1898
|
+
* field.
|
|
1899
|
+
*/
|
|
1900
|
+
resource:
|
|
1901
|
+
string;
|
|
1902
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1903
|
+
upload_protocol?:
|
|
1904
|
+
string;
|
|
1905
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1906
|
+
uploadType?:
|
|
1907
|
+
string;
|
|
1908
|
+
},
|
|
1909
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1910
|
+
/**
|
|
1911
|
+
* 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
|
|
1912
|
+
* 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.
|
|
1913
|
+
*/
|
|
1914
|
+
testIamPermissions(request: {
|
|
1915
|
+
/** V1 error format. */
|
|
1916
|
+
"$.xgafv"?:
|
|
1917
|
+
string;
|
|
1918
|
+
/** OAuth access token. */
|
|
1919
|
+
access_token?:
|
|
1920
|
+
string;
|
|
1921
|
+
/** Data format for response. */
|
|
1922
|
+
alt?:
|
|
1923
|
+
string;
|
|
1924
|
+
/** JSONP */
|
|
1925
|
+
callback?:
|
|
1926
|
+
string;
|
|
1927
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1928
|
+
fields?:
|
|
1929
|
+
string;
|
|
1930
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1931
|
+
key?:
|
|
1932
|
+
string;
|
|
1933
|
+
/** OAuth 2.0 token for the current user. */
|
|
1934
|
+
oauth_token?:
|
|
1935
|
+
string;
|
|
1936
|
+
/** Returns response with indentations and line breaks. */
|
|
1937
|
+
prettyPrint?:
|
|
1938
|
+
boolean;
|
|
1939
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1940
|
+
quotaUser?:
|
|
1941
|
+
string;
|
|
1942
|
+
/**
|
|
1943
|
+
* 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
|
|
1944
|
+
* this field.
|
|
1945
|
+
*/
|
|
1946
|
+
resource:
|
|
1947
|
+
string;
|
|
1948
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1949
|
+
upload_protocol?:
|
|
1950
|
+
string;
|
|
1951
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1952
|
+
uploadType?:
|
|
1953
|
+
string;
|
|
1954
|
+
},
|
|
1955
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1956
|
+
}
|
|
1957
|
+
interface HcxActivationKeysResource {
|
|
1958
|
+
/** Creates a new HCX activation key in a given private cloud. */
|
|
1959
|
+
create(request: {
|
|
1960
|
+
/** V1 error format. */
|
|
1961
|
+
"$.xgafv"?:
|
|
1962
|
+
string;
|
|
1963
|
+
/** OAuth access token. */
|
|
1964
|
+
access_token?:
|
|
1965
|
+
string;
|
|
1966
|
+
/** Data format for response. */
|
|
1967
|
+
alt?:
|
|
1968
|
+
string;
|
|
1969
|
+
/** JSONP */
|
|
1970
|
+
callback?:
|
|
1971
|
+
string;
|
|
1972
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1973
|
+
fields?:
|
|
1974
|
+
string;
|
|
1975
|
+
/**
|
|
1976
|
+
* Required. The user-provided identifier of the `HcxActivationKey` to be created. This identifier must be unique among `HcxActivationKey` resources within the parent and becomes
|
|
1977
|
+
* 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
|
|
1978
|
+
* 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)
|
|
1979
|
+
*/
|
|
1980
|
+
hcxActivationKeyId?:
|
|
1981
|
+
string;
|
|
1982
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1983
|
+
key?:
|
|
1984
|
+
string;
|
|
1985
|
+
/** OAuth 2.0 token for the current user. */
|
|
1986
|
+
oauth_token?:
|
|
1987
|
+
string;
|
|
1988
|
+
/**
|
|
1989
|
+
* Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in
|
|
1990
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud`
|
|
1991
|
+
*/
|
|
1992
|
+
parent:
|
|
1993
|
+
string;
|
|
1994
|
+
/** Returns response with indentations and line breaks. */
|
|
1995
|
+
prettyPrint?:
|
|
1996
|
+
boolean;
|
|
1997
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1998
|
+
quotaUser?:
|
|
1999
|
+
string;
|
|
2000
|
+
/**
|
|
2001
|
+
* 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
|
|
2002
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
2003
|
+
* 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
|
|
2004
|
+
* 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
|
|
2005
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
2006
|
+
*/
|
|
2007
|
+
requestId?:
|
|
2008
|
+
string;
|
|
2009
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2010
|
+
upload_protocol?:
|
|
2011
|
+
string;
|
|
2012
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2013
|
+
uploadType?:
|
|
2014
|
+
string;
|
|
2015
|
+
/** Request body */
|
|
2016
|
+
resource:
|
|
2017
|
+
HcxActivationKey;
|
|
2018
|
+
}): Request<Operation>;
|
|
2019
|
+
create(request: {
|
|
2020
|
+
/** V1 error format. */
|
|
2021
|
+
"$.xgafv"?:
|
|
2022
|
+
string;
|
|
2023
|
+
/** OAuth access token. */
|
|
2024
|
+
access_token?:
|
|
2025
|
+
string;
|
|
2026
|
+
/** Data format for response. */
|
|
2027
|
+
alt?:
|
|
2028
|
+
string;
|
|
2029
|
+
/** JSONP */
|
|
2030
|
+
callback?:
|
|
2031
|
+
string;
|
|
2032
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2033
|
+
fields?:
|
|
2034
|
+
string;
|
|
2035
|
+
/**
|
|
2036
|
+
* Required. The user-provided identifier of the `HcxActivationKey` to be created. This identifier must be unique among `HcxActivationKey` resources within the parent and becomes
|
|
2037
|
+
* 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
|
|
2038
|
+
* 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)
|
|
2039
|
+
*/
|
|
2040
|
+
hcxActivationKeyId?:
|
|
2041
|
+
string;
|
|
2042
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2043
|
+
key?:
|
|
2044
|
+
string;
|
|
2045
|
+
/** OAuth 2.0 token for the current user. */
|
|
2046
|
+
oauth_token?:
|
|
2047
|
+
string;
|
|
2048
|
+
/**
|
|
2049
|
+
* Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in
|
|
2050
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud`
|
|
2051
|
+
*/
|
|
2052
|
+
parent:
|
|
2053
|
+
string;
|
|
2054
|
+
/** Returns response with indentations and line breaks. */
|
|
2055
|
+
prettyPrint?:
|
|
2056
|
+
boolean;
|
|
2057
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2058
|
+
quotaUser?:
|
|
2059
|
+
string;
|
|
2060
|
+
/**
|
|
2061
|
+
* 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
|
|
2062
|
+
* completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
|
|
2063
|
+
* 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
|
|
2064
|
+
* 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
|
|
2065
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
2066
|
+
*/
|
|
2067
|
+
requestId?:
|
|
2068
|
+
string;
|
|
2069
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2070
|
+
upload_protocol?:
|
|
2071
|
+
string;
|
|
2072
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2073
|
+
uploadType?:
|
|
2074
|
+
string;
|
|
2075
|
+
},
|
|
2076
|
+
body: HcxActivationKey): Request<Operation>;
|
|
2077
|
+
/** Retrieves a `HcxActivationKey` resource by its resource name. */
|
|
2078
|
+
get(request?: {
|
|
2079
|
+
/** V1 error format. */
|
|
2080
|
+
"$.xgafv"?:
|
|
2081
|
+
string;
|
|
2082
|
+
/** OAuth access token. */
|
|
2083
|
+
access_token?:
|
|
2084
|
+
string;
|
|
2085
|
+
/** Data format for response. */
|
|
2086
|
+
alt?:
|
|
2087
|
+
string;
|
|
2088
|
+
/** JSONP */
|
|
2089
|
+
callback?:
|
|
2090
|
+
string;
|
|
2091
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2092
|
+
fields?:
|
|
2093
|
+
string;
|
|
2094
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2095
|
+
key?:
|
|
2096
|
+
string;
|
|
2097
|
+
/**
|
|
2098
|
+
* Required. The resource name of the HCX activation key to retrieve. Resource names are schemeless URIs that follow the conventions in
|
|
2099
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key`
|
|
2100
|
+
*/
|
|
2101
|
+
name:
|
|
2102
|
+
string;
|
|
2103
|
+
/** OAuth 2.0 token for the current user. */
|
|
2104
|
+
oauth_token?:
|
|
2105
|
+
string;
|
|
2106
|
+
/** Returns response with indentations and line breaks. */
|
|
2107
|
+
prettyPrint?:
|
|
2108
|
+
boolean;
|
|
2109
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2110
|
+
quotaUser?:
|
|
2111
|
+
string;
|
|
2112
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2113
|
+
upload_protocol?:
|
|
2114
|
+
string;
|
|
2115
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2116
|
+
uploadType?:
|
|
2117
|
+
string;
|
|
2118
|
+
}): Request<HcxActivationKey>;
|
|
2119
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
2120
|
+
getIamPolicy(request?: {
|
|
2121
|
+
/** V1 error format. */
|
|
2122
|
+
"$.xgafv"?:
|
|
2123
|
+
string;
|
|
2124
|
+
/** OAuth access token. */
|
|
2125
|
+
access_token?:
|
|
2126
|
+
string;
|
|
2127
|
+
/** Data format for response. */
|
|
2128
|
+
alt?:
|
|
2129
|
+
string;
|
|
2130
|
+
/** JSONP */
|
|
2131
|
+
callback?:
|
|
2132
|
+
string;
|
|
2133
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2134
|
+
fields?:
|
|
2135
|
+
string;
|
|
2136
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2137
|
+
key?:
|
|
2138
|
+
string;
|
|
2139
|
+
/** OAuth 2.0 token for the current user. */
|
|
2140
|
+
oauth_token?:
|
|
2141
|
+
string;
|
|
2142
|
+
/**
|
|
2143
|
+
* 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
|
|
2144
|
+
* 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
|
|
2145
|
+
* 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
|
|
2146
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
2147
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
2148
|
+
*/
|
|
2149
|
+
"options.requestedPolicyVersion"?:
|
|
2150
|
+
number;
|
|
2151
|
+
/** Returns response with indentations and line breaks. */
|
|
2152
|
+
prettyPrint?:
|
|
2153
|
+
boolean;
|
|
2154
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2155
|
+
quotaUser?:
|
|
2156
|
+
string;
|
|
2157
|
+
/**
|
|
2158
|
+
* 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
|
|
2159
|
+
* field.
|
|
2160
|
+
*/
|
|
2161
|
+
resource:
|
|
2162
|
+
string;
|
|
2163
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2164
|
+
upload_protocol?:
|
|
2165
|
+
string;
|
|
2166
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2167
|
+
uploadType?:
|
|
2168
|
+
string;
|
|
2169
|
+
}): Request<Policy>;
|
|
2170
|
+
/** Lists `HcxActivationKey` resources in a given private cloud. */
|
|
2171
|
+
list(request?: {
|
|
2172
|
+
/** V1 error format. */
|
|
2173
|
+
"$.xgafv"?:
|
|
2174
|
+
string;
|
|
2175
|
+
/** OAuth access token. */
|
|
2176
|
+
access_token?:
|
|
2177
|
+
string;
|
|
2178
|
+
/** Data format for response. */
|
|
2179
|
+
alt?:
|
|
2180
|
+
string;
|
|
2181
|
+
/** JSONP */
|
|
2182
|
+
callback?:
|
|
2183
|
+
string;
|
|
2184
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2185
|
+
fields?:
|
|
2186
|
+
string;
|
|
2187
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2188
|
+
key?:
|
|
2189
|
+
string;
|
|
2190
|
+
/** OAuth 2.0 token for the current user. */
|
|
2191
|
+
oauth_token?:
|
|
2192
|
+
string;
|
|
2193
|
+
/**
|
|
2194
|
+
* The maximum number of HCX activation keys 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
|
|
2195
|
+
* field is 500.
|
|
2196
|
+
*/
|
|
2197
|
+
pageSize?:
|
|
2198
|
+
number;
|
|
2199
|
+
/**
|
|
2200
|
+
* A page token, received from a previous `ListHcxActivationKeys` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
2201
|
+
* `ListHcxActivationKeys` must match the call that provided the page token.
|
|
2202
|
+
*/
|
|
2203
|
+
pageToken?:
|
|
2204
|
+
string;
|
|
2205
|
+
/**
|
|
2206
|
+
* Required. The resource name of the private cloud to be queried for HCX activation keys. Resource names are schemeless URIs that follow the conventions in
|
|
2207
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud`
|
|
2208
|
+
*/
|
|
2209
|
+
parent:
|
|
2210
|
+
string;
|
|
2211
|
+
/** Returns response with indentations and line breaks. */
|
|
2212
|
+
prettyPrint?:
|
|
2213
|
+
boolean;
|
|
2214
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2215
|
+
quotaUser?:
|
|
2216
|
+
string;
|
|
2217
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2218
|
+
upload_protocol?:
|
|
2219
|
+
string;
|
|
2220
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2221
|
+
uploadType?:
|
|
2222
|
+
string;
|
|
2223
|
+
}): Request<ListHcxActivationKeysResponse>;
|
|
2224
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2225
|
+
setIamPolicy(request: {
|
|
2226
|
+
/** V1 error format. */
|
|
2227
|
+
"$.xgafv"?:
|
|
2228
|
+
string;
|
|
2229
|
+
/** OAuth access token. */
|
|
2230
|
+
access_token?:
|
|
2231
|
+
string;
|
|
2232
|
+
/** Data format for response. */
|
|
2233
|
+
alt?:
|
|
2234
|
+
string;
|
|
2235
|
+
/** JSONP */
|
|
2236
|
+
callback?:
|
|
2237
|
+
string;
|
|
2238
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2239
|
+
fields?:
|
|
2240
|
+
string;
|
|
2241
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2242
|
+
key?:
|
|
2243
|
+
string;
|
|
2244
|
+
/** OAuth 2.0 token for the current user. */
|
|
2245
|
+
oauth_token?:
|
|
2246
|
+
string;
|
|
2247
|
+
/** Returns response with indentations and line breaks. */
|
|
2248
|
+
prettyPrint?:
|
|
2249
|
+
boolean;
|
|
2250
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2251
|
+
quotaUser?:
|
|
2252
|
+
string;
|
|
2253
|
+
/**
|
|
2254
|
+
* 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
|
|
2255
|
+
* field.
|
|
2256
|
+
*/
|
|
2257
|
+
resource:
|
|
2258
|
+
string;
|
|
2259
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2260
|
+
upload_protocol?:
|
|
2261
|
+
string;
|
|
2262
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2263
|
+
uploadType?:
|
|
2264
|
+
string;
|
|
2265
|
+
},
|
|
2266
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
2267
|
+
/**
|
|
2268
|
+
* 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
|
|
2269
|
+
* 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.
|
|
2270
|
+
*/
|
|
2271
|
+
testIamPermissions(request: {
|
|
2272
|
+
/** V1 error format. */
|
|
2273
|
+
"$.xgafv"?:
|
|
2274
|
+
string;
|
|
2275
|
+
/** OAuth access token. */
|
|
2276
|
+
access_token?:
|
|
2277
|
+
string;
|
|
2278
|
+
/** Data format for response. */
|
|
2279
|
+
alt?:
|
|
2280
|
+
string;
|
|
2281
|
+
/** JSONP */
|
|
2282
|
+
callback?:
|
|
2283
|
+
string;
|
|
2284
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2285
|
+
fields?:
|
|
2286
|
+
string;
|
|
2287
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2288
|
+
key?:
|
|
2289
|
+
string;
|
|
2290
|
+
/** OAuth 2.0 token for the current user. */
|
|
2291
|
+
oauth_token?:
|
|
2292
|
+
string;
|
|
2293
|
+
/** Returns response with indentations and line breaks. */
|
|
2294
|
+
prettyPrint?:
|
|
2295
|
+
boolean;
|
|
2296
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2297
|
+
quotaUser?:
|
|
2298
|
+
string;
|
|
2299
|
+
/**
|
|
2300
|
+
* 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
|
|
2301
|
+
* this field.
|
|
2302
|
+
*/
|
|
2303
|
+
resource:
|
|
2304
|
+
string;
|
|
2305
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2306
|
+
upload_protocol?:
|
|
2307
|
+
string;
|
|
2308
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2309
|
+
uploadType?:
|
|
2310
|
+
string;
|
|
2311
|
+
},
|
|
2312
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
2313
|
+
}
|
|
2314
|
+
interface SubnetsResource {
|
|
2315
|
+
/** Gets details of a single subnet. */
|
|
2316
|
+
get(request?: {
|
|
2317
|
+
/** V1 error format. */
|
|
2318
|
+
"$.xgafv"?:
|
|
2319
|
+
string;
|
|
2320
|
+
/** OAuth access token. */
|
|
2321
|
+
access_token?:
|
|
2322
|
+
string;
|
|
2323
|
+
/** Data format for response. */
|
|
2324
|
+
alt?:
|
|
2325
|
+
string;
|
|
2326
|
+
/** JSONP */
|
|
2327
|
+
callback?:
|
|
2328
|
+
string;
|
|
2329
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2330
|
+
fields?:
|
|
2331
|
+
string;
|
|
2332
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2333
|
+
key?:
|
|
2334
|
+
string;
|
|
2335
|
+
/**
|
|
2336
|
+
* Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
2337
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`
|
|
2338
|
+
*/
|
|
2339
|
+
name:
|
|
2340
|
+
string;
|
|
2341
|
+
/** OAuth 2.0 token for the current user. */
|
|
2342
|
+
oauth_token?:
|
|
2343
|
+
string;
|
|
2344
|
+
/** Returns response with indentations and line breaks. */
|
|
2345
|
+
prettyPrint?:
|
|
2346
|
+
boolean;
|
|
2347
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2348
|
+
quotaUser?:
|
|
2349
|
+
string;
|
|
2350
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2351
|
+
upload_protocol?:
|
|
2352
|
+
string;
|
|
2353
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2354
|
+
uploadType?:
|
|
2355
|
+
string;
|
|
2356
|
+
}): Request<Subnet>;
|
|
2357
|
+
/** Lists subnets in a given private cloud. */
|
|
2358
|
+
list(request?: {
|
|
2359
|
+
/** V1 error format. */
|
|
2360
|
+
"$.xgafv"?:
|
|
2361
|
+
string;
|
|
2362
|
+
/** OAuth access token. */
|
|
2363
|
+
access_token?:
|
|
2364
|
+
string;
|
|
2365
|
+
/** Data format for response. */
|
|
2366
|
+
alt?:
|
|
2367
|
+
string;
|
|
2368
|
+
/** JSONP */
|
|
2369
|
+
callback?:
|
|
2370
|
+
string;
|
|
2371
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2372
|
+
fields?:
|
|
2373
|
+
string;
|
|
2374
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2375
|
+
key?:
|
|
2376
|
+
string;
|
|
2377
|
+
/** OAuth 2.0 token for the current user. */
|
|
2378
|
+
oauth_token?:
|
|
2379
|
+
string;
|
|
2380
|
+
/** The maximum number of subnets 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. */
|
|
2381
|
+
pageSize?:
|
|
2382
|
+
number;
|
|
2383
|
+
/**
|
|
2384
|
+
* A page token, received from a previous `ListSubnetsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
2385
|
+
* `ListSubnetsRequest` must match the call that provided the page token.
|
|
2386
|
+
*/
|
|
2387
|
+
pageToken?:
|
|
2388
|
+
string;
|
|
2389
|
+
/**
|
|
2390
|
+
* Required. The resource name of the private cloud to be queried for subnets. Resource names are schemeless URIs that follow the conventions in
|
|
2391
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
2392
|
+
*/
|
|
2393
|
+
parent:
|
|
2394
|
+
string;
|
|
2395
|
+
/** Returns response with indentations and line breaks. */
|
|
2396
|
+
prettyPrint?:
|
|
2397
|
+
boolean;
|
|
2398
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2399
|
+
quotaUser?:
|
|
2400
|
+
string;
|
|
2401
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2402
|
+
upload_protocol?:
|
|
2403
|
+
string;
|
|
2404
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2405
|
+
uploadType?:
|
|
2406
|
+
string;
|
|
2407
|
+
}): Request<ListSubnetsResponse>;
|
|
2408
|
+
/**
|
|
2409
|
+
* Updates the parameters of a single subnet. Only fields specified in `update_mask` are applied. *Note*: This API is synchronous and always returns a successful
|
|
2410
|
+
* `google.longrunning.Operation` (LRO). The returned LRO will only have `done` and `response` fields.
|
|
2411
|
+
*/
|
|
2412
|
+
patch(request: {
|
|
2413
|
+
/** V1 error format. */
|
|
2414
|
+
"$.xgafv"?:
|
|
2415
|
+
string;
|
|
2416
|
+
/** OAuth access token. */
|
|
2417
|
+
access_token?:
|
|
2418
|
+
string;
|
|
2419
|
+
/** Data format for response. */
|
|
2420
|
+
alt?:
|
|
2421
|
+
string;
|
|
2422
|
+
/** JSONP */
|
|
2423
|
+
callback?:
|
|
2424
|
+
string;
|
|
2425
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2426
|
+
fields?:
|
|
2427
|
+
string;
|
|
2428
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2429
|
+
key?:
|
|
2430
|
+
string;
|
|
2431
|
+
/**
|
|
2432
|
+
* Output only. The resource name of this subnet. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
2433
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`
|
|
2434
|
+
*/
|
|
2435
|
+
name:
|
|
2436
|
+
string;
|
|
2437
|
+
/** OAuth 2.0 token for the current user. */
|
|
2438
|
+
oauth_token?:
|
|
2439
|
+
string;
|
|
2440
|
+
/** Returns response with indentations and line breaks. */
|
|
2441
|
+
prettyPrint?:
|
|
2442
|
+
boolean;
|
|
2443
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2444
|
+
quotaUser?:
|
|
2445
|
+
string;
|
|
2446
|
+
/**
|
|
2447
|
+
* Required. Field mask is used to specify the fields to be overwritten in the `Subnet` resource by the update. The fields specified in the `update_mask` are relative to the
|
|
2448
|
+
* 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.
|
|
2449
|
+
*/
|
|
2450
|
+
updateMask?:
|
|
2451
|
+
string;
|
|
2452
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2453
|
+
upload_protocol?:
|
|
2454
|
+
string;
|
|
2455
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2456
|
+
uploadType?:
|
|
2457
|
+
string;
|
|
2458
|
+
/** Request body */
|
|
2459
|
+
resource:
|
|
2460
|
+
Subnet;
|
|
2461
|
+
}): Request<Operation>;
|
|
2462
|
+
patch(request: {
|
|
2463
|
+
/** V1 error format. */
|
|
2464
|
+
"$.xgafv"?:
|
|
2465
|
+
string;
|
|
2466
|
+
/** OAuth access token. */
|
|
2467
|
+
access_token?:
|
|
2468
|
+
string;
|
|
2469
|
+
/** Data format for response. */
|
|
2470
|
+
alt?:
|
|
2471
|
+
string;
|
|
2472
|
+
/** JSONP */
|
|
2473
|
+
callback?:
|
|
2474
|
+
string;
|
|
2475
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2476
|
+
fields?:
|
|
2477
|
+
string;
|
|
2478
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2479
|
+
key?:
|
|
2480
|
+
string;
|
|
2481
|
+
/**
|
|
2482
|
+
* Output only. The resource name of this subnet. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
2483
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`
|
|
2484
|
+
*/
|
|
2485
|
+
name:
|
|
2486
|
+
string;
|
|
2487
|
+
/** OAuth 2.0 token for the current user. */
|
|
2488
|
+
oauth_token?:
|
|
2489
|
+
string;
|
|
2490
|
+
/** Returns response with indentations and line breaks. */
|
|
2491
|
+
prettyPrint?:
|
|
2492
|
+
boolean;
|
|
2493
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2494
|
+
quotaUser?:
|
|
2495
|
+
string;
|
|
2496
|
+
/**
|
|
2497
|
+
* Required. Field mask is used to specify the fields to be overwritten in the `Subnet` resource by the update. The fields specified in the `update_mask` are relative to the
|
|
2498
|
+
* 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.
|
|
2499
|
+
*/
|
|
2500
|
+
updateMask?:
|
|
2501
|
+
string;
|
|
2502
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2503
|
+
upload_protocol?:
|
|
2504
|
+
string;
|
|
2505
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2506
|
+
uploadType?:
|
|
2507
|
+
string;
|
|
2508
|
+
},
|
|
2509
|
+
body: Subnet): Request<Operation>;
|
|
2510
|
+
}
|
|
2511
|
+
interface PrivateCloudsResource {
|
|
2512
|
+
/**
|
|
2513
|
+
* 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
|
|
2514
|
+
* regional. Creating a private cloud also creates a [management cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) for that private cloud.
|
|
2515
|
+
*/
|
|
2516
|
+
create(request: {
|
|
2517
|
+
/** V1 error format. */
|
|
2518
|
+
"$.xgafv"?:
|
|
2519
|
+
string;
|
|
2520
|
+
/** OAuth access token. */
|
|
2521
|
+
access_token?:
|
|
2522
|
+
string;
|
|
2523
|
+
/** Data format for response. */
|
|
2524
|
+
alt?:
|
|
2525
|
+
string;
|
|
2526
|
+
/** JSONP */
|
|
2527
|
+
callback?:
|
|
2528
|
+
string;
|
|
2529
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2530
|
+
fields?:
|
|
2531
|
+
string;
|
|
2532
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2533
|
+
key?:
|
|
2534
|
+
string;
|
|
2535
|
+
/** OAuth 2.0 token for the current user. */
|
|
2536
|
+
oauth_token?:
|
|
2537
|
+
string;
|
|
2538
|
+
/**
|
|
2539
|
+
* Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in
|
|
2540
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a`
|
|
2541
|
+
*/
|
|
2542
|
+
parent:
|
|
2543
|
+
string;
|
|
2544
|
+
/** Returns response with indentations and line breaks. */
|
|
2545
|
+
prettyPrint?:
|
|
2546
|
+
boolean;
|
|
2547
|
+
/**
|
|
2548
|
+
* 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
|
|
2549
|
+
* 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
|
|
2550
|
+
* with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
|
|
2551
|
+
*/
|
|
2552
|
+
privateCloudId?:
|
|
2553
|
+
string;
|
|
2554
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2555
|
+
quotaUser?:
|
|
2556
|
+
string;
|
|
2557
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
2558
|
+
requestId?:
|
|
2559
|
+
string;
|
|
2560
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2561
|
+
upload_protocol?:
|
|
2562
|
+
string;
|
|
2563
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2564
|
+
uploadType?:
|
|
2565
|
+
string;
|
|
2566
|
+
/** Optional. True if you want the request to be validated and not executed; false otherwise. */
|
|
2567
|
+
validateOnly?:
|
|
2568
|
+
boolean;
|
|
2569
|
+
/** Request body */
|
|
2570
|
+
resource:
|
|
2571
|
+
PrivateCloud;
|
|
2572
|
+
}): Request<Operation>;
|
|
2573
|
+
create(request: {
|
|
2574
|
+
/** V1 error format. */
|
|
2575
|
+
"$.xgafv"?:
|
|
2576
|
+
string;
|
|
2577
|
+
/** OAuth access token. */
|
|
2578
|
+
access_token?:
|
|
2579
|
+
string;
|
|
2580
|
+
/** Data format for response. */
|
|
2581
|
+
alt?:
|
|
2582
|
+
string;
|
|
2583
|
+
/** JSONP */
|
|
2584
|
+
callback?:
|
|
2585
|
+
string;
|
|
2586
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2587
|
+
fields?:
|
|
2588
|
+
string;
|
|
2589
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2590
|
+
key?:
|
|
2591
|
+
string;
|
|
2592
|
+
/** OAuth 2.0 token for the current user. */
|
|
2593
|
+
oauth_token?:
|
|
2594
|
+
string;
|
|
2595
|
+
/**
|
|
2596
|
+
* Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in
|
|
2597
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a`
|
|
2598
|
+
*/
|
|
2599
|
+
parent:
|
|
2600
|
+
string;
|
|
2601
|
+
/** Returns response with indentations and line breaks. */
|
|
2602
|
+
prettyPrint?:
|
|
2603
|
+
boolean;
|
|
2604
|
+
/**
|
|
2605
|
+
* 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
|
|
2606
|
+
* 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
|
|
2607
|
+
* with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
|
|
2608
|
+
*/
|
|
2609
|
+
privateCloudId?:
|
|
2610
|
+
string;
|
|
2611
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2612
|
+
quotaUser?:
|
|
2613
|
+
string;
|
|
2614
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
2615
|
+
requestId?:
|
|
2616
|
+
string;
|
|
2617
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2618
|
+
upload_protocol?:
|
|
2619
|
+
string;
|
|
2620
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2621
|
+
uploadType?:
|
|
2622
|
+
string;
|
|
2623
|
+
/** Optional. True if you want the request to be validated and not executed; false otherwise. */
|
|
2624
|
+
validateOnly?:
|
|
2625
|
+
boolean;
|
|
2626
|
+
},
|
|
2627
|
+
body: PrivateCloud): Request<Operation>;
|
|
2628
|
+
/**
|
|
2629
|
+
* 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
|
|
2630
|
+
* 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
|
|
2631
|
+
* `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
|
|
2632
|
+
* 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
|
|
2633
|
+
* 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
|
|
2634
|
+
* only when it is completely purged.
|
|
2635
|
+
*/
|
|
2636
|
+
delete(request?: {
|
|
2637
|
+
/** V1 error format. */
|
|
2638
|
+
"$.xgafv"?:
|
|
2639
|
+
string;
|
|
2640
|
+
/** OAuth access token. */
|
|
2641
|
+
access_token?:
|
|
2642
|
+
string;
|
|
2643
|
+
/** Data format for response. */
|
|
2644
|
+
alt?:
|
|
2645
|
+
string;
|
|
2646
|
+
/** JSONP */
|
|
2647
|
+
callback?:
|
|
2648
|
+
string;
|
|
2649
|
+
/**
|
|
2650
|
+
* 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
|
|
2651
|
+
* `DELETED` and sets `expire_time` to the planned deletion time. Deletion can be cancelled before `expire_time` elapses using VmwareEngine.UndeletePrivateCloud. Specifying a value
|
|
2652
|
+
* 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`.
|
|
2653
|
+
*/
|
|
2654
|
+
delayHours?:
|
|
2655
|
+
number;
|
|
2656
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2657
|
+
fields?:
|
|
2658
|
+
string;
|
|
2659
|
+
/**
|
|
2660
|
+
* 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
|
|
2661
|
+
* be deleted if there are any children other than the management cluster. The management cluster is always deleted.
|
|
2662
|
+
*/
|
|
2663
|
+
force?:
|
|
2664
|
+
boolean;
|
|
2665
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2666
|
+
key?:
|
|
2667
|
+
string;
|
|
2668
|
+
/**
|
|
2669
|
+
* Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in
|
|
2670
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
2671
|
+
*/
|
|
2672
|
+
name:
|
|
2673
|
+
string;
|
|
2674
|
+
/** OAuth 2.0 token for the current user. */
|
|
2675
|
+
oauth_token?:
|
|
2676
|
+
string;
|
|
2677
|
+
/** Returns response with indentations and line breaks. */
|
|
2678
|
+
prettyPrint?:
|
|
2679
|
+
boolean;
|
|
2680
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2681
|
+
quotaUser?:
|
|
2682
|
+
string;
|
|
2683
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
2684
|
+
requestId?:
|
|
2685
|
+
string;
|
|
2686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2687
|
+
upload_protocol?:
|
|
2688
|
+
string;
|
|
2689
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2690
|
+
uploadType?:
|
|
2691
|
+
string;
|
|
2692
|
+
}): Request<Operation>;
|
|
2693
|
+
/** Retrieves a `PrivateCloud` resource by its resource name. */
|
|
2694
|
+
get(request?: {
|
|
2695
|
+
/** V1 error format. */
|
|
2696
|
+
"$.xgafv"?:
|
|
2697
|
+
string;
|
|
2698
|
+
/** OAuth access token. */
|
|
2699
|
+
access_token?:
|
|
2700
|
+
string;
|
|
2701
|
+
/** Data format for response. */
|
|
2702
|
+
alt?:
|
|
2703
|
+
string;
|
|
2704
|
+
/** JSONP */
|
|
2705
|
+
callback?:
|
|
2706
|
+
string;
|
|
2707
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2708
|
+
fields?:
|
|
2709
|
+
string;
|
|
2710
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2711
|
+
key?:
|
|
2712
|
+
string;
|
|
2713
|
+
/**
|
|
2714
|
+
* Required. The resource name of the private cloud to retrieve. Resource names are schemeless URIs that follow the conventions in
|
|
2715
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
2716
|
+
*/
|
|
2717
|
+
name:
|
|
2718
|
+
string;
|
|
2719
|
+
/** OAuth 2.0 token for the current user. */
|
|
2720
|
+
oauth_token?:
|
|
2721
|
+
string;
|
|
2722
|
+
/** Returns response with indentations and line breaks. */
|
|
2723
|
+
prettyPrint?:
|
|
2724
|
+
boolean;
|
|
2725
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2726
|
+
quotaUser?:
|
|
2727
|
+
string;
|
|
2728
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2729
|
+
upload_protocol?:
|
|
2730
|
+
string;
|
|
2731
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2732
|
+
uploadType?:
|
|
2733
|
+
string;
|
|
2734
|
+
}): Request<PrivateCloud>;
|
|
2735
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
2736
|
+
getIamPolicy(request?: {
|
|
2737
|
+
/** V1 error format. */
|
|
2738
|
+
"$.xgafv"?:
|
|
2739
|
+
string;
|
|
2740
|
+
/** OAuth access token. */
|
|
2741
|
+
access_token?:
|
|
2742
|
+
string;
|
|
2743
|
+
/** Data format for response. */
|
|
2744
|
+
alt?:
|
|
2745
|
+
string;
|
|
2746
|
+
/** JSONP */
|
|
2747
|
+
callback?:
|
|
2748
|
+
string;
|
|
2749
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2750
|
+
fields?:
|
|
2751
|
+
string;
|
|
2752
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2753
|
+
key?:
|
|
2754
|
+
string;
|
|
2755
|
+
/** OAuth 2.0 token for the current user. */
|
|
2756
|
+
oauth_token?:
|
|
2757
|
+
string;
|
|
2758
|
+
/**
|
|
2759
|
+
* 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
|
|
2760
|
+
* 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
|
|
2761
|
+
* 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
|
|
2762
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
2763
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
2764
|
+
*/
|
|
2765
|
+
"options.requestedPolicyVersion"?:
|
|
2766
|
+
number;
|
|
2767
|
+
/** Returns response with indentations and line breaks. */
|
|
2768
|
+
prettyPrint?:
|
|
2769
|
+
boolean;
|
|
2770
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2771
|
+
quotaUser?:
|
|
2772
|
+
string;
|
|
2773
|
+
/**
|
|
2774
|
+
* 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
|
|
2775
|
+
* field.
|
|
2776
|
+
*/
|
|
2777
|
+
resource:
|
|
2778
|
+
string;
|
|
2779
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2780
|
+
upload_protocol?:
|
|
2781
|
+
string;
|
|
2782
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2783
|
+
uploadType?:
|
|
2784
|
+
string;
|
|
2785
|
+
}): Request<Policy>;
|
|
2786
|
+
/** Lists `PrivateCloud` resources in a given project and location. */
|
|
2787
|
+
list(request?: {
|
|
2788
|
+
/** V1 error format. */
|
|
2789
|
+
"$.xgafv"?:
|
|
2790
|
+
string;
|
|
2791
|
+
/** OAuth access token. */
|
|
2792
|
+
access_token?:
|
|
2793
|
+
string;
|
|
2794
|
+
/** Data format for response. */
|
|
2795
|
+
alt?:
|
|
2796
|
+
string;
|
|
2797
|
+
/** JSONP */
|
|
2798
|
+
callback?:
|
|
2799
|
+
string;
|
|
2800
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2801
|
+
fields?:
|
|
2802
|
+
string;
|
|
2803
|
+
/**
|
|
2804
|
+
* 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
|
|
2805
|
+
* filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of private
|
|
2806
|
+
* clouds, you can exclude the ones named `example-pc` by specifying `name != "example-pc"`. You can also filter nested fields. For example, you could specify
|
|
2807
|
+
* `networkConfig.managementCidr = "192.168.0.0/24"` to include private clouds only if they have a matching address in their network configuration. To filter on multiple
|
|
2808
|
+
* expressions, provide each separate expression within parentheses. For example: ``` (name = "example-pc") (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression
|
|
2809
|
+
* is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "private-cloud-1") AND (createTime > "2021-04-12T08:15:10.40Z")
|
|
2810
|
+
* OR (name = "private-cloud-2") ```
|
|
2811
|
+
*/
|
|
2812
|
+
filter?:
|
|
2813
|
+
string;
|
|
2814
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2815
|
+
key?:
|
|
2816
|
+
string;
|
|
2817
|
+
/** OAuth 2.0 token for the current user. */
|
|
2818
|
+
oauth_token?:
|
|
2819
|
+
string;
|
|
2820
|
+
/**
|
|
2821
|
+
* 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`
|
|
2822
|
+
* value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
|
|
2823
|
+
*/
|
|
2824
|
+
orderBy?:
|
|
2825
|
+
string;
|
|
2826
|
+
/**
|
|
2827
|
+
* 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
|
|
2828
|
+
* is 500.
|
|
2829
|
+
*/
|
|
2830
|
+
pageSize?:
|
|
2831
|
+
number;
|
|
2832
|
+
/**
|
|
2833
|
+
* A page token, received from a previous `ListPrivateClouds` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
2834
|
+
* `ListPrivateClouds` must match the call that provided the page token.
|
|
2835
|
+
*/
|
|
2836
|
+
pageToken?:
|
|
2837
|
+
string;
|
|
2838
|
+
/**
|
|
2839
|
+
* Required. The resource name of the private cloud to be queried for clusters. Resource names are schemeless URIs that follow the conventions in
|
|
2840
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a`
|
|
2841
|
+
*/
|
|
2842
|
+
parent:
|
|
2843
|
+
string;
|
|
2844
|
+
/** Returns response with indentations and line breaks. */
|
|
2845
|
+
prettyPrint?:
|
|
2846
|
+
boolean;
|
|
2847
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2848
|
+
quotaUser?:
|
|
2849
|
+
string;
|
|
2850
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2851
|
+
upload_protocol?:
|
|
2852
|
+
string;
|
|
2853
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2854
|
+
uploadType?:
|
|
2855
|
+
string;
|
|
2856
|
+
}): Request<ListPrivateCloudsResponse>;
|
|
2857
|
+
/**
|
|
2858
|
+
* Modifies a `PrivateCloud` resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied. During operation processing, the
|
|
2859
|
+
* 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
|
|
2860
|
+
* when the processing fully completes.
|
|
2861
|
+
*/
|
|
2862
|
+
patch(request: {
|
|
2863
|
+
/** V1 error format. */
|
|
2864
|
+
"$.xgafv"?:
|
|
2865
|
+
string;
|
|
2866
|
+
/** OAuth access token. */
|
|
2867
|
+
access_token?:
|
|
2868
|
+
string;
|
|
2869
|
+
/** Data format for response. */
|
|
2870
|
+
alt?:
|
|
2871
|
+
string;
|
|
2872
|
+
/** JSONP */
|
|
2873
|
+
callback?:
|
|
2874
|
+
string;
|
|
2875
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2876
|
+
fields?:
|
|
2877
|
+
string;
|
|
2878
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2879
|
+
key?:
|
|
2880
|
+
string;
|
|
2881
|
+
/**
|
|
2882
|
+
* Output only. 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
|
|
2883
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
2884
|
+
*/
|
|
2885
|
+
name:
|
|
2886
|
+
string;
|
|
2887
|
+
/** OAuth 2.0 token for the current user. */
|
|
2888
|
+
oauth_token?:
|
|
2889
|
+
string;
|
|
2890
|
+
/** Returns response with indentations and line breaks. */
|
|
2891
|
+
prettyPrint?:
|
|
2892
|
+
boolean;
|
|
2893
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2894
|
+
quotaUser?:
|
|
2895
|
+
string;
|
|
2896
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
2897
|
+
requestId?:
|
|
2898
|
+
string;
|
|
2899
|
+
/**
|
|
2900
|
+
* 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
|
|
2901
|
+
* 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.
|
|
2902
|
+
*/
|
|
2903
|
+
updateMask?:
|
|
2904
|
+
string;
|
|
2905
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2906
|
+
upload_protocol?:
|
|
2907
|
+
string;
|
|
2908
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2909
|
+
uploadType?:
|
|
2910
|
+
string;
|
|
2911
|
+
/** Request body */
|
|
2912
|
+
resource:
|
|
2913
|
+
PrivateCloud;
|
|
2914
|
+
}): Request<Operation>;
|
|
2915
|
+
patch(request: {
|
|
2916
|
+
/** V1 error format. */
|
|
2917
|
+
"$.xgafv"?:
|
|
2918
|
+
string;
|
|
2919
|
+
/** OAuth access token. */
|
|
2920
|
+
access_token?:
|
|
2921
|
+
string;
|
|
2922
|
+
/** Data format for response. */
|
|
2923
|
+
alt?:
|
|
2924
|
+
string;
|
|
2925
|
+
/** JSONP */
|
|
2926
|
+
callback?:
|
|
2927
|
+
string;
|
|
2928
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2929
|
+
fields?:
|
|
2930
|
+
string;
|
|
2931
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2932
|
+
key?:
|
|
2933
|
+
string;
|
|
2934
|
+
/**
|
|
2935
|
+
* Output only. 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
|
|
2936
|
+
* example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
2937
|
+
*/
|
|
2938
|
+
name:
|
|
2939
|
+
string;
|
|
2940
|
+
/** OAuth 2.0 token for the current user. */
|
|
2941
|
+
oauth_token?:
|
|
2942
|
+
string;
|
|
2943
|
+
/** Returns response with indentations and line breaks. */
|
|
2944
|
+
prettyPrint?:
|
|
2945
|
+
boolean;
|
|
2946
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2947
|
+
quotaUser?:
|
|
2948
|
+
string;
|
|
2949
|
+
/** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
2950
|
+
requestId?:
|
|
2951
|
+
string;
|
|
2952
|
+
/**
|
|
2953
|
+
* 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
|
|
2954
|
+
* 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.
|
|
2955
|
+
*/
|
|
2956
|
+
updateMask?:
|
|
2957
|
+
string;
|
|
2958
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2959
|
+
upload_protocol?:
|
|
2960
|
+
string;
|
|
2961
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2962
|
+
uploadType?:
|
|
2963
|
+
string;
|
|
2964
|
+
},
|
|
2965
|
+
body: PrivateCloud): Request<Operation>;
|
|
2966
|
+
/** Resets credentials of the NSX appliance. */
|
|
2967
|
+
resetNsxCredentials(request: {
|
|
2968
|
+
/** V1 error format. */
|
|
2969
|
+
"$.xgafv"?:
|
|
2970
|
+
string;
|
|
2971
|
+
/** OAuth access token. */
|
|
2972
|
+
access_token?:
|
|
2973
|
+
string;
|
|
2974
|
+
/** Data format for response. */
|
|
2975
|
+
alt?:
|
|
2976
|
+
string;
|
|
2977
|
+
/** JSONP */
|
|
2978
|
+
callback?:
|
|
2979
|
+
string;
|
|
2980
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2981
|
+
fields?:
|
|
2982
|
+
string;
|
|
2983
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2984
|
+
key?:
|
|
2985
|
+
string;
|
|
2986
|
+
/** OAuth 2.0 token for the current user. */
|
|
2987
|
+
oauth_token?:
|
|
2988
|
+
string;
|
|
2989
|
+
/** Returns response with indentations and line breaks. */
|
|
2990
|
+
prettyPrint?:
|
|
2991
|
+
boolean;
|
|
2992
|
+
/**
|
|
2993
|
+
* Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in
|
|
2994
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
2995
|
+
*/
|
|
2996
|
+
privateCloud:
|
|
2997
|
+
string;
|
|
2998
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2999
|
+
quotaUser?:
|
|
3000
|
+
string;
|
|
3001
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3002
|
+
upload_protocol?:
|
|
3003
|
+
string;
|
|
3004
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3005
|
+
uploadType?:
|
|
3006
|
+
string;
|
|
3007
|
+
/** Request body */
|
|
3008
|
+
resource:
|
|
3009
|
+
ResetNsxCredentialsRequest;
|
|
3010
|
+
}): Request<Operation>;
|
|
3011
|
+
resetNsxCredentials(request: {
|
|
3012
|
+
/** V1 error format. */
|
|
3013
|
+
"$.xgafv"?:
|
|
3014
|
+
string;
|
|
3015
|
+
/** OAuth access token. */
|
|
3016
|
+
access_token?:
|
|
3017
|
+
string;
|
|
3018
|
+
/** Data format for response. */
|
|
3019
|
+
alt?:
|
|
3020
|
+
string;
|
|
3021
|
+
/** JSONP */
|
|
3022
|
+
callback?:
|
|
3023
|
+
string;
|
|
3024
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3025
|
+
fields?:
|
|
3026
|
+
string;
|
|
3027
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3028
|
+
key?:
|
|
3029
|
+
string;
|
|
3030
|
+
/** OAuth 2.0 token for the current user. */
|
|
3031
|
+
oauth_token?:
|
|
3032
|
+
string;
|
|
3033
|
+
/** Returns response with indentations and line breaks. */
|
|
3034
|
+
prettyPrint?:
|
|
3035
|
+
boolean;
|
|
3036
|
+
/**
|
|
3037
|
+
* Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in
|
|
3038
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
3039
|
+
*/
|
|
3040
|
+
privateCloud:
|
|
3041
|
+
string;
|
|
3042
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3043
|
+
quotaUser?:
|
|
3044
|
+
string;
|
|
3045
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3046
|
+
upload_protocol?:
|
|
3047
|
+
string;
|
|
3048
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3049
|
+
uploadType?:
|
|
3050
|
+
string;
|
|
3051
|
+
},
|
|
3052
|
+
body: ResetNsxCredentialsRequest): Request<Operation>;
|
|
3053
|
+
/** Resets credentials of the Vcenter appliance. */
|
|
3054
|
+
resetVcenterCredentials(request: {
|
|
3055
|
+
/** V1 error format. */
|
|
3056
|
+
"$.xgafv"?:
|
|
3057
|
+
string;
|
|
3058
|
+
/** OAuth access token. */
|
|
3059
|
+
access_token?:
|
|
3060
|
+
string;
|
|
3061
|
+
/** Data format for response. */
|
|
3062
|
+
alt?:
|
|
3063
|
+
string;
|
|
3064
|
+
/** JSONP */
|
|
3065
|
+
callback?:
|
|
3066
|
+
string;
|
|
3067
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3068
|
+
fields?:
|
|
3069
|
+
string;
|
|
3070
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3071
|
+
key?:
|
|
3072
|
+
string;
|
|
3073
|
+
/** OAuth 2.0 token for the current user. */
|
|
3074
|
+
oauth_token?:
|
|
3075
|
+
string;
|
|
3076
|
+
/** Returns response with indentations and line breaks. */
|
|
3077
|
+
prettyPrint?:
|
|
3078
|
+
boolean;
|
|
3079
|
+
/**
|
|
3080
|
+
* Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in
|
|
3081
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
3082
|
+
*/
|
|
3083
|
+
privateCloud:
|
|
3084
|
+
string;
|
|
3085
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3086
|
+
quotaUser?:
|
|
3087
|
+
string;
|
|
3088
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3089
|
+
upload_protocol?:
|
|
3090
|
+
string;
|
|
3091
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3092
|
+
uploadType?:
|
|
3093
|
+
string;
|
|
3094
|
+
/** Request body */
|
|
3095
|
+
resource:
|
|
3096
|
+
ResetVcenterCredentialsRequest;
|
|
3097
|
+
}): Request<Operation>;
|
|
3098
|
+
resetVcenterCredentials(request: {
|
|
3099
|
+
/** V1 error format. */
|
|
3100
|
+
"$.xgafv"?:
|
|
3101
|
+
string;
|
|
3102
|
+
/** OAuth access token. */
|
|
3103
|
+
access_token?:
|
|
3104
|
+
string;
|
|
3105
|
+
/** Data format for response. */
|
|
3106
|
+
alt?:
|
|
3107
|
+
string;
|
|
3108
|
+
/** JSONP */
|
|
3109
|
+
callback?:
|
|
3110
|
+
string;
|
|
3111
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3112
|
+
fields?:
|
|
3113
|
+
string;
|
|
3114
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3115
|
+
key?:
|
|
3116
|
+
string;
|
|
3117
|
+
/** OAuth 2.0 token for the current user. */
|
|
3118
|
+
oauth_token?:
|
|
3119
|
+
string;
|
|
3120
|
+
/** Returns response with indentations and line breaks. */
|
|
3121
|
+
prettyPrint?:
|
|
3122
|
+
boolean;
|
|
3123
|
+
/**
|
|
3124
|
+
* Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in
|
|
3125
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
3126
|
+
*/
|
|
3127
|
+
privateCloud:
|
|
3128
|
+
string;
|
|
3129
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3130
|
+
quotaUser?:
|
|
3131
|
+
string;
|
|
3132
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3133
|
+
upload_protocol?:
|
|
3134
|
+
string;
|
|
3135
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3136
|
+
uploadType?:
|
|
3137
|
+
string;
|
|
3138
|
+
},
|
|
3139
|
+
body: ResetVcenterCredentialsRequest): Request<Operation>;
|
|
3140
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
3141
|
+
setIamPolicy(request: {
|
|
3142
|
+
/** V1 error format. */
|
|
3143
|
+
"$.xgafv"?:
|
|
3144
|
+
string;
|
|
3145
|
+
/** OAuth access token. */
|
|
3146
|
+
access_token?:
|
|
3147
|
+
string;
|
|
3148
|
+
/** Data format for response. */
|
|
3149
|
+
alt?:
|
|
3150
|
+
string;
|
|
3151
|
+
/** JSONP */
|
|
3152
|
+
callback?:
|
|
3153
|
+
string;
|
|
3154
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3155
|
+
fields?:
|
|
3156
|
+
string;
|
|
3157
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3158
|
+
key?:
|
|
3159
|
+
string;
|
|
3160
|
+
/** OAuth 2.0 token for the current user. */
|
|
3161
|
+
oauth_token?:
|
|
3162
|
+
string;
|
|
3163
|
+
/** Returns response with indentations and line breaks. */
|
|
3164
|
+
prettyPrint?:
|
|
3165
|
+
boolean;
|
|
3166
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3167
|
+
quotaUser?:
|
|
3168
|
+
string;
|
|
3169
|
+
/**
|
|
3170
|
+
* 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
|
|
3171
|
+
* field.
|
|
3172
|
+
*/
|
|
3173
|
+
resource:
|
|
3174
|
+
string;
|
|
3175
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3176
|
+
upload_protocol?:
|
|
3177
|
+
string;
|
|
3178
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3179
|
+
uploadType?:
|
|
3180
|
+
string;
|
|
3181
|
+
},
|
|
3182
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
3183
|
+
/** Gets details of credentials for NSX appliance. */
|
|
3184
|
+
showNsxCredentials(request?: {
|
|
3185
|
+
/** V1 error format. */
|
|
3186
|
+
"$.xgafv"?:
|
|
3187
|
+
string;
|
|
3188
|
+
/** OAuth access token. */
|
|
3189
|
+
access_token?:
|
|
3190
|
+
string;
|
|
3191
|
+
/** Data format for response. */
|
|
3192
|
+
alt?:
|
|
3193
|
+
string;
|
|
3194
|
+
/** JSONP */
|
|
3195
|
+
callback?:
|
|
3196
|
+
string;
|
|
3197
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3198
|
+
fields?:
|
|
3199
|
+
string;
|
|
3200
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3201
|
+
key?:
|
|
3202
|
+
string;
|
|
3203
|
+
/** OAuth 2.0 token for the current user. */
|
|
3204
|
+
oauth_token?:
|
|
3205
|
+
string;
|
|
3206
|
+
/** Returns response with indentations and line breaks. */
|
|
3207
|
+
prettyPrint?:
|
|
3208
|
+
boolean;
|
|
3209
|
+
/**
|
|
3210
|
+
* Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in
|
|
3211
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
3212
|
+
*/
|
|
3213
|
+
privateCloud:
|
|
3214
|
+
string;
|
|
3215
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3216
|
+
quotaUser?:
|
|
3217
|
+
string;
|
|
3218
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3219
|
+
upload_protocol?:
|
|
3220
|
+
string;
|
|
3221
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3222
|
+
uploadType?:
|
|
3223
|
+
string;
|
|
3224
|
+
}): Request<Credentials>;
|
|
3225
|
+
/** Gets details of credentials for Vcenter appliance. */
|
|
3226
|
+
showVcenterCredentials(request?: {
|
|
3227
|
+
/** V1 error format. */
|
|
3228
|
+
"$.xgafv"?:
|
|
3229
|
+
string;
|
|
3230
|
+
/** OAuth access token. */
|
|
3231
|
+
access_token?:
|
|
3232
|
+
string;
|
|
3233
|
+
/** Data format for response. */
|
|
3234
|
+
alt?:
|
|
3235
|
+
string;
|
|
3236
|
+
/** JSONP */
|
|
3237
|
+
callback?:
|
|
3238
|
+
string;
|
|
3239
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3240
|
+
fields?:
|
|
3241
|
+
string;
|
|
3242
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3243
|
+
key?:
|
|
3244
|
+
string;
|
|
3245
|
+
/** OAuth 2.0 token for the current user. */
|
|
3246
|
+
oauth_token?:
|
|
3247
|
+
string;
|
|
3248
|
+
/** Returns response with indentations and line breaks. */
|
|
3249
|
+
prettyPrint?:
|
|
3250
|
+
boolean;
|
|
3251
|
+
/**
|
|
3252
|
+
* Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in
|
|
3253
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
3254
|
+
*/
|
|
3255
|
+
privateCloud:
|
|
3256
|
+
string;
|
|
3257
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3258
|
+
quotaUser?:
|
|
3259
|
+
string;
|
|
3260
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3261
|
+
upload_protocol?:
|
|
3262
|
+
string;
|
|
3263
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3264
|
+
uploadType?:
|
|
3265
|
+
string;
|
|
3266
|
+
}): Request<Credentials>;
|
|
3267
|
+
/**
|
|
3268
|
+
* 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
|
|
3269
|
+
* 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.
|
|
3270
|
+
*/
|
|
3271
|
+
testIamPermissions(request: {
|
|
3272
|
+
/** V1 error format. */
|
|
3273
|
+
"$.xgafv"?:
|
|
3274
|
+
string;
|
|
3275
|
+
/** OAuth access token. */
|
|
3276
|
+
access_token?:
|
|
3277
|
+
string;
|
|
3278
|
+
/** Data format for response. */
|
|
3279
|
+
alt?:
|
|
3280
|
+
string;
|
|
3281
|
+
/** JSONP */
|
|
3282
|
+
callback?:
|
|
3283
|
+
string;
|
|
3284
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3285
|
+
fields?:
|
|
3286
|
+
string;
|
|
3287
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3288
|
+
key?:
|
|
3289
|
+
string;
|
|
3290
|
+
/** OAuth 2.0 token for the current user. */
|
|
3291
|
+
oauth_token?:
|
|
3292
|
+
string;
|
|
3293
|
+
/** Returns response with indentations and line breaks. */
|
|
3294
|
+
prettyPrint?:
|
|
3295
|
+
boolean;
|
|
3296
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3297
|
+
quotaUser?:
|
|
3298
|
+
string;
|
|
3299
|
+
/**
|
|
3300
|
+
* 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
|
|
3301
|
+
* this field.
|
|
3302
|
+
*/
|
|
3303
|
+
resource:
|
|
3304
|
+
string;
|
|
3305
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3306
|
+
upload_protocol?:
|
|
3307
|
+
string;
|
|
3308
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3309
|
+
uploadType?:
|
|
3310
|
+
string;
|
|
3311
|
+
},
|
|
3312
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
3313
|
+
/**
|
|
3314
|
+
* Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to
|
|
3315
|
+
* `DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.
|
|
3316
|
+
*/
|
|
3317
|
+
undelete(request: {
|
|
3318
|
+
/** V1 error format. */
|
|
3319
|
+
"$.xgafv"?:
|
|
3320
|
+
string;
|
|
3321
|
+
/** OAuth access token. */
|
|
3322
|
+
access_token?:
|
|
3323
|
+
string;
|
|
3324
|
+
/** Data format for response. */
|
|
3325
|
+
alt?:
|
|
3326
|
+
string;
|
|
3327
|
+
/** JSONP */
|
|
3328
|
+
callback?:
|
|
3329
|
+
string;
|
|
3330
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3331
|
+
fields?:
|
|
3332
|
+
string;
|
|
3333
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3334
|
+
key?:
|
|
3335
|
+
string;
|
|
3336
|
+
/**
|
|
3337
|
+
* Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in
|
|
3338
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
3339
|
+
*/
|
|
3340
|
+
name:
|
|
3341
|
+
string;
|
|
3342
|
+
/** OAuth 2.0 token for the current user. */
|
|
3343
|
+
oauth_token?:
|
|
3344
|
+
string;
|
|
3345
|
+
/** Returns response with indentations and line breaks. */
|
|
3346
|
+
prettyPrint?:
|
|
3347
|
+
boolean;
|
|
3348
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3349
|
+
quotaUser?:
|
|
3350
|
+
string;
|
|
3351
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3352
|
+
upload_protocol?:
|
|
3353
|
+
string;
|
|
3354
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3355
|
+
uploadType?:
|
|
3356
|
+
string;
|
|
3357
|
+
/** Request body */
|
|
3358
|
+
resource:
|
|
3359
|
+
UndeletePrivateCloudRequest;
|
|
3360
|
+
}): Request<Operation>;
|
|
3361
|
+
undelete(request: {
|
|
3362
|
+
/** V1 error format. */
|
|
3363
|
+
"$.xgafv"?:
|
|
3364
|
+
string;
|
|
3365
|
+
/** OAuth access token. */
|
|
3366
|
+
access_token?:
|
|
3367
|
+
string;
|
|
3368
|
+
/** Data format for response. */
|
|
3369
|
+
alt?:
|
|
3370
|
+
string;
|
|
3371
|
+
/** JSONP */
|
|
3372
|
+
callback?:
|
|
3373
|
+
string;
|
|
3374
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3375
|
+
fields?:
|
|
3376
|
+
string;
|
|
3377
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3378
|
+
key?:
|
|
3379
|
+
string;
|
|
3380
|
+
/**
|
|
3381
|
+
* Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in
|
|
3382
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
|
|
3383
|
+
*/
|
|
3384
|
+
name:
|
|
3385
|
+
string;
|
|
3386
|
+
/** OAuth 2.0 token for the current user. */
|
|
3387
|
+
oauth_token?:
|
|
3388
|
+
string;
|
|
3389
|
+
/** Returns response with indentations and line breaks. */
|
|
3390
|
+
prettyPrint?:
|
|
3391
|
+
boolean;
|
|
3392
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3393
|
+
quotaUser?:
|
|
3394
|
+
string;
|
|
3395
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3396
|
+
upload_protocol?:
|
|
3397
|
+
string;
|
|
3398
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3399
|
+
uploadType?:
|
|
3400
|
+
string;
|
|
3401
|
+
},
|
|
3402
|
+
body: UndeletePrivateCloudRequest): Request<Operation>;
|
|
3403
|
+
clusters:
|
|
3404
|
+
ClustersResource;
|
|
3405
|
+
hcxActivationKeys:
|
|
3406
|
+
HcxActivationKeysResource;
|
|
3407
|
+
subnets:
|
|
3408
|
+
SubnetsResource;
|
|
3409
|
+
}
|
|
3410
|
+
interface PeeringRoutesResource {
|
|
3411
|
+
/** Lists the private connection routes exchanged over a peering connection. */
|
|
3412
|
+
list(request?: {
|
|
3413
|
+
/** V1 error format. */
|
|
3414
|
+
"$.xgafv"?:
|
|
3415
|
+
string;
|
|
3416
|
+
/** OAuth access token. */
|
|
3417
|
+
access_token?:
|
|
3418
|
+
string;
|
|
3419
|
+
/** Data format for response. */
|
|
3420
|
+
alt?:
|
|
3421
|
+
string;
|
|
3422
|
+
/** JSONP */
|
|
3423
|
+
callback?:
|
|
3424
|
+
string;
|
|
3425
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3426
|
+
fields?:
|
|
3427
|
+
string;
|
|
3428
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3429
|
+
key?:
|
|
3430
|
+
string;
|
|
3431
|
+
/** OAuth 2.0 token for the current user. */
|
|
3432
|
+
oauth_token?:
|
|
3433
|
+
string;
|
|
3434
|
+
/**
|
|
3435
|
+
* The maximum number of peering routes 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
|
|
3436
|
+
* is 500.
|
|
3437
|
+
*/
|
|
3438
|
+
pageSize?:
|
|
3439
|
+
number;
|
|
3440
|
+
/**
|
|
3441
|
+
* A page token, received from a previous `ListPrivateConnectionPeeringRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
3442
|
+
* `ListPrivateConnectionPeeringRoutes` must match the call that provided the page token.
|
|
3443
|
+
*/
|
|
3444
|
+
pageToken?:
|
|
3445
|
+
string;
|
|
3446
|
+
/**
|
|
3447
|
+
* Required. The resource name of the private connection to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in
|
|
3448
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-west1/privateConnections/my-connection`
|
|
3449
|
+
*/
|
|
3450
|
+
parent:
|
|
3451
|
+
string;
|
|
3452
|
+
/** Returns response with indentations and line breaks. */
|
|
3453
|
+
prettyPrint?:
|
|
3454
|
+
boolean;
|
|
3455
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3456
|
+
quotaUser?:
|
|
3457
|
+
string;
|
|
3458
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3459
|
+
upload_protocol?:
|
|
3460
|
+
string;
|
|
3461
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3462
|
+
uploadType?:
|
|
3463
|
+
string;
|
|
3464
|
+
}): Request<ListPrivateConnectionPeeringRoutesResponse>;
|
|
3465
|
+
}
|
|
3466
|
+
interface PrivateConnectionsResource {
|
|
3467
|
+
/** Creates a new private connection that can be used for accessing private Clouds. */
|
|
3468
|
+
create(request: {
|
|
3469
|
+
/** V1 error format. */
|
|
3470
|
+
"$.xgafv"?:
|
|
3471
|
+
string;
|
|
3472
|
+
/** OAuth access token. */
|
|
3473
|
+
access_token?:
|
|
3474
|
+
string;
|
|
3475
|
+
/** Data format for response. */
|
|
3476
|
+
alt?:
|
|
3477
|
+
string;
|
|
3478
|
+
/** JSONP */
|
|
3479
|
+
callback?:
|
|
3480
|
+
string;
|
|
3481
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3482
|
+
fields?:
|
|
3483
|
+
string;
|
|
3484
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3485
|
+
key?:
|
|
3486
|
+
string;
|
|
3487
|
+
/** OAuth 2.0 token for the current user. */
|
|
3488
|
+
oauth_token?:
|
|
3489
|
+
string;
|
|
3490
|
+
/**
|
|
3491
|
+
* Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. Resource names are schemeless URIs that follow
|
|
3492
|
+
* the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
|
|
3493
|
+
*/
|
|
3494
|
+
parent:
|
|
3495
|
+
string;
|
|
3496
|
+
/** Returns response with indentations and line breaks. */
|
|
3497
|
+
prettyPrint?:
|
|
3498
|
+
boolean;
|
|
3499
|
+
/**
|
|
3500
|
+
* Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection resources within the parent and becomes the final
|
|
3501
|
+
* 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 *
|
|
3502
|
+
* 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)
|
|
3503
|
+
*/
|
|
3504
|
+
privateConnectionId?:
|
|
3505
|
+
string;
|
|
3506
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3507
|
+
quotaUser?:
|
|
3508
|
+
string;
|
|
3509
|
+
/**
|
|
3510
|
+
* 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
|
|
3511
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
3512
|
+
* 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
|
|
3513
|
+
* 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
|
|
3514
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3515
|
+
*/
|
|
3516
|
+
requestId?:
|
|
3517
|
+
string;
|
|
3518
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3519
|
+
upload_protocol?:
|
|
3520
|
+
string;
|
|
3521
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3522
|
+
uploadType?:
|
|
3523
|
+
string;
|
|
3524
|
+
/** Request body */
|
|
3525
|
+
resource:
|
|
3526
|
+
PrivateConnection;
|
|
3527
|
+
}): Request<Operation>;
|
|
3528
|
+
create(request: {
|
|
3529
|
+
/** V1 error format. */
|
|
3530
|
+
"$.xgafv"?:
|
|
3531
|
+
string;
|
|
3532
|
+
/** OAuth access token. */
|
|
3533
|
+
access_token?:
|
|
3534
|
+
string;
|
|
3535
|
+
/** Data format for response. */
|
|
3536
|
+
alt?:
|
|
3537
|
+
string;
|
|
3538
|
+
/** JSONP */
|
|
3539
|
+
callback?:
|
|
3540
|
+
string;
|
|
3541
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3542
|
+
fields?:
|
|
3543
|
+
string;
|
|
3544
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3545
|
+
key?:
|
|
3546
|
+
string;
|
|
3547
|
+
/** OAuth 2.0 token for the current user. */
|
|
3548
|
+
oauth_token?:
|
|
3549
|
+
string;
|
|
3550
|
+
/**
|
|
3551
|
+
* Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. Resource names are schemeless URIs that follow
|
|
3552
|
+
* the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
|
|
3553
|
+
*/
|
|
3554
|
+
parent:
|
|
3555
|
+
string;
|
|
3556
|
+
/** Returns response with indentations and line breaks. */
|
|
3557
|
+
prettyPrint?:
|
|
3558
|
+
boolean;
|
|
3559
|
+
/**
|
|
3560
|
+
* Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection resources within the parent and becomes the final
|
|
3561
|
+
* 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 *
|
|
3562
|
+
* 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)
|
|
3563
|
+
*/
|
|
3564
|
+
privateConnectionId?:
|
|
3565
|
+
string;
|
|
3566
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3567
|
+
quotaUser?:
|
|
3568
|
+
string;
|
|
3569
|
+
/**
|
|
3570
|
+
* 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
|
|
3571
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
3572
|
+
* 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
|
|
3573
|
+
* 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
|
|
3574
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3575
|
+
*/
|
|
3576
|
+
requestId?:
|
|
3577
|
+
string;
|
|
3578
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3579
|
+
upload_protocol?:
|
|
3580
|
+
string;
|
|
3581
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3582
|
+
uploadType?:
|
|
3583
|
+
string;
|
|
3584
|
+
},
|
|
3585
|
+
body: PrivateConnection): Request<Operation>;
|
|
3586
|
+
/** Deletes a `PrivateConnection` resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network. */
|
|
3587
|
+
delete(request?: {
|
|
3588
|
+
/** V1 error format. */
|
|
3589
|
+
"$.xgafv"?:
|
|
3590
|
+
string;
|
|
3591
|
+
/** OAuth access token. */
|
|
3592
|
+
access_token?:
|
|
3593
|
+
string;
|
|
3594
|
+
/** Data format for response. */
|
|
3595
|
+
alt?:
|
|
3596
|
+
string;
|
|
3597
|
+
/** JSONP */
|
|
3598
|
+
callback?:
|
|
3599
|
+
string;
|
|
3600
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3601
|
+
fields?:
|
|
3602
|
+
string;
|
|
3603
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3604
|
+
key?:
|
|
3605
|
+
string;
|
|
3606
|
+
/**
|
|
3607
|
+
* Required. The resource name of the private connection to be deleted. Resource names are schemeless URIs that follow the conventions in
|
|
3608
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`
|
|
3609
|
+
*/
|
|
3610
|
+
name:
|
|
3611
|
+
string;
|
|
3612
|
+
/** OAuth 2.0 token for the current user. */
|
|
3613
|
+
oauth_token?:
|
|
3614
|
+
string;
|
|
3615
|
+
/** Returns response with indentations and line breaks. */
|
|
3616
|
+
prettyPrint?:
|
|
3617
|
+
boolean;
|
|
3618
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3619
|
+
quotaUser?:
|
|
3620
|
+
string;
|
|
3621
|
+
/**
|
|
3622
|
+
* 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
|
|
3623
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
3624
|
+
* 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
|
|
3625
|
+
* 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
|
|
3626
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3627
|
+
*/
|
|
3628
|
+
requestId?:
|
|
3629
|
+
string;
|
|
3630
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3631
|
+
upload_protocol?:
|
|
3632
|
+
string;
|
|
3633
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3634
|
+
uploadType?:
|
|
3635
|
+
string;
|
|
3636
|
+
}): Request<Operation>;
|
|
3637
|
+
/** Retrieves a `PrivateConnection` resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state. */
|
|
3638
|
+
get(request?: {
|
|
3639
|
+
/** V1 error format. */
|
|
3640
|
+
"$.xgafv"?:
|
|
3641
|
+
string;
|
|
3642
|
+
/** OAuth access token. */
|
|
3643
|
+
access_token?:
|
|
3644
|
+
string;
|
|
3645
|
+
/** Data format for response. */
|
|
3646
|
+
alt?:
|
|
3647
|
+
string;
|
|
3648
|
+
/** JSONP */
|
|
3649
|
+
callback?:
|
|
3650
|
+
string;
|
|
3651
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3652
|
+
fields?:
|
|
3653
|
+
string;
|
|
3654
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3655
|
+
key?:
|
|
3656
|
+
string;
|
|
3657
|
+
/**
|
|
3658
|
+
* Required. The resource name of the private connection to retrieve. Resource names are schemeless URIs that follow the conventions in
|
|
3659
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`
|
|
3660
|
+
*/
|
|
3661
|
+
name:
|
|
3662
|
+
string;
|
|
3663
|
+
/** OAuth 2.0 token for the current user. */
|
|
3664
|
+
oauth_token?:
|
|
3665
|
+
string;
|
|
3666
|
+
/** Returns response with indentations and line breaks. */
|
|
3667
|
+
prettyPrint?:
|
|
3668
|
+
boolean;
|
|
3669
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3670
|
+
quotaUser?:
|
|
3671
|
+
string;
|
|
3672
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3673
|
+
upload_protocol?:
|
|
3674
|
+
string;
|
|
3675
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3676
|
+
uploadType?:
|
|
3677
|
+
string;
|
|
3678
|
+
}): Request<PrivateConnection>;
|
|
3679
|
+
/** Lists `PrivateConnection` resources in a given project and location. */
|
|
3680
|
+
list(request?: {
|
|
3681
|
+
/** V1 error format. */
|
|
3682
|
+
"$.xgafv"?:
|
|
3683
|
+
string;
|
|
3684
|
+
/** OAuth access token. */
|
|
3685
|
+
access_token?:
|
|
3686
|
+
string;
|
|
3687
|
+
/** Data format for response. */
|
|
3688
|
+
alt?:
|
|
3689
|
+
string;
|
|
3690
|
+
/** JSONP */
|
|
3691
|
+
callback?:
|
|
3692
|
+
string;
|
|
3693
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3694
|
+
fields?:
|
|
3695
|
+
string;
|
|
3696
|
+
/**
|
|
3697
|
+
* 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
|
|
3698
|
+
* filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of private
|
|
3699
|
+
* connections, you can exclude the ones named `example-connection` by specifying `name != "example-connection"`. To filter on multiple expressions, provide each separate
|
|
3700
|
+
* expression within parentheses. For example: ``` (name = "example-connection") (createTime > "2022-09-22T08:15:10.40Z") ``` By default, each expression is an `AND` expression.
|
|
3701
|
+
* However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "example-connection-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name =
|
|
3702
|
+
* "example-connection-2") ```
|
|
3703
|
+
*/
|
|
3704
|
+
filter?:
|
|
3705
|
+
string;
|
|
3706
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3707
|
+
key?:
|
|
3708
|
+
string;
|
|
3709
|
+
/** OAuth 2.0 token for the current user. */
|
|
3710
|
+
oauth_token?:
|
|
3711
|
+
string;
|
|
3712
|
+
/**
|
|
3713
|
+
* 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`
|
|
3714
|
+
* value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
|
|
3715
|
+
*/
|
|
3716
|
+
orderBy?:
|
|
3717
|
+
string;
|
|
3718
|
+
/** The maximum number of private connections to return in one page. The maximum value is coerced to 1000. The default value of this field is 500. */
|
|
3719
|
+
pageSize?:
|
|
3720
|
+
number;
|
|
3721
|
+
/**
|
|
3722
|
+
* A page token, received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
3723
|
+
* `ListPrivateConnections` must match the call that provided the page token.
|
|
3724
|
+
*/
|
|
3725
|
+
pageToken?:
|
|
3726
|
+
string;
|
|
3727
|
+
/**
|
|
3728
|
+
* Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in
|
|
3729
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`
|
|
3730
|
+
*/
|
|
3731
|
+
parent:
|
|
3732
|
+
string;
|
|
3733
|
+
/** Returns response with indentations and line breaks. */
|
|
3734
|
+
prettyPrint?:
|
|
3735
|
+
boolean;
|
|
3736
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3737
|
+
quotaUser?:
|
|
3738
|
+
string;
|
|
3739
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3740
|
+
upload_protocol?:
|
|
3741
|
+
string;
|
|
3742
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3743
|
+
uploadType?:
|
|
3744
|
+
string;
|
|
3745
|
+
}): Request<ListPrivateConnectionsResponse>;
|
|
3746
|
+
/** Modifies a `PrivateConnection` resource. Only `description` and `routing_mode` fields can be updated. Only fields specified in `updateMask` are applied. */
|
|
3747
|
+
patch(request: {
|
|
3748
|
+
/** V1 error format. */
|
|
3749
|
+
"$.xgafv"?:
|
|
3750
|
+
string;
|
|
3751
|
+
/** OAuth access token. */
|
|
3752
|
+
access_token?:
|
|
3753
|
+
string;
|
|
3754
|
+
/** Data format for response. */
|
|
3755
|
+
alt?:
|
|
3756
|
+
string;
|
|
3757
|
+
/** JSONP */
|
|
3758
|
+
callback?:
|
|
3759
|
+
string;
|
|
3760
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3761
|
+
fields?:
|
|
3762
|
+
string;
|
|
3763
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3764
|
+
key?:
|
|
3765
|
+
string;
|
|
3766
|
+
/**
|
|
3767
|
+
* Output only. The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.
|
|
3768
|
+
* For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`
|
|
3769
|
+
*/
|
|
3770
|
+
name:
|
|
3771
|
+
string;
|
|
3772
|
+
/** OAuth 2.0 token for the current user. */
|
|
3773
|
+
oauth_token?:
|
|
3774
|
+
string;
|
|
3775
|
+
/** Returns response with indentations and line breaks. */
|
|
3776
|
+
prettyPrint?:
|
|
3777
|
+
boolean;
|
|
3778
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3779
|
+
quotaUser?:
|
|
3780
|
+
string;
|
|
3781
|
+
/**
|
|
3782
|
+
* 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
|
|
3783
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
3784
|
+
* 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
|
|
3785
|
+
* 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
|
|
3786
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3787
|
+
*/
|
|
3788
|
+
requestId?:
|
|
3789
|
+
string;
|
|
3790
|
+
/**
|
|
3791
|
+
* Required. Field mask is used to specify the fields to be overwritten in the `PrivateConnection` resource by the update. The fields specified in the `update_mask` are relative to
|
|
3792
|
+
* 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.
|
|
3793
|
+
*/
|
|
3794
|
+
updateMask?:
|
|
3795
|
+
string;
|
|
3796
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3797
|
+
upload_protocol?:
|
|
3798
|
+
string;
|
|
3799
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3800
|
+
uploadType?:
|
|
3801
|
+
string;
|
|
3802
|
+
/** Request body */
|
|
3803
|
+
resource:
|
|
3804
|
+
PrivateConnection;
|
|
3805
|
+
}): Request<Operation>;
|
|
3806
|
+
patch(request: {
|
|
3807
|
+
/** V1 error format. */
|
|
3808
|
+
"$.xgafv"?:
|
|
3809
|
+
string;
|
|
3810
|
+
/** OAuth access token. */
|
|
3811
|
+
access_token?:
|
|
3812
|
+
string;
|
|
3813
|
+
/** Data format for response. */
|
|
3814
|
+
alt?:
|
|
3815
|
+
string;
|
|
3816
|
+
/** JSONP */
|
|
3817
|
+
callback?:
|
|
3818
|
+
string;
|
|
3819
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3820
|
+
fields?:
|
|
3821
|
+
string;
|
|
3822
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3823
|
+
key?:
|
|
3824
|
+
string;
|
|
3825
|
+
/**
|
|
3826
|
+
* Output only. The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.
|
|
3827
|
+
* For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`
|
|
3828
|
+
*/
|
|
3829
|
+
name:
|
|
3830
|
+
string;
|
|
3831
|
+
/** OAuth 2.0 token for the current user. */
|
|
3832
|
+
oauth_token?:
|
|
3833
|
+
string;
|
|
3834
|
+
/** Returns response with indentations and line breaks. */
|
|
3835
|
+
prettyPrint?:
|
|
3836
|
+
boolean;
|
|
3837
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3838
|
+
quotaUser?:
|
|
3839
|
+
string;
|
|
3840
|
+
/**
|
|
3841
|
+
* 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
|
|
3842
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
3843
|
+
* 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
|
|
3844
|
+
* 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
|
|
3845
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3846
|
+
*/
|
|
3847
|
+
requestId?:
|
|
3848
|
+
string;
|
|
3849
|
+
/**
|
|
3850
|
+
* Required. Field mask is used to specify the fields to be overwritten in the `PrivateConnection` resource by the update. The fields specified in the `update_mask` are relative to
|
|
3851
|
+
* 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.
|
|
3852
|
+
*/
|
|
3853
|
+
updateMask?:
|
|
3854
|
+
string;
|
|
3855
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3856
|
+
upload_protocol?:
|
|
3857
|
+
string;
|
|
3858
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3859
|
+
uploadType?:
|
|
3860
|
+
string;
|
|
3861
|
+
},
|
|
3862
|
+
body: PrivateConnection): Request<Operation>;
|
|
3863
|
+
peeringRoutes:
|
|
3864
|
+
PeeringRoutesResource;
|
|
3865
|
+
}
|
|
3866
|
+
interface VmwareEngineNetworksResource {
|
|
3867
|
+
/** Creates a new VMware Engine network that can be used by a private cloud. */
|
|
3868
|
+
create(request: {
|
|
3869
|
+
/** V1 error format. */
|
|
3870
|
+
"$.xgafv"?:
|
|
3871
|
+
string;
|
|
3872
|
+
/** OAuth access token. */
|
|
3873
|
+
access_token?:
|
|
3874
|
+
string;
|
|
3875
|
+
/** Data format for response. */
|
|
3876
|
+
alt?:
|
|
3877
|
+
string;
|
|
3878
|
+
/** JSONP */
|
|
3879
|
+
callback?:
|
|
3880
|
+
string;
|
|
3881
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3882
|
+
fields?:
|
|
3883
|
+
string;
|
|
3884
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3885
|
+
key?:
|
|
3886
|
+
string;
|
|
3887
|
+
/** OAuth 2.0 token for the current user. */
|
|
3888
|
+
oauth_token?:
|
|
3889
|
+
string;
|
|
3890
|
+
/**
|
|
3891
|
+
* Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type `LEGACY` is a regional resource, and a VMware Engine
|
|
3892
|
+
* network of type `STANDARD` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
3893
|
+
* example: `projects/my-project/locations/global`
|
|
3894
|
+
*/
|
|
3895
|
+
parent:
|
|
3896
|
+
string;
|
|
3897
|
+
/** Returns response with indentations and line breaks. */
|
|
3898
|
+
prettyPrint?:
|
|
3899
|
+
boolean;
|
|
3900
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3901
|
+
quotaUser?:
|
|
3902
|
+
string;
|
|
3903
|
+
/**
|
|
3904
|
+
* 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
|
|
3905
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
3906
|
+
* 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
|
|
3907
|
+
* 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
|
|
3908
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3909
|
+
*/
|
|
3910
|
+
requestId?:
|
|
3911
|
+
string;
|
|
3912
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3913
|
+
upload_protocol?:
|
|
3914
|
+
string;
|
|
3915
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3916
|
+
uploadType?:
|
|
3917
|
+
string;
|
|
3918
|
+
/**
|
|
3919
|
+
* Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the
|
|
3920
|
+
* final token in the name URI. The identifier must meet the following requirements: * For networks of type LEGACY, adheres to the format: `{region-id}-default`. Replace
|
|
3921
|
+
* `{region-id}` with the region where you want to create the VMware Engine network. For example, "us-central1-default". * Only contains 1-63 alphanumeric characters and hyphens *
|
|
3922
|
+
* 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)
|
|
3923
|
+
* (section 3.5)
|
|
3924
|
+
*/
|
|
3925
|
+
vmwareEngineNetworkId?:
|
|
3926
|
+
string;
|
|
3927
|
+
/** Request body */
|
|
3928
|
+
resource:
|
|
3929
|
+
VmwareEngineNetwork;
|
|
3930
|
+
}): Request<Operation>;
|
|
3931
|
+
create(request: {
|
|
3932
|
+
/** V1 error format. */
|
|
3933
|
+
"$.xgafv"?:
|
|
3934
|
+
string;
|
|
3935
|
+
/** OAuth access token. */
|
|
3936
|
+
access_token?:
|
|
3937
|
+
string;
|
|
3938
|
+
/** Data format for response. */
|
|
3939
|
+
alt?:
|
|
3940
|
+
string;
|
|
3941
|
+
/** JSONP */
|
|
3942
|
+
callback?:
|
|
3943
|
+
string;
|
|
3944
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3945
|
+
fields?:
|
|
3946
|
+
string;
|
|
3947
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3948
|
+
key?:
|
|
3949
|
+
string;
|
|
3950
|
+
/** OAuth 2.0 token for the current user. */
|
|
3951
|
+
oauth_token?:
|
|
3952
|
+
string;
|
|
3953
|
+
/**
|
|
3954
|
+
* Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type `LEGACY` is a regional resource, and a VMware Engine
|
|
3955
|
+
* network of type `STANDARD` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
|
|
3956
|
+
* example: `projects/my-project/locations/global`
|
|
3957
|
+
*/
|
|
3958
|
+
parent:
|
|
3959
|
+
string;
|
|
3960
|
+
/** Returns response with indentations and line breaks. */
|
|
3961
|
+
prettyPrint?:
|
|
3962
|
+
boolean;
|
|
3963
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3964
|
+
quotaUser?:
|
|
3965
|
+
string;
|
|
3966
|
+
/**
|
|
3967
|
+
* 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
|
|
3968
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
3969
|
+
* 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
|
|
3970
|
+
* 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
|
|
3971
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3972
|
+
*/
|
|
3973
|
+
requestId?:
|
|
3974
|
+
string;
|
|
3975
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3976
|
+
upload_protocol?:
|
|
3977
|
+
string;
|
|
3978
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3979
|
+
uploadType?:
|
|
3980
|
+
string;
|
|
3981
|
+
/**
|
|
3982
|
+
* Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the
|
|
3983
|
+
* final token in the name URI. The identifier must meet the following requirements: * For networks of type LEGACY, adheres to the format: `{region-id}-default`. Replace
|
|
3984
|
+
* `{region-id}` with the region where you want to create the VMware Engine network. For example, "us-central1-default". * Only contains 1-63 alphanumeric characters and hyphens *
|
|
3985
|
+
* 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)
|
|
3986
|
+
* (section 3.5)
|
|
3987
|
+
*/
|
|
3988
|
+
vmwareEngineNetworkId?:
|
|
3989
|
+
string;
|
|
3990
|
+
},
|
|
3991
|
+
body: VmwareEngineNetwork): Request<Operation>;
|
|
3992
|
+
/**
|
|
3993
|
+
* Deletes a `VmwareEngineNetwork` resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network
|
|
3994
|
+
* peering, and a network policy can all refer to the same VMware Engine network.
|
|
3995
|
+
*/
|
|
3996
|
+
delete(request?: {
|
|
3997
|
+
/** V1 error format. */
|
|
3998
|
+
"$.xgafv"?:
|
|
3999
|
+
string;
|
|
4000
|
+
/** OAuth access token. */
|
|
4001
|
+
access_token?:
|
|
4002
|
+
string;
|
|
4003
|
+
/** Data format for response. */
|
|
4004
|
+
alt?:
|
|
4005
|
+
string;
|
|
4006
|
+
/** JSONP */
|
|
4007
|
+
callback?:
|
|
4008
|
+
string;
|
|
4009
|
+
/**
|
|
4010
|
+
* 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
|
|
4011
|
+
* checksum of the resource. If the user-provided value is out of date, this request returns an `ABORTED` error.
|
|
4012
|
+
*/
|
|
4013
|
+
etag?:
|
|
4014
|
+
string;
|
|
4015
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4016
|
+
fields?:
|
|
4017
|
+
string;
|
|
4018
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4019
|
+
key?:
|
|
4020
|
+
string;
|
|
4021
|
+
/**
|
|
4022
|
+
* Required. The resource name of the VMware Engine network to be deleted. Resource names are schemeless URIs that follow the conventions in
|
|
4023
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`
|
|
4024
|
+
*/
|
|
4025
|
+
name:
|
|
4026
|
+
string;
|
|
4027
|
+
/** OAuth 2.0 token for the current user. */
|
|
4028
|
+
oauth_token?:
|
|
4029
|
+
string;
|
|
4030
|
+
/** Returns response with indentations and line breaks. */
|
|
4031
|
+
prettyPrint?:
|
|
4032
|
+
boolean;
|
|
4033
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4034
|
+
quotaUser?:
|
|
4035
|
+
string;
|
|
4036
|
+
/**
|
|
4037
|
+
* 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
|
|
4038
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
4039
|
+
* 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
|
|
4040
|
+
* 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
|
|
4041
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4042
|
+
*/
|
|
4043
|
+
requestId?:
|
|
4044
|
+
string;
|
|
4045
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4046
|
+
upload_protocol?:
|
|
4047
|
+
string;
|
|
4048
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4049
|
+
uploadType?:
|
|
4050
|
+
string;
|
|
4051
|
+
}): Request<Operation>;
|
|
4052
|
+
/**
|
|
4053
|
+
* Retrieves a `VmwareEngineNetwork` resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks
|
|
4054
|
+
* in a service project, and state (for example, `CREATING`, `ACTIVE`, `DELETING`).
|
|
4055
|
+
*/
|
|
4056
|
+
get(request?: {
|
|
4057
|
+
/** V1 error format. */
|
|
4058
|
+
"$.xgafv"?:
|
|
4059
|
+
string;
|
|
4060
|
+
/** OAuth access token. */
|
|
4061
|
+
access_token?:
|
|
4062
|
+
string;
|
|
4063
|
+
/** Data format for response. */
|
|
4064
|
+
alt?:
|
|
4065
|
+
string;
|
|
4066
|
+
/** JSONP */
|
|
4067
|
+
callback?:
|
|
4068
|
+
string;
|
|
4069
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4070
|
+
fields?:
|
|
4071
|
+
string;
|
|
4072
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4073
|
+
key?:
|
|
4074
|
+
string;
|
|
4075
|
+
/**
|
|
4076
|
+
* Required. The resource name of the VMware Engine network to retrieve. Resource names are schemeless URIs that follow the conventions in
|
|
4077
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`
|
|
4078
|
+
*/
|
|
4079
|
+
name:
|
|
4080
|
+
string;
|
|
4081
|
+
/** OAuth 2.0 token for the current user. */
|
|
4082
|
+
oauth_token?:
|
|
4083
|
+
string;
|
|
4084
|
+
/** Returns response with indentations and line breaks. */
|
|
4085
|
+
prettyPrint?:
|
|
4086
|
+
boolean;
|
|
4087
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4088
|
+
quotaUser?:
|
|
4089
|
+
string;
|
|
4090
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4091
|
+
upload_protocol?:
|
|
4092
|
+
string;
|
|
4093
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4094
|
+
uploadType?:
|
|
4095
|
+
string;
|
|
4096
|
+
}): Request<VmwareEngineNetwork>;
|
|
4097
|
+
/** Lists `VmwareEngineNetwork` resources in a given project and location. */
|
|
4098
|
+
list(request?: {
|
|
4099
|
+
/** V1 error format. */
|
|
4100
|
+
"$.xgafv"?:
|
|
4101
|
+
string;
|
|
4102
|
+
/** OAuth access token. */
|
|
4103
|
+
access_token?:
|
|
4104
|
+
string;
|
|
4105
|
+
/** Data format for response. */
|
|
4106
|
+
alt?:
|
|
4107
|
+
string;
|
|
4108
|
+
/** JSONP */
|
|
4109
|
+
callback?:
|
|
4110
|
+
string;
|
|
4111
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4112
|
+
fields?:
|
|
4113
|
+
string;
|
|
4114
|
+
/**
|
|
4115
|
+
* 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
|
|
4116
|
+
* filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of network
|
|
4117
|
+
* peerings, you can exclude the ones named `example-network` by specifying `name != "example-network"`. To filter on multiple expressions, provide each separate expression within
|
|
4118
|
+
* parentheses. For example: ``` (name = "example-network") (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can
|
|
4119
|
+
* include `AND` and `OR` expressions explicitly. For example: ``` (name = "example-network-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-network-2") ```
|
|
4120
|
+
*/
|
|
4121
|
+
filter?:
|
|
4122
|
+
string;
|
|
4123
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4124
|
+
key?:
|
|
4125
|
+
string;
|
|
4126
|
+
/** OAuth 2.0 token for the current user. */
|
|
4127
|
+
oauth_token?:
|
|
4128
|
+
string;
|
|
4129
|
+
/**
|
|
4130
|
+
* 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`
|
|
4131
|
+
* value using `orderBy="name desc"`. Currently, only ordering by `name` is supported.
|
|
4132
|
+
*/
|
|
4133
|
+
orderBy?:
|
|
4134
|
+
string;
|
|
4135
|
+
/** The maximum number of results to return in one page. The maximum value is coerced to 1000. The default value of this field is 500. */
|
|
4136
|
+
pageSize?:
|
|
4137
|
+
number;
|
|
4138
|
+
/**
|
|
4139
|
+
* A page token, received from a previous `ListVmwareEngineNetworks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
4140
|
+
* `ListVmwareEngineNetworks` must match the call that provided the page token.
|
|
4141
|
+
*/
|
|
4142
|
+
pageToken?:
|
|
4143
|
+
string;
|
|
4144
|
+
/**
|
|
4145
|
+
* Required. The resource name of the location to query for VMware Engine networks. Resource names are schemeless URIs that follow the conventions in
|
|
4146
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`
|
|
4147
|
+
*/
|
|
4148
|
+
parent:
|
|
4149
|
+
string;
|
|
4150
|
+
/** Returns response with indentations and line breaks. */
|
|
4151
|
+
prettyPrint?:
|
|
4152
|
+
boolean;
|
|
4153
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4154
|
+
quotaUser?:
|
|
4155
|
+
string;
|
|
4156
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4157
|
+
upload_protocol?:
|
|
4158
|
+
string;
|
|
4159
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4160
|
+
uploadType?:
|
|
4161
|
+
string;
|
|
4162
|
+
}): Request<ListVmwareEngineNetworksResponse>;
|
|
4163
|
+
/** Modifies a VMware Engine network resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied. */
|
|
4164
|
+
patch(request: {
|
|
4165
|
+
/** V1 error format. */
|
|
4166
|
+
"$.xgafv"?:
|
|
4167
|
+
string;
|
|
4168
|
+
/** OAuth access token. */
|
|
4169
|
+
access_token?:
|
|
4170
|
+
string;
|
|
4171
|
+
/** Data format for response. */
|
|
4172
|
+
alt?:
|
|
4173
|
+
string;
|
|
4174
|
+
/** JSONP */
|
|
4175
|
+
callback?:
|
|
4176
|
+
string;
|
|
4177
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4178
|
+
fields?:
|
|
4179
|
+
string;
|
|
4180
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4181
|
+
key?:
|
|
4182
|
+
string;
|
|
4183
|
+
/**
|
|
4184
|
+
* Output only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in
|
|
4185
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`
|
|
4186
|
+
*/
|
|
4187
|
+
name:
|
|
4188
|
+
string;
|
|
4189
|
+
/** OAuth 2.0 token for the current user. */
|
|
4190
|
+
oauth_token?:
|
|
4191
|
+
string;
|
|
4192
|
+
/** Returns response with indentations and line breaks. */
|
|
4193
|
+
prettyPrint?:
|
|
4194
|
+
boolean;
|
|
4195
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4196
|
+
quotaUser?:
|
|
4197
|
+
string;
|
|
4198
|
+
/**
|
|
4199
|
+
* 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
|
|
4200
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
4201
|
+
* 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
|
|
4202
|
+
* 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
|
|
4203
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4204
|
+
*/
|
|
4205
|
+
requestId?:
|
|
4206
|
+
string;
|
|
4207
|
+
/**
|
|
4208
|
+
* Required. Field mask is used to specify the fields to be overwritten in the VMware Engine network resource by the update. The fields specified in the `update_mask` are relative
|
|
4209
|
+
* 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. Only the
|
|
4210
|
+
* following fields can be updated: `description`.
|
|
4211
|
+
*/
|
|
4212
|
+
updateMask?:
|
|
4213
|
+
string;
|
|
4214
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4215
|
+
upload_protocol?:
|
|
4216
|
+
string;
|
|
4217
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4218
|
+
uploadType?:
|
|
4219
|
+
string;
|
|
4220
|
+
/** Request body */
|
|
4221
|
+
resource:
|
|
4222
|
+
VmwareEngineNetwork;
|
|
4223
|
+
}): Request<Operation>;
|
|
4224
|
+
patch(request: {
|
|
4225
|
+
/** V1 error format. */
|
|
4226
|
+
"$.xgafv"?:
|
|
4227
|
+
string;
|
|
4228
|
+
/** OAuth access token. */
|
|
4229
|
+
access_token?:
|
|
4230
|
+
string;
|
|
4231
|
+
/** Data format for response. */
|
|
4232
|
+
alt?:
|
|
4233
|
+
string;
|
|
4234
|
+
/** JSONP */
|
|
4235
|
+
callback?:
|
|
4236
|
+
string;
|
|
4237
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4238
|
+
fields?:
|
|
4239
|
+
string;
|
|
4240
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4241
|
+
key?:
|
|
4242
|
+
string;
|
|
4243
|
+
/**
|
|
4244
|
+
* Output only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in
|
|
4245
|
+
* https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`
|
|
4246
|
+
*/
|
|
4247
|
+
name:
|
|
4248
|
+
string;
|
|
4249
|
+
/** OAuth 2.0 token for the current user. */
|
|
4250
|
+
oauth_token?:
|
|
4251
|
+
string;
|
|
4252
|
+
/** Returns response with indentations and line breaks. */
|
|
4253
|
+
prettyPrint?:
|
|
4254
|
+
boolean;
|
|
4255
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4256
|
+
quotaUser?:
|
|
4257
|
+
string;
|
|
4258
|
+
/**
|
|
4259
|
+
* 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
|
|
4260
|
+
* been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
|
|
4261
|
+
* 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
|
|
4262
|
+
* 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
|
|
4263
|
+
* exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
4264
|
+
*/
|
|
4265
|
+
requestId?:
|
|
4266
|
+
string;
|
|
4267
|
+
/**
|
|
4268
|
+
* Required. Field mask is used to specify the fields to be overwritten in the VMware Engine network resource by the update. The fields specified in the `update_mask` are relative
|
|
4269
|
+
* 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. Only the
|
|
4270
|
+
* following fields can be updated: `description`.
|
|
4271
|
+
*/
|
|
4272
|
+
updateMask?:
|
|
4273
|
+
string;
|
|
4274
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4275
|
+
upload_protocol?:
|
|
4276
|
+
string;
|
|
4277
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4278
|
+
uploadType?:
|
|
4279
|
+
string;
|
|
4280
|
+
},
|
|
4281
|
+
body: VmwareEngineNetwork): Request<Operation>;
|
|
4282
|
+
}
|
|
4283
|
+
interface LocationsResource {
|
|
4284
|
+
/** Gets information about a location. */
|
|
4285
|
+
get(request?: {
|
|
4286
|
+
/** V1 error format. */
|
|
4287
|
+
"$.xgafv"?:
|
|
4288
|
+
string;
|
|
4289
|
+
/** OAuth access token. */
|
|
4290
|
+
access_token?:
|
|
4291
|
+
string;
|
|
4292
|
+
/** Data format for response. */
|
|
4293
|
+
alt?:
|
|
4294
|
+
string;
|
|
4295
|
+
/** JSONP */
|
|
4296
|
+
callback?:
|
|
4297
|
+
string;
|
|
4298
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4299
|
+
fields?:
|
|
4300
|
+
string;
|
|
4301
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4302
|
+
key?:
|
|
4303
|
+
string;
|
|
4304
|
+
/** Resource name for the location. */
|
|
4305
|
+
name:
|
|
4306
|
+
string;
|
|
4307
|
+
/** OAuth 2.0 token for the current user. */
|
|
4308
|
+
oauth_token?:
|
|
4309
|
+
string;
|
|
4310
|
+
/** Returns response with indentations and line breaks. */
|
|
4311
|
+
prettyPrint?:
|
|
4312
|
+
boolean;
|
|
4313
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4314
|
+
quotaUser?:
|
|
4315
|
+
string;
|
|
4316
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4317
|
+
upload_protocol?:
|
|
4318
|
+
string;
|
|
4319
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4320
|
+
uploadType?:
|
|
4321
|
+
string;
|
|
4322
|
+
}): Request<Location>;
|
|
4323
|
+
/** Lists information about the supported locations for this service. */
|
|
4324
|
+
list(request?: {
|
|
4325
|
+
/** V1 error format. */
|
|
4326
|
+
"$.xgafv"?:
|
|
4327
|
+
string;
|
|
4328
|
+
/** OAuth access token. */
|
|
4329
|
+
access_token?:
|
|
4330
|
+
string;
|
|
4331
|
+
/** Data format for response. */
|
|
4332
|
+
alt?:
|
|
4333
|
+
string;
|
|
4334
|
+
/** JSONP */
|
|
4335
|
+
callback?:
|
|
4336
|
+
string;
|
|
4337
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4338
|
+
fields?:
|
|
4339
|
+
string;
|
|
4340
|
+
/**
|
|
4341
|
+
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
|
|
4342
|
+
* [AIP-160](https://google.aip.dev/160).
|
|
4343
|
+
*/
|
|
4344
|
+
filter?:
|
|
4345
|
+
string;
|
|
4346
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4347
|
+
key?:
|
|
4348
|
+
string;
|
|
4349
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
4350
|
+
name:
|
|
4351
|
+
string;
|
|
4352
|
+
/** OAuth 2.0 token for the current user. */
|
|
4353
|
+
oauth_token?:
|
|
4354
|
+
string;
|
|
4355
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
4356
|
+
pageSize?:
|
|
4357
|
+
number;
|
|
4358
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
4359
|
+
pageToken?:
|
|
4360
|
+
string;
|
|
4361
|
+
/** Returns response with indentations and line breaks. */
|
|
4362
|
+
prettyPrint?:
|
|
4363
|
+
boolean;
|
|
4364
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4365
|
+
quotaUser?:
|
|
4366
|
+
string;
|
|
4367
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4368
|
+
upload_protocol?:
|
|
4369
|
+
string;
|
|
4370
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4371
|
+
uploadType?:
|
|
4372
|
+
string;
|
|
4373
|
+
}): Request<ListLocationsResponse>;
|
|
4374
|
+
networkPolicies:
|
|
4375
|
+
NetworkPoliciesResource;
|
|
4376
|
+
nodeTypes:
|
|
4377
|
+
NodeTypesResource;
|
|
4378
|
+
operations:
|
|
4379
|
+
OperationsResource;
|
|
4380
|
+
privateClouds:
|
|
4381
|
+
PrivateCloudsResource;
|
|
4382
|
+
privateConnections:
|
|
4383
|
+
PrivateConnectionsResource;
|
|
4384
|
+
vmwareEngineNetworks:
|
|
4385
|
+
VmwareEngineNetworksResource;
|
|
4386
|
+
}
|
|
4387
|
+
interface ProjectsResource {
|
|
4388
|
+
locations:
|
|
4389
|
+
LocationsResource;
|
|
4390
|
+
}
|
|
4391
|
+
|
|
4392
|
+
const projects: ProjectsResource;
|
|
4393
|
+
}
|
|
4394
|
+
}
|