@google-cloud/spanner 7.12.0 → 7.14.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 +24 -0
- package/build/protos/google/spanner/admin/database/v1/backup.proto +51 -1
- package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +3 -0
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +203 -62
- package/build/protos/protos.d.ts +460 -1
- package/build/protos/protos.js +1102 -2
- package/build/protos/protos.json +116 -1
- package/build/src/transaction.js +13 -4
- package/build/src/v1/database_admin_client.d.ts +9 -0
- package/build/src/v1/database_admin_client.js +6 -0
- package/build/src/v1/instance_admin_client.d.ts +141 -43
- package/build/src/v1/instance_admin_client.js +44 -4
- package/build/src/v1/instance_admin_client_config.json +4 -0
- package/package.json +3 -3
package/build/protos/protos.d.ts
CHANGED
|
@@ -6549,6 +6549,12 @@ export namespace google {
|
|
|
6549
6549
|
/** Backup sizeBytes */
|
|
6550
6550
|
sizeBytes?: (number|Long|string|null);
|
|
6551
6551
|
|
|
6552
|
+
/** Backup freeableSizeBytes */
|
|
6553
|
+
freeableSizeBytes?: (number|Long|string|null);
|
|
6554
|
+
|
|
6555
|
+
/** Backup exclusiveSizeBytes */
|
|
6556
|
+
exclusiveSizeBytes?: (number|Long|string|null);
|
|
6557
|
+
|
|
6552
6558
|
/** Backup state */
|
|
6553
6559
|
state?: (google.spanner.admin.database.v1.Backup.State|keyof typeof google.spanner.admin.database.v1.Backup.State|null);
|
|
6554
6560
|
|
|
@@ -6572,6 +6578,12 @@ export namespace google {
|
|
|
6572
6578
|
|
|
6573
6579
|
/** Backup backupSchedules */
|
|
6574
6580
|
backupSchedules?: (string[]|null);
|
|
6581
|
+
|
|
6582
|
+
/** Backup incrementalBackupChainId */
|
|
6583
|
+
incrementalBackupChainId?: (string|null);
|
|
6584
|
+
|
|
6585
|
+
/** Backup oldestVersionTime */
|
|
6586
|
+
oldestVersionTime?: (google.protobuf.ITimestamp|null);
|
|
6575
6587
|
}
|
|
6576
6588
|
|
|
6577
6589
|
/** Represents a Backup. */
|
|
@@ -6601,6 +6613,12 @@ export namespace google {
|
|
|
6601
6613
|
/** Backup sizeBytes. */
|
|
6602
6614
|
public sizeBytes: (number|Long|string);
|
|
6603
6615
|
|
|
6616
|
+
/** Backup freeableSizeBytes. */
|
|
6617
|
+
public freeableSizeBytes: (number|Long|string);
|
|
6618
|
+
|
|
6619
|
+
/** Backup exclusiveSizeBytes. */
|
|
6620
|
+
public exclusiveSizeBytes: (number|Long|string);
|
|
6621
|
+
|
|
6604
6622
|
/** Backup state. */
|
|
6605
6623
|
public state: (google.spanner.admin.database.v1.Backup.State|keyof typeof google.spanner.admin.database.v1.Backup.State);
|
|
6606
6624
|
|
|
@@ -6625,6 +6643,12 @@ export namespace google {
|
|
|
6625
6643
|
/** Backup backupSchedules. */
|
|
6626
6644
|
public backupSchedules: string[];
|
|
6627
6645
|
|
|
6646
|
+
/** Backup incrementalBackupChainId. */
|
|
6647
|
+
public incrementalBackupChainId: string;
|
|
6648
|
+
|
|
6649
|
+
/** Backup oldestVersionTime. */
|
|
6650
|
+
public oldestVersionTime?: (google.protobuf.ITimestamp|null);
|
|
6651
|
+
|
|
6628
6652
|
/**
|
|
6629
6653
|
* Creates a new Backup instance using the specified properties.
|
|
6630
6654
|
* @param [properties] Properties to set
|
|
@@ -8358,6 +8382,97 @@ export namespace google {
|
|
|
8358
8382
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8359
8383
|
}
|
|
8360
8384
|
|
|
8385
|
+
/** Properties of an IncrementalBackupSpec. */
|
|
8386
|
+
interface IIncrementalBackupSpec {
|
|
8387
|
+
}
|
|
8388
|
+
|
|
8389
|
+
/** Represents an IncrementalBackupSpec. */
|
|
8390
|
+
class IncrementalBackupSpec implements IIncrementalBackupSpec {
|
|
8391
|
+
|
|
8392
|
+
/**
|
|
8393
|
+
* Constructs a new IncrementalBackupSpec.
|
|
8394
|
+
* @param [properties] Properties to set
|
|
8395
|
+
*/
|
|
8396
|
+
constructor(properties?: google.spanner.admin.database.v1.IIncrementalBackupSpec);
|
|
8397
|
+
|
|
8398
|
+
/**
|
|
8399
|
+
* Creates a new IncrementalBackupSpec instance using the specified properties.
|
|
8400
|
+
* @param [properties] Properties to set
|
|
8401
|
+
* @returns IncrementalBackupSpec instance
|
|
8402
|
+
*/
|
|
8403
|
+
public static create(properties?: google.spanner.admin.database.v1.IIncrementalBackupSpec): google.spanner.admin.database.v1.IncrementalBackupSpec;
|
|
8404
|
+
|
|
8405
|
+
/**
|
|
8406
|
+
* Encodes the specified IncrementalBackupSpec message. Does not implicitly {@link google.spanner.admin.database.v1.IncrementalBackupSpec.verify|verify} messages.
|
|
8407
|
+
* @param message IncrementalBackupSpec message or plain object to encode
|
|
8408
|
+
* @param [writer] Writer to encode to
|
|
8409
|
+
* @returns Writer
|
|
8410
|
+
*/
|
|
8411
|
+
public static encode(message: google.spanner.admin.database.v1.IIncrementalBackupSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8412
|
+
|
|
8413
|
+
/**
|
|
8414
|
+
* Encodes the specified IncrementalBackupSpec message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.IncrementalBackupSpec.verify|verify} messages.
|
|
8415
|
+
* @param message IncrementalBackupSpec message or plain object to encode
|
|
8416
|
+
* @param [writer] Writer to encode to
|
|
8417
|
+
* @returns Writer
|
|
8418
|
+
*/
|
|
8419
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IIncrementalBackupSpec, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8420
|
+
|
|
8421
|
+
/**
|
|
8422
|
+
* Decodes an IncrementalBackupSpec message from the specified reader or buffer.
|
|
8423
|
+
* @param reader Reader or buffer to decode from
|
|
8424
|
+
* @param [length] Message length if known beforehand
|
|
8425
|
+
* @returns IncrementalBackupSpec
|
|
8426
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8427
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8428
|
+
*/
|
|
8429
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.IncrementalBackupSpec;
|
|
8430
|
+
|
|
8431
|
+
/**
|
|
8432
|
+
* Decodes an IncrementalBackupSpec message from the specified reader or buffer, length delimited.
|
|
8433
|
+
* @param reader Reader or buffer to decode from
|
|
8434
|
+
* @returns IncrementalBackupSpec
|
|
8435
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8436
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8437
|
+
*/
|
|
8438
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.IncrementalBackupSpec;
|
|
8439
|
+
|
|
8440
|
+
/**
|
|
8441
|
+
* Verifies an IncrementalBackupSpec message.
|
|
8442
|
+
* @param message Plain object to verify
|
|
8443
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8444
|
+
*/
|
|
8445
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8446
|
+
|
|
8447
|
+
/**
|
|
8448
|
+
* Creates an IncrementalBackupSpec message from a plain object. Also converts values to their respective internal types.
|
|
8449
|
+
* @param object Plain object
|
|
8450
|
+
* @returns IncrementalBackupSpec
|
|
8451
|
+
*/
|
|
8452
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.IncrementalBackupSpec;
|
|
8453
|
+
|
|
8454
|
+
/**
|
|
8455
|
+
* Creates a plain object from an IncrementalBackupSpec message. Also converts values to other types if specified.
|
|
8456
|
+
* @param message IncrementalBackupSpec
|
|
8457
|
+
* @param [options] Conversion options
|
|
8458
|
+
* @returns Plain object
|
|
8459
|
+
*/
|
|
8460
|
+
public static toObject(message: google.spanner.admin.database.v1.IncrementalBackupSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8461
|
+
|
|
8462
|
+
/**
|
|
8463
|
+
* Converts this IncrementalBackupSpec to JSON.
|
|
8464
|
+
* @returns JSON object
|
|
8465
|
+
*/
|
|
8466
|
+
public toJSON(): { [k: string]: any };
|
|
8467
|
+
|
|
8468
|
+
/**
|
|
8469
|
+
* Gets the default type url for IncrementalBackupSpec
|
|
8470
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8471
|
+
* @returns The default type url
|
|
8472
|
+
*/
|
|
8473
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8474
|
+
}
|
|
8475
|
+
|
|
8361
8476
|
/** Properties of an OperationProgress. */
|
|
8362
8477
|
interface IOperationProgress {
|
|
8363
8478
|
|
|
@@ -8814,6 +8929,9 @@ export namespace google {
|
|
|
8814
8929
|
/** BackupSchedule fullBackupSpec */
|
|
8815
8930
|
fullBackupSpec?: (google.spanner.admin.database.v1.IFullBackupSpec|null);
|
|
8816
8931
|
|
|
8932
|
+
/** BackupSchedule incrementalBackupSpec */
|
|
8933
|
+
incrementalBackupSpec?: (google.spanner.admin.database.v1.IIncrementalBackupSpec|null);
|
|
8934
|
+
|
|
8817
8935
|
/** BackupSchedule updateTime */
|
|
8818
8936
|
updateTime?: (google.protobuf.ITimestamp|null);
|
|
8819
8937
|
}
|
|
@@ -8842,11 +8960,14 @@ export namespace google {
|
|
|
8842
8960
|
/** BackupSchedule fullBackupSpec. */
|
|
8843
8961
|
public fullBackupSpec?: (google.spanner.admin.database.v1.IFullBackupSpec|null);
|
|
8844
8962
|
|
|
8963
|
+
/** BackupSchedule incrementalBackupSpec. */
|
|
8964
|
+
public incrementalBackupSpec?: (google.spanner.admin.database.v1.IIncrementalBackupSpec|null);
|
|
8965
|
+
|
|
8845
8966
|
/** BackupSchedule updateTime. */
|
|
8846
8967
|
public updateTime?: (google.protobuf.ITimestamp|null);
|
|
8847
8968
|
|
|
8848
8969
|
/** BackupSchedule backupTypeSpec. */
|
|
8849
|
-
public backupTypeSpec?: "fullBackupSpec";
|
|
8970
|
+
public backupTypeSpec?: ("fullBackupSpec"|"incrementalBackupSpec");
|
|
8850
8971
|
|
|
8851
8972
|
/**
|
|
8852
8973
|
* Creates a new BackupSchedule instance using the specified properties.
|
|
@@ -13302,6 +13423,20 @@ export namespace google {
|
|
|
13302
13423
|
* @returns Promise
|
|
13303
13424
|
*/
|
|
13304
13425
|
public listInstancePartitionOperations(request: google.spanner.admin.instance.v1.IListInstancePartitionOperationsRequest): Promise<google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse>;
|
|
13426
|
+
|
|
13427
|
+
/**
|
|
13428
|
+
* Calls MoveInstance.
|
|
13429
|
+
* @param request MoveInstanceRequest message or plain object
|
|
13430
|
+
* @param callback Node-style callback called with the error, if any, and Operation
|
|
13431
|
+
*/
|
|
13432
|
+
public moveInstance(request: google.spanner.admin.instance.v1.IMoveInstanceRequest, callback: google.spanner.admin.instance.v1.InstanceAdmin.MoveInstanceCallback): void;
|
|
13433
|
+
|
|
13434
|
+
/**
|
|
13435
|
+
* Calls MoveInstance.
|
|
13436
|
+
* @param request MoveInstanceRequest message or plain object
|
|
13437
|
+
* @returns Promise
|
|
13438
|
+
*/
|
|
13439
|
+
public moveInstance(request: google.spanner.admin.instance.v1.IMoveInstanceRequest): Promise<google.longrunning.Operation>;
|
|
13305
13440
|
}
|
|
13306
13441
|
|
|
13307
13442
|
namespace InstanceAdmin {
|
|
@@ -13445,6 +13580,13 @@ export namespace google {
|
|
|
13445
13580
|
* @param [response] ListInstancePartitionOperationsResponse
|
|
13446
13581
|
*/
|
|
13447
13582
|
type ListInstancePartitionOperationsCallback = (error: (Error|null), response?: google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse) => void;
|
|
13583
|
+
|
|
13584
|
+
/**
|
|
13585
|
+
* Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|moveInstance}.
|
|
13586
|
+
* @param error Error, if any
|
|
13587
|
+
* @param [response] Operation
|
|
13588
|
+
*/
|
|
13589
|
+
type MoveInstanceCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
13448
13590
|
}
|
|
13449
13591
|
|
|
13450
13592
|
/** Properties of a ReplicaInfo. */
|
|
@@ -14106,6 +14248,9 @@ export namespace google {
|
|
|
14106
14248
|
|
|
14107
14249
|
/** Instance updateTime */
|
|
14108
14250
|
updateTime?: (google.protobuf.ITimestamp|null);
|
|
14251
|
+
|
|
14252
|
+
/** Instance edition */
|
|
14253
|
+
edition?: (google.spanner.admin.instance.v1.Instance.Edition|keyof typeof google.spanner.admin.instance.v1.Instance.Edition|null);
|
|
14109
14254
|
}
|
|
14110
14255
|
|
|
14111
14256
|
/** Represents an Instance. */
|
|
@@ -14150,6 +14295,9 @@ export namespace google {
|
|
|
14150
14295
|
/** Instance updateTime. */
|
|
14151
14296
|
public updateTime?: (google.protobuf.ITimestamp|null);
|
|
14152
14297
|
|
|
14298
|
+
/** Instance edition. */
|
|
14299
|
+
public edition: (google.spanner.admin.instance.v1.Instance.Edition|keyof typeof google.spanner.admin.instance.v1.Instance.Edition);
|
|
14300
|
+
|
|
14153
14301
|
/**
|
|
14154
14302
|
* Creates a new Instance instance using the specified properties.
|
|
14155
14303
|
* @param [properties] Properties to set
|
|
@@ -14236,6 +14384,14 @@ export namespace google {
|
|
|
14236
14384
|
CREATING = 1,
|
|
14237
14385
|
READY = 2
|
|
14238
14386
|
}
|
|
14387
|
+
|
|
14388
|
+
/** Edition enum. */
|
|
14389
|
+
enum Edition {
|
|
14390
|
+
EDITION_UNSPECIFIED = 0,
|
|
14391
|
+
STANDARD = 1,
|
|
14392
|
+
ENTERPRISE = 2,
|
|
14393
|
+
ENTERPRISE_PLUS = 3
|
|
14394
|
+
}
|
|
14239
14395
|
}
|
|
14240
14396
|
|
|
14241
14397
|
/** Properties of a ListInstanceConfigsRequest. */
|
|
@@ -17465,6 +17621,309 @@ export namespace google {
|
|
|
17465
17621
|
*/
|
|
17466
17622
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17467
17623
|
}
|
|
17624
|
+
|
|
17625
|
+
/** Properties of a MoveInstanceRequest. */
|
|
17626
|
+
interface IMoveInstanceRequest {
|
|
17627
|
+
|
|
17628
|
+
/** MoveInstanceRequest name */
|
|
17629
|
+
name?: (string|null);
|
|
17630
|
+
|
|
17631
|
+
/** MoveInstanceRequest targetConfig */
|
|
17632
|
+
targetConfig?: (string|null);
|
|
17633
|
+
}
|
|
17634
|
+
|
|
17635
|
+
/** Represents a MoveInstanceRequest. */
|
|
17636
|
+
class MoveInstanceRequest implements IMoveInstanceRequest {
|
|
17637
|
+
|
|
17638
|
+
/**
|
|
17639
|
+
* Constructs a new MoveInstanceRequest.
|
|
17640
|
+
* @param [properties] Properties to set
|
|
17641
|
+
*/
|
|
17642
|
+
constructor(properties?: google.spanner.admin.instance.v1.IMoveInstanceRequest);
|
|
17643
|
+
|
|
17644
|
+
/** MoveInstanceRequest name. */
|
|
17645
|
+
public name: string;
|
|
17646
|
+
|
|
17647
|
+
/** MoveInstanceRequest targetConfig. */
|
|
17648
|
+
public targetConfig: string;
|
|
17649
|
+
|
|
17650
|
+
/**
|
|
17651
|
+
* Creates a new MoveInstanceRequest instance using the specified properties.
|
|
17652
|
+
* @param [properties] Properties to set
|
|
17653
|
+
* @returns MoveInstanceRequest instance
|
|
17654
|
+
*/
|
|
17655
|
+
public static create(properties?: google.spanner.admin.instance.v1.IMoveInstanceRequest): google.spanner.admin.instance.v1.MoveInstanceRequest;
|
|
17656
|
+
|
|
17657
|
+
/**
|
|
17658
|
+
* Encodes the specified MoveInstanceRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceRequest.verify|verify} messages.
|
|
17659
|
+
* @param message MoveInstanceRequest message or plain object to encode
|
|
17660
|
+
* @param [writer] Writer to encode to
|
|
17661
|
+
* @returns Writer
|
|
17662
|
+
*/
|
|
17663
|
+
public static encode(message: google.spanner.admin.instance.v1.IMoveInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17664
|
+
|
|
17665
|
+
/**
|
|
17666
|
+
* Encodes the specified MoveInstanceRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceRequest.verify|verify} messages.
|
|
17667
|
+
* @param message MoveInstanceRequest message or plain object to encode
|
|
17668
|
+
* @param [writer] Writer to encode to
|
|
17669
|
+
* @returns Writer
|
|
17670
|
+
*/
|
|
17671
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.IMoveInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17672
|
+
|
|
17673
|
+
/**
|
|
17674
|
+
* Decodes a MoveInstanceRequest message from the specified reader or buffer.
|
|
17675
|
+
* @param reader Reader or buffer to decode from
|
|
17676
|
+
* @param [length] Message length if known beforehand
|
|
17677
|
+
* @returns MoveInstanceRequest
|
|
17678
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17679
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17680
|
+
*/
|
|
17681
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.MoveInstanceRequest;
|
|
17682
|
+
|
|
17683
|
+
/**
|
|
17684
|
+
* Decodes a MoveInstanceRequest message from the specified reader or buffer, length delimited.
|
|
17685
|
+
* @param reader Reader or buffer to decode from
|
|
17686
|
+
* @returns MoveInstanceRequest
|
|
17687
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17688
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17689
|
+
*/
|
|
17690
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.MoveInstanceRequest;
|
|
17691
|
+
|
|
17692
|
+
/**
|
|
17693
|
+
* Verifies a MoveInstanceRequest message.
|
|
17694
|
+
* @param message Plain object to verify
|
|
17695
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17696
|
+
*/
|
|
17697
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17698
|
+
|
|
17699
|
+
/**
|
|
17700
|
+
* Creates a MoveInstanceRequest message from a plain object. Also converts values to their respective internal types.
|
|
17701
|
+
* @param object Plain object
|
|
17702
|
+
* @returns MoveInstanceRequest
|
|
17703
|
+
*/
|
|
17704
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.MoveInstanceRequest;
|
|
17705
|
+
|
|
17706
|
+
/**
|
|
17707
|
+
* Creates a plain object from a MoveInstanceRequest message. Also converts values to other types if specified.
|
|
17708
|
+
* @param message MoveInstanceRequest
|
|
17709
|
+
* @param [options] Conversion options
|
|
17710
|
+
* @returns Plain object
|
|
17711
|
+
*/
|
|
17712
|
+
public static toObject(message: google.spanner.admin.instance.v1.MoveInstanceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17713
|
+
|
|
17714
|
+
/**
|
|
17715
|
+
* Converts this MoveInstanceRequest to JSON.
|
|
17716
|
+
* @returns JSON object
|
|
17717
|
+
*/
|
|
17718
|
+
public toJSON(): { [k: string]: any };
|
|
17719
|
+
|
|
17720
|
+
/**
|
|
17721
|
+
* Gets the default type url for MoveInstanceRequest
|
|
17722
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17723
|
+
* @returns The default type url
|
|
17724
|
+
*/
|
|
17725
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17726
|
+
}
|
|
17727
|
+
|
|
17728
|
+
/** Properties of a MoveInstanceResponse. */
|
|
17729
|
+
interface IMoveInstanceResponse {
|
|
17730
|
+
}
|
|
17731
|
+
|
|
17732
|
+
/** Represents a MoveInstanceResponse. */
|
|
17733
|
+
class MoveInstanceResponse implements IMoveInstanceResponse {
|
|
17734
|
+
|
|
17735
|
+
/**
|
|
17736
|
+
* Constructs a new MoveInstanceResponse.
|
|
17737
|
+
* @param [properties] Properties to set
|
|
17738
|
+
*/
|
|
17739
|
+
constructor(properties?: google.spanner.admin.instance.v1.IMoveInstanceResponse);
|
|
17740
|
+
|
|
17741
|
+
/**
|
|
17742
|
+
* Creates a new MoveInstanceResponse instance using the specified properties.
|
|
17743
|
+
* @param [properties] Properties to set
|
|
17744
|
+
* @returns MoveInstanceResponse instance
|
|
17745
|
+
*/
|
|
17746
|
+
public static create(properties?: google.spanner.admin.instance.v1.IMoveInstanceResponse): google.spanner.admin.instance.v1.MoveInstanceResponse;
|
|
17747
|
+
|
|
17748
|
+
/**
|
|
17749
|
+
* Encodes the specified MoveInstanceResponse message. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceResponse.verify|verify} messages.
|
|
17750
|
+
* @param message MoveInstanceResponse message or plain object to encode
|
|
17751
|
+
* @param [writer] Writer to encode to
|
|
17752
|
+
* @returns Writer
|
|
17753
|
+
*/
|
|
17754
|
+
public static encode(message: google.spanner.admin.instance.v1.IMoveInstanceResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17755
|
+
|
|
17756
|
+
/**
|
|
17757
|
+
* Encodes the specified MoveInstanceResponse message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceResponse.verify|verify} messages.
|
|
17758
|
+
* @param message MoveInstanceResponse message or plain object to encode
|
|
17759
|
+
* @param [writer] Writer to encode to
|
|
17760
|
+
* @returns Writer
|
|
17761
|
+
*/
|
|
17762
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.IMoveInstanceResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17763
|
+
|
|
17764
|
+
/**
|
|
17765
|
+
* Decodes a MoveInstanceResponse message from the specified reader or buffer.
|
|
17766
|
+
* @param reader Reader or buffer to decode from
|
|
17767
|
+
* @param [length] Message length if known beforehand
|
|
17768
|
+
* @returns MoveInstanceResponse
|
|
17769
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17770
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17771
|
+
*/
|
|
17772
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.MoveInstanceResponse;
|
|
17773
|
+
|
|
17774
|
+
/**
|
|
17775
|
+
* Decodes a MoveInstanceResponse message from the specified reader or buffer, length delimited.
|
|
17776
|
+
* @param reader Reader or buffer to decode from
|
|
17777
|
+
* @returns MoveInstanceResponse
|
|
17778
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17779
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17780
|
+
*/
|
|
17781
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.MoveInstanceResponse;
|
|
17782
|
+
|
|
17783
|
+
/**
|
|
17784
|
+
* Verifies a MoveInstanceResponse message.
|
|
17785
|
+
* @param message Plain object to verify
|
|
17786
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17787
|
+
*/
|
|
17788
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17789
|
+
|
|
17790
|
+
/**
|
|
17791
|
+
* Creates a MoveInstanceResponse message from a plain object. Also converts values to their respective internal types.
|
|
17792
|
+
* @param object Plain object
|
|
17793
|
+
* @returns MoveInstanceResponse
|
|
17794
|
+
*/
|
|
17795
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.MoveInstanceResponse;
|
|
17796
|
+
|
|
17797
|
+
/**
|
|
17798
|
+
* Creates a plain object from a MoveInstanceResponse message. Also converts values to other types if specified.
|
|
17799
|
+
* @param message MoveInstanceResponse
|
|
17800
|
+
* @param [options] Conversion options
|
|
17801
|
+
* @returns Plain object
|
|
17802
|
+
*/
|
|
17803
|
+
public static toObject(message: google.spanner.admin.instance.v1.MoveInstanceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17804
|
+
|
|
17805
|
+
/**
|
|
17806
|
+
* Converts this MoveInstanceResponse to JSON.
|
|
17807
|
+
* @returns JSON object
|
|
17808
|
+
*/
|
|
17809
|
+
public toJSON(): { [k: string]: any };
|
|
17810
|
+
|
|
17811
|
+
/**
|
|
17812
|
+
* Gets the default type url for MoveInstanceResponse
|
|
17813
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17814
|
+
* @returns The default type url
|
|
17815
|
+
*/
|
|
17816
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17817
|
+
}
|
|
17818
|
+
|
|
17819
|
+
/** Properties of a MoveInstanceMetadata. */
|
|
17820
|
+
interface IMoveInstanceMetadata {
|
|
17821
|
+
|
|
17822
|
+
/** MoveInstanceMetadata targetConfig */
|
|
17823
|
+
targetConfig?: (string|null);
|
|
17824
|
+
|
|
17825
|
+
/** MoveInstanceMetadata progress */
|
|
17826
|
+
progress?: (google.spanner.admin.instance.v1.IOperationProgress|null);
|
|
17827
|
+
|
|
17828
|
+
/** MoveInstanceMetadata cancelTime */
|
|
17829
|
+
cancelTime?: (google.protobuf.ITimestamp|null);
|
|
17830
|
+
}
|
|
17831
|
+
|
|
17832
|
+
/** Represents a MoveInstanceMetadata. */
|
|
17833
|
+
class MoveInstanceMetadata implements IMoveInstanceMetadata {
|
|
17834
|
+
|
|
17835
|
+
/**
|
|
17836
|
+
* Constructs a new MoveInstanceMetadata.
|
|
17837
|
+
* @param [properties] Properties to set
|
|
17838
|
+
*/
|
|
17839
|
+
constructor(properties?: google.spanner.admin.instance.v1.IMoveInstanceMetadata);
|
|
17840
|
+
|
|
17841
|
+
/** MoveInstanceMetadata targetConfig. */
|
|
17842
|
+
public targetConfig: string;
|
|
17843
|
+
|
|
17844
|
+
/** MoveInstanceMetadata progress. */
|
|
17845
|
+
public progress?: (google.spanner.admin.instance.v1.IOperationProgress|null);
|
|
17846
|
+
|
|
17847
|
+
/** MoveInstanceMetadata cancelTime. */
|
|
17848
|
+
public cancelTime?: (google.protobuf.ITimestamp|null);
|
|
17849
|
+
|
|
17850
|
+
/**
|
|
17851
|
+
* Creates a new MoveInstanceMetadata instance using the specified properties.
|
|
17852
|
+
* @param [properties] Properties to set
|
|
17853
|
+
* @returns MoveInstanceMetadata instance
|
|
17854
|
+
*/
|
|
17855
|
+
public static create(properties?: google.spanner.admin.instance.v1.IMoveInstanceMetadata): google.spanner.admin.instance.v1.MoveInstanceMetadata;
|
|
17856
|
+
|
|
17857
|
+
/**
|
|
17858
|
+
* Encodes the specified MoveInstanceMetadata message. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceMetadata.verify|verify} messages.
|
|
17859
|
+
* @param message MoveInstanceMetadata message or plain object to encode
|
|
17860
|
+
* @param [writer] Writer to encode to
|
|
17861
|
+
* @returns Writer
|
|
17862
|
+
*/
|
|
17863
|
+
public static encode(message: google.spanner.admin.instance.v1.IMoveInstanceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17864
|
+
|
|
17865
|
+
/**
|
|
17866
|
+
* Encodes the specified MoveInstanceMetadata message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceMetadata.verify|verify} messages.
|
|
17867
|
+
* @param message MoveInstanceMetadata message or plain object to encode
|
|
17868
|
+
* @param [writer] Writer to encode to
|
|
17869
|
+
* @returns Writer
|
|
17870
|
+
*/
|
|
17871
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.IMoveInstanceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17872
|
+
|
|
17873
|
+
/**
|
|
17874
|
+
* Decodes a MoveInstanceMetadata message from the specified reader or buffer.
|
|
17875
|
+
* @param reader Reader or buffer to decode from
|
|
17876
|
+
* @param [length] Message length if known beforehand
|
|
17877
|
+
* @returns MoveInstanceMetadata
|
|
17878
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17879
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17880
|
+
*/
|
|
17881
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.MoveInstanceMetadata;
|
|
17882
|
+
|
|
17883
|
+
/**
|
|
17884
|
+
* Decodes a MoveInstanceMetadata message from the specified reader or buffer, length delimited.
|
|
17885
|
+
* @param reader Reader or buffer to decode from
|
|
17886
|
+
* @returns MoveInstanceMetadata
|
|
17887
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17888
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17889
|
+
*/
|
|
17890
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.MoveInstanceMetadata;
|
|
17891
|
+
|
|
17892
|
+
/**
|
|
17893
|
+
* Verifies a MoveInstanceMetadata message.
|
|
17894
|
+
* @param message Plain object to verify
|
|
17895
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17896
|
+
*/
|
|
17897
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17898
|
+
|
|
17899
|
+
/**
|
|
17900
|
+
* Creates a MoveInstanceMetadata message from a plain object. Also converts values to their respective internal types.
|
|
17901
|
+
* @param object Plain object
|
|
17902
|
+
* @returns MoveInstanceMetadata
|
|
17903
|
+
*/
|
|
17904
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.MoveInstanceMetadata;
|
|
17905
|
+
|
|
17906
|
+
/**
|
|
17907
|
+
* Creates a plain object from a MoveInstanceMetadata message. Also converts values to other types if specified.
|
|
17908
|
+
* @param message MoveInstanceMetadata
|
|
17909
|
+
* @param [options] Conversion options
|
|
17910
|
+
* @returns Plain object
|
|
17911
|
+
*/
|
|
17912
|
+
public static toObject(message: google.spanner.admin.instance.v1.MoveInstanceMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17913
|
+
|
|
17914
|
+
/**
|
|
17915
|
+
* Converts this MoveInstanceMetadata to JSON.
|
|
17916
|
+
* @returns JSON object
|
|
17917
|
+
*/
|
|
17918
|
+
public toJSON(): { [k: string]: any };
|
|
17919
|
+
|
|
17920
|
+
/**
|
|
17921
|
+
* Gets the default type url for MoveInstanceMetadata
|
|
17922
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17923
|
+
* @returns The default type url
|
|
17924
|
+
*/
|
|
17925
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17926
|
+
}
|
|
17468
17927
|
}
|
|
17469
17928
|
}
|
|
17470
17929
|
}
|