@maxim_mazurok/gapi.client.metastore-v1alpha 0.0.20250109 → 0.0.20250123
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 +65 -65
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://metastore.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250123
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Dataproc Metastore API v1alpha */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://metastore.googleapis.com/$discovery/rest?version=v1alpha'
|
|
19
|
+
urlOrObject: 'https://metastore.googleapis.com/$discovery/rest?version=v1alpha',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'metastore', version: 'v1alpha'): Promise<void>;
|
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(
|
|
25
25
|
name: 'metastore',
|
|
26
26
|
version: 'v1alpha',
|
|
27
|
-
callback: () => any
|
|
27
|
+
callback: () => any,
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace metastore {
|
|
@@ -64,11 +64,11 @@ declare namespace gapi.client {
|
|
|
64
64
|
limitConfig?: LimitConfig;
|
|
65
65
|
}
|
|
66
66
|
interface AuxiliaryVersionConfig {
|
|
67
|
-
/** 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 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. */
|
|
67
|
+
/** Optional. 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 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. */
|
|
68
68
|
configOverrides?: {[P in string]: string};
|
|
69
69
|
/** Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service. */
|
|
70
70
|
networkConfig?: NetworkConfig;
|
|
71
|
-
/** The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version. */
|
|
71
|
+
/** Optional. The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version. */
|
|
72
72
|
version?: string;
|
|
73
73
|
}
|
|
74
74
|
interface BackendMetastore {
|
|
@@ -80,11 +80,11 @@ declare namespace gapi.client {
|
|
|
80
80
|
interface Backup {
|
|
81
81
|
/** Output only. The time when the backup was started. */
|
|
82
82
|
createTime?: string;
|
|
83
|
-
/** The description of the backup. */
|
|
83
|
+
/** Optional. The description of the backup. */
|
|
84
84
|
description?: string;
|
|
85
85
|
/** Output only. The time when the backup finished creating. */
|
|
86
86
|
endTime?: string;
|
|
87
|
-
/** Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id} */
|
|
87
|
+
/** Immutable. Identifier. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id} */
|
|
88
88
|
name?: string;
|
|
89
89
|
/** Output only. Services that are restoring from the backup. */
|
|
90
90
|
restoringServices?: string[];
|
|
@@ -177,9 +177,9 @@ declare namespace gapi.client {
|
|
|
177
177
|
interface DatabaseDump {
|
|
178
178
|
/** The type of the database. */
|
|
179
179
|
databaseType?: string;
|
|
180
|
-
/** A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://. */
|
|
180
|
+
/** Optional. A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://. */
|
|
181
181
|
gcsUri?: string;
|
|
182
|
-
/** The name of the source database. */
|
|
182
|
+
/** Optional. The name of the source database. */
|
|
183
183
|
sourceDatabase?: string;
|
|
184
184
|
/** Optional. The type of the database dump. If unspecified, defaults to MYSQL. */
|
|
185
185
|
type?: string;
|
|
@@ -189,12 +189,12 @@ declare namespace gapi.client {
|
|
|
189
189
|
enabled?: boolean;
|
|
190
190
|
}
|
|
191
191
|
interface DataplexConfig {
|
|
192
|
-
/** A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
|
|
192
|
+
/** Optional. A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. */
|
|
193
193
|
lakeResources?: {[P in string]: Lake};
|
|
194
194
|
}
|
|
195
195
|
interface Empty {}
|
|
196
196
|
interface EncryptionConfig {
|
|
197
|
-
/** The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. */
|
|
197
|
+
/** Optional. The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. */
|
|
198
198
|
kmsKey?: string;
|
|
199
199
|
}
|
|
200
200
|
interface ErrorDetails {
|
|
@@ -242,13 +242,13 @@ declare namespace gapi.client {
|
|
|
242
242
|
version?: string;
|
|
243
243
|
}
|
|
244
244
|
interface HiveMetastoreConfig {
|
|
245
|
-
/** 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 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 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. */
|
|
245
|
+
/** Optional. 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 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 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. */
|
|
246
246
|
auxiliaryVersions?: {[P in string]: AuxiliaryVersionConfig};
|
|
247
|
-
/** 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 overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig. */
|
|
247
|
+
/** Optional. 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 overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig. */
|
|
248
248
|
configOverrides?: {[P in string]: string};
|
|
249
|
-
/** The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT. */
|
|
249
|
+
/** Optional. The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT. */
|
|
250
250
|
endpointProtocol?: string;
|
|
251
|
-
/** 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 (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service. */
|
|
251
|
+
/** Optional. 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 (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service. */
|
|
252
252
|
kerberosConfig?: KerberosConfig;
|
|
253
253
|
/** Immutable. The Hive metastore schema version. */
|
|
254
254
|
version?: string;
|
|
@@ -260,11 +260,11 @@ declare namespace gapi.client {
|
|
|
260
260
|
version?: string;
|
|
261
261
|
}
|
|
262
262
|
interface KerberosConfig {
|
|
263
|
-
/** A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). */
|
|
263
|
+
/** Optional. A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). */
|
|
264
264
|
keytab?: Secret;
|
|
265
|
-
/** 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 explicitly. */
|
|
265
|
+
/** Optional. 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 explicitly. */
|
|
266
266
|
krb5ConfigGcsUri?: string;
|
|
267
|
-
/** 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. */
|
|
267
|
+
/** Optional. 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. */
|
|
268
268
|
principal?: string;
|
|
269
269
|
}
|
|
270
270
|
interface Lake {
|
|
@@ -360,9 +360,9 @@ declare namespace gapi.client {
|
|
|
360
360
|
supportedHiveMetastoreVersions?: HiveMetastoreVersion[];
|
|
361
361
|
}
|
|
362
362
|
interface MaintenanceWindow {
|
|
363
|
-
/** The day of week, when the window starts. */
|
|
363
|
+
/** Optional. The day of week, when the window starts. */
|
|
364
364
|
dayOfWeek?: string;
|
|
365
|
-
/** The hour of day (0-23) when the window starts. */
|
|
365
|
+
/** Optional. The hour of day (0-23) when the window starts. */
|
|
366
366
|
hourOfDay?: number;
|
|
367
367
|
}
|
|
368
368
|
interface MetadataExport {
|
|
@@ -382,11 +382,11 @@ declare namespace gapi.client {
|
|
|
382
382
|
createTime?: string;
|
|
383
383
|
/** Immutable. A database dump from a pre-existing metastore's database. */
|
|
384
384
|
databaseDump?: DatabaseDump;
|
|
385
|
-
/** The description of the metadata import. */
|
|
385
|
+
/** Optional. The description of the metadata import. */
|
|
386
386
|
description?: string;
|
|
387
387
|
/** Output only. The time when the metadata import finished. */
|
|
388
388
|
endTime?: string;
|
|
389
|
-
/** Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. */
|
|
389
|
+
/** Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. */
|
|
390
390
|
name?: string;
|
|
391
391
|
/** Output only. The current state of the metadata import. */
|
|
392
392
|
state?: string;
|
|
@@ -396,7 +396,7 @@ declare namespace gapi.client {
|
|
|
396
396
|
interface MetadataIntegration {
|
|
397
397
|
/** Optional. The integration config for the Data Catalog service. */
|
|
398
398
|
dataCatalogConfig?: DataCatalogConfig;
|
|
399
|
-
/** The integration config for the Dataplex service. */
|
|
399
|
+
/** Optional. The integration config for the Dataplex service. */
|
|
400
400
|
dataplexConfig?: DataplexConfig;
|
|
401
401
|
}
|
|
402
402
|
interface MetadataManagementActivity {
|
|
@@ -442,7 +442,7 @@ declare namespace gapi.client {
|
|
|
442
442
|
interface NetworkConfig {
|
|
443
443
|
/** Immutable. The consumer-side network configuration for the Dataproc Metastore instance. */
|
|
444
444
|
consumers?: Consumer[];
|
|
445
|
-
/** Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network. */
|
|
445
|
+
/** Optional. Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network. */
|
|
446
446
|
customRoutesEnabled?: boolean;
|
|
447
447
|
}
|
|
448
448
|
interface Operation {
|
|
@@ -554,7 +554,7 @@ declare namespace gapi.client {
|
|
|
554
554
|
timeZone?: string;
|
|
555
555
|
}
|
|
556
556
|
interface Secret {
|
|
557
|
-
/** The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. */
|
|
557
|
+
/** Optional. The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. */
|
|
558
558
|
cloudSecret?: string;
|
|
559
559
|
}
|
|
560
560
|
interface Service {
|
|
@@ -574,7 +574,7 @@ declare namespace gapi.client {
|
|
|
574
574
|
hiveMetastoreConfig?: HiveMetastoreConfig;
|
|
575
575
|
/** User-defined labels for the metastore service. */
|
|
576
576
|
labels?: {[P in string]: string};
|
|
577
|
-
/** 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 services with the SPANNER database type. */
|
|
577
|
+
/** Optional. 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 services with the SPANNER database type. */
|
|
578
578
|
maintenanceWindow?: MaintenanceWindow;
|
|
579
579
|
/** Optional. The setting that defines how metastore metadata should be integrated with external services and systems. */
|
|
580
580
|
metadataIntegration?: MetadataIntegration;
|
|
@@ -582,17 +582,17 @@ declare namespace gapi.client {
|
|
|
582
582
|
metadataManagementActivity?: MetadataManagementActivity;
|
|
583
583
|
/** Optional. Specifies the multi-region configuration information for the Hive metastore service. */
|
|
584
584
|
multiRegionConfig?: MultiRegionConfig;
|
|
585
|
-
/** Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
585
|
+
/** Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
586
586
|
name?: string;
|
|
587
587
|
/** Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:projects/{project_number}/global/networks/{network_id}. */
|
|
588
588
|
network?: string;
|
|
589
|
-
/** The configuration specifying the network settings for the Dataproc Metastore service. */
|
|
589
|
+
/** Optional. The configuration specifying the network settings for the Dataproc Metastore service. */
|
|
590
590
|
networkConfig?: NetworkConfig;
|
|
591
|
-
/** The TCP port at which the metastore service is reached. Default: 9083. */
|
|
591
|
+
/** Optional. The TCP port at which the metastore service is reached. Default: 9083. */
|
|
592
592
|
port?: number;
|
|
593
593
|
/** Immutable. The release channel of the service. If unspecified, defaults to STABLE. */
|
|
594
594
|
releaseChannel?: string;
|
|
595
|
-
/** Scaling configuration of the metastore service. */
|
|
595
|
+
/** Optional. Scaling configuration of the metastore service. */
|
|
596
596
|
scalingConfig?: ScalingConfig;
|
|
597
597
|
/** Optional. The configuration of scheduled backup for the metastore service. */
|
|
598
598
|
scheduledBackup?: ScheduledBackup;
|
|
@@ -600,9 +600,9 @@ declare namespace gapi.client {
|
|
|
600
600
|
state?: string;
|
|
601
601
|
/** Output only. Additional information about the current state of the metastore service, if available. */
|
|
602
602
|
stateMessage?: string;
|
|
603
|
-
/** The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON. */
|
|
603
|
+
/** Optional. The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON. */
|
|
604
604
|
telemetryConfig?: TelemetryConfig;
|
|
605
|
-
/** The tier of the service. */
|
|
605
|
+
/** Optional. The tier of the service. */
|
|
606
606
|
tier?: string;
|
|
607
607
|
/** Output only. The globally unique resource identifier of the metastore service. */
|
|
608
608
|
uid?: string;
|
|
@@ -630,7 +630,7 @@ declare namespace gapi.client {
|
|
|
630
630
|
message?: string;
|
|
631
631
|
}
|
|
632
632
|
interface TelemetryConfig {
|
|
633
|
-
/** The output format of the Dataproc Metastore service's logs. */
|
|
633
|
+
/** Optional. The output format of the Dataproc Metastore service's logs. */
|
|
634
634
|
logFormat?: string;
|
|
635
635
|
}
|
|
636
636
|
interface TestIamPermissionsRequest {
|
|
@@ -706,7 +706,7 @@ declare namespace gapi.client {
|
|
|
706
706
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
707
707
|
uploadType?: string;
|
|
708
708
|
},
|
|
709
|
-
body: Federation
|
|
709
|
+
body: Federation,
|
|
710
710
|
): Request<Operation>;
|
|
711
711
|
/** Deletes a single federation. */
|
|
712
712
|
delete(request?: {
|
|
@@ -892,7 +892,7 @@ declare namespace gapi.client {
|
|
|
892
892
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
893
893
|
uploadType?: string;
|
|
894
894
|
},
|
|
895
|
-
body: Federation
|
|
895
|
+
body: Federation,
|
|
896
896
|
): Request<Operation>;
|
|
897
897
|
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
898
898
|
setIamPolicy(
|
|
@@ -922,7 +922,7 @@ declare namespace gapi.client {
|
|
|
922
922
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
923
923
|
uploadType?: string;
|
|
924
924
|
},
|
|
925
|
-
body: SetIamPolicyRequest
|
|
925
|
+
body: SetIamPolicyRequest,
|
|
926
926
|
): Request<Policy>;
|
|
927
927
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
928
928
|
testIamPermissions(
|
|
@@ -952,7 +952,7 @@ declare namespace gapi.client {
|
|
|
952
952
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
953
953
|
uploadType?: string;
|
|
954
954
|
},
|
|
955
|
-
body: TestIamPermissionsRequest
|
|
955
|
+
body: TestIamPermissionsRequest,
|
|
956
956
|
): Request<TestIamPermissionsResponse>;
|
|
957
957
|
}
|
|
958
958
|
interface OperationsResource {
|
|
@@ -1012,7 +1012,7 @@ declare namespace gapi.client {
|
|
|
1012
1012
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1013
1013
|
uploadType?: string;
|
|
1014
1014
|
},
|
|
1015
|
-
body: CancelOperationRequest
|
|
1015
|
+
body: CancelOperationRequest,
|
|
1016
1016
|
): Request<{}>;
|
|
1017
1017
|
/** 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 support this method, it returns google.rpc.Code.UNIMPLEMENTED. */
|
|
1018
1018
|
delete(request?: {
|
|
@@ -1167,7 +1167,7 @@ declare namespace gapi.client {
|
|
|
1167
1167
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1168
1168
|
uploadType?: string;
|
|
1169
1169
|
},
|
|
1170
|
-
body: Backup
|
|
1170
|
+
body: Backup,
|
|
1171
1171
|
): Request<Operation>;
|
|
1172
1172
|
/** Deletes a single backup. */
|
|
1173
1173
|
delete(request?: {
|
|
@@ -1317,7 +1317,7 @@ declare namespace gapi.client {
|
|
|
1317
1317
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1318
1318
|
uploadType?: string;
|
|
1319
1319
|
},
|
|
1320
|
-
body: SetIamPolicyRequest
|
|
1320
|
+
body: SetIamPolicyRequest,
|
|
1321
1321
|
): Request<Policy>;
|
|
1322
1322
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
1323
1323
|
testIamPermissions(
|
|
@@ -1347,7 +1347,7 @@ declare namespace gapi.client {
|
|
|
1347
1347
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1348
1348
|
uploadType?: string;
|
|
1349
1349
|
},
|
|
1350
|
-
body: TestIamPermissionsRequest
|
|
1350
|
+
body: TestIamPermissionsRequest,
|
|
1351
1351
|
): Request<TestIamPermissionsResponse>;
|
|
1352
1352
|
}
|
|
1353
1353
|
interface TablesResource {
|
|
@@ -1408,7 +1408,7 @@ declare namespace gapi.client {
|
|
|
1408
1408
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1409
1409
|
uploadType?: string;
|
|
1410
1410
|
},
|
|
1411
|
-
body: SetIamPolicyRequest
|
|
1411
|
+
body: SetIamPolicyRequest,
|
|
1412
1412
|
): Request<Policy>;
|
|
1413
1413
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
1414
1414
|
testIamPermissions(
|
|
@@ -1438,7 +1438,7 @@ declare namespace gapi.client {
|
|
|
1438
1438
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1439
1439
|
uploadType?: string;
|
|
1440
1440
|
},
|
|
1441
|
-
body: TestIamPermissionsRequest
|
|
1441
|
+
body: TestIamPermissionsRequest,
|
|
1442
1442
|
): Request<TestIamPermissionsResponse>;
|
|
1443
1443
|
}
|
|
1444
1444
|
interface DatabasesResource {
|
|
@@ -1499,7 +1499,7 @@ declare namespace gapi.client {
|
|
|
1499
1499
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1500
1500
|
uploadType?: string;
|
|
1501
1501
|
},
|
|
1502
|
-
body: SetIamPolicyRequest
|
|
1502
|
+
body: SetIamPolicyRequest,
|
|
1503
1503
|
): Request<Policy>;
|
|
1504
1504
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
1505
1505
|
testIamPermissions(
|
|
@@ -1529,7 +1529,7 @@ declare namespace gapi.client {
|
|
|
1529
1529
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1530
1530
|
uploadType?: string;
|
|
1531
1531
|
},
|
|
1532
|
-
body: TestIamPermissionsRequest
|
|
1532
|
+
body: TestIamPermissionsRequest,
|
|
1533
1533
|
): Request<TestIamPermissionsResponse>;
|
|
1534
1534
|
tables: TablesResource;
|
|
1535
1535
|
}
|
|
@@ -1598,7 +1598,7 @@ declare namespace gapi.client {
|
|
|
1598
1598
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1599
1599
|
uploadType?: string;
|
|
1600
1600
|
},
|
|
1601
|
-
body: MetadataImport
|
|
1601
|
+
body: MetadataImport,
|
|
1602
1602
|
): Request<Operation>;
|
|
1603
1603
|
/** Gets details of a single import. */
|
|
1604
1604
|
get(request?: {
|
|
@@ -1676,7 +1676,7 @@ declare namespace gapi.client {
|
|
|
1676
1676
|
fields?: string;
|
|
1677
1677
|
/** 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. */
|
|
1678
1678
|
key?: string;
|
|
1679
|
-
/** Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. */
|
|
1679
|
+
/** Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. */
|
|
1680
1680
|
name: string;
|
|
1681
1681
|
/** OAuth 2.0 token for the current user. */
|
|
1682
1682
|
oauth_token?: string;
|
|
@@ -1709,7 +1709,7 @@ declare namespace gapi.client {
|
|
|
1709
1709
|
fields?: string;
|
|
1710
1710
|
/** 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. */
|
|
1711
1711
|
key?: string;
|
|
1712
|
-
/** Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. */
|
|
1712
|
+
/** Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. */
|
|
1713
1713
|
name: string;
|
|
1714
1714
|
/** OAuth 2.0 token for the current user. */
|
|
1715
1715
|
oauth_token?: string;
|
|
@@ -1726,7 +1726,7 @@ declare namespace gapi.client {
|
|
|
1726
1726
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1727
1727
|
uploadType?: string;
|
|
1728
1728
|
},
|
|
1729
|
-
body: MetadataImport
|
|
1729
|
+
body: MetadataImport,
|
|
1730
1730
|
): Request<Operation>;
|
|
1731
1731
|
}
|
|
1732
1732
|
interface MigrationExecutionsResource {
|
|
@@ -1879,7 +1879,7 @@ declare namespace gapi.client {
|
|
|
1879
1879
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1880
1880
|
uploadType?: string;
|
|
1881
1881
|
},
|
|
1882
|
-
body: AlterMetadataResourceLocationRequest
|
|
1882
|
+
body: AlterMetadataResourceLocationRequest,
|
|
1883
1883
|
): Request<Operation>;
|
|
1884
1884
|
/** Alter metadata table properties. */
|
|
1885
1885
|
alterTableProperties(request: {
|
|
@@ -1937,7 +1937,7 @@ declare namespace gapi.client {
|
|
|
1937
1937
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1938
1938
|
uploadType?: string;
|
|
1939
1939
|
},
|
|
1940
|
-
body: AlterTablePropertiesRequest
|
|
1940
|
+
body: AlterTablePropertiesRequest,
|
|
1941
1941
|
): Request<Operation>;
|
|
1942
1942
|
/** Cancels the ongoing Managed Migration process. */
|
|
1943
1943
|
cancelMigration(request: {
|
|
@@ -1995,7 +1995,7 @@ declare namespace gapi.client {
|
|
|
1995
1995
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1996
1996
|
uploadType?: string;
|
|
1997
1997
|
},
|
|
1998
|
-
body: CancelMigrationRequest
|
|
1998
|
+
body: CancelMigrationRequest,
|
|
1999
1999
|
): Request<Operation>;
|
|
2000
2000
|
/** Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration. */
|
|
2001
2001
|
completeMigration(request: {
|
|
@@ -2053,7 +2053,7 @@ declare namespace gapi.client {
|
|
|
2053
2053
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2054
2054
|
uploadType?: string;
|
|
2055
2055
|
},
|
|
2056
|
-
body: CompleteMigrationRequest
|
|
2056
|
+
body: CompleteMigrationRequest,
|
|
2057
2057
|
): Request<Operation>;
|
|
2058
2058
|
/** Creates a metastore service in a project and location. */
|
|
2059
2059
|
create(request: {
|
|
@@ -2119,7 +2119,7 @@ declare namespace gapi.client {
|
|
|
2119
2119
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2120
2120
|
uploadType?: string;
|
|
2121
2121
|
},
|
|
2122
|
-
body: Service
|
|
2122
|
+
body: Service,
|
|
2123
2123
|
): Request<Operation>;
|
|
2124
2124
|
/** Deletes a single service. */
|
|
2125
2125
|
delete(request?: {
|
|
@@ -2206,7 +2206,7 @@ declare namespace gapi.client {
|
|
|
2206
2206
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2207
2207
|
uploadType?: string;
|
|
2208
2208
|
},
|
|
2209
|
-
body: ExportMetadataRequest
|
|
2209
|
+
body: ExportMetadataRequest,
|
|
2210
2210
|
): Request<Operation>;
|
|
2211
2211
|
/** Gets the details of a single service. */
|
|
2212
2212
|
get(request?: {
|
|
@@ -2355,7 +2355,7 @@ declare namespace gapi.client {
|
|
|
2355
2355
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2356
2356
|
uploadType?: string;
|
|
2357
2357
|
},
|
|
2358
|
-
body: MoveTableToDatabaseRequest
|
|
2358
|
+
body: MoveTableToDatabaseRequest,
|
|
2359
2359
|
): Request<Operation>;
|
|
2360
2360
|
/** Updates the parameters of a single service. */
|
|
2361
2361
|
patch(request: {
|
|
@@ -2371,7 +2371,7 @@ declare namespace gapi.client {
|
|
|
2371
2371
|
fields?: string;
|
|
2372
2372
|
/** 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. */
|
|
2373
2373
|
key?: string;
|
|
2374
|
-
/** Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2374
|
+
/** Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2375
2375
|
name: string;
|
|
2376
2376
|
/** OAuth 2.0 token for the current user. */
|
|
2377
2377
|
oauth_token?: string;
|
|
@@ -2404,7 +2404,7 @@ declare namespace gapi.client {
|
|
|
2404
2404
|
fields?: string;
|
|
2405
2405
|
/** 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. */
|
|
2406
2406
|
key?: string;
|
|
2407
|
-
/** Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2407
|
+
/** Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2408
2408
|
name: string;
|
|
2409
2409
|
/** OAuth 2.0 token for the current user. */
|
|
2410
2410
|
oauth_token?: string;
|
|
@@ -2421,7 +2421,7 @@ declare namespace gapi.client {
|
|
|
2421
2421
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2422
2422
|
uploadType?: string;
|
|
2423
2423
|
},
|
|
2424
|
-
body: Service
|
|
2424
|
+
body: Service,
|
|
2425
2425
|
): Request<Operation>;
|
|
2426
2426
|
/** Query Dataproc Metastore metadata. */
|
|
2427
2427
|
queryMetadata(request: {
|
|
@@ -2479,7 +2479,7 @@ declare namespace gapi.client {
|
|
|
2479
2479
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2480
2480
|
uploadType?: string;
|
|
2481
2481
|
},
|
|
2482
|
-
body: QueryMetadataRequest
|
|
2482
|
+
body: QueryMetadataRequest,
|
|
2483
2483
|
): Request<Operation>;
|
|
2484
2484
|
/** Removes the attached IAM policies for a resource */
|
|
2485
2485
|
removeIamPolicy(
|
|
@@ -2509,7 +2509,7 @@ declare namespace gapi.client {
|
|
|
2509
2509
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2510
2510
|
uploadType?: string;
|
|
2511
2511
|
},
|
|
2512
|
-
body: RemoveIamPolicyRequest
|
|
2512
|
+
body: RemoveIamPolicyRequest,
|
|
2513
2513
|
): Request<RemoveIamPolicyResponse>;
|
|
2514
2514
|
/** Restores a service from a backup. */
|
|
2515
2515
|
restore(request: {
|
|
@@ -2567,7 +2567,7 @@ declare namespace gapi.client {
|
|
|
2567
2567
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2568
2568
|
uploadType?: string;
|
|
2569
2569
|
},
|
|
2570
|
-
body: RestoreServiceRequest
|
|
2570
|
+
body: RestoreServiceRequest,
|
|
2571
2571
|
): Request<Operation>;
|
|
2572
2572
|
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
2573
2573
|
setIamPolicy(
|
|
@@ -2597,7 +2597,7 @@ declare namespace gapi.client {
|
|
|
2597
2597
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2598
2598
|
uploadType?: string;
|
|
2599
2599
|
},
|
|
2600
|
-
body: SetIamPolicyRequest
|
|
2600
|
+
body: SetIamPolicyRequest,
|
|
2601
2601
|
): Request<Policy>;
|
|
2602
2602
|
/** Starts the Managed Migration process. */
|
|
2603
2603
|
startMigration(request: {
|
|
@@ -2655,7 +2655,7 @@ declare namespace gapi.client {
|
|
|
2655
2655
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2656
2656
|
uploadType?: string;
|
|
2657
2657
|
},
|
|
2658
|
-
body: StartMigrationRequest
|
|
2658
|
+
body: StartMigrationRequest,
|
|
2659
2659
|
): Request<Operation>;
|
|
2660
2660
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
2661
2661
|
testIamPermissions(
|
|
@@ -2685,7 +2685,7 @@ declare namespace gapi.client {
|
|
|
2685
2685
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2686
2686
|
uploadType?: string;
|
|
2687
2687
|
},
|
|
2688
|
-
body: TestIamPermissionsRequest
|
|
2688
|
+
body: TestIamPermissionsRequest,
|
|
2689
2689
|
): Request<TestIamPermissionsResponse>;
|
|
2690
2690
|
backups: BackupsResource;
|
|
2691
2691
|
databases: DatabasesResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED