@maxim_mazurok/gapi.client.spanner-v1 0.0.20220726 → 0.0.20220902
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 +10 -11
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://spanner.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220902
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -33,7 +33,7 @@ declare namespace gapi.client {
|
|
|
33
33
|
database?: string;
|
|
34
34
|
/** Output only. The database dialect information for the backup. */
|
|
35
35
|
databaseDialect?: string;
|
|
36
|
-
/** Output only. The encryption information for the backup. */
|
|
36
|
+
/** Output only. Output only. The encryption information for the backup. . */
|
|
37
37
|
encryptionInfo?: EncryptionInfo;
|
|
38
38
|
/**
|
|
39
39
|
* Required for the CreateBackup operation. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 366 days from the time the
|
|
@@ -119,8 +119,10 @@ declare namespace gapi.client {
|
|
|
119
119
|
* 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
|
|
120
120
|
* 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
|
|
121
121
|
* account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
|
|
122
|
-
* represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
|
123
|
-
*
|
|
122
|
+
* represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier
|
|
123
|
+
* for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example,
|
|
124
|
+
* `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`. *
|
|
125
|
+
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
|
|
124
126
|
* `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. *
|
|
125
127
|
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
|
|
126
128
|
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
|
|
@@ -307,9 +309,9 @@ declare namespace gapi.client {
|
|
|
307
309
|
*/
|
|
308
310
|
encryptionConfig?: EncryptionConfig;
|
|
309
311
|
/**
|
|
310
|
-
* Output only. For databases that are using customer managed encryption, this field contains the encryption information for the database, such as
|
|
311
|
-
*
|
|
312
|
-
* might be a delay from when a key version is being used and when it appears in this field.
|
|
312
|
+
* Output only. For databases that are using customer managed encryption, this field contains the encryption information for the database, such as all Cloud KMS key versions that are
|
|
313
|
+
* in use. The `encryption_status' field inside of each `EncryptionInfo` is not populated. For databases that are using Google default or other types of encryption, this field is
|
|
314
|
+
* empty. This field is propagated lazily from the backend. There might be a delay from when a key version is being used and when it appears in this field.
|
|
313
315
|
*/
|
|
314
316
|
encryptionInfo?: EncryptionInfo[];
|
|
315
317
|
/**
|
|
@@ -328,10 +330,7 @@ declare namespace gapi.client {
|
|
|
328
330
|
versionRetentionPeriod?: string;
|
|
329
331
|
}
|
|
330
332
|
interface DatabaseRole {
|
|
331
|
-
/**
|
|
332
|
-
* Required. The name of the database role. Values are of the form `projects//instances//databases//databaseRoles/ {role}`, where `` is as specified in the `CREATE ROLE` DDL statement.
|
|
333
|
-
* This name can be passed to Get/Set IAMPolicy methods to identify the database role.
|
|
334
|
-
*/
|
|
333
|
+
/** Required. The name of the database role. Values are of the form `projects//instances//databases//databaseRoles/` where `` is as specified in the `CREATE ROLE` DDL statement. */
|
|
335
334
|
name?: string;
|
|
336
335
|
}
|
|
337
336
|
interface Delete {
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20220902
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|