@maxim_mazurok/gapi.client.metastore-v1alpha 0.0.20220809
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 +2359 -0
- package/package.json +20 -0
- package/readme.md +68 -0
- package/tests.ts +815 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,2359 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Dataproc Metastore API v1alpha 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/dataproc-metastore/docs
|
|
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
|
+
// TypeScript Version: 2.8
|
|
8
|
+
|
|
9
|
+
// IMPORTANT
|
|
10
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
|
+
// Generated from: https://metastore.googleapis.com/$discovery/rest?version=v1alpha
|
|
13
|
+
// Revision: 20220809
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Dataproc Metastore API v1alpha */
|
|
19
|
+
function load(urlOrObject: "https://metastore.googleapis.com/$discovery/rest?version=v1alpha"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "metastore", version: "v1alpha"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "metastore", version: "v1alpha", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace metastore {
|
|
26
|
+
interface AuditConfig {
|
|
27
|
+
/** The configuration for logging of each type of permission. */
|
|
28
|
+
auditLogConfigs?: AuditLogConfig[];
|
|
29
|
+
/** Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. */
|
|
30
|
+
service?: string;
|
|
31
|
+
}
|
|
32
|
+
interface AuditLogConfig {
|
|
33
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
34
|
+
exemptedMembers?: string[];
|
|
35
|
+
/** The log type that this config enables. */
|
|
36
|
+
logType?: string;
|
|
37
|
+
}
|
|
38
|
+
interface AuxiliaryVersionConfig {
|
|
39
|
+
/**
|
|
40
|
+
* A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If
|
|
41
|
+
* keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
|
|
42
|
+
*/
|
|
43
|
+
configOverrides?: { [P in string]: string };
|
|
44
|
+
/** Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service. */
|
|
45
|
+
networkConfig?: NetworkConfig;
|
|
46
|
+
/** The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version. */
|
|
47
|
+
version?: string;
|
|
48
|
+
}
|
|
49
|
+
interface BackendMetastore {
|
|
50
|
+
/** The type of the backend metastore. */
|
|
51
|
+
metastoreType?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: Dataplex:
|
|
54
|
+
* projects/{project_id}/locations/{location}/lakes/{lake_id} BigQuery: projects/{project_id} Dataproc Metastore: projects/{project_id}/locations/{location}/services/{service_id}
|
|
55
|
+
*/
|
|
56
|
+
name?: string;
|
|
57
|
+
}
|
|
58
|
+
interface Backup {
|
|
59
|
+
/** Output only. The time when the backup was started. */
|
|
60
|
+
createTime?: string;
|
|
61
|
+
/** The description of the backup. */
|
|
62
|
+
description?: string;
|
|
63
|
+
/** Output only. The time when the backup finished creating. */
|
|
64
|
+
endTime?: string;
|
|
65
|
+
/** Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id} */
|
|
66
|
+
name?: string;
|
|
67
|
+
/** Output only. Services that are restoring from the backup. */
|
|
68
|
+
restoringServices?: string[];
|
|
69
|
+
/** Output only. The revision of the service at the time of backup. */
|
|
70
|
+
serviceRevision?: Service;
|
|
71
|
+
/** Output only. The current state of the backup. */
|
|
72
|
+
state?: string;
|
|
73
|
+
}
|
|
74
|
+
interface Binding {
|
|
75
|
+
/**
|
|
76
|
+
* The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then
|
|
77
|
+
* 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
|
|
78
|
+
* resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
79
|
+
*/
|
|
80
|
+
condition?: Expr;
|
|
81
|
+
/**
|
|
82
|
+
* Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the
|
|
83
|
+
* internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
|
84
|
+
* user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google
|
|
85
|
+
* service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service
|
|
86
|
+
* account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:{emailid}: An
|
|
87
|
+
* email address that represents a Google group. For example, admins@example.com. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user
|
|
88
|
+
* that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user
|
|
89
|
+
* retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently
|
|
90
|
+
* deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the
|
|
91
|
+
* undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has
|
|
92
|
+
* been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains
|
|
93
|
+
* the role in the binding. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.
|
|
94
|
+
*/
|
|
95
|
+
members?: string[];
|
|
96
|
+
/** Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner. */
|
|
97
|
+
role?: string;
|
|
98
|
+
}
|
|
99
|
+
interface Consumer {
|
|
100
|
+
/** Output only. The URI of the endpoint used to access the metastore service. */
|
|
101
|
+
endpointUri?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all
|
|
104
|
+
* hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following
|
|
105
|
+
* form:`projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
|
|
106
|
+
*/
|
|
107
|
+
subnetwork?: string;
|
|
108
|
+
}
|
|
109
|
+
interface DatabaseDump {
|
|
110
|
+
/** The type of the database. */
|
|
111
|
+
databaseType?: string;
|
|
112
|
+
/** A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://. */
|
|
113
|
+
gcsUri?: string;
|
|
114
|
+
/** The name of the source database. */
|
|
115
|
+
sourceDatabase?: string;
|
|
116
|
+
/** Optional. The type of the database dump. If unspecified, defaults to MYSQL. */
|
|
117
|
+
type?: string;
|
|
118
|
+
}
|
|
119
|
+
interface DataCatalogConfig {
|
|
120
|
+
/** Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog. */
|
|
121
|
+
enabled?: boolean;
|
|
122
|
+
}
|
|
123
|
+
interface DataplexConfig {
|
|
124
|
+
/**
|
|
125
|
+
* A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example:
|
|
126
|
+
* projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
|
|
127
|
+
*/
|
|
128
|
+
lakeResources?: { [P in string]: Lake };
|
|
129
|
+
}
|
|
130
|
+
// tslint:disable-next-line:no-empty-interface
|
|
131
|
+
interface Empty {
|
|
132
|
+
}
|
|
133
|
+
interface EncryptionConfig {
|
|
134
|
+
/**
|
|
135
|
+
* The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following
|
|
136
|
+
* form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.
|
|
137
|
+
*/
|
|
138
|
+
kmsKey?: string;
|
|
139
|
+
}
|
|
140
|
+
interface ExportMetadataRequest {
|
|
141
|
+
/** Optional. The type of the database dump. If unspecified, defaults to MYSQL. */
|
|
142
|
+
databaseDumpType?: string;
|
|
143
|
+
/** A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing exported files will be created below it. */
|
|
144
|
+
destinationGcsFolder?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
147
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server
|
|
148
|
+
* ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
|
|
149
|
+
* A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
150
|
+
*/
|
|
151
|
+
requestId?: string;
|
|
152
|
+
}
|
|
153
|
+
interface Expr {
|
|
154
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
155
|
+
description?: string;
|
|
156
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
157
|
+
expression?: string;
|
|
158
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
159
|
+
location?: string;
|
|
160
|
+
/** 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. */
|
|
161
|
+
title?: string;
|
|
162
|
+
}
|
|
163
|
+
interface Federation {
|
|
164
|
+
/**
|
|
165
|
+
* A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores
|
|
166
|
+
* should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a
|
|
167
|
+
* BackendMetastore with a higher number.
|
|
168
|
+
*/
|
|
169
|
+
backendMetastores?: { [P in string]: BackendMetastore };
|
|
170
|
+
/** Output only. The time when the metastore federation was created. */
|
|
171
|
+
createTime?: string;
|
|
172
|
+
/** Output only. The federation endpoint. */
|
|
173
|
+
endpointUri?: string;
|
|
174
|
+
/** User-defined labels for the metastore federation. */
|
|
175
|
+
labels?: { [P in string]: string };
|
|
176
|
+
/** Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`. */
|
|
177
|
+
name?: string;
|
|
178
|
+
/** Output only. The current state of the federation. */
|
|
179
|
+
state?: string;
|
|
180
|
+
/** Output only. Additional information about the current state of the metastore federation, if available. */
|
|
181
|
+
stateMessage?: string;
|
|
182
|
+
/** Output only. The globally unique resource identifier of the metastore federation. */
|
|
183
|
+
uid?: string;
|
|
184
|
+
/** Output only. The time when the metastore federation was last updated. */
|
|
185
|
+
updateTime?: string;
|
|
186
|
+
/** Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version. */
|
|
187
|
+
version?: string;
|
|
188
|
+
}
|
|
189
|
+
interface HiveMetastoreConfig {
|
|
190
|
+
/**
|
|
191
|
+
* A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All
|
|
192
|
+
* auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first
|
|
193
|
+
* character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
|
|
194
|
+
*/
|
|
195
|
+
auxiliaryVersions?: { [P in string]: AuxiliaryVersionConfig };
|
|
196
|
+
/**
|
|
197
|
+
* A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be
|
|
198
|
+
* overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.
|
|
199
|
+
*/
|
|
200
|
+
configOverrides?: { [P in string]: string };
|
|
201
|
+
/** The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT. */
|
|
202
|
+
endpointProtocol?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the UpdateService method and specify this field's path
|
|
205
|
+
* (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service.
|
|
206
|
+
*/
|
|
207
|
+
kerberosConfig?: KerberosConfig;
|
|
208
|
+
/** Immutable. The Hive metastore schema version. */
|
|
209
|
+
version?: string;
|
|
210
|
+
}
|
|
211
|
+
interface HiveMetastoreVersion {
|
|
212
|
+
/** Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version. */
|
|
213
|
+
isDefault?: boolean;
|
|
214
|
+
/** The semantic version of the Hive Metastore software. */
|
|
215
|
+
version?: string;
|
|
216
|
+
}
|
|
217
|
+
interface KerberosConfig {
|
|
218
|
+
/** A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). */
|
|
219
|
+
keytab?: Secret;
|
|
220
|
+
/**
|
|
221
|
+
* A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form gs://{bucket_name}/path/to/krb5.conf, although the file does not need to be named krb5.conf
|
|
222
|
+
* explicitly.
|
|
223
|
+
*/
|
|
224
|
+
krb5ConfigGcsUri?: string;
|
|
225
|
+
/** A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form primary/instance@REALM, but there is no exact format. */
|
|
226
|
+
principal?: string;
|
|
227
|
+
}
|
|
228
|
+
interface Lake {
|
|
229
|
+
/** The Lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id} */
|
|
230
|
+
name?: string;
|
|
231
|
+
}
|
|
232
|
+
interface ListBackupsResponse {
|
|
233
|
+
/** The backups of the specified service. */
|
|
234
|
+
backups?: Backup[];
|
|
235
|
+
/** A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
236
|
+
nextPageToken?: string;
|
|
237
|
+
/** Locations that could not be reached. */
|
|
238
|
+
unreachable?: string[];
|
|
239
|
+
}
|
|
240
|
+
interface ListFederationsResponse {
|
|
241
|
+
/** The services in the specified location. */
|
|
242
|
+
federations?: Federation[];
|
|
243
|
+
/** A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
244
|
+
nextPageToken?: string;
|
|
245
|
+
/** Locations that could not be reached. */
|
|
246
|
+
unreachable?: string[];
|
|
247
|
+
}
|
|
248
|
+
interface ListLocationsResponse {
|
|
249
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
250
|
+
locations?: Location[];
|
|
251
|
+
/** The standard List next-page token. */
|
|
252
|
+
nextPageToken?: string;
|
|
253
|
+
}
|
|
254
|
+
interface ListMetadataImportsResponse {
|
|
255
|
+
/** The imports in the specified service. */
|
|
256
|
+
metadataImports?: MetadataImport[];
|
|
257
|
+
/** A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
258
|
+
nextPageToken?: string;
|
|
259
|
+
/** Locations that could not be reached. */
|
|
260
|
+
unreachable?: string[];
|
|
261
|
+
}
|
|
262
|
+
interface ListOperationsResponse {
|
|
263
|
+
/** The standard List next-page token. */
|
|
264
|
+
nextPageToken?: string;
|
|
265
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
266
|
+
operations?: Operation[];
|
|
267
|
+
}
|
|
268
|
+
interface ListServicesResponse {
|
|
269
|
+
/** A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
270
|
+
nextPageToken?: string;
|
|
271
|
+
/** The services in the specified location. */
|
|
272
|
+
services?: Service[];
|
|
273
|
+
/** Locations that could not be reached. */
|
|
274
|
+
unreachable?: string[];
|
|
275
|
+
}
|
|
276
|
+
interface Location {
|
|
277
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
278
|
+
displayName?: string;
|
|
279
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
280
|
+
labels?: { [P in string]: string };
|
|
281
|
+
/** The canonical id for this location. For example: "us-east1". */
|
|
282
|
+
locationId?: string;
|
|
283
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
284
|
+
metadata?: { [P in string]: any };
|
|
285
|
+
/** Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1" */
|
|
286
|
+
name?: string;
|
|
287
|
+
}
|
|
288
|
+
interface LocationMetadata {
|
|
289
|
+
/**
|
|
290
|
+
* The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will
|
|
291
|
+
* set is_default.
|
|
292
|
+
*/
|
|
293
|
+
supportedHiveMetastoreVersions?: HiveMetastoreVersion[];
|
|
294
|
+
}
|
|
295
|
+
interface MaintenanceWindow {
|
|
296
|
+
/** The day of week, when the window starts. */
|
|
297
|
+
dayOfWeek?: string;
|
|
298
|
+
/** The hour of day (0-23) when the window starts. */
|
|
299
|
+
hourOfDay?: number;
|
|
300
|
+
}
|
|
301
|
+
interface MetadataExport {
|
|
302
|
+
/** Output only. The type of the database dump. */
|
|
303
|
+
databaseDumpType?: string;
|
|
304
|
+
/** Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs:////, where is automatically generated. */
|
|
305
|
+
destinationGcsUri?: string;
|
|
306
|
+
/** Output only. The time when the export ended. */
|
|
307
|
+
endTime?: string;
|
|
308
|
+
/** Output only. The time when the export started. */
|
|
309
|
+
startTime?: string;
|
|
310
|
+
/** Output only. The current state of the export. */
|
|
311
|
+
state?: string;
|
|
312
|
+
}
|
|
313
|
+
interface MetadataImport {
|
|
314
|
+
/** Output only. The time when the metadata import was started. */
|
|
315
|
+
createTime?: string;
|
|
316
|
+
/** Immutable. A database dump from a pre-existing metastore's database. */
|
|
317
|
+
databaseDump?: DatabaseDump;
|
|
318
|
+
/** The description of the metadata import. */
|
|
319
|
+
description?: string;
|
|
320
|
+
/** Output only. The time when the metadata import finished. */
|
|
321
|
+
endTime?: string;
|
|
322
|
+
/**
|
|
323
|
+
* Immutable. The relative resource name of the metadata import, of the
|
|
324
|
+
* form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
|
|
325
|
+
*/
|
|
326
|
+
name?: string;
|
|
327
|
+
/** Output only. The current state of the metadata import. */
|
|
328
|
+
state?: string;
|
|
329
|
+
/** Output only. The time when the metadata import was last updated. */
|
|
330
|
+
updateTime?: string;
|
|
331
|
+
}
|
|
332
|
+
interface MetadataIntegration {
|
|
333
|
+
/** The integration config for the Data Catalog service. */
|
|
334
|
+
dataCatalogConfig?: DataCatalogConfig;
|
|
335
|
+
/** The integration config for the Dataplex service. */
|
|
336
|
+
dataplexConfig?: DataplexConfig;
|
|
337
|
+
}
|
|
338
|
+
interface MetadataManagementActivity {
|
|
339
|
+
/** Output only. The latest metadata exports of the metastore service. */
|
|
340
|
+
metadataExports?: MetadataExport[];
|
|
341
|
+
/** Output only. The latest restores of the metastore service. */
|
|
342
|
+
restores?: Restore[];
|
|
343
|
+
}
|
|
344
|
+
interface NetworkConfig {
|
|
345
|
+
/** Immutable. The consumer-side network configuration for the Dataproc Metastore instance. */
|
|
346
|
+
consumers?: Consumer[];
|
|
347
|
+
}
|
|
348
|
+
interface Operation {
|
|
349
|
+
/** 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. */
|
|
350
|
+
done?: boolean;
|
|
351
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
352
|
+
error?: Status;
|
|
353
|
+
/**
|
|
354
|
+
* 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
|
|
355
|
+
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
356
|
+
*/
|
|
357
|
+
metadata?: { [P in string]: any };
|
|
358
|
+
/**
|
|
359
|
+
* 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
|
|
360
|
+
* with operations/{unique_id}.
|
|
361
|
+
*/
|
|
362
|
+
name?: string;
|
|
363
|
+
/**
|
|
364
|
+
* The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original
|
|
365
|
+
* method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name.
|
|
366
|
+
* For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
|
|
367
|
+
*/
|
|
368
|
+
response?: { [P in string]: any };
|
|
369
|
+
}
|
|
370
|
+
interface OperationMetadata {
|
|
371
|
+
/** Output only. API version used to start the operation. */
|
|
372
|
+
apiVersion?: string;
|
|
373
|
+
/** Output only. The time the operation was created. */
|
|
374
|
+
createTime?: string;
|
|
375
|
+
/** Output only. The time the operation finished running. */
|
|
376
|
+
endTime?: string;
|
|
377
|
+
/**
|
|
378
|
+
* Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a
|
|
379
|
+
* google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
|
|
380
|
+
*/
|
|
381
|
+
requestedCancellation?: boolean;
|
|
382
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
383
|
+
statusMessage?: string;
|
|
384
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
385
|
+
target?: string;
|
|
386
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
387
|
+
verb?: string;
|
|
388
|
+
}
|
|
389
|
+
interface Policy {
|
|
390
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
391
|
+
auditConfigs?: AuditConfig[];
|
|
392
|
+
/**
|
|
393
|
+
* Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must
|
|
394
|
+
* contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal
|
|
395
|
+
* 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 1,450
|
|
396
|
+
* principals to the bindings in the Policy.
|
|
397
|
+
*/
|
|
398
|
+
bindings?: Binding[];
|
|
399
|
+
/**
|
|
400
|
+
* etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use
|
|
401
|
+
* of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected
|
|
402
|
+
* to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.Important: If you use IAM Conditions, you must include
|
|
403
|
+
* the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the
|
|
404
|
+
* version 3 policy are lost.
|
|
405
|
+
*/
|
|
406
|
+
etag?: string;
|
|
407
|
+
/**
|
|
408
|
+
* Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must
|
|
409
|
+
* specify version 3. This requirement applies to the following operations: Getting a policy that includes a conditional role binding Adding a conditional role binding to a policy
|
|
410
|
+
* Changing a conditional role binding in a policy Removing any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions,
|
|
411
|
+
* you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the
|
|
412
|
+
* conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn
|
|
413
|
+
* which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
414
|
+
*/
|
|
415
|
+
version?: number;
|
|
416
|
+
}
|
|
417
|
+
// tslint:disable-next-line:no-empty-interface
|
|
418
|
+
interface RemoveIamPolicyRequest {
|
|
419
|
+
}
|
|
420
|
+
interface RemoveIamPolicyResponse {
|
|
421
|
+
/** whether related policies are removed */
|
|
422
|
+
success?: boolean;
|
|
423
|
+
}
|
|
424
|
+
interface Restore {
|
|
425
|
+
/**
|
|
426
|
+
* Output only. The relative resource name of the metastore service backup to restore from, in the following
|
|
427
|
+
* form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
|
|
428
|
+
*/
|
|
429
|
+
backup?: string;
|
|
430
|
+
/** Output only. The restore details containing the revision of the service to be restored to, in format of JSON. */
|
|
431
|
+
details?: string;
|
|
432
|
+
/** Output only. The time when the restore ended. */
|
|
433
|
+
endTime?: string;
|
|
434
|
+
/** Output only. The time when the restore started. */
|
|
435
|
+
startTime?: string;
|
|
436
|
+
/** Output only. The current state of the restore. */
|
|
437
|
+
state?: string;
|
|
438
|
+
/** Output only. The type of restore. */
|
|
439
|
+
type?: string;
|
|
440
|
+
}
|
|
441
|
+
interface RestoreServiceRequest {
|
|
442
|
+
/**
|
|
443
|
+
* Required. The relative resource name of the metastore service backup to restore from, in the following
|
|
444
|
+
* form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
|
|
445
|
+
*/
|
|
446
|
+
backup?: string;
|
|
447
|
+
/**
|
|
448
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
449
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server
|
|
450
|
+
* ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
|
|
451
|
+
* A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
452
|
+
*/
|
|
453
|
+
requestId?: string;
|
|
454
|
+
/** Optional. The type of restore. If unspecified, defaults to METADATA_ONLY. */
|
|
455
|
+
restoreType?: string;
|
|
456
|
+
}
|
|
457
|
+
interface Secret {
|
|
458
|
+
/** The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. */
|
|
459
|
+
cloudSecret?: string;
|
|
460
|
+
}
|
|
461
|
+
interface Service {
|
|
462
|
+
/** Output only. A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. */
|
|
463
|
+
artifactGcsUri?: string;
|
|
464
|
+
/** Output only. The time when the metastore service was created. */
|
|
465
|
+
createTime?: string;
|
|
466
|
+
/** Immutable. The database type that the Metastore service stores its data. */
|
|
467
|
+
databaseType?: string;
|
|
468
|
+
/** Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated. */
|
|
469
|
+
encryptionConfig?: EncryptionConfig;
|
|
470
|
+
/** Output only. The URI of the endpoint used to access the metastore service. */
|
|
471
|
+
endpointUri?: string;
|
|
472
|
+
/** Configuration information specific to running Hive metastore software as the metastore service. */
|
|
473
|
+
hiveMetastoreConfig?: HiveMetastoreConfig;
|
|
474
|
+
/** User-defined labels for the metastore service. */
|
|
475
|
+
labels?: { [P in string]: string };
|
|
476
|
+
/**
|
|
477
|
+
* The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for
|
|
478
|
+
* services with the SPANNER database type.
|
|
479
|
+
*/
|
|
480
|
+
maintenanceWindow?: MaintenanceWindow;
|
|
481
|
+
/** The setting that defines how metastore metadata should be integrated with external services and systems. */
|
|
482
|
+
metadataIntegration?: MetadataIntegration;
|
|
483
|
+
/** Output only. The metadata management activities of the metastore service. */
|
|
484
|
+
metadataManagementActivity?: MetadataManagementActivity;
|
|
485
|
+
/** Immutable. The relative resource name of the metastore service, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
486
|
+
name?: string;
|
|
487
|
+
/**
|
|
488
|
+
* Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following
|
|
489
|
+
* form:projects/{project_number}/global/networks/{network_id}.
|
|
490
|
+
*/
|
|
491
|
+
network?: string;
|
|
492
|
+
/** Immutable. The configuration specifying the network settings for the Dataproc Metastore service. */
|
|
493
|
+
networkConfig?: NetworkConfig;
|
|
494
|
+
/** The TCP port at which the metastore service is reached. Default: 9083. */
|
|
495
|
+
port?: number;
|
|
496
|
+
/** Immutable. The release channel of the service. If unspecified, defaults to STABLE. */
|
|
497
|
+
releaseChannel?: string;
|
|
498
|
+
/** Output only. The current state of the metastore service. */
|
|
499
|
+
state?: string;
|
|
500
|
+
/** Output only. Additional information about the current state of the metastore service, if available. */
|
|
501
|
+
stateMessage?: string;
|
|
502
|
+
/** The tier of the service. */
|
|
503
|
+
tier?: string;
|
|
504
|
+
/** Output only. The globally unique resource identifier of the metastore service. */
|
|
505
|
+
uid?: string;
|
|
506
|
+
/** Output only. The time when the metastore service was last updated. */
|
|
507
|
+
updateTime?: string;
|
|
508
|
+
}
|
|
509
|
+
interface SetIamPolicyRequest {
|
|
510
|
+
/**
|
|
511
|
+
* 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
|
|
512
|
+
* services (such as Projects) might reject them.
|
|
513
|
+
*/
|
|
514
|
+
policy?: Policy;
|
|
515
|
+
/**
|
|
516
|
+
* 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
|
|
517
|
+
* used:paths: "bindings, etag"
|
|
518
|
+
*/
|
|
519
|
+
updateMask?: string;
|
|
520
|
+
}
|
|
521
|
+
interface Status {
|
|
522
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
523
|
+
code?: number;
|
|
524
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
525
|
+
details?: Array<{ [P in string]: any }>;
|
|
526
|
+
/**
|
|
527
|
+
* 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
|
|
528
|
+
* client.
|
|
529
|
+
*/
|
|
530
|
+
message?: string;
|
|
531
|
+
}
|
|
532
|
+
interface TestIamPermissionsRequest {
|
|
533
|
+
/**
|
|
534
|
+
* The set of permissions to check for the resource. Permissions with wildcards (such as * or storage.*) are not allowed. For more information see IAM Overview
|
|
535
|
+
* (https://cloud.google.com/iam/docs/overview#permissions).
|
|
536
|
+
*/
|
|
537
|
+
permissions?: string[];
|
|
538
|
+
}
|
|
539
|
+
interface TestIamPermissionsResponse {
|
|
540
|
+
/** A subset of TestPermissionsRequest.permissions that the caller is allowed. */
|
|
541
|
+
permissions?: string[];
|
|
542
|
+
}
|
|
543
|
+
interface FederationsResource {
|
|
544
|
+
/** Creates a metastore federation in a project and location. */
|
|
545
|
+
create(request: {
|
|
546
|
+
/** V1 error format. */
|
|
547
|
+
"$.xgafv"?: string;
|
|
548
|
+
/** OAuth access token. */
|
|
549
|
+
access_token?: string;
|
|
550
|
+
/** Data format for response. */
|
|
551
|
+
alt?: string;
|
|
552
|
+
/** JSONP */
|
|
553
|
+
callback?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Required. The ID of the metastore federation, which is used as the final component of the metastore federation's name.This value must be between 2 and 63 characters long
|
|
556
|
+
* inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
|
|
557
|
+
*/
|
|
558
|
+
federationId?: string;
|
|
559
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
560
|
+
fields?: string;
|
|
561
|
+
/** 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. */
|
|
562
|
+
key?: string;
|
|
563
|
+
/** OAuth 2.0 token for the current user. */
|
|
564
|
+
oauth_token?: string;
|
|
565
|
+
/** Required. The relative resource name of the location in which to create a federation service, in the following form:projects/{project_number}/locations/{location_id}. */
|
|
566
|
+
parent: string;
|
|
567
|
+
/** Returns response with indentations and line breaks. */
|
|
568
|
+
prettyPrint?: boolean;
|
|
569
|
+
/** 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. */
|
|
570
|
+
quotaUser?: string;
|
|
571
|
+
/**
|
|
572
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
573
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
574
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
575
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
576
|
+
*/
|
|
577
|
+
requestId?: string;
|
|
578
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
579
|
+
upload_protocol?: string;
|
|
580
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
581
|
+
uploadType?: string;
|
|
582
|
+
/** Request body */
|
|
583
|
+
resource: Federation;
|
|
584
|
+
}): Request<Operation>;
|
|
585
|
+
create(request: {
|
|
586
|
+
/** V1 error format. */
|
|
587
|
+
"$.xgafv"?: string;
|
|
588
|
+
/** OAuth access token. */
|
|
589
|
+
access_token?: string;
|
|
590
|
+
/** Data format for response. */
|
|
591
|
+
alt?: string;
|
|
592
|
+
/** JSONP */
|
|
593
|
+
callback?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Required. The ID of the metastore federation, which is used as the final component of the metastore federation's name.This value must be between 2 and 63 characters long
|
|
596
|
+
* inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
|
|
597
|
+
*/
|
|
598
|
+
federationId?: string;
|
|
599
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
600
|
+
fields?: string;
|
|
601
|
+
/** 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. */
|
|
602
|
+
key?: string;
|
|
603
|
+
/** OAuth 2.0 token for the current user. */
|
|
604
|
+
oauth_token?: string;
|
|
605
|
+
/** Required. The relative resource name of the location in which to create a federation service, in the following form:projects/{project_number}/locations/{location_id}. */
|
|
606
|
+
parent: string;
|
|
607
|
+
/** Returns response with indentations and line breaks. */
|
|
608
|
+
prettyPrint?: boolean;
|
|
609
|
+
/** 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. */
|
|
610
|
+
quotaUser?: string;
|
|
611
|
+
/**
|
|
612
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
613
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
614
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
615
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
616
|
+
*/
|
|
617
|
+
requestId?: string;
|
|
618
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
619
|
+
upload_protocol?: string;
|
|
620
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
621
|
+
uploadType?: string;
|
|
622
|
+
},
|
|
623
|
+
body: Federation): Request<Operation>;
|
|
624
|
+
/** Deletes a single federation. */
|
|
625
|
+
delete(request?: {
|
|
626
|
+
/** V1 error format. */
|
|
627
|
+
"$.xgafv"?: string;
|
|
628
|
+
/** OAuth access token. */
|
|
629
|
+
access_token?: string;
|
|
630
|
+
/** Data format for response. */
|
|
631
|
+
alt?: string;
|
|
632
|
+
/** JSONP */
|
|
633
|
+
callback?: string;
|
|
634
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
635
|
+
fields?: string;
|
|
636
|
+
/** 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. */
|
|
637
|
+
key?: string;
|
|
638
|
+
/** Required. The relative resource name of the metastore federation to delete, in the following form:projects/{project_number}/locations/{location_id}/federations/{federation_id}. */
|
|
639
|
+
name: string;
|
|
640
|
+
/** OAuth 2.0 token for the current user. */
|
|
641
|
+
oauth_token?: string;
|
|
642
|
+
/** Returns response with indentations and line breaks. */
|
|
643
|
+
prettyPrint?: boolean;
|
|
644
|
+
/** 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. */
|
|
645
|
+
quotaUser?: string;
|
|
646
|
+
/**
|
|
647
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
648
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
649
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
650
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
651
|
+
*/
|
|
652
|
+
requestId?: string;
|
|
653
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
654
|
+
upload_protocol?: string;
|
|
655
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
656
|
+
uploadType?: string;
|
|
657
|
+
}): Request<Operation>;
|
|
658
|
+
/** Gets the details of a single federation. */
|
|
659
|
+
get(request?: {
|
|
660
|
+
/** V1 error format. */
|
|
661
|
+
"$.xgafv"?: string;
|
|
662
|
+
/** OAuth access token. */
|
|
663
|
+
access_token?: string;
|
|
664
|
+
/** Data format for response. */
|
|
665
|
+
alt?: string;
|
|
666
|
+
/** JSONP */
|
|
667
|
+
callback?: string;
|
|
668
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
669
|
+
fields?: string;
|
|
670
|
+
/** 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. */
|
|
671
|
+
key?: string;
|
|
672
|
+
/**
|
|
673
|
+
* Required. The relative resource name of the metastore federation to retrieve, in the following
|
|
674
|
+
* form:projects/{project_number}/locations/{location_id}/federations/{federation_id}.
|
|
675
|
+
*/
|
|
676
|
+
name: string;
|
|
677
|
+
/** OAuth 2.0 token for the current user. */
|
|
678
|
+
oauth_token?: string;
|
|
679
|
+
/** Returns response with indentations and line breaks. */
|
|
680
|
+
prettyPrint?: boolean;
|
|
681
|
+
/** 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. */
|
|
682
|
+
quotaUser?: string;
|
|
683
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
684
|
+
upload_protocol?: string;
|
|
685
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
686
|
+
uploadType?: string;
|
|
687
|
+
}): Request<Federation>;
|
|
688
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
689
|
+
getIamPolicy(request?: {
|
|
690
|
+
/** V1 error format. */
|
|
691
|
+
"$.xgafv"?: string;
|
|
692
|
+
/** OAuth access token. */
|
|
693
|
+
access_token?: string;
|
|
694
|
+
/** Data format for response. */
|
|
695
|
+
alt?: string;
|
|
696
|
+
/** JSONP */
|
|
697
|
+
callback?: string;
|
|
698
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
699
|
+
fields?: string;
|
|
700
|
+
/** 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. */
|
|
701
|
+
key?: string;
|
|
702
|
+
/** OAuth 2.0 token for the current user. */
|
|
703
|
+
oauth_token?: string;
|
|
704
|
+
/**
|
|
705
|
+
* 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
|
|
706
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
|
|
707
|
+
* 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
|
|
708
|
+
* role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
|
|
709
|
+
* (https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
710
|
+
*/
|
|
711
|
+
"options.requestedPolicyVersion"?: number;
|
|
712
|
+
/** Returns response with indentations and line breaks. */
|
|
713
|
+
prettyPrint?: boolean;
|
|
714
|
+
/** 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. */
|
|
715
|
+
quotaUser?: string;
|
|
716
|
+
/**
|
|
717
|
+
* 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
|
|
718
|
+
* field.
|
|
719
|
+
*/
|
|
720
|
+
resource: string;
|
|
721
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
722
|
+
upload_protocol?: string;
|
|
723
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
724
|
+
uploadType?: string;
|
|
725
|
+
}): Request<Policy>;
|
|
726
|
+
/** Lists federations in a project and location. */
|
|
727
|
+
list(request?: {
|
|
728
|
+
/** V1 error format. */
|
|
729
|
+
"$.xgafv"?: string;
|
|
730
|
+
/** OAuth access token. */
|
|
731
|
+
access_token?: string;
|
|
732
|
+
/** Data format for response. */
|
|
733
|
+
alt?: string;
|
|
734
|
+
/** JSONP */
|
|
735
|
+
callback?: string;
|
|
736
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
737
|
+
fields?: string;
|
|
738
|
+
/** Optional. The filter to apply to list results. */
|
|
739
|
+
filter?: string;
|
|
740
|
+
/** 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. */
|
|
741
|
+
key?: string;
|
|
742
|
+
/** OAuth 2.0 token for the current user. */
|
|
743
|
+
oauth_token?: string;
|
|
744
|
+
/**
|
|
745
|
+
* Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will
|
|
746
|
+
* be sorted in the default order.
|
|
747
|
+
*/
|
|
748
|
+
orderBy?: string;
|
|
749
|
+
/**
|
|
750
|
+
* Optional. The maximum number of federations to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum
|
|
751
|
+
* value is 1000; values above 1000 are changed to 1000.
|
|
752
|
+
*/
|
|
753
|
+
pageSize?: number;
|
|
754
|
+
/**
|
|
755
|
+
* Optional. A page token, received from a previous ListFederationServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page
|
|
756
|
+
* token.When paginating, other parameters provided to ListFederationServices must match the call that provided the page token.
|
|
757
|
+
*/
|
|
758
|
+
pageToken?: string;
|
|
759
|
+
/** Required. The relative resource name of the location of metastore federations to list, in the following form: projects/{project_number}/locations/{location_id}. */
|
|
760
|
+
parent: string;
|
|
761
|
+
/** Returns response with indentations and line breaks. */
|
|
762
|
+
prettyPrint?: boolean;
|
|
763
|
+
/** 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. */
|
|
764
|
+
quotaUser?: string;
|
|
765
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
766
|
+
upload_protocol?: string;
|
|
767
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
768
|
+
uploadType?: string;
|
|
769
|
+
}): Request<ListFederationsResponse>;
|
|
770
|
+
/** Updates the fields of a federation. */
|
|
771
|
+
patch(request: {
|
|
772
|
+
/** V1 error format. */
|
|
773
|
+
"$.xgafv"?: string;
|
|
774
|
+
/** OAuth access token. */
|
|
775
|
+
access_token?: string;
|
|
776
|
+
/** Data format for response. */
|
|
777
|
+
alt?: string;
|
|
778
|
+
/** JSONP */
|
|
779
|
+
callback?: string;
|
|
780
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
781
|
+
fields?: string;
|
|
782
|
+
/** 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. */
|
|
783
|
+
key?: string;
|
|
784
|
+
/** Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`. */
|
|
785
|
+
name: string;
|
|
786
|
+
/** OAuth 2.0 token for the current user. */
|
|
787
|
+
oauth_token?: string;
|
|
788
|
+
/** Returns response with indentations and line breaks. */
|
|
789
|
+
prettyPrint?: boolean;
|
|
790
|
+
/** 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. */
|
|
791
|
+
quotaUser?: string;
|
|
792
|
+
/**
|
|
793
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
794
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
795
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
796
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
797
|
+
*/
|
|
798
|
+
requestId?: string;
|
|
799
|
+
/**
|
|
800
|
+
* Required. A field mask used to specify the fields to be overwritten in the metastore federation resource by the update. Fields specified in the update_mask are relative to the
|
|
801
|
+
* resource (not to the full request). A field is overwritten if it is in the mask.
|
|
802
|
+
*/
|
|
803
|
+
updateMask?: string;
|
|
804
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
805
|
+
upload_protocol?: string;
|
|
806
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
807
|
+
uploadType?: string;
|
|
808
|
+
/** Request body */
|
|
809
|
+
resource: Federation;
|
|
810
|
+
}): Request<Operation>;
|
|
811
|
+
patch(request: {
|
|
812
|
+
/** V1 error format. */
|
|
813
|
+
"$.xgafv"?: string;
|
|
814
|
+
/** OAuth access token. */
|
|
815
|
+
access_token?: string;
|
|
816
|
+
/** Data format for response. */
|
|
817
|
+
alt?: string;
|
|
818
|
+
/** JSONP */
|
|
819
|
+
callback?: string;
|
|
820
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
821
|
+
fields?: string;
|
|
822
|
+
/** 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. */
|
|
823
|
+
key?: string;
|
|
824
|
+
/** Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`. */
|
|
825
|
+
name: string;
|
|
826
|
+
/** OAuth 2.0 token for the current user. */
|
|
827
|
+
oauth_token?: string;
|
|
828
|
+
/** Returns response with indentations and line breaks. */
|
|
829
|
+
prettyPrint?: boolean;
|
|
830
|
+
/** 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. */
|
|
831
|
+
quotaUser?: string;
|
|
832
|
+
/**
|
|
833
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
834
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
835
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
836
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
837
|
+
*/
|
|
838
|
+
requestId?: string;
|
|
839
|
+
/**
|
|
840
|
+
* Required. A field mask used to specify the fields to be overwritten in the metastore federation resource by the update. Fields specified in the update_mask are relative to the
|
|
841
|
+
* resource (not to the full request). A field is overwritten if it is in the mask.
|
|
842
|
+
*/
|
|
843
|
+
updateMask?: string;
|
|
844
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
845
|
+
upload_protocol?: string;
|
|
846
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
847
|
+
uploadType?: string;
|
|
848
|
+
},
|
|
849
|
+
body: Federation): Request<Operation>;
|
|
850
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
851
|
+
setIamPolicy(request: {
|
|
852
|
+
/** V1 error format. */
|
|
853
|
+
"$.xgafv"?: string;
|
|
854
|
+
/** OAuth access token. */
|
|
855
|
+
access_token?: string;
|
|
856
|
+
/** Data format for response. */
|
|
857
|
+
alt?: string;
|
|
858
|
+
/** JSONP */
|
|
859
|
+
callback?: string;
|
|
860
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
861
|
+
fields?: string;
|
|
862
|
+
/** 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. */
|
|
863
|
+
key?: string;
|
|
864
|
+
/** OAuth 2.0 token for the current user. */
|
|
865
|
+
oauth_token?: string;
|
|
866
|
+
/** Returns response with indentations and line breaks. */
|
|
867
|
+
prettyPrint?: boolean;
|
|
868
|
+
/** 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. */
|
|
869
|
+
quotaUser?: string;
|
|
870
|
+
/**
|
|
871
|
+
* 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
|
|
872
|
+
* field.
|
|
873
|
+
*/
|
|
874
|
+
resource: string;
|
|
875
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
876
|
+
upload_protocol?: string;
|
|
877
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
878
|
+
uploadType?: string;
|
|
879
|
+
},
|
|
880
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
881
|
+
/**
|
|
882
|
+
* 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
|
|
883
|
+
* 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.
|
|
884
|
+
*/
|
|
885
|
+
testIamPermissions(request: {
|
|
886
|
+
/** V1 error format. */
|
|
887
|
+
"$.xgafv"?: string;
|
|
888
|
+
/** OAuth access token. */
|
|
889
|
+
access_token?: string;
|
|
890
|
+
/** Data format for response. */
|
|
891
|
+
alt?: string;
|
|
892
|
+
/** JSONP */
|
|
893
|
+
callback?: string;
|
|
894
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
895
|
+
fields?: string;
|
|
896
|
+
/** 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. */
|
|
897
|
+
key?: string;
|
|
898
|
+
/** OAuth 2.0 token for the current user. */
|
|
899
|
+
oauth_token?: string;
|
|
900
|
+
/** Returns response with indentations and line breaks. */
|
|
901
|
+
prettyPrint?: boolean;
|
|
902
|
+
/** 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. */
|
|
903
|
+
quotaUser?: string;
|
|
904
|
+
/**
|
|
905
|
+
* 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
|
|
906
|
+
* this field.
|
|
907
|
+
*/
|
|
908
|
+
resource: string;
|
|
909
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
910
|
+
upload_protocol?: string;
|
|
911
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
912
|
+
uploadType?: string;
|
|
913
|
+
},
|
|
914
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
915
|
+
}
|
|
916
|
+
interface OperationsResource {
|
|
917
|
+
/**
|
|
918
|
+
* 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
|
|
919
|
+
* support this method, it returns google.rpc.Code.UNIMPLEMENTED.
|
|
920
|
+
*/
|
|
921
|
+
delete(request?: {
|
|
922
|
+
/** V1 error format. */
|
|
923
|
+
"$.xgafv"?: string;
|
|
924
|
+
/** OAuth access token. */
|
|
925
|
+
access_token?: string;
|
|
926
|
+
/** Data format for response. */
|
|
927
|
+
alt?: string;
|
|
928
|
+
/** JSONP */
|
|
929
|
+
callback?: string;
|
|
930
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
931
|
+
fields?: string;
|
|
932
|
+
/** 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. */
|
|
933
|
+
key?: string;
|
|
934
|
+
/** The name of the operation resource to be deleted. */
|
|
935
|
+
name: string;
|
|
936
|
+
/** OAuth 2.0 token for the current user. */
|
|
937
|
+
oauth_token?: string;
|
|
938
|
+
/** Returns response with indentations and line breaks. */
|
|
939
|
+
prettyPrint?: 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?: string;
|
|
942
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
943
|
+
upload_protocol?: string;
|
|
944
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
945
|
+
uploadType?: string;
|
|
946
|
+
}): Request<{}>;
|
|
947
|
+
/** 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. */
|
|
948
|
+
get(request?: {
|
|
949
|
+
/** V1 error format. */
|
|
950
|
+
"$.xgafv"?: string;
|
|
951
|
+
/** OAuth access token. */
|
|
952
|
+
access_token?: string;
|
|
953
|
+
/** Data format for response. */
|
|
954
|
+
alt?: string;
|
|
955
|
+
/** JSONP */
|
|
956
|
+
callback?: string;
|
|
957
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
958
|
+
fields?: string;
|
|
959
|
+
/** 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. */
|
|
960
|
+
key?: string;
|
|
961
|
+
/** The name of the operation resource. */
|
|
962
|
+
name: string;
|
|
963
|
+
/** OAuth 2.0 token for the current user. */
|
|
964
|
+
oauth_token?: string;
|
|
965
|
+
/** Returns response with indentations and line breaks. */
|
|
966
|
+
prettyPrint?: boolean;
|
|
967
|
+
/** 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. */
|
|
968
|
+
quotaUser?: string;
|
|
969
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
970
|
+
upload_protocol?: string;
|
|
971
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
972
|
+
uploadType?: string;
|
|
973
|
+
}): Request<Operation>;
|
|
974
|
+
/**
|
|
975
|
+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
|
|
976
|
+
* override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as
|
|
977
|
+
* "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
978
|
+
* ensure the name binding is the parent resource, without the operations collection id.
|
|
979
|
+
*/
|
|
980
|
+
list(request?: {
|
|
981
|
+
/** V1 error format. */
|
|
982
|
+
"$.xgafv"?: string;
|
|
983
|
+
/** OAuth access token. */
|
|
984
|
+
access_token?: string;
|
|
985
|
+
/** Data format for response. */
|
|
986
|
+
alt?: string;
|
|
987
|
+
/** JSONP */
|
|
988
|
+
callback?: string;
|
|
989
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
990
|
+
fields?: string;
|
|
991
|
+
/** The standard list filter. */
|
|
992
|
+
filter?: string;
|
|
993
|
+
/** 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. */
|
|
994
|
+
key?: string;
|
|
995
|
+
/** The name of the operation's parent resource. */
|
|
996
|
+
name: string;
|
|
997
|
+
/** OAuth 2.0 token for the current user. */
|
|
998
|
+
oauth_token?: string;
|
|
999
|
+
/** The standard list page size. */
|
|
1000
|
+
pageSize?: number;
|
|
1001
|
+
/** The standard list page token. */
|
|
1002
|
+
pageToken?: string;
|
|
1003
|
+
/** Returns response with indentations and line breaks. */
|
|
1004
|
+
prettyPrint?: boolean;
|
|
1005
|
+
/** 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. */
|
|
1006
|
+
quotaUser?: string;
|
|
1007
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1008
|
+
upload_protocol?: string;
|
|
1009
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1010
|
+
uploadType?: string;
|
|
1011
|
+
}): Request<ListOperationsResponse>;
|
|
1012
|
+
}
|
|
1013
|
+
interface BackupsResource {
|
|
1014
|
+
/** Creates a new backup in a given project and location. */
|
|
1015
|
+
create(request: {
|
|
1016
|
+
/** V1 error format. */
|
|
1017
|
+
"$.xgafv"?: string;
|
|
1018
|
+
/** OAuth access token. */
|
|
1019
|
+
access_token?: string;
|
|
1020
|
+
/** Data format for response. */
|
|
1021
|
+
alt?: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a
|
|
1024
|
+
* letter or number, and consist of alpha-numeric ASCII characters or hyphens.
|
|
1025
|
+
*/
|
|
1026
|
+
backupId?: string;
|
|
1027
|
+
/** JSONP */
|
|
1028
|
+
callback?: string;
|
|
1029
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1030
|
+
fields?: string;
|
|
1031
|
+
/** 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. */
|
|
1032
|
+
key?: string;
|
|
1033
|
+
/** OAuth 2.0 token for the current user. */
|
|
1034
|
+
oauth_token?: string;
|
|
1035
|
+
/** Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
1036
|
+
parent: string;
|
|
1037
|
+
/** Returns response with indentations and line breaks. */
|
|
1038
|
+
prettyPrint?: boolean;
|
|
1039
|
+
/** 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. */
|
|
1040
|
+
quotaUser?: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1043
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1044
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1045
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1046
|
+
*/
|
|
1047
|
+
requestId?: string;
|
|
1048
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1049
|
+
upload_protocol?: string;
|
|
1050
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1051
|
+
uploadType?: string;
|
|
1052
|
+
/** Request body */
|
|
1053
|
+
resource: Backup;
|
|
1054
|
+
}): Request<Operation>;
|
|
1055
|
+
create(request: {
|
|
1056
|
+
/** V1 error format. */
|
|
1057
|
+
"$.xgafv"?: string;
|
|
1058
|
+
/** OAuth access token. */
|
|
1059
|
+
access_token?: string;
|
|
1060
|
+
/** Data format for response. */
|
|
1061
|
+
alt?: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a
|
|
1064
|
+
* letter or number, and consist of alpha-numeric ASCII characters or hyphens.
|
|
1065
|
+
*/
|
|
1066
|
+
backupId?: string;
|
|
1067
|
+
/** JSONP */
|
|
1068
|
+
callback?: string;
|
|
1069
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1070
|
+
fields?: string;
|
|
1071
|
+
/** 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. */
|
|
1072
|
+
key?: string;
|
|
1073
|
+
/** OAuth 2.0 token for the current user. */
|
|
1074
|
+
oauth_token?: string;
|
|
1075
|
+
/** Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
1076
|
+
parent: string;
|
|
1077
|
+
/** Returns response with indentations and line breaks. */
|
|
1078
|
+
prettyPrint?: boolean;
|
|
1079
|
+
/** 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. */
|
|
1080
|
+
quotaUser?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1083
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1084
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1085
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1086
|
+
*/
|
|
1087
|
+
requestId?: string;
|
|
1088
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1089
|
+
upload_protocol?: string;
|
|
1090
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1091
|
+
uploadType?: string;
|
|
1092
|
+
},
|
|
1093
|
+
body: Backup): Request<Operation>;
|
|
1094
|
+
/** Deletes a single backup. */
|
|
1095
|
+
delete(request?: {
|
|
1096
|
+
/** V1 error format. */
|
|
1097
|
+
"$.xgafv"?: string;
|
|
1098
|
+
/** OAuth access token. */
|
|
1099
|
+
access_token?: string;
|
|
1100
|
+
/** Data format for response. */
|
|
1101
|
+
alt?: string;
|
|
1102
|
+
/** JSONP */
|
|
1103
|
+
callback?: string;
|
|
1104
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1105
|
+
fields?: string;
|
|
1106
|
+
/** 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. */
|
|
1107
|
+
key?: string;
|
|
1108
|
+
/** Required. The relative resource name of the backup to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. */
|
|
1109
|
+
name: string;
|
|
1110
|
+
/** OAuth 2.0 token for the current user. */
|
|
1111
|
+
oauth_token?: string;
|
|
1112
|
+
/** Returns response with indentations and line breaks. */
|
|
1113
|
+
prettyPrint?: boolean;
|
|
1114
|
+
/** 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. */
|
|
1115
|
+
quotaUser?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1118
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1119
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1120
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1121
|
+
*/
|
|
1122
|
+
requestId?: string;
|
|
1123
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1124
|
+
upload_protocol?: string;
|
|
1125
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1126
|
+
uploadType?: string;
|
|
1127
|
+
}): Request<Operation>;
|
|
1128
|
+
/** Gets details of a single backup. */
|
|
1129
|
+
get(request?: {
|
|
1130
|
+
/** V1 error format. */
|
|
1131
|
+
"$.xgafv"?: string;
|
|
1132
|
+
/** OAuth access token. */
|
|
1133
|
+
access_token?: string;
|
|
1134
|
+
/** Data format for response. */
|
|
1135
|
+
alt?: string;
|
|
1136
|
+
/** JSONP */
|
|
1137
|
+
callback?: string;
|
|
1138
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1139
|
+
fields?: string;
|
|
1140
|
+
/** 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. */
|
|
1141
|
+
key?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* Required. The relative resource name of the backup to retrieve, in the following
|
|
1144
|
+
* form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
|
|
1145
|
+
*/
|
|
1146
|
+
name: string;
|
|
1147
|
+
/** OAuth 2.0 token for the current user. */
|
|
1148
|
+
oauth_token?: string;
|
|
1149
|
+
/** Returns response with indentations and line breaks. */
|
|
1150
|
+
prettyPrint?: boolean;
|
|
1151
|
+
/** 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. */
|
|
1152
|
+
quotaUser?: string;
|
|
1153
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1154
|
+
upload_protocol?: string;
|
|
1155
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1156
|
+
uploadType?: string;
|
|
1157
|
+
}): Request<Backup>;
|
|
1158
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1159
|
+
getIamPolicy(request?: {
|
|
1160
|
+
/** V1 error format. */
|
|
1161
|
+
"$.xgafv"?: string;
|
|
1162
|
+
/** OAuth access token. */
|
|
1163
|
+
access_token?: string;
|
|
1164
|
+
/** Data format for response. */
|
|
1165
|
+
alt?: string;
|
|
1166
|
+
/** JSONP */
|
|
1167
|
+
callback?: string;
|
|
1168
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1169
|
+
fields?: string;
|
|
1170
|
+
/** 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. */
|
|
1171
|
+
key?: string;
|
|
1172
|
+
/** OAuth 2.0 token for the current user. */
|
|
1173
|
+
oauth_token?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* 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
|
|
1176
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
|
|
1177
|
+
* 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
|
|
1178
|
+
* role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
|
|
1179
|
+
* (https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1180
|
+
*/
|
|
1181
|
+
"options.requestedPolicyVersion"?: number;
|
|
1182
|
+
/** Returns response with indentations and line breaks. */
|
|
1183
|
+
prettyPrint?: boolean;
|
|
1184
|
+
/** 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. */
|
|
1185
|
+
quotaUser?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* 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
|
|
1188
|
+
* field.
|
|
1189
|
+
*/
|
|
1190
|
+
resource: string;
|
|
1191
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1192
|
+
upload_protocol?: string;
|
|
1193
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1194
|
+
uploadType?: string;
|
|
1195
|
+
}): Request<Policy>;
|
|
1196
|
+
/** Lists backups in a service. */
|
|
1197
|
+
list(request?: {
|
|
1198
|
+
/** V1 error format. */
|
|
1199
|
+
"$.xgafv"?: string;
|
|
1200
|
+
/** OAuth access token. */
|
|
1201
|
+
access_token?: string;
|
|
1202
|
+
/** Data format for response. */
|
|
1203
|
+
alt?: string;
|
|
1204
|
+
/** JSONP */
|
|
1205
|
+
callback?: string;
|
|
1206
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1207
|
+
fields?: string;
|
|
1208
|
+
/** Optional. The filter to apply to list results. */
|
|
1209
|
+
filter?: string;
|
|
1210
|
+
/** 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. */
|
|
1211
|
+
key?: string;
|
|
1212
|
+
/** OAuth 2.0 token for the current user. */
|
|
1213
|
+
oauth_token?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will
|
|
1216
|
+
* be sorted in the default order.
|
|
1217
|
+
*/
|
|
1218
|
+
orderBy?: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* Optional. The maximum number of backups to return. The response may contain less than the maximum number. If unspecified, no more than 500 backups are returned. The maximum
|
|
1221
|
+
* value is 1000; values above 1000 are changed to 1000.
|
|
1222
|
+
*/
|
|
1223
|
+
pageSize?: number;
|
|
1224
|
+
/**
|
|
1225
|
+
* Optional. A page token, received from a previous DataprocMetastore.ListBackups call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an
|
|
1226
|
+
* empty page token.When paginating, other parameters provided to DataprocMetastore.ListBackups must match the call that provided the page token.
|
|
1227
|
+
*/
|
|
1228
|
+
pageToken?: string;
|
|
1229
|
+
/** Required. The relative resource name of the service whose backups to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups. */
|
|
1230
|
+
parent: string;
|
|
1231
|
+
/** Returns response with indentations and line breaks. */
|
|
1232
|
+
prettyPrint?: boolean;
|
|
1233
|
+
/** 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. */
|
|
1234
|
+
quotaUser?: string;
|
|
1235
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1236
|
+
upload_protocol?: string;
|
|
1237
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1238
|
+
uploadType?: string;
|
|
1239
|
+
}): Request<ListBackupsResponse>;
|
|
1240
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
1241
|
+
setIamPolicy(request: {
|
|
1242
|
+
/** V1 error format. */
|
|
1243
|
+
"$.xgafv"?: string;
|
|
1244
|
+
/** OAuth access token. */
|
|
1245
|
+
access_token?: string;
|
|
1246
|
+
/** Data format for response. */
|
|
1247
|
+
alt?: string;
|
|
1248
|
+
/** JSONP */
|
|
1249
|
+
callback?: string;
|
|
1250
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1251
|
+
fields?: string;
|
|
1252
|
+
/** 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. */
|
|
1253
|
+
key?: string;
|
|
1254
|
+
/** OAuth 2.0 token for the current user. */
|
|
1255
|
+
oauth_token?: string;
|
|
1256
|
+
/** Returns response with indentations and line breaks. */
|
|
1257
|
+
prettyPrint?: boolean;
|
|
1258
|
+
/** 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. */
|
|
1259
|
+
quotaUser?: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* 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
|
|
1262
|
+
* field.
|
|
1263
|
+
*/
|
|
1264
|
+
resource: string;
|
|
1265
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1266
|
+
upload_protocol?: string;
|
|
1267
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1268
|
+
uploadType?: string;
|
|
1269
|
+
},
|
|
1270
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1271
|
+
/**
|
|
1272
|
+
* 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
|
|
1273
|
+
* 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.
|
|
1274
|
+
*/
|
|
1275
|
+
testIamPermissions(request: {
|
|
1276
|
+
/** V1 error format. */
|
|
1277
|
+
"$.xgafv"?: string;
|
|
1278
|
+
/** OAuth access token. */
|
|
1279
|
+
access_token?: string;
|
|
1280
|
+
/** Data format for response. */
|
|
1281
|
+
alt?: string;
|
|
1282
|
+
/** JSONP */
|
|
1283
|
+
callback?: string;
|
|
1284
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1285
|
+
fields?: string;
|
|
1286
|
+
/** 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. */
|
|
1287
|
+
key?: string;
|
|
1288
|
+
/** OAuth 2.0 token for the current user. */
|
|
1289
|
+
oauth_token?: string;
|
|
1290
|
+
/** Returns response with indentations and line breaks. */
|
|
1291
|
+
prettyPrint?: boolean;
|
|
1292
|
+
/** 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. */
|
|
1293
|
+
quotaUser?: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* 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
|
|
1296
|
+
* this field.
|
|
1297
|
+
*/
|
|
1298
|
+
resource: string;
|
|
1299
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1300
|
+
upload_protocol?: string;
|
|
1301
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1302
|
+
uploadType?: string;
|
|
1303
|
+
},
|
|
1304
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1305
|
+
}
|
|
1306
|
+
interface TablesResource {
|
|
1307
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1308
|
+
getIamPolicy(request?: {
|
|
1309
|
+
/** V1 error format. */
|
|
1310
|
+
"$.xgafv"?: string;
|
|
1311
|
+
/** OAuth access token. */
|
|
1312
|
+
access_token?: string;
|
|
1313
|
+
/** Data format for response. */
|
|
1314
|
+
alt?: string;
|
|
1315
|
+
/** JSONP */
|
|
1316
|
+
callback?: string;
|
|
1317
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1318
|
+
fields?: string;
|
|
1319
|
+
/** 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. */
|
|
1320
|
+
key?: string;
|
|
1321
|
+
/** OAuth 2.0 token for the current user. */
|
|
1322
|
+
oauth_token?: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* 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
|
|
1325
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
|
|
1326
|
+
* 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
|
|
1327
|
+
* role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
|
|
1328
|
+
* (https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1329
|
+
*/
|
|
1330
|
+
"options.requestedPolicyVersion"?: number;
|
|
1331
|
+
/** Returns response with indentations and line breaks. */
|
|
1332
|
+
prettyPrint?: 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?: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* 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
|
|
1337
|
+
* field.
|
|
1338
|
+
*/
|
|
1339
|
+
resource: string;
|
|
1340
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1341
|
+
upload_protocol?: string;
|
|
1342
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1343
|
+
uploadType?: string;
|
|
1344
|
+
}): Request<Policy>;
|
|
1345
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
1346
|
+
setIamPolicy(request: {
|
|
1347
|
+
/** V1 error format. */
|
|
1348
|
+
"$.xgafv"?: string;
|
|
1349
|
+
/** OAuth access token. */
|
|
1350
|
+
access_token?: string;
|
|
1351
|
+
/** Data format for response. */
|
|
1352
|
+
alt?: string;
|
|
1353
|
+
/** JSONP */
|
|
1354
|
+
callback?: string;
|
|
1355
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1356
|
+
fields?: string;
|
|
1357
|
+
/** 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. */
|
|
1358
|
+
key?: string;
|
|
1359
|
+
/** OAuth 2.0 token for the current user. */
|
|
1360
|
+
oauth_token?: string;
|
|
1361
|
+
/** Returns response with indentations and line breaks. */
|
|
1362
|
+
prettyPrint?: boolean;
|
|
1363
|
+
/** 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. */
|
|
1364
|
+
quotaUser?: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* 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
|
|
1367
|
+
* field.
|
|
1368
|
+
*/
|
|
1369
|
+
resource: string;
|
|
1370
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1371
|
+
upload_protocol?: string;
|
|
1372
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1373
|
+
uploadType?: string;
|
|
1374
|
+
},
|
|
1375
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1376
|
+
/**
|
|
1377
|
+
* 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
|
|
1378
|
+
* 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.
|
|
1379
|
+
*/
|
|
1380
|
+
testIamPermissions(request: {
|
|
1381
|
+
/** V1 error format. */
|
|
1382
|
+
"$.xgafv"?: string;
|
|
1383
|
+
/** OAuth access token. */
|
|
1384
|
+
access_token?: string;
|
|
1385
|
+
/** Data format for response. */
|
|
1386
|
+
alt?: string;
|
|
1387
|
+
/** JSONP */
|
|
1388
|
+
callback?: string;
|
|
1389
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1390
|
+
fields?: string;
|
|
1391
|
+
/** 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. */
|
|
1392
|
+
key?: string;
|
|
1393
|
+
/** OAuth 2.0 token for the current user. */
|
|
1394
|
+
oauth_token?: string;
|
|
1395
|
+
/** Returns response with indentations and line breaks. */
|
|
1396
|
+
prettyPrint?: boolean;
|
|
1397
|
+
/** 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. */
|
|
1398
|
+
quotaUser?: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* 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
|
|
1401
|
+
* this field.
|
|
1402
|
+
*/
|
|
1403
|
+
resource: string;
|
|
1404
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1405
|
+
upload_protocol?: string;
|
|
1406
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1407
|
+
uploadType?: string;
|
|
1408
|
+
},
|
|
1409
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1410
|
+
}
|
|
1411
|
+
interface DatabasesResource {
|
|
1412
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1413
|
+
getIamPolicy(request?: {
|
|
1414
|
+
/** V1 error format. */
|
|
1415
|
+
"$.xgafv"?: string;
|
|
1416
|
+
/** OAuth access token. */
|
|
1417
|
+
access_token?: string;
|
|
1418
|
+
/** Data format for response. */
|
|
1419
|
+
alt?: string;
|
|
1420
|
+
/** JSONP */
|
|
1421
|
+
callback?: string;
|
|
1422
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1423
|
+
fields?: string;
|
|
1424
|
+
/** 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. */
|
|
1425
|
+
key?: string;
|
|
1426
|
+
/** OAuth 2.0 token for the current user. */
|
|
1427
|
+
oauth_token?: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* 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
|
|
1430
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
|
|
1431
|
+
* 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
|
|
1432
|
+
* role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
|
|
1433
|
+
* (https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1434
|
+
*/
|
|
1435
|
+
"options.requestedPolicyVersion"?: number;
|
|
1436
|
+
/** Returns response with indentations and line breaks. */
|
|
1437
|
+
prettyPrint?: boolean;
|
|
1438
|
+
/** 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. */
|
|
1439
|
+
quotaUser?: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* 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
|
|
1442
|
+
* field.
|
|
1443
|
+
*/
|
|
1444
|
+
resource: string;
|
|
1445
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1446
|
+
upload_protocol?: string;
|
|
1447
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1448
|
+
uploadType?: string;
|
|
1449
|
+
}): Request<Policy>;
|
|
1450
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
1451
|
+
setIamPolicy(request: {
|
|
1452
|
+
/** V1 error format. */
|
|
1453
|
+
"$.xgafv"?: string;
|
|
1454
|
+
/** OAuth access token. */
|
|
1455
|
+
access_token?: string;
|
|
1456
|
+
/** Data format for response. */
|
|
1457
|
+
alt?: string;
|
|
1458
|
+
/** JSONP */
|
|
1459
|
+
callback?: string;
|
|
1460
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1461
|
+
fields?: string;
|
|
1462
|
+
/** 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. */
|
|
1463
|
+
key?: string;
|
|
1464
|
+
/** OAuth 2.0 token for the current user. */
|
|
1465
|
+
oauth_token?: string;
|
|
1466
|
+
/** Returns response with indentations and line breaks. */
|
|
1467
|
+
prettyPrint?: boolean;
|
|
1468
|
+
/** 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. */
|
|
1469
|
+
quotaUser?: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* 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
|
|
1472
|
+
* field.
|
|
1473
|
+
*/
|
|
1474
|
+
resource: string;
|
|
1475
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1476
|
+
upload_protocol?: string;
|
|
1477
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1478
|
+
uploadType?: string;
|
|
1479
|
+
},
|
|
1480
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1481
|
+
/**
|
|
1482
|
+
* 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
|
|
1483
|
+
* 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.
|
|
1484
|
+
*/
|
|
1485
|
+
testIamPermissions(request: {
|
|
1486
|
+
/** V1 error format. */
|
|
1487
|
+
"$.xgafv"?: string;
|
|
1488
|
+
/** OAuth access token. */
|
|
1489
|
+
access_token?: string;
|
|
1490
|
+
/** Data format for response. */
|
|
1491
|
+
alt?: string;
|
|
1492
|
+
/** JSONP */
|
|
1493
|
+
callback?: string;
|
|
1494
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1495
|
+
fields?: string;
|
|
1496
|
+
/** 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. */
|
|
1497
|
+
key?: string;
|
|
1498
|
+
/** OAuth 2.0 token for the current user. */
|
|
1499
|
+
oauth_token?: string;
|
|
1500
|
+
/** Returns response with indentations and line breaks. */
|
|
1501
|
+
prettyPrint?: boolean;
|
|
1502
|
+
/** 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. */
|
|
1503
|
+
quotaUser?: string;
|
|
1504
|
+
/**
|
|
1505
|
+
* 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
|
|
1506
|
+
* this field.
|
|
1507
|
+
*/
|
|
1508
|
+
resource: string;
|
|
1509
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1510
|
+
upload_protocol?: string;
|
|
1511
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1512
|
+
uploadType?: string;
|
|
1513
|
+
},
|
|
1514
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1515
|
+
tables: TablesResource;
|
|
1516
|
+
}
|
|
1517
|
+
interface MetadataImportsResource {
|
|
1518
|
+
/** Creates a new MetadataImport in a given project and location. */
|
|
1519
|
+
create(request: {
|
|
1520
|
+
/** V1 error format. */
|
|
1521
|
+
"$.xgafv"?: string;
|
|
1522
|
+
/** OAuth access token. */
|
|
1523
|
+
access_token?: string;
|
|
1524
|
+
/** Data format for response. */
|
|
1525
|
+
alt?: string;
|
|
1526
|
+
/** JSONP */
|
|
1527
|
+
callback?: string;
|
|
1528
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1529
|
+
fields?: string;
|
|
1530
|
+
/** 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. */
|
|
1531
|
+
key?: string;
|
|
1532
|
+
/**
|
|
1533
|
+
* Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a
|
|
1534
|
+
* letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
|
|
1535
|
+
*/
|
|
1536
|
+
metadataImportId?: string;
|
|
1537
|
+
/** OAuth 2.0 token for the current user. */
|
|
1538
|
+
oauth_token?: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* Required. The relative resource name of the service in which to create a metastore import, in the following
|
|
1541
|
+
* form:projects/{project_number}/locations/{location_id}/services/{service_id}.
|
|
1542
|
+
*/
|
|
1543
|
+
parent: string;
|
|
1544
|
+
/** Returns response with indentations and line breaks. */
|
|
1545
|
+
prettyPrint?: boolean;
|
|
1546
|
+
/** 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. */
|
|
1547
|
+
quotaUser?: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1550
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1551
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1552
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1553
|
+
*/
|
|
1554
|
+
requestId?: string;
|
|
1555
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1556
|
+
upload_protocol?: string;
|
|
1557
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1558
|
+
uploadType?: string;
|
|
1559
|
+
/** Request body */
|
|
1560
|
+
resource: MetadataImport;
|
|
1561
|
+
}): Request<Operation>;
|
|
1562
|
+
create(request: {
|
|
1563
|
+
/** V1 error format. */
|
|
1564
|
+
"$.xgafv"?: string;
|
|
1565
|
+
/** OAuth access token. */
|
|
1566
|
+
access_token?: string;
|
|
1567
|
+
/** Data format for response. */
|
|
1568
|
+
alt?: string;
|
|
1569
|
+
/** JSONP */
|
|
1570
|
+
callback?: string;
|
|
1571
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1572
|
+
fields?: string;
|
|
1573
|
+
/** 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. */
|
|
1574
|
+
key?: string;
|
|
1575
|
+
/**
|
|
1576
|
+
* Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a
|
|
1577
|
+
* letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
|
|
1578
|
+
*/
|
|
1579
|
+
metadataImportId?: string;
|
|
1580
|
+
/** OAuth 2.0 token for the current user. */
|
|
1581
|
+
oauth_token?: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* Required. The relative resource name of the service in which to create a metastore import, in the following
|
|
1584
|
+
* form:projects/{project_number}/locations/{location_id}/services/{service_id}.
|
|
1585
|
+
*/
|
|
1586
|
+
parent: string;
|
|
1587
|
+
/** Returns response with indentations and line breaks. */
|
|
1588
|
+
prettyPrint?: boolean;
|
|
1589
|
+
/** 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. */
|
|
1590
|
+
quotaUser?: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1593
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1594
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1595
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1596
|
+
*/
|
|
1597
|
+
requestId?: string;
|
|
1598
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1599
|
+
upload_protocol?: string;
|
|
1600
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1601
|
+
uploadType?: string;
|
|
1602
|
+
},
|
|
1603
|
+
body: MetadataImport): Request<Operation>;
|
|
1604
|
+
/** Gets details of a single import. */
|
|
1605
|
+
get(request?: {
|
|
1606
|
+
/** V1 error format. */
|
|
1607
|
+
"$.xgafv"?: string;
|
|
1608
|
+
/** OAuth access token. */
|
|
1609
|
+
access_token?: string;
|
|
1610
|
+
/** Data format for response. */
|
|
1611
|
+
alt?: string;
|
|
1612
|
+
/** JSONP */
|
|
1613
|
+
callback?: string;
|
|
1614
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1615
|
+
fields?: string;
|
|
1616
|
+
/** 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. */
|
|
1617
|
+
key?: string;
|
|
1618
|
+
/**
|
|
1619
|
+
* Required. The relative resource name of the metadata import to retrieve, in the following
|
|
1620
|
+
* form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}.
|
|
1621
|
+
*/
|
|
1622
|
+
name: string;
|
|
1623
|
+
/** OAuth 2.0 token for the current user. */
|
|
1624
|
+
oauth_token?: string;
|
|
1625
|
+
/** Returns response with indentations and line breaks. */
|
|
1626
|
+
prettyPrint?: boolean;
|
|
1627
|
+
/** 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. */
|
|
1628
|
+
quotaUser?: string;
|
|
1629
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1630
|
+
upload_protocol?: string;
|
|
1631
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1632
|
+
uploadType?: string;
|
|
1633
|
+
}): Request<MetadataImport>;
|
|
1634
|
+
/** Lists imports in a service. */
|
|
1635
|
+
list(request?: {
|
|
1636
|
+
/** V1 error format. */
|
|
1637
|
+
"$.xgafv"?: string;
|
|
1638
|
+
/** OAuth access token. */
|
|
1639
|
+
access_token?: string;
|
|
1640
|
+
/** Data format for response. */
|
|
1641
|
+
alt?: string;
|
|
1642
|
+
/** JSONP */
|
|
1643
|
+
callback?: string;
|
|
1644
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1645
|
+
fields?: string;
|
|
1646
|
+
/** Optional. The filter to apply to list results. */
|
|
1647
|
+
filter?: string;
|
|
1648
|
+
/** 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. */
|
|
1649
|
+
key?: string;
|
|
1650
|
+
/** OAuth 2.0 token for the current user. */
|
|
1651
|
+
oauth_token?: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will
|
|
1654
|
+
* be sorted in the default order.
|
|
1655
|
+
*/
|
|
1656
|
+
orderBy?: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* Optional. The maximum number of imports to return. The response may contain less than the maximum number. If unspecified, no more than 500 imports are returned. The maximum
|
|
1659
|
+
* value is 1000; values above 1000 are changed to 1000.
|
|
1660
|
+
*/
|
|
1661
|
+
pageSize?: number;
|
|
1662
|
+
/**
|
|
1663
|
+
* Optional. A page token, received from a previous DataprocMetastore.ListServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an
|
|
1664
|
+
* empty page token.When paginating, other parameters provided to DataprocMetastore.ListServices must match the call that provided the page token.
|
|
1665
|
+
*/
|
|
1666
|
+
pageToken?: string;
|
|
1667
|
+
/**
|
|
1668
|
+
* Required. The relative resource name of the service whose metadata imports to list, in the following
|
|
1669
|
+
* form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports.
|
|
1670
|
+
*/
|
|
1671
|
+
parent: string;
|
|
1672
|
+
/** Returns response with indentations and line breaks. */
|
|
1673
|
+
prettyPrint?: boolean;
|
|
1674
|
+
/** 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. */
|
|
1675
|
+
quotaUser?: string;
|
|
1676
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1677
|
+
upload_protocol?: string;
|
|
1678
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1679
|
+
uploadType?: string;
|
|
1680
|
+
}): Request<ListMetadataImportsResponse>;
|
|
1681
|
+
/** Updates a single import. Only the description field of MetadataImport is supported to be updated. */
|
|
1682
|
+
patch(request: {
|
|
1683
|
+
/** V1 error format. */
|
|
1684
|
+
"$.xgafv"?: string;
|
|
1685
|
+
/** OAuth access token. */
|
|
1686
|
+
access_token?: string;
|
|
1687
|
+
/** Data format for response. */
|
|
1688
|
+
alt?: string;
|
|
1689
|
+
/** JSONP */
|
|
1690
|
+
callback?: string;
|
|
1691
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1692
|
+
fields?: string;
|
|
1693
|
+
/** 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. */
|
|
1694
|
+
key?: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* Immutable. The relative resource name of the metadata import, of the
|
|
1697
|
+
* form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
|
|
1698
|
+
*/
|
|
1699
|
+
name: string;
|
|
1700
|
+
/** OAuth 2.0 token for the current user. */
|
|
1701
|
+
oauth_token?: string;
|
|
1702
|
+
/** Returns response with indentations and line breaks. */
|
|
1703
|
+
prettyPrint?: boolean;
|
|
1704
|
+
/** 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. */
|
|
1705
|
+
quotaUser?: string;
|
|
1706
|
+
/**
|
|
1707
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1708
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1709
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1710
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1711
|
+
*/
|
|
1712
|
+
requestId?: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* Required. A field mask used to specify the fields to be overwritten in the metadata import resource by the update. Fields specified in the update_mask are relative to the
|
|
1715
|
+
* resource (not to the full request). A field is overwritten if it is in the mask.
|
|
1716
|
+
*/
|
|
1717
|
+
updateMask?: string;
|
|
1718
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1719
|
+
upload_protocol?: string;
|
|
1720
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1721
|
+
uploadType?: string;
|
|
1722
|
+
/** Request body */
|
|
1723
|
+
resource: MetadataImport;
|
|
1724
|
+
}): Request<Operation>;
|
|
1725
|
+
patch(request: {
|
|
1726
|
+
/** V1 error format. */
|
|
1727
|
+
"$.xgafv"?: string;
|
|
1728
|
+
/** OAuth access token. */
|
|
1729
|
+
access_token?: string;
|
|
1730
|
+
/** Data format for response. */
|
|
1731
|
+
alt?: string;
|
|
1732
|
+
/** JSONP */
|
|
1733
|
+
callback?: string;
|
|
1734
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1735
|
+
fields?: string;
|
|
1736
|
+
/** 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. */
|
|
1737
|
+
key?: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* Immutable. The relative resource name of the metadata import, of the
|
|
1740
|
+
* form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
|
|
1741
|
+
*/
|
|
1742
|
+
name: string;
|
|
1743
|
+
/** OAuth 2.0 token for the current user. */
|
|
1744
|
+
oauth_token?: string;
|
|
1745
|
+
/** Returns response with indentations and line breaks. */
|
|
1746
|
+
prettyPrint?: boolean;
|
|
1747
|
+
/** 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. */
|
|
1748
|
+
quotaUser?: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1751
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1752
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1753
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1754
|
+
*/
|
|
1755
|
+
requestId?: string;
|
|
1756
|
+
/**
|
|
1757
|
+
* Required. A field mask used to specify the fields to be overwritten in the metadata import resource by the update. Fields specified in the update_mask are relative to the
|
|
1758
|
+
* resource (not to the full request). A field is overwritten if it is in the mask.
|
|
1759
|
+
*/
|
|
1760
|
+
updateMask?: string;
|
|
1761
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1762
|
+
upload_protocol?: string;
|
|
1763
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1764
|
+
uploadType?: string;
|
|
1765
|
+
},
|
|
1766
|
+
body: MetadataImport): Request<Operation>;
|
|
1767
|
+
}
|
|
1768
|
+
interface ServicesResource {
|
|
1769
|
+
/** Creates a metastore service in a project and location. */
|
|
1770
|
+
create(request: {
|
|
1771
|
+
/** V1 error format. */
|
|
1772
|
+
"$.xgafv"?: string;
|
|
1773
|
+
/** OAuth access token. */
|
|
1774
|
+
access_token?: string;
|
|
1775
|
+
/** Data format for response. */
|
|
1776
|
+
alt?: string;
|
|
1777
|
+
/** JSONP */
|
|
1778
|
+
callback?: string;
|
|
1779
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1780
|
+
fields?: string;
|
|
1781
|
+
/** 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. */
|
|
1782
|
+
key?: string;
|
|
1783
|
+
/** OAuth 2.0 token for the current user. */
|
|
1784
|
+
oauth_token?: string;
|
|
1785
|
+
/** Required. The relative resource name of the location in which to create a metastore service, in the following form:projects/{project_number}/locations/{location_id}. */
|
|
1786
|
+
parent: string;
|
|
1787
|
+
/** Returns response with indentations and line breaks. */
|
|
1788
|
+
prettyPrint?: boolean;
|
|
1789
|
+
/** 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. */
|
|
1790
|
+
quotaUser?: string;
|
|
1791
|
+
/**
|
|
1792
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1793
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1794
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1795
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1796
|
+
*/
|
|
1797
|
+
requestId?: string;
|
|
1798
|
+
/**
|
|
1799
|
+
* Required. The ID of the metastore service, which is used as the final component of the metastore service's name.This value must be between 2 and 63 characters long inclusive,
|
|
1800
|
+
* begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
|
|
1801
|
+
*/
|
|
1802
|
+
serviceId?: string;
|
|
1803
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1804
|
+
upload_protocol?: string;
|
|
1805
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1806
|
+
uploadType?: string;
|
|
1807
|
+
/** Request body */
|
|
1808
|
+
resource: Service;
|
|
1809
|
+
}): Request<Operation>;
|
|
1810
|
+
create(request: {
|
|
1811
|
+
/** V1 error format. */
|
|
1812
|
+
"$.xgafv"?: string;
|
|
1813
|
+
/** OAuth access token. */
|
|
1814
|
+
access_token?: string;
|
|
1815
|
+
/** Data format for response. */
|
|
1816
|
+
alt?: string;
|
|
1817
|
+
/** JSONP */
|
|
1818
|
+
callback?: string;
|
|
1819
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1820
|
+
fields?: string;
|
|
1821
|
+
/** 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. */
|
|
1822
|
+
key?: string;
|
|
1823
|
+
/** OAuth 2.0 token for the current user. */
|
|
1824
|
+
oauth_token?: string;
|
|
1825
|
+
/** Required. The relative resource name of the location in which to create a metastore service, in the following form:projects/{project_number}/locations/{location_id}. */
|
|
1826
|
+
parent: string;
|
|
1827
|
+
/** Returns response with indentations and line breaks. */
|
|
1828
|
+
prettyPrint?: boolean;
|
|
1829
|
+
/** 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. */
|
|
1830
|
+
quotaUser?: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1833
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1834
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1835
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1836
|
+
*/
|
|
1837
|
+
requestId?: string;
|
|
1838
|
+
/**
|
|
1839
|
+
* Required. The ID of the metastore service, which is used as the final component of the metastore service's name.This value must be between 2 and 63 characters long inclusive,
|
|
1840
|
+
* begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
|
|
1841
|
+
*/
|
|
1842
|
+
serviceId?: string;
|
|
1843
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1844
|
+
upload_protocol?: string;
|
|
1845
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1846
|
+
uploadType?: string;
|
|
1847
|
+
},
|
|
1848
|
+
body: Service): Request<Operation>;
|
|
1849
|
+
/** Deletes a single service. */
|
|
1850
|
+
delete(request?: {
|
|
1851
|
+
/** V1 error format. */
|
|
1852
|
+
"$.xgafv"?: string;
|
|
1853
|
+
/** OAuth access token. */
|
|
1854
|
+
access_token?: string;
|
|
1855
|
+
/** Data format for response. */
|
|
1856
|
+
alt?: string;
|
|
1857
|
+
/** JSONP */
|
|
1858
|
+
callback?: string;
|
|
1859
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1860
|
+
fields?: string;
|
|
1861
|
+
/** 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. */
|
|
1862
|
+
key?: string;
|
|
1863
|
+
/** Required. The relative resource name of the metastore service to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
1864
|
+
name: string;
|
|
1865
|
+
/** OAuth 2.0 token for the current user. */
|
|
1866
|
+
oauth_token?: string;
|
|
1867
|
+
/** Returns response with indentations and line breaks. */
|
|
1868
|
+
prettyPrint?: boolean;
|
|
1869
|
+
/** 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. */
|
|
1870
|
+
quotaUser?: string;
|
|
1871
|
+
/**
|
|
1872
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
1873
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
1874
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
1875
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
1876
|
+
*/
|
|
1877
|
+
requestId?: string;
|
|
1878
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1879
|
+
upload_protocol?: string;
|
|
1880
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1881
|
+
uploadType?: string;
|
|
1882
|
+
}): Request<Operation>;
|
|
1883
|
+
/** Exports metadata from a service. */
|
|
1884
|
+
exportMetadata(request: {
|
|
1885
|
+
/** V1 error format. */
|
|
1886
|
+
"$.xgafv"?: string;
|
|
1887
|
+
/** OAuth access token. */
|
|
1888
|
+
access_token?: string;
|
|
1889
|
+
/** Data format for response. */
|
|
1890
|
+
alt?: string;
|
|
1891
|
+
/** JSONP */
|
|
1892
|
+
callback?: string;
|
|
1893
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1894
|
+
fields?: string;
|
|
1895
|
+
/** 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. */
|
|
1896
|
+
key?: string;
|
|
1897
|
+
/** OAuth 2.0 token for the current user. */
|
|
1898
|
+
oauth_token?: string;
|
|
1899
|
+
/** Returns response with indentations and line breaks. */
|
|
1900
|
+
prettyPrint?: boolean;
|
|
1901
|
+
/** 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. */
|
|
1902
|
+
quotaUser?: string;
|
|
1903
|
+
/** Required. The relative resource name of the metastore service to run export, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}. */
|
|
1904
|
+
service: string;
|
|
1905
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1906
|
+
upload_protocol?: string;
|
|
1907
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1908
|
+
uploadType?: string;
|
|
1909
|
+
/** Request body */
|
|
1910
|
+
resource: ExportMetadataRequest;
|
|
1911
|
+
}): Request<Operation>;
|
|
1912
|
+
exportMetadata(request: {
|
|
1913
|
+
/** V1 error format. */
|
|
1914
|
+
"$.xgafv"?: string;
|
|
1915
|
+
/** OAuth access token. */
|
|
1916
|
+
access_token?: string;
|
|
1917
|
+
/** Data format for response. */
|
|
1918
|
+
alt?: string;
|
|
1919
|
+
/** JSONP */
|
|
1920
|
+
callback?: string;
|
|
1921
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1922
|
+
fields?: string;
|
|
1923
|
+
/** 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. */
|
|
1924
|
+
key?: string;
|
|
1925
|
+
/** OAuth 2.0 token for the current user. */
|
|
1926
|
+
oauth_token?: string;
|
|
1927
|
+
/** Returns response with indentations and line breaks. */
|
|
1928
|
+
prettyPrint?: boolean;
|
|
1929
|
+
/** 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. */
|
|
1930
|
+
quotaUser?: string;
|
|
1931
|
+
/** Required. The relative resource name of the metastore service to run export, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}. */
|
|
1932
|
+
service: string;
|
|
1933
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1934
|
+
upload_protocol?: string;
|
|
1935
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1936
|
+
uploadType?: string;
|
|
1937
|
+
},
|
|
1938
|
+
body: ExportMetadataRequest): Request<Operation>;
|
|
1939
|
+
/** Gets the details of a single service. */
|
|
1940
|
+
get(request?: {
|
|
1941
|
+
/** V1 error format. */
|
|
1942
|
+
"$.xgafv"?: string;
|
|
1943
|
+
/** OAuth access token. */
|
|
1944
|
+
access_token?: string;
|
|
1945
|
+
/** Data format for response. */
|
|
1946
|
+
alt?: string;
|
|
1947
|
+
/** JSONP */
|
|
1948
|
+
callback?: string;
|
|
1949
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1950
|
+
fields?: string;
|
|
1951
|
+
/** 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. */
|
|
1952
|
+
key?: string;
|
|
1953
|
+
/** Required. The relative resource name of the metastore service to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
1954
|
+
name: string;
|
|
1955
|
+
/** OAuth 2.0 token for the current user. */
|
|
1956
|
+
oauth_token?: string;
|
|
1957
|
+
/** Returns response with indentations and line breaks. */
|
|
1958
|
+
prettyPrint?: boolean;
|
|
1959
|
+
/** 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. */
|
|
1960
|
+
quotaUser?: string;
|
|
1961
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1962
|
+
upload_protocol?: string;
|
|
1963
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1964
|
+
uploadType?: string;
|
|
1965
|
+
}): Request<Service>;
|
|
1966
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1967
|
+
getIamPolicy(request?: {
|
|
1968
|
+
/** V1 error format. */
|
|
1969
|
+
"$.xgafv"?: string;
|
|
1970
|
+
/** OAuth access token. */
|
|
1971
|
+
access_token?: string;
|
|
1972
|
+
/** Data format for response. */
|
|
1973
|
+
alt?: string;
|
|
1974
|
+
/** JSONP */
|
|
1975
|
+
callback?: string;
|
|
1976
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1977
|
+
fields?: string;
|
|
1978
|
+
/** 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. */
|
|
1979
|
+
key?: string;
|
|
1980
|
+
/** OAuth 2.0 token for the current user. */
|
|
1981
|
+
oauth_token?: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* 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
|
|
1984
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in
|
|
1985
|
+
* 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
|
|
1986
|
+
* role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation
|
|
1987
|
+
* (https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1988
|
+
*/
|
|
1989
|
+
"options.requestedPolicyVersion"?: number;
|
|
1990
|
+
/** Returns response with indentations and line breaks. */
|
|
1991
|
+
prettyPrint?: boolean;
|
|
1992
|
+
/** 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. */
|
|
1993
|
+
quotaUser?: string;
|
|
1994
|
+
/**
|
|
1995
|
+
* 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
|
|
1996
|
+
* field.
|
|
1997
|
+
*/
|
|
1998
|
+
resource: string;
|
|
1999
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2000
|
+
upload_protocol?: string;
|
|
2001
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2002
|
+
uploadType?: string;
|
|
2003
|
+
}): Request<Policy>;
|
|
2004
|
+
/** Lists services in a project and location. */
|
|
2005
|
+
list(request?: {
|
|
2006
|
+
/** V1 error format. */
|
|
2007
|
+
"$.xgafv"?: string;
|
|
2008
|
+
/** OAuth access token. */
|
|
2009
|
+
access_token?: string;
|
|
2010
|
+
/** Data format for response. */
|
|
2011
|
+
alt?: string;
|
|
2012
|
+
/** JSONP */
|
|
2013
|
+
callback?: string;
|
|
2014
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2015
|
+
fields?: string;
|
|
2016
|
+
/** Optional. The filter to apply to list results. */
|
|
2017
|
+
filter?: string;
|
|
2018
|
+
/** 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. */
|
|
2019
|
+
key?: string;
|
|
2020
|
+
/** OAuth 2.0 token for the current user. */
|
|
2021
|
+
oauth_token?: string;
|
|
2022
|
+
/**
|
|
2023
|
+
* Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will
|
|
2024
|
+
* be sorted in the default order.
|
|
2025
|
+
*/
|
|
2026
|
+
orderBy?: string;
|
|
2027
|
+
/**
|
|
2028
|
+
* Optional. The maximum number of services to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum
|
|
2029
|
+
* value is 1000; values above 1000 are changed to 1000.
|
|
2030
|
+
*/
|
|
2031
|
+
pageSize?: number;
|
|
2032
|
+
/**
|
|
2033
|
+
* Optional. A page token, received from a previous DataprocMetastore.ListServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an
|
|
2034
|
+
* empty page token.When paginating, other parameters provided to DataprocMetastore.ListServices must match the call that provided the page token.
|
|
2035
|
+
*/
|
|
2036
|
+
pageToken?: string;
|
|
2037
|
+
/** Required. The relative resource name of the location of metastore services to list, in the following form:projects/{project_number}/locations/{location_id}. */
|
|
2038
|
+
parent: string;
|
|
2039
|
+
/** Returns response with indentations and line breaks. */
|
|
2040
|
+
prettyPrint?: boolean;
|
|
2041
|
+
/** 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. */
|
|
2042
|
+
quotaUser?: string;
|
|
2043
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2044
|
+
upload_protocol?: string;
|
|
2045
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2046
|
+
uploadType?: string;
|
|
2047
|
+
}): Request<ListServicesResponse>;
|
|
2048
|
+
/** Updates the parameters of a single service. */
|
|
2049
|
+
patch(request: {
|
|
2050
|
+
/** V1 error format. */
|
|
2051
|
+
"$.xgafv"?: string;
|
|
2052
|
+
/** OAuth access token. */
|
|
2053
|
+
access_token?: string;
|
|
2054
|
+
/** Data format for response. */
|
|
2055
|
+
alt?: string;
|
|
2056
|
+
/** JSONP */
|
|
2057
|
+
callback?: string;
|
|
2058
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2059
|
+
fields?: string;
|
|
2060
|
+
/** 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. */
|
|
2061
|
+
key?: string;
|
|
2062
|
+
/** Immutable. The relative resource name of the metastore service, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2063
|
+
name: string;
|
|
2064
|
+
/** OAuth 2.0 token for the current user. */
|
|
2065
|
+
oauth_token?: string;
|
|
2066
|
+
/** Returns response with indentations and line breaks. */
|
|
2067
|
+
prettyPrint?: boolean;
|
|
2068
|
+
/** 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. */
|
|
2069
|
+
quotaUser?: string;
|
|
2070
|
+
/**
|
|
2071
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
2072
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
2073
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
2074
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
2075
|
+
*/
|
|
2076
|
+
requestId?: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* Required. A field mask used to specify the fields to be overwritten in the metastore service resource by the update. Fields specified in the update_mask are relative to the
|
|
2079
|
+
* resource (not to the full request). A field is overwritten if it is in the mask.
|
|
2080
|
+
*/
|
|
2081
|
+
updateMask?: string;
|
|
2082
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2083
|
+
upload_protocol?: string;
|
|
2084
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2085
|
+
uploadType?: string;
|
|
2086
|
+
/** Request body */
|
|
2087
|
+
resource: Service;
|
|
2088
|
+
}): Request<Operation>;
|
|
2089
|
+
patch(request: {
|
|
2090
|
+
/** V1 error format. */
|
|
2091
|
+
"$.xgafv"?: string;
|
|
2092
|
+
/** OAuth access token. */
|
|
2093
|
+
access_token?: string;
|
|
2094
|
+
/** Data format for response. */
|
|
2095
|
+
alt?: string;
|
|
2096
|
+
/** JSONP */
|
|
2097
|
+
callback?: string;
|
|
2098
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2099
|
+
fields?: string;
|
|
2100
|
+
/** 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. */
|
|
2101
|
+
key?: string;
|
|
2102
|
+
/** Immutable. The relative resource name of the metastore service, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2103
|
+
name: string;
|
|
2104
|
+
/** OAuth 2.0 token for the current user. */
|
|
2105
|
+
oauth_token?: string;
|
|
2106
|
+
/** Returns response with indentations and line breaks. */
|
|
2107
|
+
prettyPrint?: boolean;
|
|
2108
|
+
/** 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. */
|
|
2109
|
+
quotaUser?: string;
|
|
2110
|
+
/**
|
|
2111
|
+
* Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a
|
|
2112
|
+
* duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the
|
|
2113
|
+
* server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID
|
|
2114
|
+
* (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
|
|
2115
|
+
*/
|
|
2116
|
+
requestId?: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* Required. A field mask used to specify the fields to be overwritten in the metastore service resource by the update. Fields specified in the update_mask are relative to the
|
|
2119
|
+
* resource (not to the full request). A field is overwritten if it is in the mask.
|
|
2120
|
+
*/
|
|
2121
|
+
updateMask?: string;
|
|
2122
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2123
|
+
upload_protocol?: string;
|
|
2124
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2125
|
+
uploadType?: string;
|
|
2126
|
+
},
|
|
2127
|
+
body: Service): Request<Operation>;
|
|
2128
|
+
/** Removes the attached IAM policies for a resource */
|
|
2129
|
+
removeIamPolicy(request: {
|
|
2130
|
+
/** V1 error format. */
|
|
2131
|
+
"$.xgafv"?: string;
|
|
2132
|
+
/** OAuth access token. */
|
|
2133
|
+
access_token?: string;
|
|
2134
|
+
/** Data format for response. */
|
|
2135
|
+
alt?: string;
|
|
2136
|
+
/** JSONP */
|
|
2137
|
+
callback?: string;
|
|
2138
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2139
|
+
fields?: string;
|
|
2140
|
+
/** 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. */
|
|
2141
|
+
key?: string;
|
|
2142
|
+
/** OAuth 2.0 token for the current user. */
|
|
2143
|
+
oauth_token?: string;
|
|
2144
|
+
/** Returns response with indentations and line breaks. */
|
|
2145
|
+
prettyPrint?: boolean;
|
|
2146
|
+
/** 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. */
|
|
2147
|
+
quotaUser?: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* Required. The relative resource name of the dataplane resource to remove IAM policy, in the following
|
|
2150
|
+
* form:projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or
|
|
2151
|
+
* projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.
|
|
2152
|
+
*/
|
|
2153
|
+
resource: string;
|
|
2154
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2155
|
+
upload_protocol?: string;
|
|
2156
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2157
|
+
uploadType?: string;
|
|
2158
|
+
},
|
|
2159
|
+
body: RemoveIamPolicyRequest): Request<RemoveIamPolicyResponse>;
|
|
2160
|
+
/** Restores a service from a backup. */
|
|
2161
|
+
restore(request: {
|
|
2162
|
+
/** V1 error format. */
|
|
2163
|
+
"$.xgafv"?: string;
|
|
2164
|
+
/** OAuth access token. */
|
|
2165
|
+
access_token?: string;
|
|
2166
|
+
/** Data format for response. */
|
|
2167
|
+
alt?: string;
|
|
2168
|
+
/** JSONP */
|
|
2169
|
+
callback?: string;
|
|
2170
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2171
|
+
fields?: string;
|
|
2172
|
+
/** 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. */
|
|
2173
|
+
key?: string;
|
|
2174
|
+
/** OAuth 2.0 token for the current user. */
|
|
2175
|
+
oauth_token?: string;
|
|
2176
|
+
/** Returns response with indentations and line breaks. */
|
|
2177
|
+
prettyPrint?: boolean;
|
|
2178
|
+
/** 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. */
|
|
2179
|
+
quotaUser?: string;
|
|
2180
|
+
/** Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}. */
|
|
2181
|
+
service: string;
|
|
2182
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2183
|
+
upload_protocol?: string;
|
|
2184
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2185
|
+
uploadType?: string;
|
|
2186
|
+
/** Request body */
|
|
2187
|
+
resource: RestoreServiceRequest;
|
|
2188
|
+
}): Request<Operation>;
|
|
2189
|
+
restore(request: {
|
|
2190
|
+
/** V1 error format. */
|
|
2191
|
+
"$.xgafv"?: string;
|
|
2192
|
+
/** OAuth access token. */
|
|
2193
|
+
access_token?: string;
|
|
2194
|
+
/** Data format for response. */
|
|
2195
|
+
alt?: string;
|
|
2196
|
+
/** JSONP */
|
|
2197
|
+
callback?: string;
|
|
2198
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2199
|
+
fields?: string;
|
|
2200
|
+
/** 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. */
|
|
2201
|
+
key?: string;
|
|
2202
|
+
/** OAuth 2.0 token for the current user. */
|
|
2203
|
+
oauth_token?: string;
|
|
2204
|
+
/** Returns response with indentations and line breaks. */
|
|
2205
|
+
prettyPrint?: boolean;
|
|
2206
|
+
/** 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. */
|
|
2207
|
+
quotaUser?: string;
|
|
2208
|
+
/** Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}. */
|
|
2209
|
+
service: string;
|
|
2210
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2211
|
+
upload_protocol?: string;
|
|
2212
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2213
|
+
uploadType?: string;
|
|
2214
|
+
},
|
|
2215
|
+
body: RestoreServiceRequest): Request<Operation>;
|
|
2216
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
2217
|
+
setIamPolicy(request: {
|
|
2218
|
+
/** V1 error format. */
|
|
2219
|
+
"$.xgafv"?: string;
|
|
2220
|
+
/** OAuth access token. */
|
|
2221
|
+
access_token?: string;
|
|
2222
|
+
/** Data format for response. */
|
|
2223
|
+
alt?: string;
|
|
2224
|
+
/** JSONP */
|
|
2225
|
+
callback?: string;
|
|
2226
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2227
|
+
fields?: string;
|
|
2228
|
+
/** 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. */
|
|
2229
|
+
key?: string;
|
|
2230
|
+
/** OAuth 2.0 token for the current user. */
|
|
2231
|
+
oauth_token?: string;
|
|
2232
|
+
/** Returns response with indentations and line breaks. */
|
|
2233
|
+
prettyPrint?: boolean;
|
|
2234
|
+
/** 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. */
|
|
2235
|
+
quotaUser?: string;
|
|
2236
|
+
/**
|
|
2237
|
+
* 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
|
|
2238
|
+
* field.
|
|
2239
|
+
*/
|
|
2240
|
+
resource: string;
|
|
2241
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2242
|
+
upload_protocol?: string;
|
|
2243
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2244
|
+
uploadType?: string;
|
|
2245
|
+
},
|
|
2246
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
2247
|
+
/**
|
|
2248
|
+
* 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
|
|
2249
|
+
* 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.
|
|
2250
|
+
*/
|
|
2251
|
+
testIamPermissions(request: {
|
|
2252
|
+
/** V1 error format. */
|
|
2253
|
+
"$.xgafv"?: string;
|
|
2254
|
+
/** OAuth access token. */
|
|
2255
|
+
access_token?: string;
|
|
2256
|
+
/** Data format for response. */
|
|
2257
|
+
alt?: string;
|
|
2258
|
+
/** JSONP */
|
|
2259
|
+
callback?: string;
|
|
2260
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2261
|
+
fields?: string;
|
|
2262
|
+
/** 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. */
|
|
2263
|
+
key?: string;
|
|
2264
|
+
/** OAuth 2.0 token for the current user. */
|
|
2265
|
+
oauth_token?: string;
|
|
2266
|
+
/** Returns response with indentations and line breaks. */
|
|
2267
|
+
prettyPrint?: boolean;
|
|
2268
|
+
/** 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. */
|
|
2269
|
+
quotaUser?: string;
|
|
2270
|
+
/**
|
|
2271
|
+
* 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
|
|
2272
|
+
* this field.
|
|
2273
|
+
*/
|
|
2274
|
+
resource: string;
|
|
2275
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2276
|
+
upload_protocol?: string;
|
|
2277
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2278
|
+
uploadType?: string;
|
|
2279
|
+
},
|
|
2280
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
2281
|
+
backups: BackupsResource;
|
|
2282
|
+
databases: DatabasesResource;
|
|
2283
|
+
metadataImports: MetadataImportsResource;
|
|
2284
|
+
}
|
|
2285
|
+
interface LocationsResource {
|
|
2286
|
+
/** Gets information about a location. */
|
|
2287
|
+
get(request?: {
|
|
2288
|
+
/** V1 error format. */
|
|
2289
|
+
"$.xgafv"?: string;
|
|
2290
|
+
/** OAuth access token. */
|
|
2291
|
+
access_token?: string;
|
|
2292
|
+
/** Data format for response. */
|
|
2293
|
+
alt?: string;
|
|
2294
|
+
/** JSONP */
|
|
2295
|
+
callback?: string;
|
|
2296
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2297
|
+
fields?: string;
|
|
2298
|
+
/** 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. */
|
|
2299
|
+
key?: string;
|
|
2300
|
+
/** Resource name for the location. */
|
|
2301
|
+
name: string;
|
|
2302
|
+
/** OAuth 2.0 token for the current user. */
|
|
2303
|
+
oauth_token?: string;
|
|
2304
|
+
/** Returns response with indentations and line breaks. */
|
|
2305
|
+
prettyPrint?: boolean;
|
|
2306
|
+
/** 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. */
|
|
2307
|
+
quotaUser?: string;
|
|
2308
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2309
|
+
upload_protocol?: string;
|
|
2310
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2311
|
+
uploadType?: string;
|
|
2312
|
+
}): Request<Location>;
|
|
2313
|
+
/** Lists information about the supported locations for this service. */
|
|
2314
|
+
list(request?: {
|
|
2315
|
+
/** V1 error format. */
|
|
2316
|
+
"$.xgafv"?: string;
|
|
2317
|
+
/** OAuth access token. */
|
|
2318
|
+
access_token?: string;
|
|
2319
|
+
/** Data format for response. */
|
|
2320
|
+
alt?: string;
|
|
2321
|
+
/** JSONP */
|
|
2322
|
+
callback?: string;
|
|
2323
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2324
|
+
fields?: string;
|
|
2325
|
+
/**
|
|
2326
|
+
* 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 AIP-160
|
|
2327
|
+
* (https://google.aip.dev/160).
|
|
2328
|
+
*/
|
|
2329
|
+
filter?: string;
|
|
2330
|
+
/** 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. */
|
|
2331
|
+
key?: string;
|
|
2332
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
2333
|
+
name: string;
|
|
2334
|
+
/** OAuth 2.0 token for the current user. */
|
|
2335
|
+
oauth_token?: string;
|
|
2336
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
2337
|
+
pageSize?: number;
|
|
2338
|
+
/** A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page. */
|
|
2339
|
+
pageToken?: string;
|
|
2340
|
+
/** Returns response with indentations and line breaks. */
|
|
2341
|
+
prettyPrint?: boolean;
|
|
2342
|
+
/** 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. */
|
|
2343
|
+
quotaUser?: string;
|
|
2344
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2345
|
+
upload_protocol?: string;
|
|
2346
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2347
|
+
uploadType?: string;
|
|
2348
|
+
}): Request<ListLocationsResponse>;
|
|
2349
|
+
federations: FederationsResource;
|
|
2350
|
+
operations: OperationsResource;
|
|
2351
|
+
services: ServicesResource;
|
|
2352
|
+
}
|
|
2353
|
+
interface ProjectsResource {
|
|
2354
|
+
locations: LocationsResource;
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
const projects: ProjectsResource;
|
|
2358
|
+
}
|
|
2359
|
+
}
|