@google-cloud/spanner 7.13.0 → 7.15.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 +36 -0
- package/README.md +14 -2
- package/build/protos/google/spanner/admin/database/v1/backup.proto +9 -2
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +203 -62
- package/build/protos/protos.d.ts +338 -144
- package/build/protos/protos.js +864 -339
- package/build/protos/protos.json +83 -1
- package/build/src/batch-transaction.d.ts +1 -0
- package/build/src/batch-transaction.js +90 -50
- package/build/src/database.d.ts +5 -2
- package/build/src/database.js +430 -235
- package/build/src/index.d.ts +5 -0
- package/build/src/index.js +4 -0
- package/build/src/instance.d.ts +2 -0
- package/build/src/instance.js +6 -1
- package/build/src/instrument.d.ts +84 -0
- package/build/src/instrument.js +213 -0
- package/build/src/session-pool.d.ts +2 -0
- package/build/src/session-pool.js +61 -23
- package/build/src/session.js +1 -7
- package/build/src/table.d.ts +3 -0
- package/build/src/table.js +34 -14
- package/build/src/transaction.d.ts +3 -0
- package/build/src/transaction.js +411 -194
- 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 +13 -4
package/build/protos/protos.d.ts
CHANGED
|
@@ -13423,6 +13423,20 @@ export namespace google {
|
|
|
13423
13423
|
* @returns Promise
|
|
13424
13424
|
*/
|
|
13425
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>;
|
|
13426
13440
|
}
|
|
13427
13441
|
|
|
13428
13442
|
namespace InstanceAdmin {
|
|
@@ -13566,6 +13580,13 @@ export namespace google {
|
|
|
13566
13580
|
* @param [response] ListInstancePartitionOperationsResponse
|
|
13567
13581
|
*/
|
|
13568
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;
|
|
13569
13590
|
}
|
|
13570
13591
|
|
|
13571
13592
|
/** Properties of a ReplicaInfo. */
|
|
@@ -14227,6 +14248,9 @@ export namespace google {
|
|
|
14227
14248
|
|
|
14228
14249
|
/** Instance updateTime */
|
|
14229
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);
|
|
14230
14254
|
}
|
|
14231
14255
|
|
|
14232
14256
|
/** Represents an Instance. */
|
|
@@ -14271,6 +14295,9 @@ export namespace google {
|
|
|
14271
14295
|
/** Instance updateTime. */
|
|
14272
14296
|
public updateTime?: (google.protobuf.ITimestamp|null);
|
|
14273
14297
|
|
|
14298
|
+
/** Instance edition. */
|
|
14299
|
+
public edition: (google.spanner.admin.instance.v1.Instance.Edition|keyof typeof google.spanner.admin.instance.v1.Instance.Edition);
|
|
14300
|
+
|
|
14274
14301
|
/**
|
|
14275
14302
|
* Creates a new Instance instance using the specified properties.
|
|
14276
14303
|
* @param [properties] Properties to set
|
|
@@ -14357,6 +14384,14 @@ export namespace google {
|
|
|
14357
14384
|
CREATING = 1,
|
|
14358
14385
|
READY = 2
|
|
14359
14386
|
}
|
|
14387
|
+
|
|
14388
|
+
/** Edition enum. */
|
|
14389
|
+
enum Edition {
|
|
14390
|
+
EDITION_UNSPECIFIED = 0,
|
|
14391
|
+
STANDARD = 1,
|
|
14392
|
+
ENTERPRISE = 2,
|
|
14393
|
+
ENTERPRISE_PLUS = 3
|
|
14394
|
+
}
|
|
14360
14395
|
}
|
|
14361
14396
|
|
|
14362
14397
|
/** Properties of a ListInstanceConfigsRequest. */
|
|
@@ -17586,6 +17621,309 @@ export namespace google {
|
|
|
17586
17621
|
*/
|
|
17587
17622
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17588
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
|
+
}
|
|
17589
17927
|
}
|
|
17590
17928
|
}
|
|
17591
17929
|
}
|
|
@@ -18098,9 +18436,6 @@ export namespace google {
|
|
|
18098
18436
|
/** ReadAction limit. */
|
|
18099
18437
|
public limit: number;
|
|
18100
18438
|
|
|
18101
|
-
/** ReadAction _index. */
|
|
18102
|
-
public _index?: "index";
|
|
18103
|
-
|
|
18104
18439
|
/**
|
|
18105
18440
|
* Creates a new ReadAction instance using the specified properties.
|
|
18106
18441
|
* @param [properties] Properties to set
|
|
@@ -18419,9 +18754,6 @@ export namespace google {
|
|
|
18419
18754
|
/** DmlAction autocommitIfSupported. */
|
|
18420
18755
|
public autocommitIfSupported?: (boolean|null);
|
|
18421
18756
|
|
|
18422
|
-
/** DmlAction _autocommitIfSupported. */
|
|
18423
|
-
public _autocommitIfSupported?: "autocommitIfSupported";
|
|
18424
|
-
|
|
18425
18757
|
/**
|
|
18426
18758
|
* Creates a new DmlAction instance using the specified properties.
|
|
18427
18759
|
* @param [properties] Properties to set
|
|
@@ -18685,9 +19017,6 @@ export namespace google {
|
|
|
18685
19017
|
/** Value valueType. */
|
|
18686
19018
|
public valueType?: ("isNull"|"intValue"|"boolValue"|"doubleValue"|"bytesValue"|"stringValue"|"structValue"|"timestampValue"|"dateDaysValue"|"isCommitTimestamp"|"arrayValue");
|
|
18687
19019
|
|
|
18688
|
-
/** Value _arrayType. */
|
|
18689
|
-
public _arrayType?: "arrayType";
|
|
18690
|
-
|
|
18691
19020
|
/**
|
|
18692
19021
|
* Creates a new Value instance using the specified properties.
|
|
18693
19022
|
* @param [properties] Properties to set
|
|
@@ -18797,9 +19126,6 @@ export namespace google {
|
|
|
18797
19126
|
/** KeyRange type. */
|
|
18798
19127
|
public type?: (google.spanner.executor.v1.KeyRange.Type|keyof typeof google.spanner.executor.v1.KeyRange.Type|null);
|
|
18799
19128
|
|
|
18800
|
-
/** KeyRange _type. */
|
|
18801
|
-
public _type?: "type";
|
|
18802
|
-
|
|
18803
19129
|
/**
|
|
18804
19130
|
* Creates a new KeyRange instance using the specified properties.
|
|
18805
19131
|
* @param [properties] Properties to set
|
|
@@ -19663,9 +19989,6 @@ export namespace google {
|
|
|
19663
19989
|
/** PartitionedUpdateAction update. */
|
|
19664
19990
|
public update?: (google.spanner.executor.v1.IQueryAction|null);
|
|
19665
19991
|
|
|
19666
|
-
/** PartitionedUpdateAction _options. */
|
|
19667
|
-
public _options?: "options";
|
|
19668
|
-
|
|
19669
19992
|
/**
|
|
19670
19993
|
* Creates a new PartitionedUpdateAction instance using the specified properties.
|
|
19671
19994
|
* @param [properties] Properties to set
|
|
@@ -19771,12 +20094,6 @@ export namespace google {
|
|
|
19771
20094
|
/** ExecutePartitionedUpdateOptions tag. */
|
|
19772
20095
|
public tag?: (string|null);
|
|
19773
20096
|
|
|
19774
|
-
/** ExecutePartitionedUpdateOptions _rpcPriority. */
|
|
19775
|
-
public _rpcPriority?: "rpcPriority";
|
|
19776
|
-
|
|
19777
|
-
/** ExecutePartitionedUpdateOptions _tag. */
|
|
19778
|
-
public _tag?: "tag";
|
|
19779
|
-
|
|
19780
20097
|
/**
|
|
19781
20098
|
* Creates a new ExecutePartitionedUpdateOptions instance using the specified properties.
|
|
19782
20099
|
* @param [properties] Properties to set
|
|
@@ -19893,12 +20210,6 @@ export namespace google {
|
|
|
19893
20210
|
/** StartTransactionAction executionOptions. */
|
|
19894
20211
|
public executionOptions?: (google.spanner.executor.v1.ITransactionExecutionOptions|null);
|
|
19895
20212
|
|
|
19896
|
-
/** StartTransactionAction _concurrency. */
|
|
19897
|
-
public _concurrency?: "concurrency";
|
|
19898
|
-
|
|
19899
|
-
/** StartTransactionAction _executionOptions. */
|
|
19900
|
-
public _executionOptions?: "executionOptions";
|
|
19901
|
-
|
|
19902
20213
|
/**
|
|
19903
20214
|
* Creates a new StartTransactionAction instance using the specified properties.
|
|
19904
20215
|
* @param [properties] Properties to set
|
|
@@ -20955,9 +21266,6 @@ export namespace google {
|
|
|
20955
21266
|
/** UpdateUserInstanceConfigAction labels. */
|
|
20956
21267
|
public labels: { [k: string]: string };
|
|
20957
21268
|
|
|
20958
|
-
/** UpdateUserInstanceConfigAction _displayName. */
|
|
20959
|
-
public _displayName?: "displayName";
|
|
20960
|
-
|
|
20961
21269
|
/**
|
|
20962
21270
|
* Creates a new UpdateUserInstanceConfigAction instance using the specified properties.
|
|
20963
21271
|
* @param [properties] Properties to set
|
|
@@ -21273,12 +21581,6 @@ export namespace google {
|
|
|
21273
21581
|
/** ListCloudInstanceConfigsAction pageToken. */
|
|
21274
21582
|
public pageToken?: (string|null);
|
|
21275
21583
|
|
|
21276
|
-
/** ListCloudInstanceConfigsAction _pageSize. */
|
|
21277
|
-
public _pageSize?: "pageSize";
|
|
21278
|
-
|
|
21279
|
-
/** ListCloudInstanceConfigsAction _pageToken. */
|
|
21280
|
-
public _pageToken?: "pageToken";
|
|
21281
|
-
|
|
21282
21584
|
/**
|
|
21283
21585
|
* Creates a new ListCloudInstanceConfigsAction instance using the specified properties.
|
|
21284
21586
|
* @param [properties] Properties to set
|
|
@@ -21412,15 +21714,6 @@ export namespace google {
|
|
|
21412
21714
|
/** CreateCloudInstanceAction labels. */
|
|
21413
21715
|
public labels: { [k: string]: string };
|
|
21414
21716
|
|
|
21415
|
-
/** CreateCloudInstanceAction _nodeCount. */
|
|
21416
|
-
public _nodeCount?: "nodeCount";
|
|
21417
|
-
|
|
21418
|
-
/** CreateCloudInstanceAction _processingUnits. */
|
|
21419
|
-
public _processingUnits?: "processingUnits";
|
|
21420
|
-
|
|
21421
|
-
/** CreateCloudInstanceAction _autoscalingConfig. */
|
|
21422
|
-
public _autoscalingConfig?: "autoscalingConfig";
|
|
21423
|
-
|
|
21424
21717
|
/**
|
|
21425
21718
|
* Creates a new CreateCloudInstanceAction instance using the specified properties.
|
|
21426
21719
|
* @param [properties] Properties to set
|
|
@@ -21554,18 +21847,6 @@ export namespace google {
|
|
|
21554
21847
|
/** UpdateCloudInstanceAction labels. */
|
|
21555
21848
|
public labels: { [k: string]: string };
|
|
21556
21849
|
|
|
21557
|
-
/** UpdateCloudInstanceAction _displayName. */
|
|
21558
|
-
public _displayName?: "displayName";
|
|
21559
|
-
|
|
21560
|
-
/** UpdateCloudInstanceAction _nodeCount. */
|
|
21561
|
-
public _nodeCount?: "nodeCount";
|
|
21562
|
-
|
|
21563
|
-
/** UpdateCloudInstanceAction _processingUnits. */
|
|
21564
|
-
public _processingUnits?: "processingUnits";
|
|
21565
|
-
|
|
21566
|
-
/** UpdateCloudInstanceAction _autoscalingConfig. */
|
|
21567
|
-
public _autoscalingConfig?: "autoscalingConfig";
|
|
21568
|
-
|
|
21569
21850
|
/**
|
|
21570
21851
|
* Creates a new UpdateCloudInstanceAction instance using the specified properties.
|
|
21571
21852
|
* @param [properties] Properties to set
|
|
@@ -21802,12 +22083,6 @@ export namespace google {
|
|
|
21802
22083
|
/** CreateCloudDatabaseAction protoDescriptors. */
|
|
21803
22084
|
public protoDescriptors?: (Uint8Array|string|null);
|
|
21804
22085
|
|
|
21805
|
-
/** CreateCloudDatabaseAction _dialect. */
|
|
21806
|
-
public _dialect?: "dialect";
|
|
21807
|
-
|
|
21808
|
-
/** CreateCloudDatabaseAction _protoDescriptors. */
|
|
21809
|
-
public _protoDescriptors?: "protoDescriptors";
|
|
21810
|
-
|
|
21811
22086
|
/**
|
|
21812
22087
|
* Creates a new CreateCloudDatabaseAction instance using the specified properties.
|
|
21813
22088
|
* @param [properties] Properties to set
|
|
@@ -21935,9 +22210,6 @@ export namespace google {
|
|
|
21935
22210
|
/** UpdateCloudDatabaseDdlAction protoDescriptors. */
|
|
21936
22211
|
public protoDescriptors?: (Uint8Array|string|null);
|
|
21937
22212
|
|
|
21938
|
-
/** UpdateCloudDatabaseDdlAction _protoDescriptors. */
|
|
21939
|
-
public _protoDescriptors?: "protoDescriptors";
|
|
21940
|
-
|
|
21941
22213
|
/**
|
|
21942
22214
|
* Creates a new UpdateCloudDatabaseDdlAction instance using the specified properties.
|
|
21943
22215
|
* @param [properties] Properties to set
|
|
@@ -22265,9 +22537,6 @@ export namespace google {
|
|
|
22265
22537
|
/** ChangeQuorumCloudDatabaseAction servingLocations. */
|
|
22266
22538
|
public servingLocations: string[];
|
|
22267
22539
|
|
|
22268
|
-
/** ChangeQuorumCloudDatabaseAction _databaseUri. */
|
|
22269
|
-
public _databaseUri?: "databaseUri";
|
|
22270
|
-
|
|
22271
22540
|
/**
|
|
22272
22541
|
* Creates a new ChangeQuorumCloudDatabaseAction instance using the specified properties.
|
|
22273
22542
|
* @param [properties] Properties to set
|
|
@@ -22498,15 +22767,6 @@ export namespace google {
|
|
|
22498
22767
|
/** ListCloudInstancesAction pageToken. */
|
|
22499
22768
|
public pageToken?: (string|null);
|
|
22500
22769
|
|
|
22501
|
-
/** ListCloudInstancesAction _filter. */
|
|
22502
|
-
public _filter?: "filter";
|
|
22503
|
-
|
|
22504
|
-
/** ListCloudInstancesAction _pageSize. */
|
|
22505
|
-
public _pageSize?: "pageSize";
|
|
22506
|
-
|
|
22507
|
-
/** ListCloudInstancesAction _pageToken. */
|
|
22508
|
-
public _pageToken?: "pageToken";
|
|
22509
|
-
|
|
22510
22770
|
/**
|
|
22511
22771
|
* Creates a new ListCloudInstancesAction instance using the specified properties.
|
|
22512
22772
|
* @param [properties] Properties to set
|
|
@@ -23100,9 +23360,6 @@ export namespace google {
|
|
|
23100
23360
|
/** CreateCloudBackupAction encryptionConfig. */
|
|
23101
23361
|
public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
|
|
23102
23362
|
|
|
23103
|
-
/** CreateCloudBackupAction _versionTime. */
|
|
23104
|
-
public _versionTime?: "versionTime";
|
|
23105
|
-
|
|
23106
23363
|
/**
|
|
23107
23364
|
* Creates a new CreateCloudBackupAction instance using the specified properties.
|
|
23108
23365
|
* @param [properties] Properties to set
|
|
@@ -24420,12 +24677,6 @@ export namespace google {
|
|
|
24420
24677
|
/** GenerateDbPartitionsForReadAction maxPartitionCount. */
|
|
24421
24678
|
public maxPartitionCount?: (number|Long|string|null);
|
|
24422
24679
|
|
|
24423
|
-
/** GenerateDbPartitionsForReadAction _desiredBytesPerPartition. */
|
|
24424
|
-
public _desiredBytesPerPartition?: "desiredBytesPerPartition";
|
|
24425
|
-
|
|
24426
|
-
/** GenerateDbPartitionsForReadAction _maxPartitionCount. */
|
|
24427
|
-
public _maxPartitionCount?: "maxPartitionCount";
|
|
24428
|
-
|
|
24429
24680
|
/**
|
|
24430
24681
|
* Creates a new GenerateDbPartitionsForReadAction instance using the specified properties.
|
|
24431
24682
|
* @param [properties] Properties to set
|
|
@@ -24529,9 +24780,6 @@ export namespace google {
|
|
|
24529
24780
|
/** GenerateDbPartitionsForQueryAction desiredBytesPerPartition. */
|
|
24530
24781
|
public desiredBytesPerPartition?: (number|Long|string|null);
|
|
24531
24782
|
|
|
24532
|
-
/** GenerateDbPartitionsForQueryAction _desiredBytesPerPartition. */
|
|
24533
|
-
public _desiredBytesPerPartition?: "desiredBytesPerPartition";
|
|
24534
|
-
|
|
24535
24783
|
/**
|
|
24536
24784
|
* Creates a new GenerateDbPartitionsForQueryAction instance using the specified properties.
|
|
24537
24785
|
* @param [properties] Properties to set
|
|
@@ -24647,12 +24895,6 @@ export namespace google {
|
|
|
24647
24895
|
/** BatchPartition index. */
|
|
24648
24896
|
public index?: (string|null);
|
|
24649
24897
|
|
|
24650
|
-
/** BatchPartition _table. */
|
|
24651
|
-
public _table?: "table";
|
|
24652
|
-
|
|
24653
|
-
/** BatchPartition _index. */
|
|
24654
|
-
public _index?: "index";
|
|
24655
|
-
|
|
24656
24898
|
/**
|
|
24657
24899
|
* Creates a new BatchPartition instance using the specified properties.
|
|
24658
24900
|
* @param [properties] Properties to set
|
|
@@ -24889,21 +25131,6 @@ export namespace google {
|
|
|
24889
25131
|
/** ExecuteChangeStreamQuery cloudDatabaseRole. */
|
|
24890
25132
|
public cloudDatabaseRole?: (string|null);
|
|
24891
25133
|
|
|
24892
|
-
/** ExecuteChangeStreamQuery _endTime. */
|
|
24893
|
-
public _endTime?: "endTime";
|
|
24894
|
-
|
|
24895
|
-
/** ExecuteChangeStreamQuery _partitionToken. */
|
|
24896
|
-
public _partitionToken?: "partitionToken";
|
|
24897
|
-
|
|
24898
|
-
/** ExecuteChangeStreamQuery _heartbeatMilliseconds. */
|
|
24899
|
-
public _heartbeatMilliseconds?: "heartbeatMilliseconds";
|
|
24900
|
-
|
|
24901
|
-
/** ExecuteChangeStreamQuery _deadlineSeconds. */
|
|
24902
|
-
public _deadlineSeconds?: "deadlineSeconds";
|
|
24903
|
-
|
|
24904
|
-
/** ExecuteChangeStreamQuery _cloudDatabaseRole. */
|
|
24905
|
-
public _cloudDatabaseRole?: "cloudDatabaseRole";
|
|
24906
|
-
|
|
24907
25134
|
/**
|
|
24908
25135
|
* Creates a new ExecuteChangeStreamQuery instance using the specified properties.
|
|
24909
25136
|
* @param [properties] Properties to set
|
|
@@ -25055,27 +25282,6 @@ export namespace google {
|
|
|
25055
25282
|
/** SpannerActionOutcome changeStreamRecords. */
|
|
25056
25283
|
public changeStreamRecords: google.spanner.executor.v1.IChangeStreamRecord[];
|
|
25057
25284
|
|
|
25058
|
-
/** SpannerActionOutcome _status. */
|
|
25059
|
-
public _status?: "status";
|
|
25060
|
-
|
|
25061
|
-
/** SpannerActionOutcome _commitTime. */
|
|
25062
|
-
public _commitTime?: "commitTime";
|
|
25063
|
-
|
|
25064
|
-
/** SpannerActionOutcome _readResult. */
|
|
25065
|
-
public _readResult?: "readResult";
|
|
25066
|
-
|
|
25067
|
-
/** SpannerActionOutcome _queryResult. */
|
|
25068
|
-
public _queryResult?: "queryResult";
|
|
25069
|
-
|
|
25070
|
-
/** SpannerActionOutcome _transactionRestarted. */
|
|
25071
|
-
public _transactionRestarted?: "transactionRestarted";
|
|
25072
|
-
|
|
25073
|
-
/** SpannerActionOutcome _batchTxnId. */
|
|
25074
|
-
public _batchTxnId?: "batchTxnId";
|
|
25075
|
-
|
|
25076
|
-
/** SpannerActionOutcome _adminResult. */
|
|
25077
|
-
public _adminResult?: "adminResult";
|
|
25078
|
-
|
|
25079
25285
|
/**
|
|
25080
25286
|
* Creates a new SpannerActionOutcome instance using the specified properties.
|
|
25081
25287
|
* @param [properties] Properties to set
|
|
@@ -25875,15 +26081,6 @@ export namespace google {
|
|
|
25875
26081
|
/** ReadResult rowType. */
|
|
25876
26082
|
public rowType?: (google.spanner.v1.IStructType|null);
|
|
25877
26083
|
|
|
25878
|
-
/** ReadResult _index. */
|
|
25879
|
-
public _index?: "index";
|
|
25880
|
-
|
|
25881
|
-
/** ReadResult _requestIndex. */
|
|
25882
|
-
public _requestIndex?: "requestIndex";
|
|
25883
|
-
|
|
25884
|
-
/** ReadResult _rowType. */
|
|
25885
|
-
public _rowType?: "rowType";
|
|
25886
|
-
|
|
25887
26084
|
/**
|
|
25888
26085
|
* Creates a new ReadResult instance using the specified properties.
|
|
25889
26086
|
* @param [properties] Properties to set
|
|
@@ -25987,9 +26184,6 @@ export namespace google {
|
|
|
25987
26184
|
/** QueryResult rowType. */
|
|
25988
26185
|
public rowType?: (google.spanner.v1.IStructType|null);
|
|
25989
26186
|
|
|
25990
|
-
/** QueryResult _rowType. */
|
|
25991
|
-
public _rowType?: "rowType";
|
|
25992
|
-
|
|
25993
26187
|
/**
|
|
25994
26188
|
* Creates a new QueryResult instance using the specified properties.
|
|
25995
26189
|
* @param [properties] Properties to set
|