@maxim_mazurok/gapi.client.metastore-v1 0.0.20250102 → 0.0.20250121
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 +32 -32
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250121
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -60,11 +60,11 @@ declare namespace gapi.client {
|
|
|
60
60
|
limitConfig?: LimitConfig;
|
|
61
61
|
}
|
|
62
62
|
interface AuxiliaryVersionConfig {
|
|
63
|
-
/** 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. */
|
|
63
|
+
/** 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. */
|
|
64
64
|
configOverrides?: {[P in string]: string};
|
|
65
65
|
/** Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service. */
|
|
66
66
|
networkConfig?: NetworkConfig;
|
|
67
|
-
/** The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version. */
|
|
67
|
+
/** Optional. The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version. */
|
|
68
68
|
version?: string;
|
|
69
69
|
}
|
|
70
70
|
interface BackendMetastore {
|
|
@@ -76,11 +76,11 @@ declare namespace gapi.client {
|
|
|
76
76
|
interface Backup {
|
|
77
77
|
/** Output only. The time when the backup was started. */
|
|
78
78
|
createTime?: string;
|
|
79
|
-
/** The description of the backup. */
|
|
79
|
+
/** Optional. The description of the backup. */
|
|
80
80
|
description?: string;
|
|
81
81
|
/** Output only. The time when the backup finished creating. */
|
|
82
82
|
endTime?: string;
|
|
83
|
-
/** Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id} */
|
|
83
|
+
/** 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} */
|
|
84
84
|
name?: string;
|
|
85
85
|
/** Output only. Services that are restoring from the backup. */
|
|
86
86
|
restoringServices?: string[];
|
|
@@ -159,9 +159,9 @@ declare namespace gapi.client {
|
|
|
159
159
|
interface DatabaseDump {
|
|
160
160
|
/** The type of the database. */
|
|
161
161
|
databaseType?: string;
|
|
162
|
-
/** A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://. */
|
|
162
|
+
/** Optional. A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://. */
|
|
163
163
|
gcsUri?: string;
|
|
164
|
-
/** The name of the source database. */
|
|
164
|
+
/** Optional. The name of the source database. */
|
|
165
165
|
sourceDatabase?: string;
|
|
166
166
|
/** Optional. The type of the database dump. If unspecified, defaults to MYSQL. */
|
|
167
167
|
type?: string;
|
|
@@ -172,7 +172,7 @@ declare namespace gapi.client {
|
|
|
172
172
|
}
|
|
173
173
|
interface Empty {}
|
|
174
174
|
interface EncryptionConfig {
|
|
175
|
-
/** 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}. */
|
|
175
|
+
/** 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}. */
|
|
176
176
|
kmsKey?: string;
|
|
177
177
|
}
|
|
178
178
|
interface ErrorDetails {
|
|
@@ -220,13 +220,13 @@ declare namespace gapi.client {
|
|
|
220
220
|
version?: string;
|
|
221
221
|
}
|
|
222
222
|
interface HiveMetastoreConfig {
|
|
223
|
-
/** 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. */
|
|
223
|
+
/** 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. */
|
|
224
224
|
auxiliaryVersions?: {[P in string]: AuxiliaryVersionConfig};
|
|
225
|
-
/** 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. */
|
|
225
|
+
/** 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. */
|
|
226
226
|
configOverrides?: {[P in string]: string};
|
|
227
|
-
/** The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT. */
|
|
227
|
+
/** Optional. The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT. */
|
|
228
228
|
endpointProtocol?: string;
|
|
229
|
-
/** 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. */
|
|
229
|
+
/** 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. */
|
|
230
230
|
kerberosConfig?: KerberosConfig;
|
|
231
231
|
/** Immutable. The Hive metastore schema version. */
|
|
232
232
|
version?: string;
|
|
@@ -238,11 +238,11 @@ declare namespace gapi.client {
|
|
|
238
238
|
version?: string;
|
|
239
239
|
}
|
|
240
240
|
interface KerberosConfig {
|
|
241
|
-
/** A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). */
|
|
241
|
+
/** Optional. A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). */
|
|
242
242
|
keytab?: Secret;
|
|
243
|
-
/** 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. */
|
|
243
|
+
/** 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. */
|
|
244
244
|
krb5ConfigGcsUri?: string;
|
|
245
|
-
/** 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. */
|
|
245
|
+
/** 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. */
|
|
246
246
|
principal?: string;
|
|
247
247
|
}
|
|
248
248
|
interface LatestBackup {
|
|
@@ -334,9 +334,9 @@ declare namespace gapi.client {
|
|
|
334
334
|
supportedHiveMetastoreVersions?: HiveMetastoreVersion[];
|
|
335
335
|
}
|
|
336
336
|
interface MaintenanceWindow {
|
|
337
|
-
/** The day of week, when the window starts. */
|
|
337
|
+
/** Optional. The day of week, when the window starts. */
|
|
338
338
|
dayOfWeek?: string;
|
|
339
|
-
/** The hour of day (0-23) when the window starts. */
|
|
339
|
+
/** Optional. The hour of day (0-23) when the window starts. */
|
|
340
340
|
hourOfDay?: number;
|
|
341
341
|
}
|
|
342
342
|
interface MetadataExport {
|
|
@@ -356,11 +356,11 @@ declare namespace gapi.client {
|
|
|
356
356
|
createTime?: string;
|
|
357
357
|
/** Immutable. A database dump from a pre-existing metastore's database. */
|
|
358
358
|
databaseDump?: DatabaseDump;
|
|
359
|
-
/** The description of the metadata import. */
|
|
359
|
+
/** Optional. The description of the metadata import. */
|
|
360
360
|
description?: string;
|
|
361
361
|
/** Output only. The time when the metadata import finished. */
|
|
362
362
|
endTime?: string;
|
|
363
|
-
/** 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}. */
|
|
363
|
+
/** 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}. */
|
|
364
364
|
name?: string;
|
|
365
365
|
/** Output only. The current state of the metadata import. */
|
|
366
366
|
state?: string;
|
|
@@ -505,7 +505,7 @@ declare namespace gapi.client {
|
|
|
505
505
|
timeZone?: string;
|
|
506
506
|
}
|
|
507
507
|
interface Secret {
|
|
508
|
-
/** The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. */
|
|
508
|
+
/** Optional. The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. */
|
|
509
509
|
cloudSecret?: string;
|
|
510
510
|
}
|
|
511
511
|
interface Service {
|
|
@@ -525,23 +525,23 @@ declare namespace gapi.client {
|
|
|
525
525
|
hiveMetastoreConfig?: HiveMetastoreConfig;
|
|
526
526
|
/** User-defined labels for the metastore service. */
|
|
527
527
|
labels?: {[P in string]: string};
|
|
528
|
-
/** 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. */
|
|
528
|
+
/** 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. */
|
|
529
529
|
maintenanceWindow?: MaintenanceWindow;
|
|
530
530
|
/** Optional. The setting that defines how metastore metadata should be integrated with external services and systems. */
|
|
531
531
|
metadataIntegration?: MetadataIntegration;
|
|
532
532
|
/** Output only. The metadata management activities of the metastore service. */
|
|
533
533
|
metadataManagementActivity?: MetadataManagementActivity;
|
|
534
|
-
/** Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
534
|
+
/** Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
535
535
|
name?: string;
|
|
536
536
|
/** 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}. */
|
|
537
537
|
network?: string;
|
|
538
|
-
/** The configuration specifying the network settings for the Dataproc Metastore service. */
|
|
538
|
+
/** Optional. The configuration specifying the network settings for the Dataproc Metastore service. */
|
|
539
539
|
networkConfig?: NetworkConfig;
|
|
540
|
-
/** The TCP port at which the metastore service is reached. Default: 9083. */
|
|
540
|
+
/** Optional. The TCP port at which the metastore service is reached. Default: 9083. */
|
|
541
541
|
port?: number;
|
|
542
542
|
/** Immutable. The release channel of the service. If unspecified, defaults to STABLE. */
|
|
543
543
|
releaseChannel?: string;
|
|
544
|
-
/** Scaling configuration of the metastore service. */
|
|
544
|
+
/** Optional. Scaling configuration of the metastore service. */
|
|
545
545
|
scalingConfig?: ScalingConfig;
|
|
546
546
|
/** Optional. The configuration of scheduled backup for the metastore service. */
|
|
547
547
|
scheduledBackup?: ScheduledBackup;
|
|
@@ -549,9 +549,9 @@ declare namespace gapi.client {
|
|
|
549
549
|
state?: string;
|
|
550
550
|
/** Output only. Additional information about the current state of the metastore service, if available. */
|
|
551
551
|
stateMessage?: string;
|
|
552
|
-
/** The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON. */
|
|
552
|
+
/** Optional. The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON. */
|
|
553
553
|
telemetryConfig?: TelemetryConfig;
|
|
554
|
-
/** The tier of the service. */
|
|
554
|
+
/** Optional. The tier of the service. */
|
|
555
555
|
tier?: string;
|
|
556
556
|
/** Output only. The globally unique resource identifier of the metastore service. */
|
|
557
557
|
uid?: string;
|
|
@@ -579,7 +579,7 @@ declare namespace gapi.client {
|
|
|
579
579
|
message?: string;
|
|
580
580
|
}
|
|
581
581
|
interface TelemetryConfig {
|
|
582
|
-
/** The output format of the Dataproc Metastore service's logs. */
|
|
582
|
+
/** Optional. The output format of the Dataproc Metastore service's logs. */
|
|
583
583
|
logFormat?: string;
|
|
584
584
|
}
|
|
585
585
|
interface TestIamPermissionsRequest {
|
|
@@ -1535,7 +1535,7 @@ declare namespace gapi.client {
|
|
|
1535
1535
|
fields?: string;
|
|
1536
1536
|
/** 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. */
|
|
1537
1537
|
key?: string;
|
|
1538
|
-
/** 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}. */
|
|
1538
|
+
/** 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}. */
|
|
1539
1539
|
name: string;
|
|
1540
1540
|
/** OAuth 2.0 token for the current user. */
|
|
1541
1541
|
oauth_token?: string;
|
|
@@ -1568,7 +1568,7 @@ declare namespace gapi.client {
|
|
|
1568
1568
|
fields?: string;
|
|
1569
1569
|
/** 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. */
|
|
1570
1570
|
key?: string;
|
|
1571
|
-
/** 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}. */
|
|
1571
|
+
/** 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}. */
|
|
1572
1572
|
name: string;
|
|
1573
1573
|
/** OAuth 2.0 token for the current user. */
|
|
1574
1574
|
oauth_token?: string;
|
|
@@ -2230,7 +2230,7 @@ declare namespace gapi.client {
|
|
|
2230
2230
|
fields?: string;
|
|
2231
2231
|
/** 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. */
|
|
2232
2232
|
key?: string;
|
|
2233
|
-
/** Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2233
|
+
/** Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2234
2234
|
name: string;
|
|
2235
2235
|
/** OAuth 2.0 token for the current user. */
|
|
2236
2236
|
oauth_token?: string;
|
|
@@ -2263,7 +2263,7 @@ declare namespace gapi.client {
|
|
|
2263
2263
|
fields?: string;
|
|
2264
2264
|
/** 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. */
|
|
2265
2265
|
key?: string;
|
|
2266
|
-
/** Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2266
|
+
/** Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
|
|
2267
2267
|
name: string;
|
|
2268
2268
|
/** OAuth 2.0 token for the current user. */
|
|
2269
2269
|
oauth_token?: string;
|