@google-cloud/spanner 7.9.1 → 7.11.0
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/CHANGELOG.md +26 -0
- package/README.md +1 -0
- package/build/protos/google/spanner/admin/database/v1/backup.proto +17 -0
- package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +227 -0
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +60 -0
- package/build/protos/google/spanner/executor/v1/cloud_executor.proto +13 -0
- package/build/protos/google/spanner/v1/spanner.proto +78 -0
- package/build/protos/protos.d.ts +1416 -119
- package/build/protos/protos.js +3011 -2
- package/build/protos/protos.json +382 -11
- package/build/src/database.d.ts +55 -1
- package/build/src/database.js +47 -8
- package/build/src/index.d.ts +9 -1
- package/build/src/index.js +2 -1
- package/build/src/transaction.d.ts +91 -0
- package/build/src/transaction.js +104 -1
- package/build/src/v1/database_admin_client.d.ts +240 -0
- package/build/src/v1/database_admin_client.js +256 -0
- package/build/src/v1/database_admin_client_config.json +25 -0
- package/build/src/v1/database_admin_proto_list.json +1 -0
- package/build/src/v1/spanner_client.d.ts +22 -0
- package/build/src/v1/spanner_client.js +14 -6
- package/build/src/v1/spanner_executor_proxy_client.d.ts +42 -0
- package/build/src/v1/spanner_executor_proxy_client.js +59 -2
- package/build/src/v1/spanner_executor_proxy_proto_list.json +1 -0
- package/package.json +2 -2
package/build/protos/protos.d.ts
CHANGED
|
@@ -6569,6 +6569,9 @@ export namespace google {
|
|
|
6569
6569
|
|
|
6570
6570
|
/** Backup maxExpireTime */
|
|
6571
6571
|
maxExpireTime?: (google.protobuf.ITimestamp|null);
|
|
6572
|
+
|
|
6573
|
+
/** Backup backupSchedules */
|
|
6574
|
+
backupSchedules?: (string[]|null);
|
|
6572
6575
|
}
|
|
6573
6576
|
|
|
6574
6577
|
/** Represents a Backup. */
|
|
@@ -6619,6 +6622,9 @@ export namespace google {
|
|
|
6619
6622
|
/** Backup maxExpireTime. */
|
|
6620
6623
|
public maxExpireTime?: (google.protobuf.ITimestamp|null);
|
|
6621
6624
|
|
|
6625
|
+
/** Backup backupSchedules. */
|
|
6626
|
+
public backupSchedules: string[];
|
|
6627
|
+
|
|
6622
6628
|
/**
|
|
6623
6629
|
* Creates a new Backup instance using the specified properties.
|
|
6624
6630
|
* @param [properties] Properties to set
|
|
@@ -8261,6 +8267,97 @@ export namespace google {
|
|
|
8261
8267
|
}
|
|
8262
8268
|
}
|
|
8263
8269
|
|
|
8270
|
+
/** Properties of a FullBackupSpec. */
|
|
8271
|
+
interface IFullBackupSpec {
|
|
8272
|
+
}
|
|
8273
|
+
|
|
8274
|
+
/** Represents a FullBackupSpec. */
|
|
8275
|
+
class FullBackupSpec implements IFullBackupSpec {
|
|
8276
|
+
|
|
8277
|
+
/**
|
|
8278
|
+
* Constructs a new FullBackupSpec.
|
|
8279
|
+
* @param [properties] Properties to set
|
|
8280
|
+
*/
|
|
8281
|
+
constructor(properties?: google.spanner.admin.database.v1.IFullBackupSpec);
|
|
8282
|
+
|
|
8283
|
+
/**
|
|
8284
|
+
* Creates a new FullBackupSpec instance using the specified properties.
|
|
8285
|
+
* @param [properties] Properties to set
|
|
8286
|
+
* @returns FullBackupSpec instance
|
|
8287
|
+
*/
|
|
8288
|
+
public static create(properties?: google.spanner.admin.database.v1.IFullBackupSpec): google.spanner.admin.database.v1.FullBackupSpec;
|
|
8289
|
+
|
|
8290
|
+
/**
|
|
8291
|
+
* Encodes the specified FullBackupSpec message. Does not implicitly {@link google.spanner.admin.database.v1.FullBackupSpec.verify|verify} messages.
|
|
8292
|
+
* @param message FullBackupSpec message or plain object to encode
|
|
8293
|
+
* @param [writer] Writer to encode to
|
|
8294
|
+
* @returns Writer
|
|
8295
|
+
*/
|
|
8296
|
+
public static encode(message: google.spanner.admin.database.v1.IFullBackupSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8297
|
+
|
|
8298
|
+
/**
|
|
8299
|
+
* Encodes the specified FullBackupSpec message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.FullBackupSpec.verify|verify} messages.
|
|
8300
|
+
* @param message FullBackupSpec message or plain object to encode
|
|
8301
|
+
* @param [writer] Writer to encode to
|
|
8302
|
+
* @returns Writer
|
|
8303
|
+
*/
|
|
8304
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IFullBackupSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8305
|
+
|
|
8306
|
+
/**
|
|
8307
|
+
* Decodes a FullBackupSpec message from the specified reader or buffer.
|
|
8308
|
+
* @param reader Reader or buffer to decode from
|
|
8309
|
+
* @param [length] Message length if known beforehand
|
|
8310
|
+
* @returns FullBackupSpec
|
|
8311
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8312
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8313
|
+
*/
|
|
8314
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.FullBackupSpec;
|
|
8315
|
+
|
|
8316
|
+
/**
|
|
8317
|
+
* Decodes a FullBackupSpec message from the specified reader or buffer, length delimited.
|
|
8318
|
+
* @param reader Reader or buffer to decode from
|
|
8319
|
+
* @returns FullBackupSpec
|
|
8320
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8321
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8322
|
+
*/
|
|
8323
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.FullBackupSpec;
|
|
8324
|
+
|
|
8325
|
+
/**
|
|
8326
|
+
* Verifies a FullBackupSpec message.
|
|
8327
|
+
* @param message Plain object to verify
|
|
8328
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8329
|
+
*/
|
|
8330
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8331
|
+
|
|
8332
|
+
/**
|
|
8333
|
+
* Creates a FullBackupSpec message from a plain object. Also converts values to their respective internal types.
|
|
8334
|
+
* @param object Plain object
|
|
8335
|
+
* @returns FullBackupSpec
|
|
8336
|
+
*/
|
|
8337
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.FullBackupSpec;
|
|
8338
|
+
|
|
8339
|
+
/**
|
|
8340
|
+
* Creates a plain object from a FullBackupSpec message. Also converts values to other types if specified.
|
|
8341
|
+
* @param message FullBackupSpec
|
|
8342
|
+
* @param [options] Conversion options
|
|
8343
|
+
* @returns Plain object
|
|
8344
|
+
*/
|
|
8345
|
+
public static toObject(message: google.spanner.admin.database.v1.FullBackupSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8346
|
+
|
|
8347
|
+
/**
|
|
8348
|
+
* Converts this FullBackupSpec to JSON.
|
|
8349
|
+
* @returns JSON object
|
|
8350
|
+
*/
|
|
8351
|
+
public toJSON(): { [k: string]: any };
|
|
8352
|
+
|
|
8353
|
+
/**
|
|
8354
|
+
* Gets the default type url for FullBackupSpec
|
|
8355
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8356
|
+
* @returns The default type url
|
|
8357
|
+
*/
|
|
8358
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8359
|
+
}
|
|
8360
|
+
|
|
8264
8361
|
/** Properties of an OperationProgress. */
|
|
8265
8362
|
interface IOperationProgress {
|
|
8266
8363
|
|
|
@@ -8305,300 +8402,1257 @@ export namespace google {
|
|
|
8305
8402
|
* @param [writer] Writer to encode to
|
|
8306
8403
|
* @returns Writer
|
|
8307
8404
|
*/
|
|
8308
|
-
public static encode(message: google.spanner.admin.database.v1.IOperationProgress, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8405
|
+
public static encode(message: google.spanner.admin.database.v1.IOperationProgress, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8406
|
+
|
|
8407
|
+
/**
|
|
8408
|
+
* Encodes the specified OperationProgress message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.OperationProgress.verify|verify} messages.
|
|
8409
|
+
* @param message OperationProgress message or plain object to encode
|
|
8410
|
+
* @param [writer] Writer to encode to
|
|
8411
|
+
* @returns Writer
|
|
8412
|
+
*/
|
|
8413
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IOperationProgress, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8414
|
+
|
|
8415
|
+
/**
|
|
8416
|
+
* Decodes an OperationProgress message from the specified reader or buffer.
|
|
8417
|
+
* @param reader Reader or buffer to decode from
|
|
8418
|
+
* @param [length] Message length if known beforehand
|
|
8419
|
+
* @returns OperationProgress
|
|
8420
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8421
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8422
|
+
*/
|
|
8423
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.OperationProgress;
|
|
8424
|
+
|
|
8425
|
+
/**
|
|
8426
|
+
* Decodes an OperationProgress message from the specified reader or buffer, length delimited.
|
|
8427
|
+
* @param reader Reader or buffer to decode from
|
|
8428
|
+
* @returns OperationProgress
|
|
8429
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8430
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8431
|
+
*/
|
|
8432
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.OperationProgress;
|
|
8433
|
+
|
|
8434
|
+
/**
|
|
8435
|
+
* Verifies an OperationProgress message.
|
|
8436
|
+
* @param message Plain object to verify
|
|
8437
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8438
|
+
*/
|
|
8439
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8440
|
+
|
|
8441
|
+
/**
|
|
8442
|
+
* Creates an OperationProgress message from a plain object. Also converts values to their respective internal types.
|
|
8443
|
+
* @param object Plain object
|
|
8444
|
+
* @returns OperationProgress
|
|
8445
|
+
*/
|
|
8446
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.OperationProgress;
|
|
8447
|
+
|
|
8448
|
+
/**
|
|
8449
|
+
* Creates a plain object from an OperationProgress message. Also converts values to other types if specified.
|
|
8450
|
+
* @param message OperationProgress
|
|
8451
|
+
* @param [options] Conversion options
|
|
8452
|
+
* @returns Plain object
|
|
8453
|
+
*/
|
|
8454
|
+
public static toObject(message: google.spanner.admin.database.v1.OperationProgress, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8455
|
+
|
|
8456
|
+
/**
|
|
8457
|
+
* Converts this OperationProgress to JSON.
|
|
8458
|
+
* @returns JSON object
|
|
8459
|
+
*/
|
|
8460
|
+
public toJSON(): { [k: string]: any };
|
|
8461
|
+
|
|
8462
|
+
/**
|
|
8463
|
+
* Gets the default type url for OperationProgress
|
|
8464
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8465
|
+
* @returns The default type url
|
|
8466
|
+
*/
|
|
8467
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8468
|
+
}
|
|
8469
|
+
|
|
8470
|
+
/** Properties of an EncryptionConfig. */
|
|
8471
|
+
interface IEncryptionConfig {
|
|
8472
|
+
|
|
8473
|
+
/** EncryptionConfig kmsKeyName */
|
|
8474
|
+
kmsKeyName?: (string|null);
|
|
8475
|
+
|
|
8476
|
+
/** EncryptionConfig kmsKeyNames */
|
|
8477
|
+
kmsKeyNames?: (string[]|null);
|
|
8478
|
+
}
|
|
8479
|
+
|
|
8480
|
+
/** Represents an EncryptionConfig. */
|
|
8481
|
+
class EncryptionConfig implements IEncryptionConfig {
|
|
8482
|
+
|
|
8483
|
+
/**
|
|
8484
|
+
* Constructs a new EncryptionConfig.
|
|
8485
|
+
* @param [properties] Properties to set
|
|
8486
|
+
*/
|
|
8487
|
+
constructor(properties?: google.spanner.admin.database.v1.IEncryptionConfig);
|
|
8488
|
+
|
|
8489
|
+
/** EncryptionConfig kmsKeyName. */
|
|
8490
|
+
public kmsKeyName: string;
|
|
8491
|
+
|
|
8492
|
+
/** EncryptionConfig kmsKeyNames. */
|
|
8493
|
+
public kmsKeyNames: string[];
|
|
8494
|
+
|
|
8495
|
+
/**
|
|
8496
|
+
* Creates a new EncryptionConfig instance using the specified properties.
|
|
8497
|
+
* @param [properties] Properties to set
|
|
8498
|
+
* @returns EncryptionConfig instance
|
|
8499
|
+
*/
|
|
8500
|
+
public static create(properties?: google.spanner.admin.database.v1.IEncryptionConfig): google.spanner.admin.database.v1.EncryptionConfig;
|
|
8501
|
+
|
|
8502
|
+
/**
|
|
8503
|
+
* Encodes the specified EncryptionConfig message. Does not implicitly {@link google.spanner.admin.database.v1.EncryptionConfig.verify|verify} messages.
|
|
8504
|
+
* @param message EncryptionConfig message or plain object to encode
|
|
8505
|
+
* @param [writer] Writer to encode to
|
|
8506
|
+
* @returns Writer
|
|
8507
|
+
*/
|
|
8508
|
+
public static encode(message: google.spanner.admin.database.v1.IEncryptionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8509
|
+
|
|
8510
|
+
/**
|
|
8511
|
+
* Encodes the specified EncryptionConfig message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.EncryptionConfig.verify|verify} messages.
|
|
8512
|
+
* @param message EncryptionConfig message or plain object to encode
|
|
8513
|
+
* @param [writer] Writer to encode to
|
|
8514
|
+
* @returns Writer
|
|
8515
|
+
*/
|
|
8516
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IEncryptionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8517
|
+
|
|
8518
|
+
/**
|
|
8519
|
+
* Decodes an EncryptionConfig message from the specified reader or buffer.
|
|
8520
|
+
* @param reader Reader or buffer to decode from
|
|
8521
|
+
* @param [length] Message length if known beforehand
|
|
8522
|
+
* @returns EncryptionConfig
|
|
8523
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8524
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8525
|
+
*/
|
|
8526
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.EncryptionConfig;
|
|
8527
|
+
|
|
8528
|
+
/**
|
|
8529
|
+
* Decodes an EncryptionConfig message from the specified reader or buffer, length delimited.
|
|
8530
|
+
* @param reader Reader or buffer to decode from
|
|
8531
|
+
* @returns EncryptionConfig
|
|
8532
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8533
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8534
|
+
*/
|
|
8535
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.EncryptionConfig;
|
|
8536
|
+
|
|
8537
|
+
/**
|
|
8538
|
+
* Verifies an EncryptionConfig message.
|
|
8539
|
+
* @param message Plain object to verify
|
|
8540
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8541
|
+
*/
|
|
8542
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8543
|
+
|
|
8544
|
+
/**
|
|
8545
|
+
* Creates an EncryptionConfig message from a plain object. Also converts values to their respective internal types.
|
|
8546
|
+
* @param object Plain object
|
|
8547
|
+
* @returns EncryptionConfig
|
|
8548
|
+
*/
|
|
8549
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.EncryptionConfig;
|
|
8550
|
+
|
|
8551
|
+
/**
|
|
8552
|
+
* Creates a plain object from an EncryptionConfig message. Also converts values to other types if specified.
|
|
8553
|
+
* @param message EncryptionConfig
|
|
8554
|
+
* @param [options] Conversion options
|
|
8555
|
+
* @returns Plain object
|
|
8556
|
+
*/
|
|
8557
|
+
public static toObject(message: google.spanner.admin.database.v1.EncryptionConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8558
|
+
|
|
8559
|
+
/**
|
|
8560
|
+
* Converts this EncryptionConfig to JSON.
|
|
8561
|
+
* @returns JSON object
|
|
8562
|
+
*/
|
|
8563
|
+
public toJSON(): { [k: string]: any };
|
|
8564
|
+
|
|
8565
|
+
/**
|
|
8566
|
+
* Gets the default type url for EncryptionConfig
|
|
8567
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8568
|
+
* @returns The default type url
|
|
8569
|
+
*/
|
|
8570
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8571
|
+
}
|
|
8572
|
+
|
|
8573
|
+
/** Properties of an EncryptionInfo. */
|
|
8574
|
+
interface IEncryptionInfo {
|
|
8575
|
+
|
|
8576
|
+
/** EncryptionInfo encryptionType */
|
|
8577
|
+
encryptionType?: (google.spanner.admin.database.v1.EncryptionInfo.Type|keyof typeof google.spanner.admin.database.v1.EncryptionInfo.Type|null);
|
|
8578
|
+
|
|
8579
|
+
/** EncryptionInfo encryptionStatus */
|
|
8580
|
+
encryptionStatus?: (google.rpc.IStatus|null);
|
|
8581
|
+
|
|
8582
|
+
/** EncryptionInfo kmsKeyVersion */
|
|
8583
|
+
kmsKeyVersion?: (string|null);
|
|
8584
|
+
}
|
|
8585
|
+
|
|
8586
|
+
/** Represents an EncryptionInfo. */
|
|
8587
|
+
class EncryptionInfo implements IEncryptionInfo {
|
|
8588
|
+
|
|
8589
|
+
/**
|
|
8590
|
+
* Constructs a new EncryptionInfo.
|
|
8591
|
+
* @param [properties] Properties to set
|
|
8592
|
+
*/
|
|
8593
|
+
constructor(properties?: google.spanner.admin.database.v1.IEncryptionInfo);
|
|
8594
|
+
|
|
8595
|
+
/** EncryptionInfo encryptionType. */
|
|
8596
|
+
public encryptionType: (google.spanner.admin.database.v1.EncryptionInfo.Type|keyof typeof google.spanner.admin.database.v1.EncryptionInfo.Type);
|
|
8597
|
+
|
|
8598
|
+
/** EncryptionInfo encryptionStatus. */
|
|
8599
|
+
public encryptionStatus?: (google.rpc.IStatus|null);
|
|
8600
|
+
|
|
8601
|
+
/** EncryptionInfo kmsKeyVersion. */
|
|
8602
|
+
public kmsKeyVersion: string;
|
|
8603
|
+
|
|
8604
|
+
/**
|
|
8605
|
+
* Creates a new EncryptionInfo instance using the specified properties.
|
|
8606
|
+
* @param [properties] Properties to set
|
|
8607
|
+
* @returns EncryptionInfo instance
|
|
8608
|
+
*/
|
|
8609
|
+
public static create(properties?: google.spanner.admin.database.v1.IEncryptionInfo): google.spanner.admin.database.v1.EncryptionInfo;
|
|
8610
|
+
|
|
8611
|
+
/**
|
|
8612
|
+
* Encodes the specified EncryptionInfo message. Does not implicitly {@link google.spanner.admin.database.v1.EncryptionInfo.verify|verify} messages.
|
|
8613
|
+
* @param message EncryptionInfo message or plain object to encode
|
|
8614
|
+
* @param [writer] Writer to encode to
|
|
8615
|
+
* @returns Writer
|
|
8616
|
+
*/
|
|
8617
|
+
public static encode(message: google.spanner.admin.database.v1.IEncryptionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8618
|
+
|
|
8619
|
+
/**
|
|
8620
|
+
* Encodes the specified EncryptionInfo message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.EncryptionInfo.verify|verify} messages.
|
|
8621
|
+
* @param message EncryptionInfo message or plain object to encode
|
|
8622
|
+
* @param [writer] Writer to encode to
|
|
8623
|
+
* @returns Writer
|
|
8624
|
+
*/
|
|
8625
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IEncryptionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8626
|
+
|
|
8627
|
+
/**
|
|
8628
|
+
* Decodes an EncryptionInfo message from the specified reader or buffer.
|
|
8629
|
+
* @param reader Reader or buffer to decode from
|
|
8630
|
+
* @param [length] Message length if known beforehand
|
|
8631
|
+
* @returns EncryptionInfo
|
|
8632
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8633
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8634
|
+
*/
|
|
8635
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.EncryptionInfo;
|
|
8636
|
+
|
|
8637
|
+
/**
|
|
8638
|
+
* Decodes an EncryptionInfo message from the specified reader or buffer, length delimited.
|
|
8639
|
+
* @param reader Reader or buffer to decode from
|
|
8640
|
+
* @returns EncryptionInfo
|
|
8641
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8642
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8643
|
+
*/
|
|
8644
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.EncryptionInfo;
|
|
8645
|
+
|
|
8646
|
+
/**
|
|
8647
|
+
* Verifies an EncryptionInfo message.
|
|
8648
|
+
* @param message Plain object to verify
|
|
8649
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8650
|
+
*/
|
|
8651
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8652
|
+
|
|
8653
|
+
/**
|
|
8654
|
+
* Creates an EncryptionInfo message from a plain object. Also converts values to their respective internal types.
|
|
8655
|
+
* @param object Plain object
|
|
8656
|
+
* @returns EncryptionInfo
|
|
8657
|
+
*/
|
|
8658
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.EncryptionInfo;
|
|
8659
|
+
|
|
8660
|
+
/**
|
|
8661
|
+
* Creates a plain object from an EncryptionInfo message. Also converts values to other types if specified.
|
|
8662
|
+
* @param message EncryptionInfo
|
|
8663
|
+
* @param [options] Conversion options
|
|
8664
|
+
* @returns Plain object
|
|
8665
|
+
*/
|
|
8666
|
+
public static toObject(message: google.spanner.admin.database.v1.EncryptionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8667
|
+
|
|
8668
|
+
/**
|
|
8669
|
+
* Converts this EncryptionInfo to JSON.
|
|
8670
|
+
* @returns JSON object
|
|
8671
|
+
*/
|
|
8672
|
+
public toJSON(): { [k: string]: any };
|
|
8673
|
+
|
|
8674
|
+
/**
|
|
8675
|
+
* Gets the default type url for EncryptionInfo
|
|
8676
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8677
|
+
* @returns The default type url
|
|
8678
|
+
*/
|
|
8679
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8680
|
+
}
|
|
8681
|
+
|
|
8682
|
+
namespace EncryptionInfo {
|
|
8683
|
+
|
|
8684
|
+
/** Type enum. */
|
|
8685
|
+
enum Type {
|
|
8686
|
+
TYPE_UNSPECIFIED = 0,
|
|
8687
|
+
GOOGLE_DEFAULT_ENCRYPTION = 1,
|
|
8688
|
+
CUSTOMER_MANAGED_ENCRYPTION = 2
|
|
8689
|
+
}
|
|
8690
|
+
}
|
|
8691
|
+
|
|
8692
|
+
/** DatabaseDialect enum. */
|
|
8693
|
+
enum DatabaseDialect {
|
|
8694
|
+
DATABASE_DIALECT_UNSPECIFIED = 0,
|
|
8695
|
+
GOOGLE_STANDARD_SQL = 1,
|
|
8696
|
+
POSTGRESQL = 2
|
|
8697
|
+
}
|
|
8698
|
+
|
|
8699
|
+
/** Properties of a BackupScheduleSpec. */
|
|
8700
|
+
interface IBackupScheduleSpec {
|
|
8701
|
+
|
|
8702
|
+
/** BackupScheduleSpec cronSpec */
|
|
8703
|
+
cronSpec?: (google.spanner.admin.database.v1.ICrontabSpec|null);
|
|
8704
|
+
}
|
|
8705
|
+
|
|
8706
|
+
/** Represents a BackupScheduleSpec. */
|
|
8707
|
+
class BackupScheduleSpec implements IBackupScheduleSpec {
|
|
8708
|
+
|
|
8709
|
+
/**
|
|
8710
|
+
* Constructs a new BackupScheduleSpec.
|
|
8711
|
+
* @param [properties] Properties to set
|
|
8712
|
+
*/
|
|
8713
|
+
constructor(properties?: google.spanner.admin.database.v1.IBackupScheduleSpec);
|
|
8714
|
+
|
|
8715
|
+
/** BackupScheduleSpec cronSpec. */
|
|
8716
|
+
public cronSpec?: (google.spanner.admin.database.v1.ICrontabSpec|null);
|
|
8717
|
+
|
|
8718
|
+
/** BackupScheduleSpec scheduleSpec. */
|
|
8719
|
+
public scheduleSpec?: "cronSpec";
|
|
8720
|
+
|
|
8721
|
+
/**
|
|
8722
|
+
* Creates a new BackupScheduleSpec instance using the specified properties.
|
|
8723
|
+
* @param [properties] Properties to set
|
|
8724
|
+
* @returns BackupScheduleSpec instance
|
|
8725
|
+
*/
|
|
8726
|
+
public static create(properties?: google.spanner.admin.database.v1.IBackupScheduleSpec): google.spanner.admin.database.v1.BackupScheduleSpec;
|
|
8727
|
+
|
|
8728
|
+
/**
|
|
8729
|
+
* Encodes the specified BackupScheduleSpec message. Does not implicitly {@link google.spanner.admin.database.v1.BackupScheduleSpec.verify|verify} messages.
|
|
8730
|
+
* @param message BackupScheduleSpec message or plain object to encode
|
|
8731
|
+
* @param [writer] Writer to encode to
|
|
8732
|
+
* @returns Writer
|
|
8733
|
+
*/
|
|
8734
|
+
public static encode(message: google.spanner.admin.database.v1.IBackupScheduleSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8735
|
+
|
|
8736
|
+
/**
|
|
8737
|
+
* Encodes the specified BackupScheduleSpec message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.BackupScheduleSpec.verify|verify} messages.
|
|
8738
|
+
* @param message BackupScheduleSpec message or plain object to encode
|
|
8739
|
+
* @param [writer] Writer to encode to
|
|
8740
|
+
* @returns Writer
|
|
8741
|
+
*/
|
|
8742
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IBackupScheduleSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8743
|
+
|
|
8744
|
+
/**
|
|
8745
|
+
* Decodes a BackupScheduleSpec message from the specified reader or buffer.
|
|
8746
|
+
* @param reader Reader or buffer to decode from
|
|
8747
|
+
* @param [length] Message length if known beforehand
|
|
8748
|
+
* @returns BackupScheduleSpec
|
|
8749
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8750
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8751
|
+
*/
|
|
8752
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.BackupScheduleSpec;
|
|
8753
|
+
|
|
8754
|
+
/**
|
|
8755
|
+
* Decodes a BackupScheduleSpec message from the specified reader or buffer, length delimited.
|
|
8756
|
+
* @param reader Reader or buffer to decode from
|
|
8757
|
+
* @returns BackupScheduleSpec
|
|
8758
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8759
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8760
|
+
*/
|
|
8761
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.BackupScheduleSpec;
|
|
8762
|
+
|
|
8763
|
+
/**
|
|
8764
|
+
* Verifies a BackupScheduleSpec message.
|
|
8765
|
+
* @param message Plain object to verify
|
|
8766
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8767
|
+
*/
|
|
8768
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8769
|
+
|
|
8770
|
+
/**
|
|
8771
|
+
* Creates a BackupScheduleSpec message from a plain object. Also converts values to their respective internal types.
|
|
8772
|
+
* @param object Plain object
|
|
8773
|
+
* @returns BackupScheduleSpec
|
|
8774
|
+
*/
|
|
8775
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.BackupScheduleSpec;
|
|
8776
|
+
|
|
8777
|
+
/**
|
|
8778
|
+
* Creates a plain object from a BackupScheduleSpec message. Also converts values to other types if specified.
|
|
8779
|
+
* @param message BackupScheduleSpec
|
|
8780
|
+
* @param [options] Conversion options
|
|
8781
|
+
* @returns Plain object
|
|
8782
|
+
*/
|
|
8783
|
+
public static toObject(message: google.spanner.admin.database.v1.BackupScheduleSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8784
|
+
|
|
8785
|
+
/**
|
|
8786
|
+
* Converts this BackupScheduleSpec to JSON.
|
|
8787
|
+
* @returns JSON object
|
|
8788
|
+
*/
|
|
8789
|
+
public toJSON(): { [k: string]: any };
|
|
8790
|
+
|
|
8791
|
+
/**
|
|
8792
|
+
* Gets the default type url for BackupScheduleSpec
|
|
8793
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8794
|
+
* @returns The default type url
|
|
8795
|
+
*/
|
|
8796
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8797
|
+
}
|
|
8798
|
+
|
|
8799
|
+
/** Properties of a BackupSchedule. */
|
|
8800
|
+
interface IBackupSchedule {
|
|
8801
|
+
|
|
8802
|
+
/** BackupSchedule name */
|
|
8803
|
+
name?: (string|null);
|
|
8804
|
+
|
|
8805
|
+
/** BackupSchedule spec */
|
|
8806
|
+
spec?: (google.spanner.admin.database.v1.IBackupScheduleSpec|null);
|
|
8807
|
+
|
|
8808
|
+
/** BackupSchedule retentionDuration */
|
|
8809
|
+
retentionDuration?: (google.protobuf.IDuration|null);
|
|
8810
|
+
|
|
8811
|
+
/** BackupSchedule encryptionConfig */
|
|
8812
|
+
encryptionConfig?: (google.spanner.admin.database.v1.ICreateBackupEncryptionConfig|null);
|
|
8813
|
+
|
|
8814
|
+
/** BackupSchedule fullBackupSpec */
|
|
8815
|
+
fullBackupSpec?: (google.spanner.admin.database.v1.IFullBackupSpec|null);
|
|
8816
|
+
|
|
8817
|
+
/** BackupSchedule updateTime */
|
|
8818
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
|
8819
|
+
}
|
|
8820
|
+
|
|
8821
|
+
/** Represents a BackupSchedule. */
|
|
8822
|
+
class BackupSchedule implements IBackupSchedule {
|
|
8823
|
+
|
|
8824
|
+
/**
|
|
8825
|
+
* Constructs a new BackupSchedule.
|
|
8826
|
+
* @param [properties] Properties to set
|
|
8827
|
+
*/
|
|
8828
|
+
constructor(properties?: google.spanner.admin.database.v1.IBackupSchedule);
|
|
8829
|
+
|
|
8830
|
+
/** BackupSchedule name. */
|
|
8831
|
+
public name: string;
|
|
8832
|
+
|
|
8833
|
+
/** BackupSchedule spec. */
|
|
8834
|
+
public spec?: (google.spanner.admin.database.v1.IBackupScheduleSpec|null);
|
|
8835
|
+
|
|
8836
|
+
/** BackupSchedule retentionDuration. */
|
|
8837
|
+
public retentionDuration?: (google.protobuf.IDuration|null);
|
|
8838
|
+
|
|
8839
|
+
/** BackupSchedule encryptionConfig. */
|
|
8840
|
+
public encryptionConfig?: (google.spanner.admin.database.v1.ICreateBackupEncryptionConfig|null);
|
|
8841
|
+
|
|
8842
|
+
/** BackupSchedule fullBackupSpec. */
|
|
8843
|
+
public fullBackupSpec?: (google.spanner.admin.database.v1.IFullBackupSpec|null);
|
|
8844
|
+
|
|
8845
|
+
/** BackupSchedule updateTime. */
|
|
8846
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
|
8847
|
+
|
|
8848
|
+
/** BackupSchedule backupTypeSpec. */
|
|
8849
|
+
public backupTypeSpec?: "fullBackupSpec";
|
|
8850
|
+
|
|
8851
|
+
/**
|
|
8852
|
+
* Creates a new BackupSchedule instance using the specified properties.
|
|
8853
|
+
* @param [properties] Properties to set
|
|
8854
|
+
* @returns BackupSchedule instance
|
|
8855
|
+
*/
|
|
8856
|
+
public static create(properties?: google.spanner.admin.database.v1.IBackupSchedule): google.spanner.admin.database.v1.BackupSchedule;
|
|
8857
|
+
|
|
8858
|
+
/**
|
|
8859
|
+
* Encodes the specified BackupSchedule message. Does not implicitly {@link google.spanner.admin.database.v1.BackupSchedule.verify|verify} messages.
|
|
8860
|
+
* @param message BackupSchedule message or plain object to encode
|
|
8861
|
+
* @param [writer] Writer to encode to
|
|
8862
|
+
* @returns Writer
|
|
8863
|
+
*/
|
|
8864
|
+
public static encode(message: google.spanner.admin.database.v1.IBackupSchedule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8865
|
+
|
|
8866
|
+
/**
|
|
8867
|
+
* Encodes the specified BackupSchedule message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.BackupSchedule.verify|verify} messages.
|
|
8868
|
+
* @param message BackupSchedule message or plain object to encode
|
|
8869
|
+
* @param [writer] Writer to encode to
|
|
8870
|
+
* @returns Writer
|
|
8871
|
+
*/
|
|
8872
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IBackupSchedule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8873
|
+
|
|
8874
|
+
/**
|
|
8875
|
+
* Decodes a BackupSchedule message from the specified reader or buffer.
|
|
8876
|
+
* @param reader Reader or buffer to decode from
|
|
8877
|
+
* @param [length] Message length if known beforehand
|
|
8878
|
+
* @returns BackupSchedule
|
|
8879
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8880
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8881
|
+
*/
|
|
8882
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.BackupSchedule;
|
|
8883
|
+
|
|
8884
|
+
/**
|
|
8885
|
+
* Decodes a BackupSchedule message from the specified reader or buffer, length delimited.
|
|
8886
|
+
* @param reader Reader or buffer to decode from
|
|
8887
|
+
* @returns BackupSchedule
|
|
8888
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8889
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8890
|
+
*/
|
|
8891
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.BackupSchedule;
|
|
8892
|
+
|
|
8893
|
+
/**
|
|
8894
|
+
* Verifies a BackupSchedule message.
|
|
8895
|
+
* @param message Plain object to verify
|
|
8896
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8897
|
+
*/
|
|
8898
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8899
|
+
|
|
8900
|
+
/**
|
|
8901
|
+
* Creates a BackupSchedule message from a plain object. Also converts values to their respective internal types.
|
|
8902
|
+
* @param object Plain object
|
|
8903
|
+
* @returns BackupSchedule
|
|
8904
|
+
*/
|
|
8905
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.BackupSchedule;
|
|
8906
|
+
|
|
8907
|
+
/**
|
|
8908
|
+
* Creates a plain object from a BackupSchedule message. Also converts values to other types if specified.
|
|
8909
|
+
* @param message BackupSchedule
|
|
8910
|
+
* @param [options] Conversion options
|
|
8911
|
+
* @returns Plain object
|
|
8912
|
+
*/
|
|
8913
|
+
public static toObject(message: google.spanner.admin.database.v1.BackupSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8914
|
+
|
|
8915
|
+
/**
|
|
8916
|
+
* Converts this BackupSchedule to JSON.
|
|
8917
|
+
* @returns JSON object
|
|
8918
|
+
*/
|
|
8919
|
+
public toJSON(): { [k: string]: any };
|
|
8920
|
+
|
|
8921
|
+
/**
|
|
8922
|
+
* Gets the default type url for BackupSchedule
|
|
8923
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8924
|
+
* @returns The default type url
|
|
8925
|
+
*/
|
|
8926
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8927
|
+
}
|
|
8928
|
+
|
|
8929
|
+
/** Properties of a CrontabSpec. */
|
|
8930
|
+
interface ICrontabSpec {
|
|
8931
|
+
|
|
8932
|
+
/** CrontabSpec text */
|
|
8933
|
+
text?: (string|null);
|
|
8934
|
+
|
|
8935
|
+
/** CrontabSpec timeZone */
|
|
8936
|
+
timeZone?: (string|null);
|
|
8937
|
+
|
|
8938
|
+
/** CrontabSpec creationWindow */
|
|
8939
|
+
creationWindow?: (google.protobuf.IDuration|null);
|
|
8940
|
+
}
|
|
8941
|
+
|
|
8942
|
+
/** Represents a CrontabSpec. */
|
|
8943
|
+
class CrontabSpec implements ICrontabSpec {
|
|
8944
|
+
|
|
8945
|
+
/**
|
|
8946
|
+
* Constructs a new CrontabSpec.
|
|
8947
|
+
* @param [properties] Properties to set
|
|
8948
|
+
*/
|
|
8949
|
+
constructor(properties?: google.spanner.admin.database.v1.ICrontabSpec);
|
|
8950
|
+
|
|
8951
|
+
/** CrontabSpec text. */
|
|
8952
|
+
public text: string;
|
|
8953
|
+
|
|
8954
|
+
/** CrontabSpec timeZone. */
|
|
8955
|
+
public timeZone: string;
|
|
8956
|
+
|
|
8957
|
+
/** CrontabSpec creationWindow. */
|
|
8958
|
+
public creationWindow?: (google.protobuf.IDuration|null);
|
|
8959
|
+
|
|
8960
|
+
/**
|
|
8961
|
+
* Creates a new CrontabSpec instance using the specified properties.
|
|
8962
|
+
* @param [properties] Properties to set
|
|
8963
|
+
* @returns CrontabSpec instance
|
|
8964
|
+
*/
|
|
8965
|
+
public static create(properties?: google.spanner.admin.database.v1.ICrontabSpec): google.spanner.admin.database.v1.CrontabSpec;
|
|
8966
|
+
|
|
8967
|
+
/**
|
|
8968
|
+
* Encodes the specified CrontabSpec message. Does not implicitly {@link google.spanner.admin.database.v1.CrontabSpec.verify|verify} messages.
|
|
8969
|
+
* @param message CrontabSpec message or plain object to encode
|
|
8970
|
+
* @param [writer] Writer to encode to
|
|
8971
|
+
* @returns Writer
|
|
8972
|
+
*/
|
|
8973
|
+
public static encode(message: google.spanner.admin.database.v1.ICrontabSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8974
|
+
|
|
8975
|
+
/**
|
|
8976
|
+
* Encodes the specified CrontabSpec message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.CrontabSpec.verify|verify} messages.
|
|
8977
|
+
* @param message CrontabSpec message or plain object to encode
|
|
8978
|
+
* @param [writer] Writer to encode to
|
|
8979
|
+
* @returns Writer
|
|
8980
|
+
*/
|
|
8981
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.ICrontabSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8982
|
+
|
|
8983
|
+
/**
|
|
8984
|
+
* Decodes a CrontabSpec message from the specified reader or buffer.
|
|
8985
|
+
* @param reader Reader or buffer to decode from
|
|
8986
|
+
* @param [length] Message length if known beforehand
|
|
8987
|
+
* @returns CrontabSpec
|
|
8988
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8989
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8990
|
+
*/
|
|
8991
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.CrontabSpec;
|
|
8992
|
+
|
|
8993
|
+
/**
|
|
8994
|
+
* Decodes a CrontabSpec message from the specified reader or buffer, length delimited.
|
|
8995
|
+
* @param reader Reader or buffer to decode from
|
|
8996
|
+
* @returns CrontabSpec
|
|
8997
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8998
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8999
|
+
*/
|
|
9000
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.CrontabSpec;
|
|
9001
|
+
|
|
9002
|
+
/**
|
|
9003
|
+
* Verifies a CrontabSpec message.
|
|
9004
|
+
* @param message Plain object to verify
|
|
9005
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9006
|
+
*/
|
|
9007
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9008
|
+
|
|
9009
|
+
/**
|
|
9010
|
+
* Creates a CrontabSpec message from a plain object. Also converts values to their respective internal types.
|
|
9011
|
+
* @param object Plain object
|
|
9012
|
+
* @returns CrontabSpec
|
|
9013
|
+
*/
|
|
9014
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.CrontabSpec;
|
|
9015
|
+
|
|
9016
|
+
/**
|
|
9017
|
+
* Creates a plain object from a CrontabSpec message. Also converts values to other types if specified.
|
|
9018
|
+
* @param message CrontabSpec
|
|
9019
|
+
* @param [options] Conversion options
|
|
9020
|
+
* @returns Plain object
|
|
9021
|
+
*/
|
|
9022
|
+
public static toObject(message: google.spanner.admin.database.v1.CrontabSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9023
|
+
|
|
9024
|
+
/**
|
|
9025
|
+
* Converts this CrontabSpec to JSON.
|
|
9026
|
+
* @returns JSON object
|
|
9027
|
+
*/
|
|
9028
|
+
public toJSON(): { [k: string]: any };
|
|
9029
|
+
|
|
9030
|
+
/**
|
|
9031
|
+
* Gets the default type url for CrontabSpec
|
|
9032
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9033
|
+
* @returns The default type url
|
|
9034
|
+
*/
|
|
9035
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9036
|
+
}
|
|
9037
|
+
|
|
9038
|
+
/** Properties of a CreateBackupScheduleRequest. */
|
|
9039
|
+
interface ICreateBackupScheduleRequest {
|
|
9040
|
+
|
|
9041
|
+
/** CreateBackupScheduleRequest parent */
|
|
9042
|
+
parent?: (string|null);
|
|
9043
|
+
|
|
9044
|
+
/** CreateBackupScheduleRequest backupScheduleId */
|
|
9045
|
+
backupScheduleId?: (string|null);
|
|
9046
|
+
|
|
9047
|
+
/** CreateBackupScheduleRequest backupSchedule */
|
|
9048
|
+
backupSchedule?: (google.spanner.admin.database.v1.IBackupSchedule|null);
|
|
9049
|
+
}
|
|
9050
|
+
|
|
9051
|
+
/** Represents a CreateBackupScheduleRequest. */
|
|
9052
|
+
class CreateBackupScheduleRequest implements ICreateBackupScheduleRequest {
|
|
9053
|
+
|
|
9054
|
+
/**
|
|
9055
|
+
* Constructs a new CreateBackupScheduleRequest.
|
|
9056
|
+
* @param [properties] Properties to set
|
|
9057
|
+
*/
|
|
9058
|
+
constructor(properties?: google.spanner.admin.database.v1.ICreateBackupScheduleRequest);
|
|
9059
|
+
|
|
9060
|
+
/** CreateBackupScheduleRequest parent. */
|
|
9061
|
+
public parent: string;
|
|
9062
|
+
|
|
9063
|
+
/** CreateBackupScheduleRequest backupScheduleId. */
|
|
9064
|
+
public backupScheduleId: string;
|
|
9065
|
+
|
|
9066
|
+
/** CreateBackupScheduleRequest backupSchedule. */
|
|
9067
|
+
public backupSchedule?: (google.spanner.admin.database.v1.IBackupSchedule|null);
|
|
9068
|
+
|
|
9069
|
+
/**
|
|
9070
|
+
* Creates a new CreateBackupScheduleRequest instance using the specified properties.
|
|
9071
|
+
* @param [properties] Properties to set
|
|
9072
|
+
* @returns CreateBackupScheduleRequest instance
|
|
9073
|
+
*/
|
|
9074
|
+
public static create(properties?: google.spanner.admin.database.v1.ICreateBackupScheduleRequest): google.spanner.admin.database.v1.CreateBackupScheduleRequest;
|
|
9075
|
+
|
|
9076
|
+
/**
|
|
9077
|
+
* Encodes the specified CreateBackupScheduleRequest message. Does not implicitly {@link google.spanner.admin.database.v1.CreateBackupScheduleRequest.verify|verify} messages.
|
|
9078
|
+
* @param message CreateBackupScheduleRequest message or plain object to encode
|
|
9079
|
+
* @param [writer] Writer to encode to
|
|
9080
|
+
* @returns Writer
|
|
9081
|
+
*/
|
|
9082
|
+
public static encode(message: google.spanner.admin.database.v1.ICreateBackupScheduleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9083
|
+
|
|
9084
|
+
/**
|
|
9085
|
+
* Encodes the specified CreateBackupScheduleRequest message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.CreateBackupScheduleRequest.verify|verify} messages.
|
|
9086
|
+
* @param message CreateBackupScheduleRequest message or plain object to encode
|
|
9087
|
+
* @param [writer] Writer to encode to
|
|
9088
|
+
* @returns Writer
|
|
9089
|
+
*/
|
|
9090
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.ICreateBackupScheduleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9091
|
+
|
|
9092
|
+
/**
|
|
9093
|
+
* Decodes a CreateBackupScheduleRequest message from the specified reader or buffer.
|
|
9094
|
+
* @param reader Reader or buffer to decode from
|
|
9095
|
+
* @param [length] Message length if known beforehand
|
|
9096
|
+
* @returns CreateBackupScheduleRequest
|
|
9097
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9098
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9099
|
+
*/
|
|
9100
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.CreateBackupScheduleRequest;
|
|
9101
|
+
|
|
9102
|
+
/**
|
|
9103
|
+
* Decodes a CreateBackupScheduleRequest message from the specified reader or buffer, length delimited.
|
|
9104
|
+
* @param reader Reader or buffer to decode from
|
|
9105
|
+
* @returns CreateBackupScheduleRequest
|
|
9106
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9107
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9108
|
+
*/
|
|
9109
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.CreateBackupScheduleRequest;
|
|
9110
|
+
|
|
9111
|
+
/**
|
|
9112
|
+
* Verifies a CreateBackupScheduleRequest message.
|
|
9113
|
+
* @param message Plain object to verify
|
|
9114
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9115
|
+
*/
|
|
9116
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9117
|
+
|
|
9118
|
+
/**
|
|
9119
|
+
* Creates a CreateBackupScheduleRequest message from a plain object. Also converts values to their respective internal types.
|
|
9120
|
+
* @param object Plain object
|
|
9121
|
+
* @returns CreateBackupScheduleRequest
|
|
9122
|
+
*/
|
|
9123
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.CreateBackupScheduleRequest;
|
|
9124
|
+
|
|
9125
|
+
/**
|
|
9126
|
+
* Creates a plain object from a CreateBackupScheduleRequest message. Also converts values to other types if specified.
|
|
9127
|
+
* @param message CreateBackupScheduleRequest
|
|
9128
|
+
* @param [options] Conversion options
|
|
9129
|
+
* @returns Plain object
|
|
9130
|
+
*/
|
|
9131
|
+
public static toObject(message: google.spanner.admin.database.v1.CreateBackupScheduleRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9132
|
+
|
|
9133
|
+
/**
|
|
9134
|
+
* Converts this CreateBackupScheduleRequest to JSON.
|
|
9135
|
+
* @returns JSON object
|
|
9136
|
+
*/
|
|
9137
|
+
public toJSON(): { [k: string]: any };
|
|
9138
|
+
|
|
9139
|
+
/**
|
|
9140
|
+
* Gets the default type url for CreateBackupScheduleRequest
|
|
9141
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9142
|
+
* @returns The default type url
|
|
9143
|
+
*/
|
|
9144
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9145
|
+
}
|
|
9146
|
+
|
|
9147
|
+
/** Properties of a GetBackupScheduleRequest. */
|
|
9148
|
+
interface IGetBackupScheduleRequest {
|
|
9149
|
+
|
|
9150
|
+
/** GetBackupScheduleRequest name */
|
|
9151
|
+
name?: (string|null);
|
|
9152
|
+
}
|
|
9153
|
+
|
|
9154
|
+
/** Represents a GetBackupScheduleRequest. */
|
|
9155
|
+
class GetBackupScheduleRequest implements IGetBackupScheduleRequest {
|
|
9156
|
+
|
|
9157
|
+
/**
|
|
9158
|
+
* Constructs a new GetBackupScheduleRequest.
|
|
9159
|
+
* @param [properties] Properties to set
|
|
9160
|
+
*/
|
|
9161
|
+
constructor(properties?: google.spanner.admin.database.v1.IGetBackupScheduleRequest);
|
|
9162
|
+
|
|
9163
|
+
/** GetBackupScheduleRequest name. */
|
|
9164
|
+
public name: string;
|
|
9165
|
+
|
|
9166
|
+
/**
|
|
9167
|
+
* Creates a new GetBackupScheduleRequest instance using the specified properties.
|
|
9168
|
+
* @param [properties] Properties to set
|
|
9169
|
+
* @returns GetBackupScheduleRequest instance
|
|
9170
|
+
*/
|
|
9171
|
+
public static create(properties?: google.spanner.admin.database.v1.IGetBackupScheduleRequest): google.spanner.admin.database.v1.GetBackupScheduleRequest;
|
|
9172
|
+
|
|
9173
|
+
/**
|
|
9174
|
+
* Encodes the specified GetBackupScheduleRequest message. Does not implicitly {@link google.spanner.admin.database.v1.GetBackupScheduleRequest.verify|verify} messages.
|
|
9175
|
+
* @param message GetBackupScheduleRequest message or plain object to encode
|
|
9176
|
+
* @param [writer] Writer to encode to
|
|
9177
|
+
* @returns Writer
|
|
9178
|
+
*/
|
|
9179
|
+
public static encode(message: google.spanner.admin.database.v1.IGetBackupScheduleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9180
|
+
|
|
9181
|
+
/**
|
|
9182
|
+
* Encodes the specified GetBackupScheduleRequest message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.GetBackupScheduleRequest.verify|verify} messages.
|
|
9183
|
+
* @param message GetBackupScheduleRequest message or plain object to encode
|
|
9184
|
+
* @param [writer] Writer to encode to
|
|
9185
|
+
* @returns Writer
|
|
9186
|
+
*/
|
|
9187
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IGetBackupScheduleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9188
|
+
|
|
9189
|
+
/**
|
|
9190
|
+
* Decodes a GetBackupScheduleRequest message from the specified reader or buffer.
|
|
9191
|
+
* @param reader Reader or buffer to decode from
|
|
9192
|
+
* @param [length] Message length if known beforehand
|
|
9193
|
+
* @returns GetBackupScheduleRequest
|
|
9194
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9195
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9196
|
+
*/
|
|
9197
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.GetBackupScheduleRequest;
|
|
9198
|
+
|
|
9199
|
+
/**
|
|
9200
|
+
* Decodes a GetBackupScheduleRequest message from the specified reader or buffer, length delimited.
|
|
9201
|
+
* @param reader Reader or buffer to decode from
|
|
9202
|
+
* @returns GetBackupScheduleRequest
|
|
9203
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9204
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9205
|
+
*/
|
|
9206
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.GetBackupScheduleRequest;
|
|
9207
|
+
|
|
9208
|
+
/**
|
|
9209
|
+
* Verifies a GetBackupScheduleRequest message.
|
|
9210
|
+
* @param message Plain object to verify
|
|
9211
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9212
|
+
*/
|
|
9213
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9214
|
+
|
|
9215
|
+
/**
|
|
9216
|
+
* Creates a GetBackupScheduleRequest message from a plain object. Also converts values to their respective internal types.
|
|
9217
|
+
* @param object Plain object
|
|
9218
|
+
* @returns GetBackupScheduleRequest
|
|
9219
|
+
*/
|
|
9220
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.GetBackupScheduleRequest;
|
|
9221
|
+
|
|
9222
|
+
/**
|
|
9223
|
+
* Creates a plain object from a GetBackupScheduleRequest message. Also converts values to other types if specified.
|
|
9224
|
+
* @param message GetBackupScheduleRequest
|
|
9225
|
+
* @param [options] Conversion options
|
|
9226
|
+
* @returns Plain object
|
|
9227
|
+
*/
|
|
9228
|
+
public static toObject(message: google.spanner.admin.database.v1.GetBackupScheduleRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9229
|
+
|
|
9230
|
+
/**
|
|
9231
|
+
* Converts this GetBackupScheduleRequest to JSON.
|
|
9232
|
+
* @returns JSON object
|
|
9233
|
+
*/
|
|
9234
|
+
public toJSON(): { [k: string]: any };
|
|
9235
|
+
|
|
9236
|
+
/**
|
|
9237
|
+
* Gets the default type url for GetBackupScheduleRequest
|
|
9238
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9239
|
+
* @returns The default type url
|
|
9240
|
+
*/
|
|
9241
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9242
|
+
}
|
|
9243
|
+
|
|
9244
|
+
/** Properties of a DeleteBackupScheduleRequest. */
|
|
9245
|
+
interface IDeleteBackupScheduleRequest {
|
|
9246
|
+
|
|
9247
|
+
/** DeleteBackupScheduleRequest name */
|
|
9248
|
+
name?: (string|null);
|
|
9249
|
+
}
|
|
9250
|
+
|
|
9251
|
+
/** Represents a DeleteBackupScheduleRequest. */
|
|
9252
|
+
class DeleteBackupScheduleRequest implements IDeleteBackupScheduleRequest {
|
|
9253
|
+
|
|
9254
|
+
/**
|
|
9255
|
+
* Constructs a new DeleteBackupScheduleRequest.
|
|
9256
|
+
* @param [properties] Properties to set
|
|
9257
|
+
*/
|
|
9258
|
+
constructor(properties?: google.spanner.admin.database.v1.IDeleteBackupScheduleRequest);
|
|
9259
|
+
|
|
9260
|
+
/** DeleteBackupScheduleRequest name. */
|
|
9261
|
+
public name: string;
|
|
9262
|
+
|
|
9263
|
+
/**
|
|
9264
|
+
* Creates a new DeleteBackupScheduleRequest instance using the specified properties.
|
|
9265
|
+
* @param [properties] Properties to set
|
|
9266
|
+
* @returns DeleteBackupScheduleRequest instance
|
|
9267
|
+
*/
|
|
9268
|
+
public static create(properties?: google.spanner.admin.database.v1.IDeleteBackupScheduleRequest): google.spanner.admin.database.v1.DeleteBackupScheduleRequest;
|
|
9269
|
+
|
|
9270
|
+
/**
|
|
9271
|
+
* Encodes the specified DeleteBackupScheduleRequest message. Does not implicitly {@link google.spanner.admin.database.v1.DeleteBackupScheduleRequest.verify|verify} messages.
|
|
9272
|
+
* @param message DeleteBackupScheduleRequest message or plain object to encode
|
|
9273
|
+
* @param [writer] Writer to encode to
|
|
9274
|
+
* @returns Writer
|
|
9275
|
+
*/
|
|
9276
|
+
public static encode(message: google.spanner.admin.database.v1.IDeleteBackupScheduleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9277
|
+
|
|
9278
|
+
/**
|
|
9279
|
+
* Encodes the specified DeleteBackupScheduleRequest message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.DeleteBackupScheduleRequest.verify|verify} messages.
|
|
9280
|
+
* @param message DeleteBackupScheduleRequest message or plain object to encode
|
|
9281
|
+
* @param [writer] Writer to encode to
|
|
9282
|
+
* @returns Writer
|
|
9283
|
+
*/
|
|
9284
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IDeleteBackupScheduleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9285
|
+
|
|
9286
|
+
/**
|
|
9287
|
+
* Decodes a DeleteBackupScheduleRequest message from the specified reader or buffer.
|
|
9288
|
+
* @param reader Reader or buffer to decode from
|
|
9289
|
+
* @param [length] Message length if known beforehand
|
|
9290
|
+
* @returns DeleteBackupScheduleRequest
|
|
9291
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9292
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9293
|
+
*/
|
|
9294
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.DeleteBackupScheduleRequest;
|
|
9295
|
+
|
|
9296
|
+
/**
|
|
9297
|
+
* Decodes a DeleteBackupScheduleRequest message from the specified reader or buffer, length delimited.
|
|
9298
|
+
* @param reader Reader or buffer to decode from
|
|
9299
|
+
* @returns DeleteBackupScheduleRequest
|
|
9300
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9301
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9302
|
+
*/
|
|
9303
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.DeleteBackupScheduleRequest;
|
|
9304
|
+
|
|
9305
|
+
/**
|
|
9306
|
+
* Verifies a DeleteBackupScheduleRequest message.
|
|
9307
|
+
* @param message Plain object to verify
|
|
9308
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9309
|
+
*/
|
|
9310
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9311
|
+
|
|
9312
|
+
/**
|
|
9313
|
+
* Creates a DeleteBackupScheduleRequest message from a plain object. Also converts values to their respective internal types.
|
|
9314
|
+
* @param object Plain object
|
|
9315
|
+
* @returns DeleteBackupScheduleRequest
|
|
9316
|
+
*/
|
|
9317
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.DeleteBackupScheduleRequest;
|
|
9318
|
+
|
|
9319
|
+
/**
|
|
9320
|
+
* Creates a plain object from a DeleteBackupScheduleRequest message. Also converts values to other types if specified.
|
|
9321
|
+
* @param message DeleteBackupScheduleRequest
|
|
9322
|
+
* @param [options] Conversion options
|
|
9323
|
+
* @returns Plain object
|
|
9324
|
+
*/
|
|
9325
|
+
public static toObject(message: google.spanner.admin.database.v1.DeleteBackupScheduleRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9326
|
+
|
|
9327
|
+
/**
|
|
9328
|
+
* Converts this DeleteBackupScheduleRequest to JSON.
|
|
9329
|
+
* @returns JSON object
|
|
9330
|
+
*/
|
|
9331
|
+
public toJSON(): { [k: string]: any };
|
|
9332
|
+
|
|
9333
|
+
/**
|
|
9334
|
+
* Gets the default type url for DeleteBackupScheduleRequest
|
|
9335
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9336
|
+
* @returns The default type url
|
|
9337
|
+
*/
|
|
9338
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9339
|
+
}
|
|
9340
|
+
|
|
9341
|
+
/** Properties of a ListBackupSchedulesRequest. */
|
|
9342
|
+
interface IListBackupSchedulesRequest {
|
|
9343
|
+
|
|
9344
|
+
/** ListBackupSchedulesRequest parent */
|
|
9345
|
+
parent?: (string|null);
|
|
9346
|
+
|
|
9347
|
+
/** ListBackupSchedulesRequest pageSize */
|
|
9348
|
+
pageSize?: (number|null);
|
|
9349
|
+
|
|
9350
|
+
/** ListBackupSchedulesRequest pageToken */
|
|
9351
|
+
pageToken?: (string|null);
|
|
9352
|
+
}
|
|
9353
|
+
|
|
9354
|
+
/** Represents a ListBackupSchedulesRequest. */
|
|
9355
|
+
class ListBackupSchedulesRequest implements IListBackupSchedulesRequest {
|
|
9356
|
+
|
|
9357
|
+
/**
|
|
9358
|
+
* Constructs a new ListBackupSchedulesRequest.
|
|
9359
|
+
* @param [properties] Properties to set
|
|
9360
|
+
*/
|
|
9361
|
+
constructor(properties?: google.spanner.admin.database.v1.IListBackupSchedulesRequest);
|
|
9362
|
+
|
|
9363
|
+
/** ListBackupSchedulesRequest parent. */
|
|
9364
|
+
public parent: string;
|
|
9365
|
+
|
|
9366
|
+
/** ListBackupSchedulesRequest pageSize. */
|
|
9367
|
+
public pageSize: number;
|
|
9368
|
+
|
|
9369
|
+
/** ListBackupSchedulesRequest pageToken. */
|
|
9370
|
+
public pageToken: string;
|
|
9371
|
+
|
|
9372
|
+
/**
|
|
9373
|
+
* Creates a new ListBackupSchedulesRequest instance using the specified properties.
|
|
9374
|
+
* @param [properties] Properties to set
|
|
9375
|
+
* @returns ListBackupSchedulesRequest instance
|
|
9376
|
+
*/
|
|
9377
|
+
public static create(properties?: google.spanner.admin.database.v1.IListBackupSchedulesRequest): google.spanner.admin.database.v1.ListBackupSchedulesRequest;
|
|
9378
|
+
|
|
9379
|
+
/**
|
|
9380
|
+
* Encodes the specified ListBackupSchedulesRequest message. Does not implicitly {@link google.spanner.admin.database.v1.ListBackupSchedulesRequest.verify|verify} messages.
|
|
9381
|
+
* @param message ListBackupSchedulesRequest message or plain object to encode
|
|
9382
|
+
* @param [writer] Writer to encode to
|
|
9383
|
+
* @returns Writer
|
|
9384
|
+
*/
|
|
9385
|
+
public static encode(message: google.spanner.admin.database.v1.IListBackupSchedulesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8309
9386
|
|
|
8310
9387
|
/**
|
|
8311
|
-
* Encodes the specified
|
|
8312
|
-
* @param message
|
|
9388
|
+
* Encodes the specified ListBackupSchedulesRequest message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.ListBackupSchedulesRequest.verify|verify} messages.
|
|
9389
|
+
* @param message ListBackupSchedulesRequest message or plain object to encode
|
|
8313
9390
|
* @param [writer] Writer to encode to
|
|
8314
9391
|
* @returns Writer
|
|
8315
9392
|
*/
|
|
8316
|
-
public static encodeDelimited(message: google.spanner.admin.database.v1.
|
|
9393
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IListBackupSchedulesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8317
9394
|
|
|
8318
9395
|
/**
|
|
8319
|
-
* Decodes
|
|
9396
|
+
* Decodes a ListBackupSchedulesRequest message from the specified reader or buffer.
|
|
8320
9397
|
* @param reader Reader or buffer to decode from
|
|
8321
9398
|
* @param [length] Message length if known beforehand
|
|
8322
|
-
* @returns
|
|
9399
|
+
* @returns ListBackupSchedulesRequest
|
|
8323
9400
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8324
9401
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8325
9402
|
*/
|
|
8326
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.
|
|
9403
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.ListBackupSchedulesRequest;
|
|
8327
9404
|
|
|
8328
9405
|
/**
|
|
8329
|
-
* Decodes
|
|
9406
|
+
* Decodes a ListBackupSchedulesRequest message from the specified reader or buffer, length delimited.
|
|
8330
9407
|
* @param reader Reader or buffer to decode from
|
|
8331
|
-
* @returns
|
|
9408
|
+
* @returns ListBackupSchedulesRequest
|
|
8332
9409
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8333
9410
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8334
9411
|
*/
|
|
8335
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.
|
|
9412
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.ListBackupSchedulesRequest;
|
|
8336
9413
|
|
|
8337
9414
|
/**
|
|
8338
|
-
* Verifies
|
|
9415
|
+
* Verifies a ListBackupSchedulesRequest message.
|
|
8339
9416
|
* @param message Plain object to verify
|
|
8340
9417
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
8341
9418
|
*/
|
|
8342
9419
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
8343
9420
|
|
|
8344
9421
|
/**
|
|
8345
|
-
* Creates
|
|
9422
|
+
* Creates a ListBackupSchedulesRequest message from a plain object. Also converts values to their respective internal types.
|
|
8346
9423
|
* @param object Plain object
|
|
8347
|
-
* @returns
|
|
9424
|
+
* @returns ListBackupSchedulesRequest
|
|
8348
9425
|
*/
|
|
8349
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.
|
|
9426
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.ListBackupSchedulesRequest;
|
|
8350
9427
|
|
|
8351
9428
|
/**
|
|
8352
|
-
* Creates a plain object from
|
|
8353
|
-
* @param message
|
|
9429
|
+
* Creates a plain object from a ListBackupSchedulesRequest message. Also converts values to other types if specified.
|
|
9430
|
+
* @param message ListBackupSchedulesRequest
|
|
8354
9431
|
* @param [options] Conversion options
|
|
8355
9432
|
* @returns Plain object
|
|
8356
9433
|
*/
|
|
8357
|
-
public static toObject(message: google.spanner.admin.database.v1.
|
|
9434
|
+
public static toObject(message: google.spanner.admin.database.v1.ListBackupSchedulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8358
9435
|
|
|
8359
9436
|
/**
|
|
8360
|
-
* Converts this
|
|
9437
|
+
* Converts this ListBackupSchedulesRequest to JSON.
|
|
8361
9438
|
* @returns JSON object
|
|
8362
9439
|
*/
|
|
8363
9440
|
public toJSON(): { [k: string]: any };
|
|
8364
9441
|
|
|
8365
9442
|
/**
|
|
8366
|
-
* Gets the default type url for
|
|
9443
|
+
* Gets the default type url for ListBackupSchedulesRequest
|
|
8367
9444
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8368
9445
|
* @returns The default type url
|
|
8369
9446
|
*/
|
|
8370
9447
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8371
9448
|
}
|
|
8372
9449
|
|
|
8373
|
-
/** Properties of
|
|
8374
|
-
interface
|
|
9450
|
+
/** Properties of a ListBackupSchedulesResponse. */
|
|
9451
|
+
interface IListBackupSchedulesResponse {
|
|
8375
9452
|
|
|
8376
|
-
/**
|
|
8377
|
-
|
|
9453
|
+
/** ListBackupSchedulesResponse backupSchedules */
|
|
9454
|
+
backupSchedules?: (google.spanner.admin.database.v1.IBackupSchedule[]|null);
|
|
8378
9455
|
|
|
8379
|
-
/**
|
|
8380
|
-
|
|
9456
|
+
/** ListBackupSchedulesResponse nextPageToken */
|
|
9457
|
+
nextPageToken?: (string|null);
|
|
8381
9458
|
}
|
|
8382
9459
|
|
|
8383
|
-
/** Represents
|
|
8384
|
-
class
|
|
9460
|
+
/** Represents a ListBackupSchedulesResponse. */
|
|
9461
|
+
class ListBackupSchedulesResponse implements IListBackupSchedulesResponse {
|
|
8385
9462
|
|
|
8386
9463
|
/**
|
|
8387
|
-
* Constructs a new
|
|
9464
|
+
* Constructs a new ListBackupSchedulesResponse.
|
|
8388
9465
|
* @param [properties] Properties to set
|
|
8389
9466
|
*/
|
|
8390
|
-
constructor(properties?: google.spanner.admin.database.v1.
|
|
9467
|
+
constructor(properties?: google.spanner.admin.database.v1.IListBackupSchedulesResponse);
|
|
8391
9468
|
|
|
8392
|
-
/**
|
|
8393
|
-
public
|
|
9469
|
+
/** ListBackupSchedulesResponse backupSchedules. */
|
|
9470
|
+
public backupSchedules: google.spanner.admin.database.v1.IBackupSchedule[];
|
|
8394
9471
|
|
|
8395
|
-
/**
|
|
8396
|
-
public
|
|
9472
|
+
/** ListBackupSchedulesResponse nextPageToken. */
|
|
9473
|
+
public nextPageToken: string;
|
|
8397
9474
|
|
|
8398
9475
|
/**
|
|
8399
|
-
* Creates a new
|
|
9476
|
+
* Creates a new ListBackupSchedulesResponse instance using the specified properties.
|
|
8400
9477
|
* @param [properties] Properties to set
|
|
8401
|
-
* @returns
|
|
9478
|
+
* @returns ListBackupSchedulesResponse instance
|
|
8402
9479
|
*/
|
|
8403
|
-
public static create(properties?: google.spanner.admin.database.v1.
|
|
9480
|
+
public static create(properties?: google.spanner.admin.database.v1.IListBackupSchedulesResponse): google.spanner.admin.database.v1.ListBackupSchedulesResponse;
|
|
8404
9481
|
|
|
8405
9482
|
/**
|
|
8406
|
-
* Encodes the specified
|
|
8407
|
-
* @param message
|
|
9483
|
+
* Encodes the specified ListBackupSchedulesResponse message. Does not implicitly {@link google.spanner.admin.database.v1.ListBackupSchedulesResponse.verify|verify} messages.
|
|
9484
|
+
* @param message ListBackupSchedulesResponse message or plain object to encode
|
|
8408
9485
|
* @param [writer] Writer to encode to
|
|
8409
9486
|
* @returns Writer
|
|
8410
9487
|
*/
|
|
8411
|
-
public static encode(message: google.spanner.admin.database.v1.
|
|
9488
|
+
public static encode(message: google.spanner.admin.database.v1.IListBackupSchedulesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8412
9489
|
|
|
8413
9490
|
/**
|
|
8414
|
-
* Encodes the specified
|
|
8415
|
-
* @param message
|
|
9491
|
+
* Encodes the specified ListBackupSchedulesResponse message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.ListBackupSchedulesResponse.verify|verify} messages.
|
|
9492
|
+
* @param message ListBackupSchedulesResponse message or plain object to encode
|
|
8416
9493
|
* @param [writer] Writer to encode to
|
|
8417
9494
|
* @returns Writer
|
|
8418
9495
|
*/
|
|
8419
|
-
public static encodeDelimited(message: google.spanner.admin.database.v1.
|
|
9496
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IListBackupSchedulesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8420
9497
|
|
|
8421
9498
|
/**
|
|
8422
|
-
* Decodes
|
|
9499
|
+
* Decodes a ListBackupSchedulesResponse message from the specified reader or buffer.
|
|
8423
9500
|
* @param reader Reader or buffer to decode from
|
|
8424
9501
|
* @param [length] Message length if known beforehand
|
|
8425
|
-
* @returns
|
|
9502
|
+
* @returns ListBackupSchedulesResponse
|
|
8426
9503
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8427
9504
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8428
9505
|
*/
|
|
8429
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.
|
|
9506
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.ListBackupSchedulesResponse;
|
|
8430
9507
|
|
|
8431
9508
|
/**
|
|
8432
|
-
* Decodes
|
|
9509
|
+
* Decodes a ListBackupSchedulesResponse message from the specified reader or buffer, length delimited.
|
|
8433
9510
|
* @param reader Reader or buffer to decode from
|
|
8434
|
-
* @returns
|
|
9511
|
+
* @returns ListBackupSchedulesResponse
|
|
8435
9512
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8436
9513
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8437
9514
|
*/
|
|
8438
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.
|
|
9515
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.ListBackupSchedulesResponse;
|
|
8439
9516
|
|
|
8440
9517
|
/**
|
|
8441
|
-
* Verifies
|
|
9518
|
+
* Verifies a ListBackupSchedulesResponse message.
|
|
8442
9519
|
* @param message Plain object to verify
|
|
8443
9520
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
8444
9521
|
*/
|
|
8445
9522
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
8446
9523
|
|
|
8447
9524
|
/**
|
|
8448
|
-
* Creates
|
|
9525
|
+
* Creates a ListBackupSchedulesResponse message from a plain object. Also converts values to their respective internal types.
|
|
8449
9526
|
* @param object Plain object
|
|
8450
|
-
* @returns
|
|
9527
|
+
* @returns ListBackupSchedulesResponse
|
|
8451
9528
|
*/
|
|
8452
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.
|
|
9529
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.ListBackupSchedulesResponse;
|
|
8453
9530
|
|
|
8454
9531
|
/**
|
|
8455
|
-
* Creates a plain object from
|
|
8456
|
-
* @param message
|
|
9532
|
+
* Creates a plain object from a ListBackupSchedulesResponse message. Also converts values to other types if specified.
|
|
9533
|
+
* @param message ListBackupSchedulesResponse
|
|
8457
9534
|
* @param [options] Conversion options
|
|
8458
9535
|
* @returns Plain object
|
|
8459
9536
|
*/
|
|
8460
|
-
public static toObject(message: google.spanner.admin.database.v1.
|
|
9537
|
+
public static toObject(message: google.spanner.admin.database.v1.ListBackupSchedulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8461
9538
|
|
|
8462
9539
|
/**
|
|
8463
|
-
* Converts this
|
|
9540
|
+
* Converts this ListBackupSchedulesResponse to JSON.
|
|
8464
9541
|
* @returns JSON object
|
|
8465
9542
|
*/
|
|
8466
9543
|
public toJSON(): { [k: string]: any };
|
|
8467
9544
|
|
|
8468
9545
|
/**
|
|
8469
|
-
* Gets the default type url for
|
|
9546
|
+
* Gets the default type url for ListBackupSchedulesResponse
|
|
8470
9547
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8471
9548
|
* @returns The default type url
|
|
8472
9549
|
*/
|
|
8473
9550
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8474
9551
|
}
|
|
8475
9552
|
|
|
8476
|
-
/** Properties of an
|
|
8477
|
-
interface
|
|
8478
|
-
|
|
8479
|
-
/** EncryptionInfo encryptionType */
|
|
8480
|
-
encryptionType?: (google.spanner.admin.database.v1.EncryptionInfo.Type|keyof typeof google.spanner.admin.database.v1.EncryptionInfo.Type|null);
|
|
9553
|
+
/** Properties of an UpdateBackupScheduleRequest. */
|
|
9554
|
+
interface IUpdateBackupScheduleRequest {
|
|
8481
9555
|
|
|
8482
|
-
/**
|
|
8483
|
-
|
|
9556
|
+
/** UpdateBackupScheduleRequest backupSchedule */
|
|
9557
|
+
backupSchedule?: (google.spanner.admin.database.v1.IBackupSchedule|null);
|
|
8484
9558
|
|
|
8485
|
-
/**
|
|
8486
|
-
|
|
9559
|
+
/** UpdateBackupScheduleRequest updateMask */
|
|
9560
|
+
updateMask?: (google.protobuf.IFieldMask|null);
|
|
8487
9561
|
}
|
|
8488
9562
|
|
|
8489
|
-
/** Represents an
|
|
8490
|
-
class
|
|
9563
|
+
/** Represents an UpdateBackupScheduleRequest. */
|
|
9564
|
+
class UpdateBackupScheduleRequest implements IUpdateBackupScheduleRequest {
|
|
8491
9565
|
|
|
8492
9566
|
/**
|
|
8493
|
-
* Constructs a new
|
|
9567
|
+
* Constructs a new UpdateBackupScheduleRequest.
|
|
8494
9568
|
* @param [properties] Properties to set
|
|
8495
9569
|
*/
|
|
8496
|
-
constructor(properties?: google.spanner.admin.database.v1.
|
|
8497
|
-
|
|
8498
|
-
/** EncryptionInfo encryptionType. */
|
|
8499
|
-
public encryptionType: (google.spanner.admin.database.v1.EncryptionInfo.Type|keyof typeof google.spanner.admin.database.v1.EncryptionInfo.Type);
|
|
9570
|
+
constructor(properties?: google.spanner.admin.database.v1.IUpdateBackupScheduleRequest);
|
|
8500
9571
|
|
|
8501
|
-
/**
|
|
8502
|
-
public
|
|
9572
|
+
/** UpdateBackupScheduleRequest backupSchedule. */
|
|
9573
|
+
public backupSchedule?: (google.spanner.admin.database.v1.IBackupSchedule|null);
|
|
8503
9574
|
|
|
8504
|
-
/**
|
|
8505
|
-
public
|
|
9575
|
+
/** UpdateBackupScheduleRequest updateMask. */
|
|
9576
|
+
public updateMask?: (google.protobuf.IFieldMask|null);
|
|
8506
9577
|
|
|
8507
9578
|
/**
|
|
8508
|
-
* Creates a new
|
|
9579
|
+
* Creates a new UpdateBackupScheduleRequest instance using the specified properties.
|
|
8509
9580
|
* @param [properties] Properties to set
|
|
8510
|
-
* @returns
|
|
9581
|
+
* @returns UpdateBackupScheduleRequest instance
|
|
8511
9582
|
*/
|
|
8512
|
-
public static create(properties?: google.spanner.admin.database.v1.
|
|
9583
|
+
public static create(properties?: google.spanner.admin.database.v1.IUpdateBackupScheduleRequest): google.spanner.admin.database.v1.UpdateBackupScheduleRequest;
|
|
8513
9584
|
|
|
8514
9585
|
/**
|
|
8515
|
-
* Encodes the specified
|
|
8516
|
-
* @param message
|
|
9586
|
+
* Encodes the specified UpdateBackupScheduleRequest message. Does not implicitly {@link google.spanner.admin.database.v1.UpdateBackupScheduleRequest.verify|verify} messages.
|
|
9587
|
+
* @param message UpdateBackupScheduleRequest message or plain object to encode
|
|
8517
9588
|
* @param [writer] Writer to encode to
|
|
8518
9589
|
* @returns Writer
|
|
8519
9590
|
*/
|
|
8520
|
-
public static encode(message: google.spanner.admin.database.v1.
|
|
9591
|
+
public static encode(message: google.spanner.admin.database.v1.IUpdateBackupScheduleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8521
9592
|
|
|
8522
9593
|
/**
|
|
8523
|
-
* Encodes the specified
|
|
8524
|
-
* @param message
|
|
9594
|
+
* Encodes the specified UpdateBackupScheduleRequest message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.UpdateBackupScheduleRequest.verify|verify} messages.
|
|
9595
|
+
* @param message UpdateBackupScheduleRequest message or plain object to encode
|
|
8525
9596
|
* @param [writer] Writer to encode to
|
|
8526
9597
|
* @returns Writer
|
|
8527
9598
|
*/
|
|
8528
|
-
public static encodeDelimited(message: google.spanner.admin.database.v1.
|
|
9599
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IUpdateBackupScheduleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8529
9600
|
|
|
8530
9601
|
/**
|
|
8531
|
-
* Decodes an
|
|
9602
|
+
* Decodes an UpdateBackupScheduleRequest message from the specified reader or buffer.
|
|
8532
9603
|
* @param reader Reader or buffer to decode from
|
|
8533
9604
|
* @param [length] Message length if known beforehand
|
|
8534
|
-
* @returns
|
|
9605
|
+
* @returns UpdateBackupScheduleRequest
|
|
8535
9606
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8536
9607
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8537
9608
|
*/
|
|
8538
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.
|
|
9609
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.UpdateBackupScheduleRequest;
|
|
8539
9610
|
|
|
8540
9611
|
/**
|
|
8541
|
-
* Decodes an
|
|
9612
|
+
* Decodes an UpdateBackupScheduleRequest message from the specified reader or buffer, length delimited.
|
|
8542
9613
|
* @param reader Reader or buffer to decode from
|
|
8543
|
-
* @returns
|
|
9614
|
+
* @returns UpdateBackupScheduleRequest
|
|
8544
9615
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8545
9616
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8546
9617
|
*/
|
|
8547
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.
|
|
9618
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.UpdateBackupScheduleRequest;
|
|
8548
9619
|
|
|
8549
9620
|
/**
|
|
8550
|
-
* Verifies an
|
|
9621
|
+
* Verifies an UpdateBackupScheduleRequest message.
|
|
8551
9622
|
* @param message Plain object to verify
|
|
8552
9623
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
8553
9624
|
*/
|
|
8554
9625
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
8555
9626
|
|
|
8556
9627
|
/**
|
|
8557
|
-
* Creates an
|
|
9628
|
+
* Creates an UpdateBackupScheduleRequest message from a plain object. Also converts values to their respective internal types.
|
|
8558
9629
|
* @param object Plain object
|
|
8559
|
-
* @returns
|
|
9630
|
+
* @returns UpdateBackupScheduleRequest
|
|
8560
9631
|
*/
|
|
8561
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.
|
|
9632
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.UpdateBackupScheduleRequest;
|
|
8562
9633
|
|
|
8563
9634
|
/**
|
|
8564
|
-
* Creates a plain object from an
|
|
8565
|
-
* @param message
|
|
9635
|
+
* Creates a plain object from an UpdateBackupScheduleRequest message. Also converts values to other types if specified.
|
|
9636
|
+
* @param message UpdateBackupScheduleRequest
|
|
8566
9637
|
* @param [options] Conversion options
|
|
8567
9638
|
* @returns Plain object
|
|
8568
9639
|
*/
|
|
8569
|
-
public static toObject(message: google.spanner.admin.database.v1.
|
|
9640
|
+
public static toObject(message: google.spanner.admin.database.v1.UpdateBackupScheduleRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8570
9641
|
|
|
8571
9642
|
/**
|
|
8572
|
-
* Converts this
|
|
9643
|
+
* Converts this UpdateBackupScheduleRequest to JSON.
|
|
8573
9644
|
* @returns JSON object
|
|
8574
9645
|
*/
|
|
8575
9646
|
public toJSON(): { [k: string]: any };
|
|
8576
9647
|
|
|
8577
9648
|
/**
|
|
8578
|
-
* Gets the default type url for
|
|
9649
|
+
* Gets the default type url for UpdateBackupScheduleRequest
|
|
8579
9650
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8580
9651
|
* @returns The default type url
|
|
8581
9652
|
*/
|
|
8582
9653
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8583
9654
|
}
|
|
8584
9655
|
|
|
8585
|
-
namespace EncryptionInfo {
|
|
8586
|
-
|
|
8587
|
-
/** Type enum. */
|
|
8588
|
-
enum Type {
|
|
8589
|
-
TYPE_UNSPECIFIED = 0,
|
|
8590
|
-
GOOGLE_DEFAULT_ENCRYPTION = 1,
|
|
8591
|
-
CUSTOMER_MANAGED_ENCRYPTION = 2
|
|
8592
|
-
}
|
|
8593
|
-
}
|
|
8594
|
-
|
|
8595
|
-
/** DatabaseDialect enum. */
|
|
8596
|
-
enum DatabaseDialect {
|
|
8597
|
-
DATABASE_DIALECT_UNSPECIFIED = 0,
|
|
8598
|
-
GOOGLE_STANDARD_SQL = 1,
|
|
8599
|
-
POSTGRESQL = 2
|
|
8600
|
-
}
|
|
8601
|
-
|
|
8602
9656
|
/** Represents a DatabaseAdmin */
|
|
8603
9657
|
class DatabaseAdmin extends $protobuf.rpc.Service {
|
|
8604
9658
|
|
|
@@ -8898,6 +9952,76 @@ export namespace google {
|
|
|
8898
9952
|
* @returns Promise
|
|
8899
9953
|
*/
|
|
8900
9954
|
public listDatabaseRoles(request: google.spanner.admin.database.v1.IListDatabaseRolesRequest): Promise<google.spanner.admin.database.v1.ListDatabaseRolesResponse>;
|
|
9955
|
+
|
|
9956
|
+
/**
|
|
9957
|
+
* Calls CreateBackupSchedule.
|
|
9958
|
+
* @param request CreateBackupScheduleRequest message or plain object
|
|
9959
|
+
* @param callback Node-style callback called with the error, if any, and BackupSchedule
|
|
9960
|
+
*/
|
|
9961
|
+
public createBackupSchedule(request: google.spanner.admin.database.v1.ICreateBackupScheduleRequest, callback: google.spanner.admin.database.v1.DatabaseAdmin.CreateBackupScheduleCallback): void;
|
|
9962
|
+
|
|
9963
|
+
/**
|
|
9964
|
+
* Calls CreateBackupSchedule.
|
|
9965
|
+
* @param request CreateBackupScheduleRequest message or plain object
|
|
9966
|
+
* @returns Promise
|
|
9967
|
+
*/
|
|
9968
|
+
public createBackupSchedule(request: google.spanner.admin.database.v1.ICreateBackupScheduleRequest): Promise<google.spanner.admin.database.v1.BackupSchedule>;
|
|
9969
|
+
|
|
9970
|
+
/**
|
|
9971
|
+
* Calls GetBackupSchedule.
|
|
9972
|
+
* @param request GetBackupScheduleRequest message or plain object
|
|
9973
|
+
* @param callback Node-style callback called with the error, if any, and BackupSchedule
|
|
9974
|
+
*/
|
|
9975
|
+
public getBackupSchedule(request: google.spanner.admin.database.v1.IGetBackupScheduleRequest, callback: google.spanner.admin.database.v1.DatabaseAdmin.GetBackupScheduleCallback): void;
|
|
9976
|
+
|
|
9977
|
+
/**
|
|
9978
|
+
* Calls GetBackupSchedule.
|
|
9979
|
+
* @param request GetBackupScheduleRequest message or plain object
|
|
9980
|
+
* @returns Promise
|
|
9981
|
+
*/
|
|
9982
|
+
public getBackupSchedule(request: google.spanner.admin.database.v1.IGetBackupScheduleRequest): Promise<google.spanner.admin.database.v1.BackupSchedule>;
|
|
9983
|
+
|
|
9984
|
+
/**
|
|
9985
|
+
* Calls UpdateBackupSchedule.
|
|
9986
|
+
* @param request UpdateBackupScheduleRequest message or plain object
|
|
9987
|
+
* @param callback Node-style callback called with the error, if any, and BackupSchedule
|
|
9988
|
+
*/
|
|
9989
|
+
public updateBackupSchedule(request: google.spanner.admin.database.v1.IUpdateBackupScheduleRequest, callback: google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupScheduleCallback): void;
|
|
9990
|
+
|
|
9991
|
+
/**
|
|
9992
|
+
* Calls UpdateBackupSchedule.
|
|
9993
|
+
* @param request UpdateBackupScheduleRequest message or plain object
|
|
9994
|
+
* @returns Promise
|
|
9995
|
+
*/
|
|
9996
|
+
public updateBackupSchedule(request: google.spanner.admin.database.v1.IUpdateBackupScheduleRequest): Promise<google.spanner.admin.database.v1.BackupSchedule>;
|
|
9997
|
+
|
|
9998
|
+
/**
|
|
9999
|
+
* Calls DeleteBackupSchedule.
|
|
10000
|
+
* @param request DeleteBackupScheduleRequest message or plain object
|
|
10001
|
+
* @param callback Node-style callback called with the error, if any, and Empty
|
|
10002
|
+
*/
|
|
10003
|
+
public deleteBackupSchedule(request: google.spanner.admin.database.v1.IDeleteBackupScheduleRequest, callback: google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackupScheduleCallback): void;
|
|
10004
|
+
|
|
10005
|
+
/**
|
|
10006
|
+
* Calls DeleteBackupSchedule.
|
|
10007
|
+
* @param request DeleteBackupScheduleRequest message or plain object
|
|
10008
|
+
* @returns Promise
|
|
10009
|
+
*/
|
|
10010
|
+
public deleteBackupSchedule(request: google.spanner.admin.database.v1.IDeleteBackupScheduleRequest): Promise<google.protobuf.Empty>;
|
|
10011
|
+
|
|
10012
|
+
/**
|
|
10013
|
+
* Calls ListBackupSchedules.
|
|
10014
|
+
* @param request ListBackupSchedulesRequest message or plain object
|
|
10015
|
+
* @param callback Node-style callback called with the error, if any, and ListBackupSchedulesResponse
|
|
10016
|
+
*/
|
|
10017
|
+
public listBackupSchedules(request: google.spanner.admin.database.v1.IListBackupSchedulesRequest, callback: google.spanner.admin.database.v1.DatabaseAdmin.ListBackupSchedulesCallback): void;
|
|
10018
|
+
|
|
10019
|
+
/**
|
|
10020
|
+
* Calls ListBackupSchedules.
|
|
10021
|
+
* @param request ListBackupSchedulesRequest message or plain object
|
|
10022
|
+
* @returns Promise
|
|
10023
|
+
*/
|
|
10024
|
+
public listBackupSchedules(request: google.spanner.admin.database.v1.IListBackupSchedulesRequest): Promise<google.spanner.admin.database.v1.ListBackupSchedulesResponse>;
|
|
8901
10025
|
}
|
|
8902
10026
|
|
|
8903
10027
|
namespace DatabaseAdmin {
|
|
@@ -9041,6 +10165,41 @@ export namespace google {
|
|
|
9041
10165
|
* @param [response] ListDatabaseRolesResponse
|
|
9042
10166
|
*/
|
|
9043
10167
|
type ListDatabaseRolesCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.ListDatabaseRolesResponse) => void;
|
|
10168
|
+
|
|
10169
|
+
/**
|
|
10170
|
+
* Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|createBackupSchedule}.
|
|
10171
|
+
* @param error Error, if any
|
|
10172
|
+
* @param [response] BackupSchedule
|
|
10173
|
+
*/
|
|
10174
|
+
type CreateBackupScheduleCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.BackupSchedule) => void;
|
|
10175
|
+
|
|
10176
|
+
/**
|
|
10177
|
+
* Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|getBackupSchedule}.
|
|
10178
|
+
* @param error Error, if any
|
|
10179
|
+
* @param [response] BackupSchedule
|
|
10180
|
+
*/
|
|
10181
|
+
type GetBackupScheduleCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.BackupSchedule) => void;
|
|
10182
|
+
|
|
10183
|
+
/**
|
|
10184
|
+
* Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|updateBackupSchedule}.
|
|
10185
|
+
* @param error Error, if any
|
|
10186
|
+
* @param [response] BackupSchedule
|
|
10187
|
+
*/
|
|
10188
|
+
type UpdateBackupScheduleCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.BackupSchedule) => void;
|
|
10189
|
+
|
|
10190
|
+
/**
|
|
10191
|
+
* Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|deleteBackupSchedule}.
|
|
10192
|
+
* @param error Error, if any
|
|
10193
|
+
* @param [response] Empty
|
|
10194
|
+
*/
|
|
10195
|
+
type DeleteBackupScheduleCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
10196
|
+
|
|
10197
|
+
/**
|
|
10198
|
+
* Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|listBackupSchedules}.
|
|
10199
|
+
* @param error Error, if any
|
|
10200
|
+
* @param [response] ListBackupSchedulesResponse
|
|
10201
|
+
*/
|
|
10202
|
+
type ListBackupSchedulesCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.ListBackupSchedulesResponse) => void;
|
|
9044
10203
|
}
|
|
9045
10204
|
|
|
9046
10205
|
/** Properties of a RestoreInfo. */
|
|
@@ -16623,6 +17782,9 @@ export namespace google {
|
|
|
16623
17782
|
|
|
16624
17783
|
/** SpannerAction executeChangeStreamQuery */
|
|
16625
17784
|
executeChangeStreamQuery?: (google.spanner.executor.v1.IExecuteChangeStreamQuery|null);
|
|
17785
|
+
|
|
17786
|
+
/** SpannerAction queryCancellation */
|
|
17787
|
+
queryCancellation?: (google.spanner.executor.v1.IQueryCancellationAction|null);
|
|
16626
17788
|
}
|
|
16627
17789
|
|
|
16628
17790
|
/** Represents a SpannerAction. */
|
|
@@ -16688,8 +17850,11 @@ export namespace google {
|
|
|
16688
17850
|
/** SpannerAction executeChangeStreamQuery. */
|
|
16689
17851
|
public executeChangeStreamQuery?: (google.spanner.executor.v1.IExecuteChangeStreamQuery|null);
|
|
16690
17852
|
|
|
17853
|
+
/** SpannerAction queryCancellation. */
|
|
17854
|
+
public queryCancellation?: (google.spanner.executor.v1.IQueryCancellationAction|null);
|
|
17855
|
+
|
|
16691
17856
|
/** SpannerAction action. */
|
|
16692
|
-
public action?: ("start"|"finish"|"read"|"query"|"mutation"|"dml"|"batchDml"|"write"|"partitionedUpdate"|"admin"|"startBatchTxn"|"closeBatchTxn"|"generateDbPartitionsRead"|"generateDbPartitionsQuery"|"executePartition"|"executeChangeStreamQuery");
|
|
17857
|
+
public action?: ("start"|"finish"|"read"|"query"|"mutation"|"dml"|"batchDml"|"write"|"partitionedUpdate"|"admin"|"startBatchTxn"|"closeBatchTxn"|"generateDbPartitionsRead"|"generateDbPartitionsQuery"|"executePartition"|"executeChangeStreamQuery"|"queryCancellation");
|
|
16693
17858
|
|
|
16694
17859
|
/**
|
|
16695
17860
|
* Creates a new SpannerAction instance using the specified properties.
|
|
@@ -22688,6 +23853,109 @@ export namespace google {
|
|
|
22688
23853
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22689
23854
|
}
|
|
22690
23855
|
|
|
23856
|
+
/** Properties of a QueryCancellationAction. */
|
|
23857
|
+
interface IQueryCancellationAction {
|
|
23858
|
+
|
|
23859
|
+
/** QueryCancellationAction longRunningSql */
|
|
23860
|
+
longRunningSql?: (string|null);
|
|
23861
|
+
|
|
23862
|
+
/** QueryCancellationAction cancelQuery */
|
|
23863
|
+
cancelQuery?: (string|null);
|
|
23864
|
+
}
|
|
23865
|
+
|
|
23866
|
+
/** Represents a QueryCancellationAction. */
|
|
23867
|
+
class QueryCancellationAction implements IQueryCancellationAction {
|
|
23868
|
+
|
|
23869
|
+
/**
|
|
23870
|
+
* Constructs a new QueryCancellationAction.
|
|
23871
|
+
* @param [properties] Properties to set
|
|
23872
|
+
*/
|
|
23873
|
+
constructor(properties?: google.spanner.executor.v1.IQueryCancellationAction);
|
|
23874
|
+
|
|
23875
|
+
/** QueryCancellationAction longRunningSql. */
|
|
23876
|
+
public longRunningSql: string;
|
|
23877
|
+
|
|
23878
|
+
/** QueryCancellationAction cancelQuery. */
|
|
23879
|
+
public cancelQuery: string;
|
|
23880
|
+
|
|
23881
|
+
/**
|
|
23882
|
+
* Creates a new QueryCancellationAction instance using the specified properties.
|
|
23883
|
+
* @param [properties] Properties to set
|
|
23884
|
+
* @returns QueryCancellationAction instance
|
|
23885
|
+
*/
|
|
23886
|
+
public static create(properties?: google.spanner.executor.v1.IQueryCancellationAction): google.spanner.executor.v1.QueryCancellationAction;
|
|
23887
|
+
|
|
23888
|
+
/**
|
|
23889
|
+
* Encodes the specified QueryCancellationAction message. Does not implicitly {@link google.spanner.executor.v1.QueryCancellationAction.verify|verify} messages.
|
|
23890
|
+
* @param message QueryCancellationAction message or plain object to encode
|
|
23891
|
+
* @param [writer] Writer to encode to
|
|
23892
|
+
* @returns Writer
|
|
23893
|
+
*/
|
|
23894
|
+
public static encode(message: google.spanner.executor.v1.IQueryCancellationAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23895
|
+
|
|
23896
|
+
/**
|
|
23897
|
+
* Encodes the specified QueryCancellationAction message, length delimited. Does not implicitly {@link google.spanner.executor.v1.QueryCancellationAction.verify|verify} messages.
|
|
23898
|
+
* @param message QueryCancellationAction message or plain object to encode
|
|
23899
|
+
* @param [writer] Writer to encode to
|
|
23900
|
+
* @returns Writer
|
|
23901
|
+
*/
|
|
23902
|
+
public static encodeDelimited(message: google.spanner.executor.v1.IQueryCancellationAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23903
|
+
|
|
23904
|
+
/**
|
|
23905
|
+
* Decodes a QueryCancellationAction message from the specified reader or buffer.
|
|
23906
|
+
* @param reader Reader or buffer to decode from
|
|
23907
|
+
* @param [length] Message length if known beforehand
|
|
23908
|
+
* @returns QueryCancellationAction
|
|
23909
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23910
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23911
|
+
*/
|
|
23912
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.QueryCancellationAction;
|
|
23913
|
+
|
|
23914
|
+
/**
|
|
23915
|
+
* Decodes a QueryCancellationAction message from the specified reader or buffer, length delimited.
|
|
23916
|
+
* @param reader Reader or buffer to decode from
|
|
23917
|
+
* @returns QueryCancellationAction
|
|
23918
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23919
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23920
|
+
*/
|
|
23921
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.QueryCancellationAction;
|
|
23922
|
+
|
|
23923
|
+
/**
|
|
23924
|
+
* Verifies a QueryCancellationAction message.
|
|
23925
|
+
* @param message Plain object to verify
|
|
23926
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23927
|
+
*/
|
|
23928
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23929
|
+
|
|
23930
|
+
/**
|
|
23931
|
+
* Creates a QueryCancellationAction message from a plain object. Also converts values to their respective internal types.
|
|
23932
|
+
* @param object Plain object
|
|
23933
|
+
* @returns QueryCancellationAction
|
|
23934
|
+
*/
|
|
23935
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.QueryCancellationAction;
|
|
23936
|
+
|
|
23937
|
+
/**
|
|
23938
|
+
* Creates a plain object from a QueryCancellationAction message. Also converts values to other types if specified.
|
|
23939
|
+
* @param message QueryCancellationAction
|
|
23940
|
+
* @param [options] Conversion options
|
|
23941
|
+
* @returns Plain object
|
|
23942
|
+
*/
|
|
23943
|
+
public static toObject(message: google.spanner.executor.v1.QueryCancellationAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23944
|
+
|
|
23945
|
+
/**
|
|
23946
|
+
* Converts this QueryCancellationAction to JSON.
|
|
23947
|
+
* @returns JSON object
|
|
23948
|
+
*/
|
|
23949
|
+
public toJSON(): { [k: string]: any };
|
|
23950
|
+
|
|
23951
|
+
/**
|
|
23952
|
+
* Gets the default type url for QueryCancellationAction
|
|
23953
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23954
|
+
* @returns The default type url
|
|
23955
|
+
*/
|
|
23956
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23957
|
+
}
|
|
23958
|
+
|
|
22691
23959
|
/** Properties of a CancelOperationAction. */
|
|
22692
23960
|
interface ICancelOperationAction {
|
|
22693
23961
|
|
|
@@ -28667,6 +29935,12 @@ export namespace google {
|
|
|
28667
29935
|
|
|
28668
29936
|
/** ReadRequest dataBoostEnabled */
|
|
28669
29937
|
dataBoostEnabled?: (boolean|null);
|
|
29938
|
+
|
|
29939
|
+
/** ReadRequest orderBy */
|
|
29940
|
+
orderBy?: (google.spanner.v1.ReadRequest.OrderBy|keyof typeof google.spanner.v1.ReadRequest.OrderBy|null);
|
|
29941
|
+
|
|
29942
|
+
/** ReadRequest lockHint */
|
|
29943
|
+
lockHint?: (google.spanner.v1.ReadRequest.LockHint|keyof typeof google.spanner.v1.ReadRequest.LockHint|null);
|
|
28670
29944
|
}
|
|
28671
29945
|
|
|
28672
29946
|
/** Represents a ReadRequest. */
|
|
@@ -28714,6 +29988,12 @@ export namespace google {
|
|
|
28714
29988
|
/** ReadRequest dataBoostEnabled. */
|
|
28715
29989
|
public dataBoostEnabled: boolean;
|
|
28716
29990
|
|
|
29991
|
+
/** ReadRequest orderBy. */
|
|
29992
|
+
public orderBy: (google.spanner.v1.ReadRequest.OrderBy|keyof typeof google.spanner.v1.ReadRequest.OrderBy);
|
|
29993
|
+
|
|
29994
|
+
/** ReadRequest lockHint. */
|
|
29995
|
+
public lockHint: (google.spanner.v1.ReadRequest.LockHint|keyof typeof google.spanner.v1.ReadRequest.LockHint);
|
|
29996
|
+
|
|
28717
29997
|
/**
|
|
28718
29998
|
* Creates a new ReadRequest instance using the specified properties.
|
|
28719
29999
|
* @param [properties] Properties to set
|
|
@@ -28792,6 +30072,23 @@ export namespace google {
|
|
|
28792
30072
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28793
30073
|
}
|
|
28794
30074
|
|
|
30075
|
+
namespace ReadRequest {
|
|
30076
|
+
|
|
30077
|
+
/** OrderBy enum. */
|
|
30078
|
+
enum OrderBy {
|
|
30079
|
+
ORDER_BY_UNSPECIFIED = 0,
|
|
30080
|
+
ORDER_BY_PRIMARY_KEY = 1,
|
|
30081
|
+
ORDER_BY_NO_ORDER = 2
|
|
30082
|
+
}
|
|
30083
|
+
|
|
30084
|
+
/** LockHint enum. */
|
|
30085
|
+
enum LockHint {
|
|
30086
|
+
LOCK_HINT_UNSPECIFIED = 0,
|
|
30087
|
+
LOCK_HINT_SHARED = 1,
|
|
30088
|
+
LOCK_HINT_EXCLUSIVE = 2
|
|
30089
|
+
}
|
|
30090
|
+
}
|
|
30091
|
+
|
|
28795
30092
|
/** Properties of a BeginTransactionRequest. */
|
|
28796
30093
|
interface IBeginTransactionRequest {
|
|
28797
30094
|
|