@maxim_mazurok/gapi.client.spanner-v1 0.0.20240120 → 0.0.20240207
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 +14 -6
- 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:
|
|
12
|
+
// Revision: 20240207
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -117,7 +117,7 @@ declare namespace gapi.client {
|
|
|
117
117
|
condition?: Expr;
|
|
118
118
|
/** 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 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `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 service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service 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 email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user 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 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 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 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 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 the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
119
119
|
members?: string[];
|
|
120
|
-
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
120
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
121
121
|
role?: string;
|
|
122
122
|
}
|
|
123
123
|
interface ChildLink {
|
|
@@ -129,6 +129,8 @@ declare namespace gapi.client {
|
|
|
129
129
|
variable?: string;
|
|
130
130
|
}
|
|
131
131
|
interface CommitRequest {
|
|
132
|
+
/** Optional. The amount of latency this request is willing to incur in order to improve throughput. If this field is not set, Spanner assumes requests are relatively latency sensitive and automatically determines an appropriate delay time. You can specify a batching delay value between 0 and 500 ms. */
|
|
133
|
+
maxCommitDelay?: string;
|
|
132
134
|
/** The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list. */
|
|
133
135
|
mutations?: Mutation[];
|
|
134
136
|
/** Common options for this request. */
|
|
@@ -209,7 +211,7 @@ declare namespace gapi.client {
|
|
|
209
211
|
encryptionConfig?: EncryptionConfig;
|
|
210
212
|
/** Optional. A list of DDL statements to run inside the newly created database. Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database: if there is an error in any statement, the database is not created. */
|
|
211
213
|
extraStatements?: string[];
|
|
212
|
-
/** Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in 'extra_statements' above. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run
|
|
214
|
+
/** Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in 'extra_statements' above. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). */
|
|
213
215
|
protoDescriptors?: string;
|
|
214
216
|
}
|
|
215
217
|
interface CreateInstanceConfigMetadata {
|
|
@@ -233,6 +235,8 @@ declare namespace gapi.client {
|
|
|
233
235
|
cancelTime?: string;
|
|
234
236
|
/** The time at which this operation failed or was completed successfully. */
|
|
235
237
|
endTime?: string;
|
|
238
|
+
/** The expected fulfillment period of this create operation. */
|
|
239
|
+
expectedFulfillmentPeriod?: string;
|
|
236
240
|
/** The instance being created. */
|
|
237
241
|
instance?: Instance;
|
|
238
242
|
/** The time at which the CreateInstance request was received. */
|
|
@@ -311,7 +315,7 @@ declare namespace gapi.client {
|
|
|
311
315
|
shortMessage?: LocalizedString;
|
|
312
316
|
}
|
|
313
317
|
interface DirectedReadOptions {
|
|
314
|
-
/** Exclude_replicas indicates that should be excluded from serving requests. Spanner will not route requests to the replicas in this list. */
|
|
318
|
+
/** Exclude_replicas indicates that specified replicas should be excluded from serving requests. Spanner will not route requests to the replicas in this list. */
|
|
315
319
|
excludeReplicas?: ExcludeReplicas;
|
|
316
320
|
/** Include_replicas indicates the order of replicas (as they appear in this list) to process the request. If auto_failover_disabled is set to true and all replicas are exhausted without finding a healthy replica, Spanner will wait for a replica in the list to become available, requests may fail due to `DEADLINE_EXCEEDED` errors. */
|
|
317
321
|
includeReplicas?: IncludeReplicas;
|
|
@@ -486,6 +490,8 @@ declare namespace gapi.client {
|
|
|
486
490
|
replicas?: ReplicaInfo[];
|
|
487
491
|
/** Output only. The current instance config state. Applicable only for USER_MANAGED configs. */
|
|
488
492
|
state?: string;
|
|
493
|
+
/** Output only. The storage limit in bytes per processing unit. */
|
|
494
|
+
storageLimitPerProcessingUnit?: string;
|
|
489
495
|
}
|
|
490
496
|
interface InstanceOperationProgress {
|
|
491
497
|
/** If set, the time at which this operation failed or was completed successfully. */
|
|
@@ -843,7 +849,7 @@ declare namespace gapi.client {
|
|
|
843
849
|
interface ReplicaInfo {
|
|
844
850
|
/** If true, this location is designated as the default leader location where leader replicas are placed. See the [region types documentation](https://cloud.google.com/spanner/docs/instances#region_types) for more details. */
|
|
845
851
|
defaultLeaderLocation?: boolean;
|
|
846
|
-
/** The location of the serving resources, e.g
|
|
852
|
+
/** The location of the serving resources, e.g., "us-central1". */
|
|
847
853
|
location?: string;
|
|
848
854
|
/** The type of replica. */
|
|
849
855
|
type?: string;
|
|
@@ -1047,7 +1053,7 @@ declare namespace gapi.client {
|
|
|
1047
1053
|
interface UpdateDatabaseDdlRequest {
|
|
1048
1054
|
/** If empty, the new update request is assigned an automatically-generated operation ID. Otherwise, `operation_id` is used to construct the name of the resulting Operation. Specifying an explicit operation ID simplifies determining whether the statements were executed in the event that the UpdateDatabaseDdl call is replayed, or the return value is otherwise lost: the database and `operation_id` fields can be combined to form the name of the resulting longrunning.Operation: `/operations/`. `operation_id` should be unique within the database, and must be a valid identifier: `a-z*`. Note that automatically-generated operation IDs always begin with an underscore. If the named operation already exists, UpdateDatabaseDdl returns `ALREADY_EXISTS`. */
|
|
1049
1055
|
operationId?: string;
|
|
1050
|
-
/** Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run
|
|
1056
|
+
/** Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). */
|
|
1051
1057
|
protoDescriptors?: string;
|
|
1052
1058
|
/** Required. DDL statements to be applied to the database. */
|
|
1053
1059
|
statements?: string[];
|
|
@@ -1087,6 +1093,8 @@ declare namespace gapi.client {
|
|
|
1087
1093
|
cancelTime?: string;
|
|
1088
1094
|
/** The time at which this operation failed or was completed successfully. */
|
|
1089
1095
|
endTime?: string;
|
|
1096
|
+
/** The expected fulfillment period of this update operation. */
|
|
1097
|
+
expectedFulfillmentPeriod?: string;
|
|
1090
1098
|
/** The desired end state of the update. */
|
|
1091
1099
|
instance?: Instance;
|
|
1092
1100
|
/** The time at which UpdateInstance request was received. */
|