@maxim_mazurok/gapi.client.metastore-v1alpha 0.0.20240627 → 0.0.20240709

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.
Files changed (2) hide show
  1. package/index.d.ts +30 -1
  2. 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=v1alpha
12
- // Revision: 20240627
12
+ // Revision: 20240709
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -160,6 +160,20 @@ declare namespace gapi.client {
160
160
  /** Immutable. 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 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 form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id} */
161
161
  subnetwork?: string;
162
162
  }
163
+ interface CustomRegionConfig {
164
+ /** Optional. The list of read-only regions where the metastore service runs in. These regions should be part (or subset) of the multi-region. */
165
+ readOnlyRegions?: string[];
166
+ /** Required. The list of read-write regions where the metastore service runs in. These regions should be part (or subset) of the multi-region. */
167
+ readWriteRegions?: string[];
168
+ }
169
+ interface CustomRegionMetadata {
170
+ /** The read-only regions for this custom region. */
171
+ optionalReadOnlyRegions?: string[];
172
+ /** The read-write regions for this custom region. */
173
+ requiredReadWriteRegions?: string[];
174
+ /** The Spanner witness region for this custom region. */
175
+ witnessRegion?: string;
176
+ }
163
177
  interface DatabaseDump {
164
178
  /** The type of the database. */
165
179
  databaseType?: string;
@@ -338,6 +352,8 @@ declare namespace gapi.client {
338
352
  name?: string;
339
353
  }
340
354
  interface LocationMetadata {
355
+ /** Possible configurations supported if the current region is a custom region. */
356
+ customRegionMetadata?: CustomRegionMetadata[];
341
357
  /** The multi-region metadata if the current region is a multi-region. */
342
358
  multiRegionMetadata?: MultiRegionMetadata;
343
359
  /** 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 set is_default. */
@@ -414,6 +430,11 @@ declare namespace gapi.client {
414
430
  tableName?: string;
415
431
  }
416
432
  interface MoveTableToDatabaseResponse {}
433
+ interface MultiRegionConfig {
434
+ /** Output only. The list of root CA certificates that a gRPC client uses to connect to a multi-regional Dataproc Metastore service. */
435
+ certificates?: RootCACertificate[];
436
+ customRegionConfig?: CustomRegionConfig;
437
+ }
417
438
  interface MultiRegionMetadata {
418
439
  /** The regions constituting the multi-region. */
419
440
  constituentRegions?: string[];
@@ -504,6 +525,12 @@ declare namespace gapi.client {
504
525
  /** Optional. The type of restore. If unspecified, defaults to METADATA_ONLY. */
505
526
  restoreType?: string;
506
527
  }
528
+ interface RootCACertificate {
529
+ /** The root CA certificate in PEM format. The maximum length is 65536 bytes. */
530
+ certificate?: string;
531
+ /** The certificate expiration time in timestamp format. */
532
+ expirationTime?: string;
533
+ }
507
534
  interface ScalingConfig {
508
535
  /** Optional. The autoscaling configuration. */
509
536
  autoscalingConfig?: AutoscalingConfig;
@@ -553,6 +580,8 @@ declare namespace gapi.client {
553
580
  metadataIntegration?: MetadataIntegration;
554
581
  /** Output only. The metadata management activities of the metastore service. */
555
582
  metadataManagementActivity?: MetadataManagementActivity;
583
+ /** Optional. Specifies the multi-region configuration information for the Hive metastore service. */
584
+ multiRegionConfig?: MultiRegionConfig;
556
585
  /** Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */
557
586
  name?: string;
558
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}. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.metastore-v1alpha",
3
- "version": "0.0.20240627",
3
+ "version": "0.0.20240709",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",