@maxim_mazurok/gapi.client.spanner-v1 0.0.20240716 → 0.0.20240731

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 +14 -14
  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://spanner.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240716
12
+ // Revision: 20240731
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -153,11 +153,11 @@ declare namespace gapi.client {
153
153
  startTime?: string;
154
154
  }
155
155
  interface ChangeQuorumRequest {
156
- /** Optional. The etag is the hash of the QuorumInfo. The ChangeQuorum operation will only be performed if the etag matches that of the QuorumInfo in the current database resource. Otherwise the API will return an `ABORTED` error. The etag is used for optimistic concurrency control as a way to help prevent simultaneous change quorum requests that could create a race condition. */
156
+ /** Optional. The etag is the hash of the `QuorumInfo`. The `ChangeQuorum` operation is only performed if the etag matches that of the `QuorumInfo` in the current database resource. Otherwise the API returns an `ABORTED` error. The etag is used for optimistic concurrency control as a way to help prevent simultaneous change quorum requests that could create a race condition. */
157
157
  etag?: string;
158
- /** Required. Name of the database in which to apply the ChangeQuorum. Values are of the form `projects//instances//databases/`. */
158
+ /** Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form `projects//instances//databases/`. */
159
159
  name?: string;
160
- /** Required. The type of this Quorum. */
160
+ /** Required. The type of this quorum. */
161
161
  quorumType?: QuorumType;
162
162
  }
163
163
  interface ChildLink {
@@ -343,7 +343,7 @@ declare namespace gapi.client {
343
343
  encryptionInfo?: EncryptionInfo[];
344
344
  /** Required. The name of the database. Values are of the form `projects//instances//databases/`, where `` is as specified in the `CREATE DATABASE` statement. This name can be passed to other API methods to identify the database. */
345
345
  name?: string;
346
- /** Output only. Applicable only for databases that use dual region instance configurations. Contains information about the quorum. */
346
+ /** Output only. Applicable only for databases that use dual-region instance configurations. Contains information about the quorum. */
347
347
  quorumInfo?: QuorumInfo;
348
348
  /** Output only. If true, the database is being updated. If false, there are no ongoing update operations for the database. */
349
349
  reconciling?: boolean;
@@ -598,7 +598,7 @@ declare namespace gapi.client {
598
598
  nodeCount?: number;
599
599
  /** The number of processing units allocated to this instance partition. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance partition. This might be zero in API responses for instance partitions that are not yet in the `READY` state. */
600
600
  processingUnits?: number;
601
- /** Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted. */
601
+ /** Output only. Deprecated: This field is not populated. Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted. */
602
602
  referencingBackups?: string[];
603
603
  /** Output only. The names of the databases that reference this instance partition. Referencing databases should share the parent instance. The existence of any referencing database prevents the instance partition from being deleted. */
604
604
  referencingDatabases?: string[];
@@ -937,9 +937,9 @@ declare namespace gapi.client {
937
937
  queryAdvice?: QueryAdvisorResult;
938
938
  }
939
939
  interface QuorumInfo {
940
- /** Output only. The etag is used for optimistic concurrency control as a way to help prevent simultaneous ChangeQuorum requests that could create a race condition. */
940
+ /** Output only. The etag is used for optimistic concurrency control as a way to help prevent simultaneous `ChangeQuorum` requests that might create a race condition. */
941
941
  etag?: string;
942
- /** Output only. Whether this ChangeQuorum is a Google or User initiated. */
942
+ /** Output only. Whether this `ChangeQuorum` is Google or User initiated. */
943
943
  initiator?: string;
944
944
  /** Output only. The type of this quorum. See QuorumType for more information about quorum type specifications. */
945
945
  quorumType?: QuorumType;
@@ -947,9 +947,9 @@ declare namespace gapi.client {
947
947
  startTime?: string;
948
948
  }
949
949
  interface QuorumType {
950
- /** Dual region quorum type. */
950
+ /** Dual-region quorum type. */
951
951
  dualRegion?: any;
952
- /** Single region quorum type. */
952
+ /** Single-region quorum type. */
953
953
  singleRegion?: SingleRegionQuorum;
954
954
  }
955
955
  interface ReadOnly {
@@ -1131,7 +1131,7 @@ declare namespace gapi.client {
1131
1131
  subqueries?: {[P in string]: number};
1132
1132
  }
1133
1133
  interface SingleRegionQuorum {
1134
- /** Required. The location of the serving region, e.g. "us-central1". The location must be one of the regions within the dual region instance configuration of your database. The list of valid locations is available via [GetInstanceConfig[InstanceAdmin.GetInstanceConfig] API. This should only be used if you plan to change quorum in single-region quorum type. */
1134
+ /** Required. The location of the serving region, e.g. "us-central1". The location must be one of the regions within the dual-region instance configuration of your database. The list of valid locations is available using the GetInstanceConfig API. This should only be used if you plan to change quorum to the single-region quorum type. */
1135
1135
  servingLocation?: string;
1136
1136
  }
1137
1137
  interface Statement {
@@ -3677,7 +3677,7 @@ declare namespace gapi.client {
3677
3677
  ): Request<PartialResultSet>;
3678
3678
  }
3679
3679
  interface DatabasesResource {
3680
- /** ChangeQuorum is strictly restricted to databases that use dual region instance configurations. Initiates a background operation to change quorum a database from dual-region mode to single-region mode and vice versa. The returned long-running operation will have a name of the format `projects//instances//databases//operations/` and can be used to track execution of the ChangeQuorum. The metadata field type is ChangeQuorumMetadata. Authorization requires `spanner.databases.changequorum` permission on the resource database. */
3680
+ /** `ChangeQuorum` is strictly restricted to databases that use dual-region instance configurations. Initiates a background operation to change the quorum of a database from dual-region mode to single-region mode or vice versa. The returned long-running operation has a name of the format `projects//instances//databases//operations/` and can be used to track execution of the `ChangeQuorum`. The metadata field type is ChangeQuorumMetadata. Authorization requires `spanner.databases.changequorum` permission on the resource database. */
3681
3681
  changequorum(request: {
3682
3682
  /** V1 error format. */
3683
3683
  '$.xgafv'?: string;
@@ -3691,7 +3691,7 @@ declare namespace gapi.client {
3691
3691
  fields?: string;
3692
3692
  /** 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. */
3693
3693
  key?: string;
3694
- /** Required. Name of the database in which to apply the ChangeQuorum. Values are of the form `projects//instances//databases/`. */
3694
+ /** Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form `projects//instances//databases/`. */
3695
3695
  name: string;
3696
3696
  /** OAuth 2.0 token for the current user. */
3697
3697
  oauth_token?: string;
@@ -3720,7 +3720,7 @@ declare namespace gapi.client {
3720
3720
  fields?: string;
3721
3721
  /** 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. */
3722
3722
  key?: string;
3723
- /** Required. Name of the database in which to apply the ChangeQuorum. Values are of the form `projects//instances//databases/`. */
3723
+ /** Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form `projects//instances//databases/`. */
3724
3724
  name: string;
3725
3725
  /** OAuth 2.0 token for the current user. */
3726
3726
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.spanner-v1",
3
- "version": "0.0.20240716",
3
+ "version": "0.0.20240731",
4
4
  "description": "TypeScript typings for Cloud Spanner API v1",
5
5
  "repository": {
6
6
  "type": "git",