@google-cloud/spanner 6.1.4 → 6.3.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.
@@ -12,8 +12,8 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- import Long = require("long");
16
15
  import type {protobuf as $protobuf} from "google-gax";
16
+ import Long = require("long");
17
17
  /** Namespace google. */
18
18
  export namespace google {
19
19
 
@@ -10558,6 +10558,115 @@ export namespace google {
10558
10558
  /** Namespace v1. */
10559
10559
  namespace v1 {
10560
10560
 
10561
+ /** Properties of an OperationProgress. */
10562
+ interface IOperationProgress {
10563
+
10564
+ /** OperationProgress progressPercent */
10565
+ progressPercent?: (number|null);
10566
+
10567
+ /** OperationProgress startTime */
10568
+ startTime?: (google.protobuf.ITimestamp|null);
10569
+
10570
+ /** OperationProgress endTime */
10571
+ endTime?: (google.protobuf.ITimestamp|null);
10572
+ }
10573
+
10574
+ /** Represents an OperationProgress. */
10575
+ class OperationProgress implements IOperationProgress {
10576
+
10577
+ /**
10578
+ * Constructs a new OperationProgress.
10579
+ * @param [properties] Properties to set
10580
+ */
10581
+ constructor(properties?: google.spanner.admin.instance.v1.IOperationProgress);
10582
+
10583
+ /** OperationProgress progressPercent. */
10584
+ public progressPercent: number;
10585
+
10586
+ /** OperationProgress startTime. */
10587
+ public startTime?: (google.protobuf.ITimestamp|null);
10588
+
10589
+ /** OperationProgress endTime. */
10590
+ public endTime?: (google.protobuf.ITimestamp|null);
10591
+
10592
+ /**
10593
+ * Creates a new OperationProgress instance using the specified properties.
10594
+ * @param [properties] Properties to set
10595
+ * @returns OperationProgress instance
10596
+ */
10597
+ public static create(properties?: google.spanner.admin.instance.v1.IOperationProgress): google.spanner.admin.instance.v1.OperationProgress;
10598
+
10599
+ /**
10600
+ * Encodes the specified OperationProgress message. Does not implicitly {@link google.spanner.admin.instance.v1.OperationProgress.verify|verify} messages.
10601
+ * @param message OperationProgress message or plain object to encode
10602
+ * @param [writer] Writer to encode to
10603
+ * @returns Writer
10604
+ */
10605
+ public static encode(message: google.spanner.admin.instance.v1.IOperationProgress, writer?: $protobuf.Writer): $protobuf.Writer;
10606
+
10607
+ /**
10608
+ * Encodes the specified OperationProgress message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.OperationProgress.verify|verify} messages.
10609
+ * @param message OperationProgress message or plain object to encode
10610
+ * @param [writer] Writer to encode to
10611
+ * @returns Writer
10612
+ */
10613
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.IOperationProgress, writer?: $protobuf.Writer): $protobuf.Writer;
10614
+
10615
+ /**
10616
+ * Decodes an OperationProgress message from the specified reader or buffer.
10617
+ * @param reader Reader or buffer to decode from
10618
+ * @param [length] Message length if known beforehand
10619
+ * @returns OperationProgress
10620
+ * @throws {Error} If the payload is not a reader or valid buffer
10621
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10622
+ */
10623
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.OperationProgress;
10624
+
10625
+ /**
10626
+ * Decodes an OperationProgress message from the specified reader or buffer, length delimited.
10627
+ * @param reader Reader or buffer to decode from
10628
+ * @returns OperationProgress
10629
+ * @throws {Error} If the payload is not a reader or valid buffer
10630
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10631
+ */
10632
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.OperationProgress;
10633
+
10634
+ /**
10635
+ * Verifies an OperationProgress message.
10636
+ * @param message Plain object to verify
10637
+ * @returns `null` if valid, otherwise the reason why it is not
10638
+ */
10639
+ public static verify(message: { [k: string]: any }): (string|null);
10640
+
10641
+ /**
10642
+ * Creates an OperationProgress message from a plain object. Also converts values to their respective internal types.
10643
+ * @param object Plain object
10644
+ * @returns OperationProgress
10645
+ */
10646
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.OperationProgress;
10647
+
10648
+ /**
10649
+ * Creates a plain object from an OperationProgress message. Also converts values to other types if specified.
10650
+ * @param message OperationProgress
10651
+ * @param [options] Conversion options
10652
+ * @returns Plain object
10653
+ */
10654
+ public static toObject(message: google.spanner.admin.instance.v1.OperationProgress, options?: $protobuf.IConversionOptions): { [k: string]: any };
10655
+
10656
+ /**
10657
+ * Converts this OperationProgress to JSON.
10658
+ * @returns JSON object
10659
+ */
10660
+ public toJSON(): { [k: string]: any };
10661
+
10662
+ /**
10663
+ * Gets the default type url for OperationProgress
10664
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10665
+ * @returns The default type url
10666
+ */
10667
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10668
+ }
10669
+
10561
10670
  /** Represents an InstanceAdmin */
10562
10671
  class InstanceAdmin extends $protobuf.rpc.Service {
10563
10672
 
@@ -10606,6 +10715,62 @@ export namespace google {
10606
10715
  */
10607
10716
  public getInstanceConfig(request: google.spanner.admin.instance.v1.IGetInstanceConfigRequest): Promise<google.spanner.admin.instance.v1.InstanceConfig>;
10608
10717
 
10718
+ /**
10719
+ * Calls CreateInstanceConfig.
10720
+ * @param request CreateInstanceConfigRequest message or plain object
10721
+ * @param callback Node-style callback called with the error, if any, and Operation
10722
+ */
10723
+ public createInstanceConfig(request: google.spanner.admin.instance.v1.ICreateInstanceConfigRequest, callback: google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfigCallback): void;
10724
+
10725
+ /**
10726
+ * Calls CreateInstanceConfig.
10727
+ * @param request CreateInstanceConfigRequest message or plain object
10728
+ * @returns Promise
10729
+ */
10730
+ public createInstanceConfig(request: google.spanner.admin.instance.v1.ICreateInstanceConfigRequest): Promise<google.longrunning.Operation>;
10731
+
10732
+ /**
10733
+ * Calls UpdateInstanceConfig.
10734
+ * @param request UpdateInstanceConfigRequest message or plain object
10735
+ * @param callback Node-style callback called with the error, if any, and Operation
10736
+ */
10737
+ public updateInstanceConfig(request: google.spanner.admin.instance.v1.IUpdateInstanceConfigRequest, callback: google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfigCallback): void;
10738
+
10739
+ /**
10740
+ * Calls UpdateInstanceConfig.
10741
+ * @param request UpdateInstanceConfigRequest message or plain object
10742
+ * @returns Promise
10743
+ */
10744
+ public updateInstanceConfig(request: google.spanner.admin.instance.v1.IUpdateInstanceConfigRequest): Promise<google.longrunning.Operation>;
10745
+
10746
+ /**
10747
+ * Calls DeleteInstanceConfig.
10748
+ * @param request DeleteInstanceConfigRequest message or plain object
10749
+ * @param callback Node-style callback called with the error, if any, and Empty
10750
+ */
10751
+ public deleteInstanceConfig(request: google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest, callback: google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstanceConfigCallback): void;
10752
+
10753
+ /**
10754
+ * Calls DeleteInstanceConfig.
10755
+ * @param request DeleteInstanceConfigRequest message or plain object
10756
+ * @returns Promise
10757
+ */
10758
+ public deleteInstanceConfig(request: google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest): Promise<google.protobuf.Empty>;
10759
+
10760
+ /**
10761
+ * Calls ListInstanceConfigOperations.
10762
+ * @param request ListInstanceConfigOperationsRequest message or plain object
10763
+ * @param callback Node-style callback called with the error, if any, and ListInstanceConfigOperationsResponse
10764
+ */
10765
+ public listInstanceConfigOperations(request: google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, callback: google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperationsCallback): void;
10766
+
10767
+ /**
10768
+ * Calls ListInstanceConfigOperations.
10769
+ * @param request ListInstanceConfigOperationsRequest message or plain object
10770
+ * @returns Promise
10771
+ */
10772
+ public listInstanceConfigOperations(request: google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest): Promise<google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>;
10773
+
10609
10774
  /**
10610
10775
  * Calls ListInstances.
10611
10776
  * @param request ListInstancesRequest message or plain object
@@ -10735,6 +10900,34 @@ export namespace google {
10735
10900
  */
10736
10901
  type GetInstanceConfigCallback = (error: (Error|null), response?: google.spanner.admin.instance.v1.InstanceConfig) => void;
10737
10902
 
10903
+ /**
10904
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|createInstanceConfig}.
10905
+ * @param error Error, if any
10906
+ * @param [response] Operation
10907
+ */
10908
+ type CreateInstanceConfigCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
10909
+
10910
+ /**
10911
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|updateInstanceConfig}.
10912
+ * @param error Error, if any
10913
+ * @param [response] Operation
10914
+ */
10915
+ type UpdateInstanceConfigCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
10916
+
10917
+ /**
10918
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|deleteInstanceConfig}.
10919
+ * @param error Error, if any
10920
+ * @param [response] Empty
10921
+ */
10922
+ type DeleteInstanceConfigCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
10923
+
10924
+ /**
10925
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|listInstanceConfigOperations}.
10926
+ * @param error Error, if any
10927
+ * @param [response] ListInstanceConfigOperationsResponse
10928
+ */
10929
+ type ListInstanceConfigOperationsCallback = (error: (Error|null), response?: google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) => void;
10930
+
10738
10931
  /**
10739
10932
  * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|listInstances}.
10740
10933
  * @param error Error, if any
@@ -10921,11 +11114,32 @@ export namespace google {
10921
11114
  /** InstanceConfig displayName */
10922
11115
  displayName?: (string|null);
10923
11116
 
11117
+ /** InstanceConfig configType */
11118
+ configType?: (google.spanner.admin.instance.v1.InstanceConfig.Type|keyof typeof google.spanner.admin.instance.v1.InstanceConfig.Type|null);
11119
+
10924
11120
  /** InstanceConfig replicas */
10925
11121
  replicas?: (google.spanner.admin.instance.v1.IReplicaInfo[]|null);
10926
11122
 
11123
+ /** InstanceConfig optionalReplicas */
11124
+ optionalReplicas?: (google.spanner.admin.instance.v1.IReplicaInfo[]|null);
11125
+
11126
+ /** InstanceConfig baseConfig */
11127
+ baseConfig?: (string|null);
11128
+
11129
+ /** InstanceConfig labels */
11130
+ labels?: ({ [k: string]: string }|null);
11131
+
11132
+ /** InstanceConfig etag */
11133
+ etag?: (string|null);
11134
+
10927
11135
  /** InstanceConfig leaderOptions */
10928
11136
  leaderOptions?: (string[]|null);
11137
+
11138
+ /** InstanceConfig reconciling */
11139
+ reconciling?: (boolean|null);
11140
+
11141
+ /** InstanceConfig state */
11142
+ state?: (google.spanner.admin.instance.v1.InstanceConfig.State|keyof typeof google.spanner.admin.instance.v1.InstanceConfig.State|null);
10929
11143
  }
10930
11144
 
10931
11145
  /** Represents an InstanceConfig. */
@@ -10943,12 +11157,33 @@ export namespace google {
10943
11157
  /** InstanceConfig displayName. */
10944
11158
  public displayName: string;
10945
11159
 
11160
+ /** InstanceConfig configType. */
11161
+ public configType: (google.spanner.admin.instance.v1.InstanceConfig.Type|keyof typeof google.spanner.admin.instance.v1.InstanceConfig.Type);
11162
+
10946
11163
  /** InstanceConfig replicas. */
10947
11164
  public replicas: google.spanner.admin.instance.v1.IReplicaInfo[];
10948
11165
 
11166
+ /** InstanceConfig optionalReplicas. */
11167
+ public optionalReplicas: google.spanner.admin.instance.v1.IReplicaInfo[];
11168
+
11169
+ /** InstanceConfig baseConfig. */
11170
+ public baseConfig: string;
11171
+
11172
+ /** InstanceConfig labels. */
11173
+ public labels: { [k: string]: string };
11174
+
11175
+ /** InstanceConfig etag. */
11176
+ public etag: string;
11177
+
10949
11178
  /** InstanceConfig leaderOptions. */
10950
11179
  public leaderOptions: string[];
10951
11180
 
11181
+ /** InstanceConfig reconciling. */
11182
+ public reconciling: boolean;
11183
+
11184
+ /** InstanceConfig state. */
11185
+ public state: (google.spanner.admin.instance.v1.InstanceConfig.State|keyof typeof google.spanner.admin.instance.v1.InstanceConfig.State);
11186
+
10952
11187
  /**
10953
11188
  * Creates a new InstanceConfig instance using the specified properties.
10954
11189
  * @param [properties] Properties to set
@@ -11027,6 +11262,23 @@ export namespace google {
11027
11262
  public static getTypeUrl(typeUrlPrefix?: string): string;
11028
11263
  }
11029
11264
 
11265
+ namespace InstanceConfig {
11266
+
11267
+ /** Type enum. */
11268
+ enum Type {
11269
+ TYPE_UNSPECIFIED = 0,
11270
+ GOOGLE_MANAGED = 1,
11271
+ USER_MANAGED = 2
11272
+ }
11273
+
11274
+ /** State enum. */
11275
+ enum State {
11276
+ STATE_UNSPECIFIED = 0,
11277
+ CREATING = 1,
11278
+ READY = 2
11279
+ }
11280
+ }
11281
+
11030
11282
  /** Properties of an Instance. */
11031
11283
  interface IInstance {
11032
11284
 
@@ -11497,168 +11749,719 @@ export namespace google {
11497
11749
  public static getTypeUrl(typeUrlPrefix?: string): string;
11498
11750
  }
11499
11751
 
11500
- /** Properties of a GetInstanceRequest. */
11501
- interface IGetInstanceRequest {
11752
+ /** Properties of a CreateInstanceConfigRequest. */
11753
+ interface ICreateInstanceConfigRequest {
11502
11754
 
11503
- /** GetInstanceRequest name */
11504
- name?: (string|null);
11755
+ /** CreateInstanceConfigRequest parent */
11756
+ parent?: (string|null);
11505
11757
 
11506
- /** GetInstanceRequest fieldMask */
11507
- fieldMask?: (google.protobuf.IFieldMask|null);
11758
+ /** CreateInstanceConfigRequest instanceConfigId */
11759
+ instanceConfigId?: (string|null);
11760
+
11761
+ /** CreateInstanceConfigRequest instanceConfig */
11762
+ instanceConfig?: (google.spanner.admin.instance.v1.IInstanceConfig|null);
11763
+
11764
+ /** CreateInstanceConfigRequest validateOnly */
11765
+ validateOnly?: (boolean|null);
11508
11766
  }
11509
11767
 
11510
- /** Represents a GetInstanceRequest. */
11511
- class GetInstanceRequest implements IGetInstanceRequest {
11768
+ /** Represents a CreateInstanceConfigRequest. */
11769
+ class CreateInstanceConfigRequest implements ICreateInstanceConfigRequest {
11512
11770
 
11513
11771
  /**
11514
- * Constructs a new GetInstanceRequest.
11772
+ * Constructs a new CreateInstanceConfigRequest.
11515
11773
  * @param [properties] Properties to set
11516
11774
  */
11517
- constructor(properties?: google.spanner.admin.instance.v1.IGetInstanceRequest);
11775
+ constructor(properties?: google.spanner.admin.instance.v1.ICreateInstanceConfigRequest);
11518
11776
 
11519
- /** GetInstanceRequest name. */
11520
- public name: string;
11777
+ /** CreateInstanceConfigRequest parent. */
11778
+ public parent: string;
11521
11779
 
11522
- /** GetInstanceRequest fieldMask. */
11523
- public fieldMask?: (google.protobuf.IFieldMask|null);
11780
+ /** CreateInstanceConfigRequest instanceConfigId. */
11781
+ public instanceConfigId: string;
11782
+
11783
+ /** CreateInstanceConfigRequest instanceConfig. */
11784
+ public instanceConfig?: (google.spanner.admin.instance.v1.IInstanceConfig|null);
11785
+
11786
+ /** CreateInstanceConfigRequest validateOnly. */
11787
+ public validateOnly: boolean;
11524
11788
 
11525
11789
  /**
11526
- * Creates a new GetInstanceRequest instance using the specified properties.
11790
+ * Creates a new CreateInstanceConfigRequest instance using the specified properties.
11527
11791
  * @param [properties] Properties to set
11528
- * @returns GetInstanceRequest instance
11792
+ * @returns CreateInstanceConfigRequest instance
11529
11793
  */
11530
- public static create(properties?: google.spanner.admin.instance.v1.IGetInstanceRequest): google.spanner.admin.instance.v1.GetInstanceRequest;
11794
+ public static create(properties?: google.spanner.admin.instance.v1.ICreateInstanceConfigRequest): google.spanner.admin.instance.v1.CreateInstanceConfigRequest;
11531
11795
 
11532
11796
  /**
11533
- * Encodes the specified GetInstanceRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.GetInstanceRequest.verify|verify} messages.
11534
- * @param message GetInstanceRequest message or plain object to encode
11797
+ * Encodes the specified CreateInstanceConfigRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.CreateInstanceConfigRequest.verify|verify} messages.
11798
+ * @param message CreateInstanceConfigRequest message or plain object to encode
11535
11799
  * @param [writer] Writer to encode to
11536
11800
  * @returns Writer
11537
11801
  */
11538
- public static encode(message: google.spanner.admin.instance.v1.IGetInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11802
+ public static encode(message: google.spanner.admin.instance.v1.ICreateInstanceConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11539
11803
 
11540
11804
  /**
11541
- * Encodes the specified GetInstanceRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.GetInstanceRequest.verify|verify} messages.
11542
- * @param message GetInstanceRequest message or plain object to encode
11805
+ * Encodes the specified CreateInstanceConfigRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.CreateInstanceConfigRequest.verify|verify} messages.
11806
+ * @param message CreateInstanceConfigRequest message or plain object to encode
11543
11807
  * @param [writer] Writer to encode to
11544
11808
  * @returns Writer
11545
11809
  */
11546
- public static encodeDelimited(message: google.spanner.admin.instance.v1.IGetInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11810
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.ICreateInstanceConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11547
11811
 
11548
11812
  /**
11549
- * Decodes a GetInstanceRequest message from the specified reader or buffer.
11813
+ * Decodes a CreateInstanceConfigRequest message from the specified reader or buffer.
11550
11814
  * @param reader Reader or buffer to decode from
11551
11815
  * @param [length] Message length if known beforehand
11552
- * @returns GetInstanceRequest
11816
+ * @returns CreateInstanceConfigRequest
11553
11817
  * @throws {Error} If the payload is not a reader or valid buffer
11554
11818
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
11555
11819
  */
11556
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.GetInstanceRequest;
11820
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.CreateInstanceConfigRequest;
11557
11821
 
11558
11822
  /**
11559
- * Decodes a GetInstanceRequest message from the specified reader or buffer, length delimited.
11823
+ * Decodes a CreateInstanceConfigRequest message from the specified reader or buffer, length delimited.
11560
11824
  * @param reader Reader or buffer to decode from
11561
- * @returns GetInstanceRequest
11825
+ * @returns CreateInstanceConfigRequest
11562
11826
  * @throws {Error} If the payload is not a reader or valid buffer
11563
11827
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
11564
11828
  */
11565
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.GetInstanceRequest;
11829
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.CreateInstanceConfigRequest;
11566
11830
 
11567
11831
  /**
11568
- * Verifies a GetInstanceRequest message.
11832
+ * Verifies a CreateInstanceConfigRequest message.
11569
11833
  * @param message Plain object to verify
11570
11834
  * @returns `null` if valid, otherwise the reason why it is not
11571
11835
  */
11572
11836
  public static verify(message: { [k: string]: any }): (string|null);
11573
11837
 
11574
11838
  /**
11575
- * Creates a GetInstanceRequest message from a plain object. Also converts values to their respective internal types.
11839
+ * Creates a CreateInstanceConfigRequest message from a plain object. Also converts values to their respective internal types.
11576
11840
  * @param object Plain object
11577
- * @returns GetInstanceRequest
11841
+ * @returns CreateInstanceConfigRequest
11578
11842
  */
11579
- public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.GetInstanceRequest;
11843
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.CreateInstanceConfigRequest;
11580
11844
 
11581
11845
  /**
11582
- * Creates a plain object from a GetInstanceRequest message. Also converts values to other types if specified.
11583
- * @param message GetInstanceRequest
11846
+ * Creates a plain object from a CreateInstanceConfigRequest message. Also converts values to other types if specified.
11847
+ * @param message CreateInstanceConfigRequest
11584
11848
  * @param [options] Conversion options
11585
11849
  * @returns Plain object
11586
11850
  */
11587
- public static toObject(message: google.spanner.admin.instance.v1.GetInstanceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11851
+ public static toObject(message: google.spanner.admin.instance.v1.CreateInstanceConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11588
11852
 
11589
11853
  /**
11590
- * Converts this GetInstanceRequest to JSON.
11854
+ * Converts this CreateInstanceConfigRequest to JSON.
11591
11855
  * @returns JSON object
11592
11856
  */
11593
11857
  public toJSON(): { [k: string]: any };
11594
11858
 
11595
11859
  /**
11596
- * Gets the default type url for GetInstanceRequest
11860
+ * Gets the default type url for CreateInstanceConfigRequest
11597
11861
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11598
11862
  * @returns The default type url
11599
11863
  */
11600
11864
  public static getTypeUrl(typeUrlPrefix?: string): string;
11601
11865
  }
11602
11866
 
11603
- /** Properties of a CreateInstanceRequest. */
11604
- interface ICreateInstanceRequest {
11867
+ /** Properties of an UpdateInstanceConfigRequest. */
11868
+ interface IUpdateInstanceConfigRequest {
11605
11869
 
11606
- /** CreateInstanceRequest parent */
11607
- parent?: (string|null);
11870
+ /** UpdateInstanceConfigRequest instanceConfig */
11871
+ instanceConfig?: (google.spanner.admin.instance.v1.IInstanceConfig|null);
11608
11872
 
11609
- /** CreateInstanceRequest instanceId */
11610
- instanceId?: (string|null);
11873
+ /** UpdateInstanceConfigRequest updateMask */
11874
+ updateMask?: (google.protobuf.IFieldMask|null);
11611
11875
 
11612
- /** CreateInstanceRequest instance */
11613
- instance?: (google.spanner.admin.instance.v1.IInstance|null);
11876
+ /** UpdateInstanceConfigRequest validateOnly */
11877
+ validateOnly?: (boolean|null);
11614
11878
  }
11615
11879
 
11616
- /** Represents a CreateInstanceRequest. */
11617
- class CreateInstanceRequest implements ICreateInstanceRequest {
11880
+ /** Represents an UpdateInstanceConfigRequest. */
11881
+ class UpdateInstanceConfigRequest implements IUpdateInstanceConfigRequest {
11618
11882
 
11619
11883
  /**
11620
- * Constructs a new CreateInstanceRequest.
11884
+ * Constructs a new UpdateInstanceConfigRequest.
11621
11885
  * @param [properties] Properties to set
11622
11886
  */
11623
- constructor(properties?: google.spanner.admin.instance.v1.ICreateInstanceRequest);
11887
+ constructor(properties?: google.spanner.admin.instance.v1.IUpdateInstanceConfigRequest);
11624
11888
 
11625
- /** CreateInstanceRequest parent. */
11626
- public parent: string;
11889
+ /** UpdateInstanceConfigRequest instanceConfig. */
11890
+ public instanceConfig?: (google.spanner.admin.instance.v1.IInstanceConfig|null);
11627
11891
 
11628
- /** CreateInstanceRequest instanceId. */
11629
- public instanceId: string;
11892
+ /** UpdateInstanceConfigRequest updateMask. */
11893
+ public updateMask?: (google.protobuf.IFieldMask|null);
11630
11894
 
11631
- /** CreateInstanceRequest instance. */
11632
- public instance?: (google.spanner.admin.instance.v1.IInstance|null);
11895
+ /** UpdateInstanceConfigRequest validateOnly. */
11896
+ public validateOnly: boolean;
11633
11897
 
11634
11898
  /**
11635
- * Creates a new CreateInstanceRequest instance using the specified properties.
11899
+ * Creates a new UpdateInstanceConfigRequest instance using the specified properties.
11636
11900
  * @param [properties] Properties to set
11637
- * @returns CreateInstanceRequest instance
11901
+ * @returns UpdateInstanceConfigRequest instance
11638
11902
  */
11639
- public static create(properties?: google.spanner.admin.instance.v1.ICreateInstanceRequest): google.spanner.admin.instance.v1.CreateInstanceRequest;
11903
+ public static create(properties?: google.spanner.admin.instance.v1.IUpdateInstanceConfigRequest): google.spanner.admin.instance.v1.UpdateInstanceConfigRequest;
11640
11904
 
11641
11905
  /**
11642
- * Encodes the specified CreateInstanceRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.CreateInstanceRequest.verify|verify} messages.
11643
- * @param message CreateInstanceRequest message or plain object to encode
11906
+ * Encodes the specified UpdateInstanceConfigRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.verify|verify} messages.
11907
+ * @param message UpdateInstanceConfigRequest message or plain object to encode
11644
11908
  * @param [writer] Writer to encode to
11645
11909
  * @returns Writer
11646
11910
  */
11647
- public static encode(message: google.spanner.admin.instance.v1.ICreateInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11911
+ public static encode(message: google.spanner.admin.instance.v1.IUpdateInstanceConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11648
11912
 
11649
11913
  /**
11650
- * Encodes the specified CreateInstanceRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.CreateInstanceRequest.verify|verify} messages.
11651
- * @param message CreateInstanceRequest message or plain object to encode
11914
+ * Encodes the specified UpdateInstanceConfigRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.verify|verify} messages.
11915
+ * @param message UpdateInstanceConfigRequest message or plain object to encode
11652
11916
  * @param [writer] Writer to encode to
11653
11917
  * @returns Writer
11654
11918
  */
11655
- public static encodeDelimited(message: google.spanner.admin.instance.v1.ICreateInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11919
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.IUpdateInstanceConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11656
11920
 
11657
11921
  /**
11658
- * Decodes a CreateInstanceRequest message from the specified reader or buffer.
11922
+ * Decodes an UpdateInstanceConfigRequest message from the specified reader or buffer.
11659
11923
  * @param reader Reader or buffer to decode from
11660
11924
  * @param [length] Message length if known beforehand
11661
- * @returns CreateInstanceRequest
11925
+ * @returns UpdateInstanceConfigRequest
11926
+ * @throws {Error} If the payload is not a reader or valid buffer
11927
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11928
+ */
11929
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.UpdateInstanceConfigRequest;
11930
+
11931
+ /**
11932
+ * Decodes an UpdateInstanceConfigRequest message from the specified reader or buffer, length delimited.
11933
+ * @param reader Reader or buffer to decode from
11934
+ * @returns UpdateInstanceConfigRequest
11935
+ * @throws {Error} If the payload is not a reader or valid buffer
11936
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11937
+ */
11938
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.UpdateInstanceConfigRequest;
11939
+
11940
+ /**
11941
+ * Verifies an UpdateInstanceConfigRequest message.
11942
+ * @param message Plain object to verify
11943
+ * @returns `null` if valid, otherwise the reason why it is not
11944
+ */
11945
+ public static verify(message: { [k: string]: any }): (string|null);
11946
+
11947
+ /**
11948
+ * Creates an UpdateInstanceConfigRequest message from a plain object. Also converts values to their respective internal types.
11949
+ * @param object Plain object
11950
+ * @returns UpdateInstanceConfigRequest
11951
+ */
11952
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.UpdateInstanceConfigRequest;
11953
+
11954
+ /**
11955
+ * Creates a plain object from an UpdateInstanceConfigRequest message. Also converts values to other types if specified.
11956
+ * @param message UpdateInstanceConfigRequest
11957
+ * @param [options] Conversion options
11958
+ * @returns Plain object
11959
+ */
11960
+ public static toObject(message: google.spanner.admin.instance.v1.UpdateInstanceConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11961
+
11962
+ /**
11963
+ * Converts this UpdateInstanceConfigRequest to JSON.
11964
+ * @returns JSON object
11965
+ */
11966
+ public toJSON(): { [k: string]: any };
11967
+
11968
+ /**
11969
+ * Gets the default type url for UpdateInstanceConfigRequest
11970
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11971
+ * @returns The default type url
11972
+ */
11973
+ public static getTypeUrl(typeUrlPrefix?: string): string;
11974
+ }
11975
+
11976
+ /** Properties of a DeleteInstanceConfigRequest. */
11977
+ interface IDeleteInstanceConfigRequest {
11978
+
11979
+ /** DeleteInstanceConfigRequest name */
11980
+ name?: (string|null);
11981
+
11982
+ /** DeleteInstanceConfigRequest etag */
11983
+ etag?: (string|null);
11984
+
11985
+ /** DeleteInstanceConfigRequest validateOnly */
11986
+ validateOnly?: (boolean|null);
11987
+ }
11988
+
11989
+ /** Represents a DeleteInstanceConfigRequest. */
11990
+ class DeleteInstanceConfigRequest implements IDeleteInstanceConfigRequest {
11991
+
11992
+ /**
11993
+ * Constructs a new DeleteInstanceConfigRequest.
11994
+ * @param [properties] Properties to set
11995
+ */
11996
+ constructor(properties?: google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest);
11997
+
11998
+ /** DeleteInstanceConfigRequest name. */
11999
+ public name: string;
12000
+
12001
+ /** DeleteInstanceConfigRequest etag. */
12002
+ public etag: string;
12003
+
12004
+ /** DeleteInstanceConfigRequest validateOnly. */
12005
+ public validateOnly: boolean;
12006
+
12007
+ /**
12008
+ * Creates a new DeleteInstanceConfigRequest instance using the specified properties.
12009
+ * @param [properties] Properties to set
12010
+ * @returns DeleteInstanceConfigRequest instance
12011
+ */
12012
+ public static create(properties?: google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest): google.spanner.admin.instance.v1.DeleteInstanceConfigRequest;
12013
+
12014
+ /**
12015
+ * Encodes the specified DeleteInstanceConfigRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.verify|verify} messages.
12016
+ * @param message DeleteInstanceConfigRequest message or plain object to encode
12017
+ * @param [writer] Writer to encode to
12018
+ * @returns Writer
12019
+ */
12020
+ public static encode(message: google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12021
+
12022
+ /**
12023
+ * Encodes the specified DeleteInstanceConfigRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.verify|verify} messages.
12024
+ * @param message DeleteInstanceConfigRequest message or plain object to encode
12025
+ * @param [writer] Writer to encode to
12026
+ * @returns Writer
12027
+ */
12028
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12029
+
12030
+ /**
12031
+ * Decodes a DeleteInstanceConfigRequest message from the specified reader or buffer.
12032
+ * @param reader Reader or buffer to decode from
12033
+ * @param [length] Message length if known beforehand
12034
+ * @returns DeleteInstanceConfigRequest
12035
+ * @throws {Error} If the payload is not a reader or valid buffer
12036
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12037
+ */
12038
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.DeleteInstanceConfigRequest;
12039
+
12040
+ /**
12041
+ * Decodes a DeleteInstanceConfigRequest message from the specified reader or buffer, length delimited.
12042
+ * @param reader Reader or buffer to decode from
12043
+ * @returns DeleteInstanceConfigRequest
12044
+ * @throws {Error} If the payload is not a reader or valid buffer
12045
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12046
+ */
12047
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.DeleteInstanceConfigRequest;
12048
+
12049
+ /**
12050
+ * Verifies a DeleteInstanceConfigRequest message.
12051
+ * @param message Plain object to verify
12052
+ * @returns `null` if valid, otherwise the reason why it is not
12053
+ */
12054
+ public static verify(message: { [k: string]: any }): (string|null);
12055
+
12056
+ /**
12057
+ * Creates a DeleteInstanceConfigRequest message from a plain object. Also converts values to their respective internal types.
12058
+ * @param object Plain object
12059
+ * @returns DeleteInstanceConfigRequest
12060
+ */
12061
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.DeleteInstanceConfigRequest;
12062
+
12063
+ /**
12064
+ * Creates a plain object from a DeleteInstanceConfigRequest message. Also converts values to other types if specified.
12065
+ * @param message DeleteInstanceConfigRequest
12066
+ * @param [options] Conversion options
12067
+ * @returns Plain object
12068
+ */
12069
+ public static toObject(message: google.spanner.admin.instance.v1.DeleteInstanceConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
12070
+
12071
+ /**
12072
+ * Converts this DeleteInstanceConfigRequest to JSON.
12073
+ * @returns JSON object
12074
+ */
12075
+ public toJSON(): { [k: string]: any };
12076
+
12077
+ /**
12078
+ * Gets the default type url for DeleteInstanceConfigRequest
12079
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12080
+ * @returns The default type url
12081
+ */
12082
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12083
+ }
12084
+
12085
+ /** Properties of a ListInstanceConfigOperationsRequest. */
12086
+ interface IListInstanceConfigOperationsRequest {
12087
+
12088
+ /** ListInstanceConfigOperationsRequest parent */
12089
+ parent?: (string|null);
12090
+
12091
+ /** ListInstanceConfigOperationsRequest filter */
12092
+ filter?: (string|null);
12093
+
12094
+ /** ListInstanceConfigOperationsRequest pageSize */
12095
+ pageSize?: (number|null);
12096
+
12097
+ /** ListInstanceConfigOperationsRequest pageToken */
12098
+ pageToken?: (string|null);
12099
+ }
12100
+
12101
+ /** Represents a ListInstanceConfigOperationsRequest. */
12102
+ class ListInstanceConfigOperationsRequest implements IListInstanceConfigOperationsRequest {
12103
+
12104
+ /**
12105
+ * Constructs a new ListInstanceConfigOperationsRequest.
12106
+ * @param [properties] Properties to set
12107
+ */
12108
+ constructor(properties?: google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest);
12109
+
12110
+ /** ListInstanceConfigOperationsRequest parent. */
12111
+ public parent: string;
12112
+
12113
+ /** ListInstanceConfigOperationsRequest filter. */
12114
+ public filter: string;
12115
+
12116
+ /** ListInstanceConfigOperationsRequest pageSize. */
12117
+ public pageSize: number;
12118
+
12119
+ /** ListInstanceConfigOperationsRequest pageToken. */
12120
+ public pageToken: string;
12121
+
12122
+ /**
12123
+ * Creates a new ListInstanceConfigOperationsRequest instance using the specified properties.
12124
+ * @param [properties] Properties to set
12125
+ * @returns ListInstanceConfigOperationsRequest instance
12126
+ */
12127
+ public static create(properties?: google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest): google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest;
12128
+
12129
+ /**
12130
+ * Encodes the specified ListInstanceConfigOperationsRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.verify|verify} messages.
12131
+ * @param message ListInstanceConfigOperationsRequest message or plain object to encode
12132
+ * @param [writer] Writer to encode to
12133
+ * @returns Writer
12134
+ */
12135
+ public static encode(message: google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12136
+
12137
+ /**
12138
+ * Encodes the specified ListInstanceConfigOperationsRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.verify|verify} messages.
12139
+ * @param message ListInstanceConfigOperationsRequest message or plain object to encode
12140
+ * @param [writer] Writer to encode to
12141
+ * @returns Writer
12142
+ */
12143
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12144
+
12145
+ /**
12146
+ * Decodes a ListInstanceConfigOperationsRequest message from the specified reader or buffer.
12147
+ * @param reader Reader or buffer to decode from
12148
+ * @param [length] Message length if known beforehand
12149
+ * @returns ListInstanceConfigOperationsRequest
12150
+ * @throws {Error} If the payload is not a reader or valid buffer
12151
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12152
+ */
12153
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest;
12154
+
12155
+ /**
12156
+ * Decodes a ListInstanceConfigOperationsRequest message from the specified reader or buffer, length delimited.
12157
+ * @param reader Reader or buffer to decode from
12158
+ * @returns ListInstanceConfigOperationsRequest
12159
+ * @throws {Error} If the payload is not a reader or valid buffer
12160
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12161
+ */
12162
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest;
12163
+
12164
+ /**
12165
+ * Verifies a ListInstanceConfigOperationsRequest message.
12166
+ * @param message Plain object to verify
12167
+ * @returns `null` if valid, otherwise the reason why it is not
12168
+ */
12169
+ public static verify(message: { [k: string]: any }): (string|null);
12170
+
12171
+ /**
12172
+ * Creates a ListInstanceConfigOperationsRequest message from a plain object. Also converts values to their respective internal types.
12173
+ * @param object Plain object
12174
+ * @returns ListInstanceConfigOperationsRequest
12175
+ */
12176
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest;
12177
+
12178
+ /**
12179
+ * Creates a plain object from a ListInstanceConfigOperationsRequest message. Also converts values to other types if specified.
12180
+ * @param message ListInstanceConfigOperationsRequest
12181
+ * @param [options] Conversion options
12182
+ * @returns Plain object
12183
+ */
12184
+ public static toObject(message: google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
12185
+
12186
+ /**
12187
+ * Converts this ListInstanceConfigOperationsRequest to JSON.
12188
+ * @returns JSON object
12189
+ */
12190
+ public toJSON(): { [k: string]: any };
12191
+
12192
+ /**
12193
+ * Gets the default type url for ListInstanceConfigOperationsRequest
12194
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12195
+ * @returns The default type url
12196
+ */
12197
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12198
+ }
12199
+
12200
+ /** Properties of a ListInstanceConfigOperationsResponse. */
12201
+ interface IListInstanceConfigOperationsResponse {
12202
+
12203
+ /** ListInstanceConfigOperationsResponse operations */
12204
+ operations?: (google.longrunning.IOperation[]|null);
12205
+
12206
+ /** ListInstanceConfigOperationsResponse nextPageToken */
12207
+ nextPageToken?: (string|null);
12208
+ }
12209
+
12210
+ /** Represents a ListInstanceConfigOperationsResponse. */
12211
+ class ListInstanceConfigOperationsResponse implements IListInstanceConfigOperationsResponse {
12212
+
12213
+ /**
12214
+ * Constructs a new ListInstanceConfigOperationsResponse.
12215
+ * @param [properties] Properties to set
12216
+ */
12217
+ constructor(properties?: google.spanner.admin.instance.v1.IListInstanceConfigOperationsResponse);
12218
+
12219
+ /** ListInstanceConfigOperationsResponse operations. */
12220
+ public operations: google.longrunning.IOperation[];
12221
+
12222
+ /** ListInstanceConfigOperationsResponse nextPageToken. */
12223
+ public nextPageToken: string;
12224
+
12225
+ /**
12226
+ * Creates a new ListInstanceConfigOperationsResponse instance using the specified properties.
12227
+ * @param [properties] Properties to set
12228
+ * @returns ListInstanceConfigOperationsResponse instance
12229
+ */
12230
+ public static create(properties?: google.spanner.admin.instance.v1.IListInstanceConfigOperationsResponse): google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse;
12231
+
12232
+ /**
12233
+ * Encodes the specified ListInstanceConfigOperationsResponse message. Does not implicitly {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.verify|verify} messages.
12234
+ * @param message ListInstanceConfigOperationsResponse message or plain object to encode
12235
+ * @param [writer] Writer to encode to
12236
+ * @returns Writer
12237
+ */
12238
+ public static encode(message: google.spanner.admin.instance.v1.IListInstanceConfigOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
12239
+
12240
+ /**
12241
+ * Encodes the specified ListInstanceConfigOperationsResponse message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.verify|verify} messages.
12242
+ * @param message ListInstanceConfigOperationsResponse message or plain object to encode
12243
+ * @param [writer] Writer to encode to
12244
+ * @returns Writer
12245
+ */
12246
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.IListInstanceConfigOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
12247
+
12248
+ /**
12249
+ * Decodes a ListInstanceConfigOperationsResponse message from the specified reader or buffer.
12250
+ * @param reader Reader or buffer to decode from
12251
+ * @param [length] Message length if known beforehand
12252
+ * @returns ListInstanceConfigOperationsResponse
12253
+ * @throws {Error} If the payload is not a reader or valid buffer
12254
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12255
+ */
12256
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse;
12257
+
12258
+ /**
12259
+ * Decodes a ListInstanceConfigOperationsResponse message from the specified reader or buffer, length delimited.
12260
+ * @param reader Reader or buffer to decode from
12261
+ * @returns ListInstanceConfigOperationsResponse
12262
+ * @throws {Error} If the payload is not a reader or valid buffer
12263
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12264
+ */
12265
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse;
12266
+
12267
+ /**
12268
+ * Verifies a ListInstanceConfigOperationsResponse message.
12269
+ * @param message Plain object to verify
12270
+ * @returns `null` if valid, otherwise the reason why it is not
12271
+ */
12272
+ public static verify(message: { [k: string]: any }): (string|null);
12273
+
12274
+ /**
12275
+ * Creates a ListInstanceConfigOperationsResponse message from a plain object. Also converts values to their respective internal types.
12276
+ * @param object Plain object
12277
+ * @returns ListInstanceConfigOperationsResponse
12278
+ */
12279
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse;
12280
+
12281
+ /**
12282
+ * Creates a plain object from a ListInstanceConfigOperationsResponse message. Also converts values to other types if specified.
12283
+ * @param message ListInstanceConfigOperationsResponse
12284
+ * @param [options] Conversion options
12285
+ * @returns Plain object
12286
+ */
12287
+ public static toObject(message: google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
12288
+
12289
+ /**
12290
+ * Converts this ListInstanceConfigOperationsResponse to JSON.
12291
+ * @returns JSON object
12292
+ */
12293
+ public toJSON(): { [k: string]: any };
12294
+
12295
+ /**
12296
+ * Gets the default type url for ListInstanceConfigOperationsResponse
12297
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12298
+ * @returns The default type url
12299
+ */
12300
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12301
+ }
12302
+
12303
+ /** Properties of a GetInstanceRequest. */
12304
+ interface IGetInstanceRequest {
12305
+
12306
+ /** GetInstanceRequest name */
12307
+ name?: (string|null);
12308
+
12309
+ /** GetInstanceRequest fieldMask */
12310
+ fieldMask?: (google.protobuf.IFieldMask|null);
12311
+ }
12312
+
12313
+ /** Represents a GetInstanceRequest. */
12314
+ class GetInstanceRequest implements IGetInstanceRequest {
12315
+
12316
+ /**
12317
+ * Constructs a new GetInstanceRequest.
12318
+ * @param [properties] Properties to set
12319
+ */
12320
+ constructor(properties?: google.spanner.admin.instance.v1.IGetInstanceRequest);
12321
+
12322
+ /** GetInstanceRequest name. */
12323
+ public name: string;
12324
+
12325
+ /** GetInstanceRequest fieldMask. */
12326
+ public fieldMask?: (google.protobuf.IFieldMask|null);
12327
+
12328
+ /**
12329
+ * Creates a new GetInstanceRequest instance using the specified properties.
12330
+ * @param [properties] Properties to set
12331
+ * @returns GetInstanceRequest instance
12332
+ */
12333
+ public static create(properties?: google.spanner.admin.instance.v1.IGetInstanceRequest): google.spanner.admin.instance.v1.GetInstanceRequest;
12334
+
12335
+ /**
12336
+ * Encodes the specified GetInstanceRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.GetInstanceRequest.verify|verify} messages.
12337
+ * @param message GetInstanceRequest message or plain object to encode
12338
+ * @param [writer] Writer to encode to
12339
+ * @returns Writer
12340
+ */
12341
+ public static encode(message: google.spanner.admin.instance.v1.IGetInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12342
+
12343
+ /**
12344
+ * Encodes the specified GetInstanceRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.GetInstanceRequest.verify|verify} messages.
12345
+ * @param message GetInstanceRequest message or plain object to encode
12346
+ * @param [writer] Writer to encode to
12347
+ * @returns Writer
12348
+ */
12349
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.IGetInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12350
+
12351
+ /**
12352
+ * Decodes a GetInstanceRequest message from the specified reader or buffer.
12353
+ * @param reader Reader or buffer to decode from
12354
+ * @param [length] Message length if known beforehand
12355
+ * @returns GetInstanceRequest
12356
+ * @throws {Error} If the payload is not a reader or valid buffer
12357
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12358
+ */
12359
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.GetInstanceRequest;
12360
+
12361
+ /**
12362
+ * Decodes a GetInstanceRequest message from the specified reader or buffer, length delimited.
12363
+ * @param reader Reader or buffer to decode from
12364
+ * @returns GetInstanceRequest
12365
+ * @throws {Error} If the payload is not a reader or valid buffer
12366
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12367
+ */
12368
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.GetInstanceRequest;
12369
+
12370
+ /**
12371
+ * Verifies a GetInstanceRequest message.
12372
+ * @param message Plain object to verify
12373
+ * @returns `null` if valid, otherwise the reason why it is not
12374
+ */
12375
+ public static verify(message: { [k: string]: any }): (string|null);
12376
+
12377
+ /**
12378
+ * Creates a GetInstanceRequest message from a plain object. Also converts values to their respective internal types.
12379
+ * @param object Plain object
12380
+ * @returns GetInstanceRequest
12381
+ */
12382
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.GetInstanceRequest;
12383
+
12384
+ /**
12385
+ * Creates a plain object from a GetInstanceRequest message. Also converts values to other types if specified.
12386
+ * @param message GetInstanceRequest
12387
+ * @param [options] Conversion options
12388
+ * @returns Plain object
12389
+ */
12390
+ public static toObject(message: google.spanner.admin.instance.v1.GetInstanceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
12391
+
12392
+ /**
12393
+ * Converts this GetInstanceRequest to JSON.
12394
+ * @returns JSON object
12395
+ */
12396
+ public toJSON(): { [k: string]: any };
12397
+
12398
+ /**
12399
+ * Gets the default type url for GetInstanceRequest
12400
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12401
+ * @returns The default type url
12402
+ */
12403
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12404
+ }
12405
+
12406
+ /** Properties of a CreateInstanceRequest. */
12407
+ interface ICreateInstanceRequest {
12408
+
12409
+ /** CreateInstanceRequest parent */
12410
+ parent?: (string|null);
12411
+
12412
+ /** CreateInstanceRequest instanceId */
12413
+ instanceId?: (string|null);
12414
+
12415
+ /** CreateInstanceRequest instance */
12416
+ instance?: (google.spanner.admin.instance.v1.IInstance|null);
12417
+ }
12418
+
12419
+ /** Represents a CreateInstanceRequest. */
12420
+ class CreateInstanceRequest implements ICreateInstanceRequest {
12421
+
12422
+ /**
12423
+ * Constructs a new CreateInstanceRequest.
12424
+ * @param [properties] Properties to set
12425
+ */
12426
+ constructor(properties?: google.spanner.admin.instance.v1.ICreateInstanceRequest);
12427
+
12428
+ /** CreateInstanceRequest parent. */
12429
+ public parent: string;
12430
+
12431
+ /** CreateInstanceRequest instanceId. */
12432
+ public instanceId: string;
12433
+
12434
+ /** CreateInstanceRequest instance. */
12435
+ public instance?: (google.spanner.admin.instance.v1.IInstance|null);
12436
+
12437
+ /**
12438
+ * Creates a new CreateInstanceRequest instance using the specified properties.
12439
+ * @param [properties] Properties to set
12440
+ * @returns CreateInstanceRequest instance
12441
+ */
12442
+ public static create(properties?: google.spanner.admin.instance.v1.ICreateInstanceRequest): google.spanner.admin.instance.v1.CreateInstanceRequest;
12443
+
12444
+ /**
12445
+ * Encodes the specified CreateInstanceRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.CreateInstanceRequest.verify|verify} messages.
12446
+ * @param message CreateInstanceRequest message or plain object to encode
12447
+ * @param [writer] Writer to encode to
12448
+ * @returns Writer
12449
+ */
12450
+ public static encode(message: google.spanner.admin.instance.v1.ICreateInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12451
+
12452
+ /**
12453
+ * Encodes the specified CreateInstanceRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.CreateInstanceRequest.verify|verify} messages.
12454
+ * @param message CreateInstanceRequest message or plain object to encode
12455
+ * @param [writer] Writer to encode to
12456
+ * @returns Writer
12457
+ */
12458
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.ICreateInstanceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12459
+
12460
+ /**
12461
+ * Decodes a CreateInstanceRequest message from the specified reader or buffer.
12462
+ * @param reader Reader or buffer to decode from
12463
+ * @param [length] Message length if known beforehand
12464
+ * @returns CreateInstanceRequest
11662
12465
  * @throws {Error} If the payload is not a reader or valid buffer
11663
12466
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
11664
12467
  */
@@ -12356,6 +13159,224 @@ export namespace google {
12356
13159
  */
12357
13160
  public static getTypeUrl(typeUrlPrefix?: string): string;
12358
13161
  }
13162
+
13163
+ /** Properties of a CreateInstanceConfigMetadata. */
13164
+ interface ICreateInstanceConfigMetadata {
13165
+
13166
+ /** CreateInstanceConfigMetadata instanceConfig */
13167
+ instanceConfig?: (google.spanner.admin.instance.v1.IInstanceConfig|null);
13168
+
13169
+ /** CreateInstanceConfigMetadata progress */
13170
+ progress?: (google.spanner.admin.instance.v1.IOperationProgress|null);
13171
+
13172
+ /** CreateInstanceConfigMetadata cancelTime */
13173
+ cancelTime?: (google.protobuf.ITimestamp|null);
13174
+ }
13175
+
13176
+ /** Represents a CreateInstanceConfigMetadata. */
13177
+ class CreateInstanceConfigMetadata implements ICreateInstanceConfigMetadata {
13178
+
13179
+ /**
13180
+ * Constructs a new CreateInstanceConfigMetadata.
13181
+ * @param [properties] Properties to set
13182
+ */
13183
+ constructor(properties?: google.spanner.admin.instance.v1.ICreateInstanceConfigMetadata);
13184
+
13185
+ /** CreateInstanceConfigMetadata instanceConfig. */
13186
+ public instanceConfig?: (google.spanner.admin.instance.v1.IInstanceConfig|null);
13187
+
13188
+ /** CreateInstanceConfigMetadata progress. */
13189
+ public progress?: (google.spanner.admin.instance.v1.IOperationProgress|null);
13190
+
13191
+ /** CreateInstanceConfigMetadata cancelTime. */
13192
+ public cancelTime?: (google.protobuf.ITimestamp|null);
13193
+
13194
+ /**
13195
+ * Creates a new CreateInstanceConfigMetadata instance using the specified properties.
13196
+ * @param [properties] Properties to set
13197
+ * @returns CreateInstanceConfigMetadata instance
13198
+ */
13199
+ public static create(properties?: google.spanner.admin.instance.v1.ICreateInstanceConfigMetadata): google.spanner.admin.instance.v1.CreateInstanceConfigMetadata;
13200
+
13201
+ /**
13202
+ * Encodes the specified CreateInstanceConfigMetadata message. Does not implicitly {@link google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.verify|verify} messages.
13203
+ * @param message CreateInstanceConfigMetadata message or plain object to encode
13204
+ * @param [writer] Writer to encode to
13205
+ * @returns Writer
13206
+ */
13207
+ public static encode(message: google.spanner.admin.instance.v1.ICreateInstanceConfigMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13208
+
13209
+ /**
13210
+ * Encodes the specified CreateInstanceConfigMetadata message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.verify|verify} messages.
13211
+ * @param message CreateInstanceConfigMetadata message or plain object to encode
13212
+ * @param [writer] Writer to encode to
13213
+ * @returns Writer
13214
+ */
13215
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.ICreateInstanceConfigMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13216
+
13217
+ /**
13218
+ * Decodes a CreateInstanceConfigMetadata message from the specified reader or buffer.
13219
+ * @param reader Reader or buffer to decode from
13220
+ * @param [length] Message length if known beforehand
13221
+ * @returns CreateInstanceConfigMetadata
13222
+ * @throws {Error} If the payload is not a reader or valid buffer
13223
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13224
+ */
13225
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.CreateInstanceConfigMetadata;
13226
+
13227
+ /**
13228
+ * Decodes a CreateInstanceConfigMetadata message from the specified reader or buffer, length delimited.
13229
+ * @param reader Reader or buffer to decode from
13230
+ * @returns CreateInstanceConfigMetadata
13231
+ * @throws {Error} If the payload is not a reader or valid buffer
13232
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13233
+ */
13234
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.CreateInstanceConfigMetadata;
13235
+
13236
+ /**
13237
+ * Verifies a CreateInstanceConfigMetadata message.
13238
+ * @param message Plain object to verify
13239
+ * @returns `null` if valid, otherwise the reason why it is not
13240
+ */
13241
+ public static verify(message: { [k: string]: any }): (string|null);
13242
+
13243
+ /**
13244
+ * Creates a CreateInstanceConfigMetadata message from a plain object. Also converts values to their respective internal types.
13245
+ * @param object Plain object
13246
+ * @returns CreateInstanceConfigMetadata
13247
+ */
13248
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.CreateInstanceConfigMetadata;
13249
+
13250
+ /**
13251
+ * Creates a plain object from a CreateInstanceConfigMetadata message. Also converts values to other types if specified.
13252
+ * @param message CreateInstanceConfigMetadata
13253
+ * @param [options] Conversion options
13254
+ * @returns Plain object
13255
+ */
13256
+ public static toObject(message: google.spanner.admin.instance.v1.CreateInstanceConfigMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
13257
+
13258
+ /**
13259
+ * Converts this CreateInstanceConfigMetadata to JSON.
13260
+ * @returns JSON object
13261
+ */
13262
+ public toJSON(): { [k: string]: any };
13263
+
13264
+ /**
13265
+ * Gets the default type url for CreateInstanceConfigMetadata
13266
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13267
+ * @returns The default type url
13268
+ */
13269
+ public static getTypeUrl(typeUrlPrefix?: string): string;
13270
+ }
13271
+
13272
+ /** Properties of an UpdateInstanceConfigMetadata. */
13273
+ interface IUpdateInstanceConfigMetadata {
13274
+
13275
+ /** UpdateInstanceConfigMetadata instanceConfig */
13276
+ instanceConfig?: (google.spanner.admin.instance.v1.IInstanceConfig|null);
13277
+
13278
+ /** UpdateInstanceConfigMetadata progress */
13279
+ progress?: (google.spanner.admin.instance.v1.IOperationProgress|null);
13280
+
13281
+ /** UpdateInstanceConfigMetadata cancelTime */
13282
+ cancelTime?: (google.protobuf.ITimestamp|null);
13283
+ }
13284
+
13285
+ /** Represents an UpdateInstanceConfigMetadata. */
13286
+ class UpdateInstanceConfigMetadata implements IUpdateInstanceConfigMetadata {
13287
+
13288
+ /**
13289
+ * Constructs a new UpdateInstanceConfigMetadata.
13290
+ * @param [properties] Properties to set
13291
+ */
13292
+ constructor(properties?: google.spanner.admin.instance.v1.IUpdateInstanceConfigMetadata);
13293
+
13294
+ /** UpdateInstanceConfigMetadata instanceConfig. */
13295
+ public instanceConfig?: (google.spanner.admin.instance.v1.IInstanceConfig|null);
13296
+
13297
+ /** UpdateInstanceConfigMetadata progress. */
13298
+ public progress?: (google.spanner.admin.instance.v1.IOperationProgress|null);
13299
+
13300
+ /** UpdateInstanceConfigMetadata cancelTime. */
13301
+ public cancelTime?: (google.protobuf.ITimestamp|null);
13302
+
13303
+ /**
13304
+ * Creates a new UpdateInstanceConfigMetadata instance using the specified properties.
13305
+ * @param [properties] Properties to set
13306
+ * @returns UpdateInstanceConfigMetadata instance
13307
+ */
13308
+ public static create(properties?: google.spanner.admin.instance.v1.IUpdateInstanceConfigMetadata): google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata;
13309
+
13310
+ /**
13311
+ * Encodes the specified UpdateInstanceConfigMetadata message. Does not implicitly {@link google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.verify|verify} messages.
13312
+ * @param message UpdateInstanceConfigMetadata message or plain object to encode
13313
+ * @param [writer] Writer to encode to
13314
+ * @returns Writer
13315
+ */
13316
+ public static encode(message: google.spanner.admin.instance.v1.IUpdateInstanceConfigMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13317
+
13318
+ /**
13319
+ * Encodes the specified UpdateInstanceConfigMetadata message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.verify|verify} messages.
13320
+ * @param message UpdateInstanceConfigMetadata message or plain object to encode
13321
+ * @param [writer] Writer to encode to
13322
+ * @returns Writer
13323
+ */
13324
+ public static encodeDelimited(message: google.spanner.admin.instance.v1.IUpdateInstanceConfigMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13325
+
13326
+ /**
13327
+ * Decodes an UpdateInstanceConfigMetadata message from the specified reader or buffer.
13328
+ * @param reader Reader or buffer to decode from
13329
+ * @param [length] Message length if known beforehand
13330
+ * @returns UpdateInstanceConfigMetadata
13331
+ * @throws {Error} If the payload is not a reader or valid buffer
13332
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13333
+ */
13334
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata;
13335
+
13336
+ /**
13337
+ * Decodes an UpdateInstanceConfigMetadata message from the specified reader or buffer, length delimited.
13338
+ * @param reader Reader or buffer to decode from
13339
+ * @returns UpdateInstanceConfigMetadata
13340
+ * @throws {Error} If the payload is not a reader or valid buffer
13341
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13342
+ */
13343
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata;
13344
+
13345
+ /**
13346
+ * Verifies an UpdateInstanceConfigMetadata message.
13347
+ * @param message Plain object to verify
13348
+ * @returns `null` if valid, otherwise the reason why it is not
13349
+ */
13350
+ public static verify(message: { [k: string]: any }): (string|null);
13351
+
13352
+ /**
13353
+ * Creates an UpdateInstanceConfigMetadata message from a plain object. Also converts values to their respective internal types.
13354
+ * @param object Plain object
13355
+ * @returns UpdateInstanceConfigMetadata
13356
+ */
13357
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata;
13358
+
13359
+ /**
13360
+ * Creates a plain object from an UpdateInstanceConfigMetadata message. Also converts values to other types if specified.
13361
+ * @param message UpdateInstanceConfigMetadata
13362
+ * @param [options] Conversion options
13363
+ * @returns Plain object
13364
+ */
13365
+ public static toObject(message: google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
13366
+
13367
+ /**
13368
+ * Converts this UpdateInstanceConfigMetadata to JSON.
13369
+ * @returns JSON object
13370
+ */
13371
+ public toJSON(): { [k: string]: any };
13372
+
13373
+ /**
13374
+ * Gets the default type url for UpdateInstanceConfigMetadata
13375
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13376
+ * @returns The default type url
13377
+ */
13378
+ public static getTypeUrl(typeUrlPrefix?: string): string;
13379
+ }
12359
13380
  }
12360
13381
  }
12361
13382
  }
@@ -15017,7 +16038,8 @@ export namespace google {
15017
16038
  /** TypeAnnotationCode enum. */
15018
16039
  enum TypeAnnotationCode {
15019
16040
  TYPE_ANNOTATION_CODE_UNSPECIFIED = 0,
15020
- PG_NUMERIC = 2
16041
+ PG_NUMERIC = 2,
16042
+ PG_JSONB = 3
15021
16043
  }
15022
16044
 
15023
16045
  /** Represents a Spanner */