@google-cloud/spanner 5.16.3 → 5.17.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.
@@ -5417,6 +5417,9 @@ export namespace google {
5417
5417
 
5418
5418
  /** Backup encryptionInfo */
5419
5419
  encryptionInfo?: (google.spanner.admin.database.v1.IEncryptionInfo|null);
5420
+
5421
+ /** Backup databaseDialect */
5422
+ databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
5420
5423
  }
5421
5424
 
5422
5425
  /** Represents a Backup. */
@@ -5455,6 +5458,9 @@ export namespace google {
5455
5458
  /** Backup encryptionInfo. */
5456
5459
  public encryptionInfo?: (google.spanner.admin.database.v1.IEncryptionInfo|null);
5457
5460
 
5461
+ /** Backup databaseDialect. */
5462
+ public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
5463
+
5458
5464
  /**
5459
5465
  * Creates a new Backup instance using the specified properties.
5460
5466
  * @param [properties] Properties to set
@@ -6955,6 +6961,13 @@ export namespace google {
6955
6961
  }
6956
6962
  }
6957
6963
 
6964
+ /** DatabaseDialect enum. */
6965
+ enum DatabaseDialect {
6966
+ DATABASE_DIALECT_UNSPECIFIED = 0,
6967
+ GOOGLE_STANDARD_SQL = 1,
6968
+ POSTGRESQL = 2
6969
+ }
6970
+
6958
6971
  /** Represents a DatabaseAdmin */
6959
6972
  class DatabaseAdmin extends $protobuf.rpc.Service {
6960
6973
 
@@ -7217,119 +7230,119 @@ export namespace google {
7217
7230
  namespace DatabaseAdmin {
7218
7231
 
7219
7232
  /**
7220
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#listDatabases}.
7233
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|listDatabases}.
7221
7234
  * @param error Error, if any
7222
7235
  * @param [response] ListDatabasesResponse
7223
7236
  */
7224
7237
  type ListDatabasesCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.ListDatabasesResponse) => void;
7225
7238
 
7226
7239
  /**
7227
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#createDatabase}.
7240
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|createDatabase}.
7228
7241
  * @param error Error, if any
7229
7242
  * @param [response] Operation
7230
7243
  */
7231
7244
  type CreateDatabaseCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
7232
7245
 
7233
7246
  /**
7234
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#getDatabase}.
7247
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|getDatabase}.
7235
7248
  * @param error Error, if any
7236
7249
  * @param [response] Database
7237
7250
  */
7238
7251
  type GetDatabaseCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.Database) => void;
7239
7252
 
7240
7253
  /**
7241
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#updateDatabaseDdl}.
7254
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|updateDatabaseDdl}.
7242
7255
  * @param error Error, if any
7243
7256
  * @param [response] Operation
7244
7257
  */
7245
7258
  type UpdateDatabaseDdlCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
7246
7259
 
7247
7260
  /**
7248
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#dropDatabase}.
7261
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|dropDatabase}.
7249
7262
  * @param error Error, if any
7250
7263
  * @param [response] Empty
7251
7264
  */
7252
7265
  type DropDatabaseCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
7253
7266
 
7254
7267
  /**
7255
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#getDatabaseDdl}.
7268
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|getDatabaseDdl}.
7256
7269
  * @param error Error, if any
7257
7270
  * @param [response] GetDatabaseDdlResponse
7258
7271
  */
7259
7272
  type GetDatabaseDdlCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.GetDatabaseDdlResponse) => void;
7260
7273
 
7261
7274
  /**
7262
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#setIamPolicy}.
7275
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|setIamPolicy}.
7263
7276
  * @param error Error, if any
7264
7277
  * @param [response] Policy
7265
7278
  */
7266
7279
  type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
7267
7280
 
7268
7281
  /**
7269
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#getIamPolicy}.
7282
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|getIamPolicy}.
7270
7283
  * @param error Error, if any
7271
7284
  * @param [response] Policy
7272
7285
  */
7273
7286
  type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
7274
7287
 
7275
7288
  /**
7276
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#testIamPermissions}.
7289
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|testIamPermissions}.
7277
7290
  * @param error Error, if any
7278
7291
  * @param [response] TestIamPermissionsResponse
7279
7292
  */
7280
7293
  type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
7281
7294
 
7282
7295
  /**
7283
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#createBackup}.
7296
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|createBackup}.
7284
7297
  * @param error Error, if any
7285
7298
  * @param [response] Operation
7286
7299
  */
7287
7300
  type CreateBackupCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
7288
7301
 
7289
7302
  /**
7290
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#getBackup}.
7303
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|getBackup}.
7291
7304
  * @param error Error, if any
7292
7305
  * @param [response] Backup
7293
7306
  */
7294
7307
  type GetBackupCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.Backup) => void;
7295
7308
 
7296
7309
  /**
7297
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#updateBackup}.
7310
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|updateBackup}.
7298
7311
  * @param error Error, if any
7299
7312
  * @param [response] Backup
7300
7313
  */
7301
7314
  type UpdateBackupCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.Backup) => void;
7302
7315
 
7303
7316
  /**
7304
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#deleteBackup}.
7317
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|deleteBackup}.
7305
7318
  * @param error Error, if any
7306
7319
  * @param [response] Empty
7307
7320
  */
7308
7321
  type DeleteBackupCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
7309
7322
 
7310
7323
  /**
7311
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#listBackups}.
7324
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|listBackups}.
7312
7325
  * @param error Error, if any
7313
7326
  * @param [response] ListBackupsResponse
7314
7327
  */
7315
7328
  type ListBackupsCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.ListBackupsResponse) => void;
7316
7329
 
7317
7330
  /**
7318
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#restoreDatabase}.
7331
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|restoreDatabase}.
7319
7332
  * @param error Error, if any
7320
7333
  * @param [response] Operation
7321
7334
  */
7322
7335
  type RestoreDatabaseCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
7323
7336
 
7324
7337
  /**
7325
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#listDatabaseOperations}.
7338
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|listDatabaseOperations}.
7326
7339
  * @param error Error, if any
7327
7340
  * @param [response] ListDatabaseOperationsResponse
7328
7341
  */
7329
7342
  type ListDatabaseOperationsCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.ListDatabaseOperationsResponse) => void;
7330
7343
 
7331
7344
  /**
7332
- * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin#listBackupOperations}.
7345
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|listBackupOperations}.
7333
7346
  * @param error Error, if any
7334
7347
  * @param [response] ListBackupOperationsResponse
7335
7348
  */
@@ -7464,6 +7477,9 @@ export namespace google {
7464
7477
 
7465
7478
  /** Database defaultLeader */
7466
7479
  defaultLeader?: (string|null);
7480
+
7481
+ /** Database databaseDialect */
7482
+ databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
7467
7483
  }
7468
7484
 
7469
7485
  /** Represents a Database. */
@@ -7502,6 +7518,9 @@ export namespace google {
7502
7518
  /** Database defaultLeader. */
7503
7519
  public defaultLeader: string;
7504
7520
 
7521
+ /** Database databaseDialect. */
7522
+ public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
7523
+
7505
7524
  /**
7506
7525
  * Creates a new Database instance using the specified properties.
7507
7526
  * @param [properties] Properties to set
@@ -7796,6 +7815,9 @@ export namespace google {
7796
7815
 
7797
7816
  /** CreateDatabaseRequest encryptionConfig */
7798
7817
  encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
7818
+
7819
+ /** CreateDatabaseRequest databaseDialect */
7820
+ databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
7799
7821
  }
7800
7822
 
7801
7823
  /** Represents a CreateDatabaseRequest. */
@@ -7819,6 +7841,9 @@ export namespace google {
7819
7841
  /** CreateDatabaseRequest encryptionConfig. */
7820
7842
  public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
7821
7843
 
7844
+ /** CreateDatabaseRequest databaseDialect. */
7845
+ public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
7846
+
7822
7847
  /**
7823
7848
  * Creates a new CreateDatabaseRequest instance using the specified properties.
7824
7849
  * @param [properties] Properties to set
@@ -9375,70 +9400,70 @@ export namespace google {
9375
9400
  namespace InstanceAdmin {
9376
9401
 
9377
9402
  /**
9378
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#listInstanceConfigs}.
9403
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|listInstanceConfigs}.
9379
9404
  * @param error Error, if any
9380
9405
  * @param [response] ListInstanceConfigsResponse
9381
9406
  */
9382
9407
  type ListInstanceConfigsCallback = (error: (Error|null), response?: google.spanner.admin.instance.v1.ListInstanceConfigsResponse) => void;
9383
9408
 
9384
9409
  /**
9385
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#getInstanceConfig}.
9410
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|getInstanceConfig}.
9386
9411
  * @param error Error, if any
9387
9412
  * @param [response] InstanceConfig
9388
9413
  */
9389
9414
  type GetInstanceConfigCallback = (error: (Error|null), response?: google.spanner.admin.instance.v1.InstanceConfig) => void;
9390
9415
 
9391
9416
  /**
9392
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#listInstances}.
9417
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|listInstances}.
9393
9418
  * @param error Error, if any
9394
9419
  * @param [response] ListInstancesResponse
9395
9420
  */
9396
9421
  type ListInstancesCallback = (error: (Error|null), response?: google.spanner.admin.instance.v1.ListInstancesResponse) => void;
9397
9422
 
9398
9423
  /**
9399
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#getInstance}.
9424
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|getInstance}.
9400
9425
  * @param error Error, if any
9401
9426
  * @param [response] Instance
9402
9427
  */
9403
9428
  type GetInstanceCallback = (error: (Error|null), response?: google.spanner.admin.instance.v1.Instance) => void;
9404
9429
 
9405
9430
  /**
9406
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#createInstance}.
9431
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|createInstance}.
9407
9432
  * @param error Error, if any
9408
9433
  * @param [response] Operation
9409
9434
  */
9410
9435
  type CreateInstanceCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
9411
9436
 
9412
9437
  /**
9413
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#updateInstance}.
9438
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|updateInstance}.
9414
9439
  * @param error Error, if any
9415
9440
  * @param [response] Operation
9416
9441
  */
9417
9442
  type UpdateInstanceCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
9418
9443
 
9419
9444
  /**
9420
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#deleteInstance}.
9445
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|deleteInstance}.
9421
9446
  * @param error Error, if any
9422
9447
  * @param [response] Empty
9423
9448
  */
9424
9449
  type DeleteInstanceCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
9425
9450
 
9426
9451
  /**
9427
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#setIamPolicy}.
9452
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|setIamPolicy}.
9428
9453
  * @param error Error, if any
9429
9454
  * @param [response] Policy
9430
9455
  */
9431
9456
  type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
9432
9457
 
9433
9458
  /**
9434
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#getIamPolicy}.
9459
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|getIamPolicy}.
9435
9460
  * @param error Error, if any
9436
9461
  * @param [response] Policy
9437
9462
  */
9438
9463
  type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
9439
9464
 
9440
9465
  /**
9441
- * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin#testIamPermissions}.
9466
+ * Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|testIamPermissions}.
9442
9467
  * @param error Error, if any
9443
9468
  * @param [response] TestIamPermissionsResponse
9444
9469
  */
@@ -11757,6 +11782,13 @@ export namespace google {
11757
11782
 
11758
11783
  namespace PlanNode {
11759
11784
 
11785
+ /** Kind enum. */
11786
+ enum Kind {
11787
+ KIND_UNSPECIFIED = 0,
11788
+ RELATIONAL = 1,
11789
+ SCALAR = 2
11790
+ }
11791
+
11760
11792
  /** Properties of a ChildLink. */
11761
11793
  interface IChildLink {
11762
11794
 
@@ -11954,13 +11986,6 @@ export namespace google {
11954
11986
  */
11955
11987
  public toJSON(): { [k: string]: any };
11956
11988
  }
11957
-
11958
- /** Kind enum. */
11959
- enum Kind {
11960
- KIND_UNSPECIFIED = 0,
11961
- RELATIONAL = 1,
11962
- SCALAR = 2
11963
- }
11964
11989
  }
11965
11990
 
11966
11991
  /** Properties of a QueryPlan. */
@@ -13087,6 +13112,9 @@ export namespace google {
13087
13112
 
13088
13113
  /** Type structType */
13089
13114
  structType?: (google.spanner.v1.IStructType|null);
13115
+
13116
+ /** Type typeAnnotation */
13117
+ typeAnnotation?: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode|null);
13090
13118
  }
13091
13119
 
13092
13120
  /** Represents a Type. */
@@ -13107,6 +13135,9 @@ export namespace google {
13107
13135
  /** Type structType. */
13108
13136
  public structType?: (google.spanner.v1.IStructType|null);
13109
13137
 
13138
+ /** Type typeAnnotation. */
13139
+ public typeAnnotation: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode);
13140
+
13110
13141
  /**
13111
13142
  * Creates a new Type instance using the specified properties.
13112
13143
  * @param [properties] Properties to set
@@ -13383,6 +13414,12 @@ export namespace google {
13383
13414
  JSON = 11
13384
13415
  }
13385
13416
 
13417
+ /** TypeAnnotationCode enum. */
13418
+ enum TypeAnnotationCode {
13419
+ TYPE_ANNOTATION_CODE_UNSPECIFIED = 0,
13420
+ PG_NUMERIC = 2
13421
+ }
13422
+
13386
13423
  /** Represents a Spanner */
13387
13424
  class Spanner extends $protobuf.rpc.Service {
13388
13425
 
@@ -13617,105 +13654,105 @@ export namespace google {
13617
13654
  namespace Spanner {
13618
13655
 
13619
13656
  /**
13620
- * Callback as used by {@link google.spanner.v1.Spanner#createSession}.
13657
+ * Callback as used by {@link google.spanner.v1.Spanner|createSession}.
13621
13658
  * @param error Error, if any
13622
13659
  * @param [response] Session
13623
13660
  */
13624
13661
  type CreateSessionCallback = (error: (Error|null), response?: google.spanner.v1.Session) => void;
13625
13662
 
13626
13663
  /**
13627
- * Callback as used by {@link google.spanner.v1.Spanner#batchCreateSessions}.
13664
+ * Callback as used by {@link google.spanner.v1.Spanner|batchCreateSessions}.
13628
13665
  * @param error Error, if any
13629
13666
  * @param [response] BatchCreateSessionsResponse
13630
13667
  */
13631
13668
  type BatchCreateSessionsCallback = (error: (Error|null), response?: google.spanner.v1.BatchCreateSessionsResponse) => void;
13632
13669
 
13633
13670
  /**
13634
- * Callback as used by {@link google.spanner.v1.Spanner#getSession}.
13671
+ * Callback as used by {@link google.spanner.v1.Spanner|getSession}.
13635
13672
  * @param error Error, if any
13636
13673
  * @param [response] Session
13637
13674
  */
13638
13675
  type GetSessionCallback = (error: (Error|null), response?: google.spanner.v1.Session) => void;
13639
13676
 
13640
13677
  /**
13641
- * Callback as used by {@link google.spanner.v1.Spanner#listSessions}.
13678
+ * Callback as used by {@link google.spanner.v1.Spanner|listSessions}.
13642
13679
  * @param error Error, if any
13643
13680
  * @param [response] ListSessionsResponse
13644
13681
  */
13645
13682
  type ListSessionsCallback = (error: (Error|null), response?: google.spanner.v1.ListSessionsResponse) => void;
13646
13683
 
13647
13684
  /**
13648
- * Callback as used by {@link google.spanner.v1.Spanner#deleteSession}.
13685
+ * Callback as used by {@link google.spanner.v1.Spanner|deleteSession}.
13649
13686
  * @param error Error, if any
13650
13687
  * @param [response] Empty
13651
13688
  */
13652
13689
  type DeleteSessionCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
13653
13690
 
13654
13691
  /**
13655
- * Callback as used by {@link google.spanner.v1.Spanner#executeSql}.
13692
+ * Callback as used by {@link google.spanner.v1.Spanner|executeSql}.
13656
13693
  * @param error Error, if any
13657
13694
  * @param [response] ResultSet
13658
13695
  */
13659
13696
  type ExecuteSqlCallback = (error: (Error|null), response?: google.spanner.v1.ResultSet) => void;
13660
13697
 
13661
13698
  /**
13662
- * Callback as used by {@link google.spanner.v1.Spanner#executeStreamingSql}.
13699
+ * Callback as used by {@link google.spanner.v1.Spanner|executeStreamingSql}.
13663
13700
  * @param error Error, if any
13664
13701
  * @param [response] PartialResultSet
13665
13702
  */
13666
13703
  type ExecuteStreamingSqlCallback = (error: (Error|null), response?: google.spanner.v1.PartialResultSet) => void;
13667
13704
 
13668
13705
  /**
13669
- * Callback as used by {@link google.spanner.v1.Spanner#executeBatchDml}.
13706
+ * Callback as used by {@link google.spanner.v1.Spanner|executeBatchDml}.
13670
13707
  * @param error Error, if any
13671
13708
  * @param [response] ExecuteBatchDmlResponse
13672
13709
  */
13673
13710
  type ExecuteBatchDmlCallback = (error: (Error|null), response?: google.spanner.v1.ExecuteBatchDmlResponse) => void;
13674
13711
 
13675
13712
  /**
13676
- * Callback as used by {@link google.spanner.v1.Spanner#read}.
13713
+ * Callback as used by {@link google.spanner.v1.Spanner|read}.
13677
13714
  * @param error Error, if any
13678
13715
  * @param [response] ResultSet
13679
13716
  */
13680
13717
  type ReadCallback = (error: (Error|null), response?: google.spanner.v1.ResultSet) => void;
13681
13718
 
13682
13719
  /**
13683
- * Callback as used by {@link google.spanner.v1.Spanner#streamingRead}.
13720
+ * Callback as used by {@link google.spanner.v1.Spanner|streamingRead}.
13684
13721
  * @param error Error, if any
13685
13722
  * @param [response] PartialResultSet
13686
13723
  */
13687
13724
  type StreamingReadCallback = (error: (Error|null), response?: google.spanner.v1.PartialResultSet) => void;
13688
13725
 
13689
13726
  /**
13690
- * Callback as used by {@link google.spanner.v1.Spanner#beginTransaction}.
13727
+ * Callback as used by {@link google.spanner.v1.Spanner|beginTransaction}.
13691
13728
  * @param error Error, if any
13692
13729
  * @param [response] Transaction
13693
13730
  */
13694
13731
  type BeginTransactionCallback = (error: (Error|null), response?: google.spanner.v1.Transaction) => void;
13695
13732
 
13696
13733
  /**
13697
- * Callback as used by {@link google.spanner.v1.Spanner#commit}.
13734
+ * Callback as used by {@link google.spanner.v1.Spanner|commit}.
13698
13735
  * @param error Error, if any
13699
13736
  * @param [response] CommitResponse
13700
13737
  */
13701
13738
  type CommitCallback = (error: (Error|null), response?: google.spanner.v1.CommitResponse) => void;
13702
13739
 
13703
13740
  /**
13704
- * Callback as used by {@link google.spanner.v1.Spanner#rollback}.
13741
+ * Callback as used by {@link google.spanner.v1.Spanner|rollback}.
13705
13742
  * @param error Error, if any
13706
13743
  * @param [response] Empty
13707
13744
  */
13708
13745
  type RollbackCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
13709
13746
 
13710
13747
  /**
13711
- * Callback as used by {@link google.spanner.v1.Spanner#partitionQuery}.
13748
+ * Callback as used by {@link google.spanner.v1.Spanner|partitionQuery}.
13712
13749
  * @param error Error, if any
13713
13750
  * @param [response] PartitionResponse
13714
13751
  */
13715
13752
  type PartitionQueryCallback = (error: (Error|null), response?: google.spanner.v1.PartitionResponse) => void;
13716
13753
 
13717
13754
  /**
13718
- * Callback as used by {@link google.spanner.v1.Spanner#partitionRead}.
13755
+ * Callback as used by {@link google.spanner.v1.Spanner|partitionRead}.
13719
13756
  * @param error Error, if any
13720
13757
  * @param [response] PartitionResponse
13721
13758
  */
@@ -14767,6 +14804,13 @@ export namespace google {
14767
14804
 
14768
14805
  namespace ExecuteSqlRequest {
14769
14806
 
14807
+ /** QueryMode enum. */
14808
+ enum QueryMode {
14809
+ NORMAL = 0,
14810
+ PLAN = 1,
14811
+ PROFILE = 2
14812
+ }
14813
+
14770
14814
  /** Properties of a QueryOptions. */
14771
14815
  interface IQueryOptions {
14772
14816
 
@@ -14862,13 +14906,6 @@ export namespace google {
14862
14906
  */
14863
14907
  public toJSON(): { [k: string]: any };
14864
14908
  }
14865
-
14866
- /** QueryMode enum. */
14867
- enum QueryMode {
14868
- NORMAL = 0,
14869
- PLAN = 1,
14870
- PROFILE = 2
14871
- }
14872
14909
  }
14873
14910
 
14874
14911
  /** Properties of an ExecuteBatchDmlRequest. */
@@ -16184,590 +16221,590 @@ export namespace google {
16184
16221
  /** Namespace api. */
16185
16222
  namespace api {
16186
16223
 
16187
- /** FieldBehavior enum. */
16188
- enum FieldBehavior {
16189
- FIELD_BEHAVIOR_UNSPECIFIED = 0,
16190
- OPTIONAL = 1,
16191
- REQUIRED = 2,
16192
- OUTPUT_ONLY = 3,
16193
- INPUT_ONLY = 4,
16194
- IMMUTABLE = 5,
16195
- UNORDERED_LIST = 6,
16196
- NON_EMPTY_DEFAULT = 7
16197
- }
16198
-
16199
- /** Properties of a ResourceDescriptor. */
16200
- interface IResourceDescriptor {
16201
-
16202
- /** ResourceDescriptor type */
16203
- type?: (string|null);
16204
-
16205
- /** ResourceDescriptor pattern */
16206
- pattern?: (string[]|null);
16207
-
16208
- /** ResourceDescriptor nameField */
16209
- nameField?: (string|null);
16210
-
16211
- /** ResourceDescriptor history */
16212
- history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
16213
-
16214
- /** ResourceDescriptor plural */
16215
- plural?: (string|null);
16224
+ /** Properties of a Http. */
16225
+ interface IHttp {
16216
16226
 
16217
- /** ResourceDescriptor singular */
16218
- singular?: (string|null);
16227
+ /** Http rules */
16228
+ rules?: (google.api.IHttpRule[]|null);
16219
16229
 
16220
- /** ResourceDescriptor style */
16221
- style?: (google.api.ResourceDescriptor.Style[]|null);
16230
+ /** Http fullyDecodeReservedExpansion */
16231
+ fullyDecodeReservedExpansion?: (boolean|null);
16222
16232
  }
16223
16233
 
16224
- /** Represents a ResourceDescriptor. */
16225
- class ResourceDescriptor implements IResourceDescriptor {
16234
+ /** Represents a Http. */
16235
+ class Http implements IHttp {
16226
16236
 
16227
16237
  /**
16228
- * Constructs a new ResourceDescriptor.
16238
+ * Constructs a new Http.
16229
16239
  * @param [properties] Properties to set
16230
16240
  */
16231
- constructor(properties?: google.api.IResourceDescriptor);
16232
-
16233
- /** ResourceDescriptor type. */
16234
- public type: string;
16235
-
16236
- /** ResourceDescriptor pattern. */
16237
- public pattern: string[];
16238
-
16239
- /** ResourceDescriptor nameField. */
16240
- public nameField: string;
16241
-
16242
- /** ResourceDescriptor history. */
16243
- public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
16244
-
16245
- /** ResourceDescriptor plural. */
16246
- public plural: string;
16241
+ constructor(properties?: google.api.IHttp);
16247
16242
 
16248
- /** ResourceDescriptor singular. */
16249
- public singular: string;
16243
+ /** Http rules. */
16244
+ public rules: google.api.IHttpRule[];
16250
16245
 
16251
- /** ResourceDescriptor style. */
16252
- public style: google.api.ResourceDescriptor.Style[];
16246
+ /** Http fullyDecodeReservedExpansion. */
16247
+ public fullyDecodeReservedExpansion: boolean;
16253
16248
 
16254
16249
  /**
16255
- * Creates a new ResourceDescriptor instance using the specified properties.
16250
+ * Creates a new Http instance using the specified properties.
16256
16251
  * @param [properties] Properties to set
16257
- * @returns ResourceDescriptor instance
16252
+ * @returns Http instance
16258
16253
  */
16259
- public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
16254
+ public static create(properties?: google.api.IHttp): google.api.Http;
16260
16255
 
16261
16256
  /**
16262
- * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
16263
- * @param message ResourceDescriptor message or plain object to encode
16257
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
16258
+ * @param message Http message or plain object to encode
16264
16259
  * @param [writer] Writer to encode to
16265
16260
  * @returns Writer
16266
16261
  */
16267
- public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
16262
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
16268
16263
 
16269
16264
  /**
16270
- * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
16271
- * @param message ResourceDescriptor message or plain object to encode
16265
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
16266
+ * @param message Http message or plain object to encode
16272
16267
  * @param [writer] Writer to encode to
16273
16268
  * @returns Writer
16274
16269
  */
16275
- public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
16270
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
16276
16271
 
16277
16272
  /**
16278
- * Decodes a ResourceDescriptor message from the specified reader or buffer.
16273
+ * Decodes a Http message from the specified reader or buffer.
16279
16274
  * @param reader Reader or buffer to decode from
16280
16275
  * @param [length] Message length if known beforehand
16281
- * @returns ResourceDescriptor
16276
+ * @returns Http
16282
16277
  * @throws {Error} If the payload is not a reader or valid buffer
16283
16278
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16284
16279
  */
16285
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
16280
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
16286
16281
 
16287
16282
  /**
16288
- * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
16283
+ * Decodes a Http message from the specified reader or buffer, length delimited.
16289
16284
  * @param reader Reader or buffer to decode from
16290
- * @returns ResourceDescriptor
16285
+ * @returns Http
16291
16286
  * @throws {Error} If the payload is not a reader or valid buffer
16292
16287
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16293
16288
  */
16294
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
16289
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
16295
16290
 
16296
16291
  /**
16297
- * Verifies a ResourceDescriptor message.
16292
+ * Verifies a Http message.
16298
16293
  * @param message Plain object to verify
16299
16294
  * @returns `null` if valid, otherwise the reason why it is not
16300
16295
  */
16301
16296
  public static verify(message: { [k: string]: any }): (string|null);
16302
16297
 
16303
16298
  /**
16304
- * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
16299
+ * Creates a Http message from a plain object. Also converts values to their respective internal types.
16305
16300
  * @param object Plain object
16306
- * @returns ResourceDescriptor
16301
+ * @returns Http
16307
16302
  */
16308
- public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
16303
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
16309
16304
 
16310
16305
  /**
16311
- * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
16312
- * @param message ResourceDescriptor
16306
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
16307
+ * @param message Http
16313
16308
  * @param [options] Conversion options
16314
16309
  * @returns Plain object
16315
16310
  */
16316
- public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
16311
+ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
16317
16312
 
16318
16313
  /**
16319
- * Converts this ResourceDescriptor to JSON.
16314
+ * Converts this Http to JSON.
16320
16315
  * @returns JSON object
16321
16316
  */
16322
16317
  public toJSON(): { [k: string]: any };
16323
16318
  }
16324
16319
 
16325
- namespace ResourceDescriptor {
16320
+ /** Properties of a HttpRule. */
16321
+ interface IHttpRule {
16326
16322
 
16327
- /** History enum. */
16328
- enum History {
16329
- HISTORY_UNSPECIFIED = 0,
16330
- ORIGINALLY_SINGLE_PATTERN = 1,
16331
- FUTURE_MULTI_PATTERN = 2
16332
- }
16323
+ /** HttpRule selector */
16324
+ selector?: (string|null);
16333
16325
 
16334
- /** Style enum. */
16335
- enum Style {
16336
- STYLE_UNSPECIFIED = 0,
16337
- DECLARATIVE_FRIENDLY = 1
16338
- }
16339
- }
16326
+ /** HttpRule get */
16327
+ get?: (string|null);
16340
16328
 
16341
- /** Properties of a ResourceReference. */
16342
- interface IResourceReference {
16329
+ /** HttpRule put */
16330
+ put?: (string|null);
16343
16331
 
16344
- /** ResourceReference type */
16345
- type?: (string|null);
16332
+ /** HttpRule post */
16333
+ post?: (string|null);
16346
16334
 
16347
- /** ResourceReference childType */
16348
- childType?: (string|null);
16335
+ /** HttpRule delete */
16336
+ "delete"?: (string|null);
16337
+
16338
+ /** HttpRule patch */
16339
+ patch?: (string|null);
16340
+
16341
+ /** HttpRule custom */
16342
+ custom?: (google.api.ICustomHttpPattern|null);
16343
+
16344
+ /** HttpRule body */
16345
+ body?: (string|null);
16346
+
16347
+ /** HttpRule responseBody */
16348
+ responseBody?: (string|null);
16349
+
16350
+ /** HttpRule additionalBindings */
16351
+ additionalBindings?: (google.api.IHttpRule[]|null);
16349
16352
  }
16350
16353
 
16351
- /** Represents a ResourceReference. */
16352
- class ResourceReference implements IResourceReference {
16354
+ /** Represents a HttpRule. */
16355
+ class HttpRule implements IHttpRule {
16353
16356
 
16354
16357
  /**
16355
- * Constructs a new ResourceReference.
16358
+ * Constructs a new HttpRule.
16356
16359
  * @param [properties] Properties to set
16357
16360
  */
16358
- constructor(properties?: google.api.IResourceReference);
16361
+ constructor(properties?: google.api.IHttpRule);
16359
16362
 
16360
- /** ResourceReference type. */
16361
- public type: string;
16363
+ /** HttpRule selector. */
16364
+ public selector: string;
16362
16365
 
16363
- /** ResourceReference childType. */
16364
- public childType: string;
16366
+ /** HttpRule get. */
16367
+ public get?: (string|null);
16368
+
16369
+ /** HttpRule put. */
16370
+ public put?: (string|null);
16371
+
16372
+ /** HttpRule post. */
16373
+ public post?: (string|null);
16374
+
16375
+ /** HttpRule delete. */
16376
+ public delete?: (string|null);
16377
+
16378
+ /** HttpRule patch. */
16379
+ public patch?: (string|null);
16380
+
16381
+ /** HttpRule custom. */
16382
+ public custom?: (google.api.ICustomHttpPattern|null);
16383
+
16384
+ /** HttpRule body. */
16385
+ public body: string;
16386
+
16387
+ /** HttpRule responseBody. */
16388
+ public responseBody: string;
16389
+
16390
+ /** HttpRule additionalBindings. */
16391
+ public additionalBindings: google.api.IHttpRule[];
16392
+
16393
+ /** HttpRule pattern. */
16394
+ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
16365
16395
 
16366
16396
  /**
16367
- * Creates a new ResourceReference instance using the specified properties.
16397
+ * Creates a new HttpRule instance using the specified properties.
16368
16398
  * @param [properties] Properties to set
16369
- * @returns ResourceReference instance
16399
+ * @returns HttpRule instance
16370
16400
  */
16371
- public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
16401
+ public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
16372
16402
 
16373
16403
  /**
16374
- * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
16375
- * @param message ResourceReference message or plain object to encode
16404
+ * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
16405
+ * @param message HttpRule message or plain object to encode
16376
16406
  * @param [writer] Writer to encode to
16377
16407
  * @returns Writer
16378
16408
  */
16379
- public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
16409
+ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
16380
16410
 
16381
16411
  /**
16382
- * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
16383
- * @param message ResourceReference message or plain object to encode
16412
+ * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
16413
+ * @param message HttpRule message or plain object to encode
16384
16414
  * @param [writer] Writer to encode to
16385
16415
  * @returns Writer
16386
16416
  */
16387
- public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
16417
+ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
16388
16418
 
16389
16419
  /**
16390
- * Decodes a ResourceReference message from the specified reader or buffer.
16420
+ * Decodes a HttpRule message from the specified reader or buffer.
16391
16421
  * @param reader Reader or buffer to decode from
16392
16422
  * @param [length] Message length if known beforehand
16393
- * @returns ResourceReference
16423
+ * @returns HttpRule
16394
16424
  * @throws {Error} If the payload is not a reader or valid buffer
16395
16425
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16396
16426
  */
16397
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
16427
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
16398
16428
 
16399
16429
  /**
16400
- * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
16430
+ * Decodes a HttpRule message from the specified reader or buffer, length delimited.
16401
16431
  * @param reader Reader or buffer to decode from
16402
- * @returns ResourceReference
16432
+ * @returns HttpRule
16403
16433
  * @throws {Error} If the payload is not a reader or valid buffer
16404
16434
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16405
16435
  */
16406
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
16436
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
16407
16437
 
16408
16438
  /**
16409
- * Verifies a ResourceReference message.
16439
+ * Verifies a HttpRule message.
16410
16440
  * @param message Plain object to verify
16411
16441
  * @returns `null` if valid, otherwise the reason why it is not
16412
16442
  */
16413
16443
  public static verify(message: { [k: string]: any }): (string|null);
16414
16444
 
16415
16445
  /**
16416
- * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
16446
+ * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
16417
16447
  * @param object Plain object
16418
- * @returns ResourceReference
16448
+ * @returns HttpRule
16419
16449
  */
16420
- public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
16450
+ public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
16421
16451
 
16422
16452
  /**
16423
- * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
16424
- * @param message ResourceReference
16453
+ * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
16454
+ * @param message HttpRule
16425
16455
  * @param [options] Conversion options
16426
16456
  * @returns Plain object
16427
16457
  */
16428
- public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
16458
+ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
16429
16459
 
16430
16460
  /**
16431
- * Converts this ResourceReference to JSON.
16461
+ * Converts this HttpRule to JSON.
16432
16462
  * @returns JSON object
16433
16463
  */
16434
16464
  public toJSON(): { [k: string]: any };
16435
16465
  }
16436
16466
 
16437
- /** Properties of a Http. */
16438
- interface IHttp {
16467
+ /** Properties of a CustomHttpPattern. */
16468
+ interface ICustomHttpPattern {
16439
16469
 
16440
- /** Http rules */
16441
- rules?: (google.api.IHttpRule[]|null);
16470
+ /** CustomHttpPattern kind */
16471
+ kind?: (string|null);
16442
16472
 
16443
- /** Http fullyDecodeReservedExpansion */
16444
- fullyDecodeReservedExpansion?: (boolean|null);
16473
+ /** CustomHttpPattern path */
16474
+ path?: (string|null);
16445
16475
  }
16446
16476
 
16447
- /** Represents a Http. */
16448
- class Http implements IHttp {
16477
+ /** Represents a CustomHttpPattern. */
16478
+ class CustomHttpPattern implements ICustomHttpPattern {
16449
16479
 
16450
16480
  /**
16451
- * Constructs a new Http.
16481
+ * Constructs a new CustomHttpPattern.
16452
16482
  * @param [properties] Properties to set
16453
16483
  */
16454
- constructor(properties?: google.api.IHttp);
16484
+ constructor(properties?: google.api.ICustomHttpPattern);
16455
16485
 
16456
- /** Http rules. */
16457
- public rules: google.api.IHttpRule[];
16486
+ /** CustomHttpPattern kind. */
16487
+ public kind: string;
16458
16488
 
16459
- /** Http fullyDecodeReservedExpansion. */
16460
- public fullyDecodeReservedExpansion: boolean;
16489
+ /** CustomHttpPattern path. */
16490
+ public path: string;
16461
16491
 
16462
16492
  /**
16463
- * Creates a new Http instance using the specified properties.
16493
+ * Creates a new CustomHttpPattern instance using the specified properties.
16464
16494
  * @param [properties] Properties to set
16465
- * @returns Http instance
16495
+ * @returns CustomHttpPattern instance
16466
16496
  */
16467
- public static create(properties?: google.api.IHttp): google.api.Http;
16497
+ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
16468
16498
 
16469
16499
  /**
16470
- * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
16471
- * @param message Http message or plain object to encode
16500
+ * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
16501
+ * @param message CustomHttpPattern message or plain object to encode
16472
16502
  * @param [writer] Writer to encode to
16473
16503
  * @returns Writer
16474
16504
  */
16475
- public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
16505
+ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
16476
16506
 
16477
16507
  /**
16478
- * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
16479
- * @param message Http message or plain object to encode
16508
+ * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
16509
+ * @param message CustomHttpPattern message or plain object to encode
16480
16510
  * @param [writer] Writer to encode to
16481
16511
  * @returns Writer
16482
16512
  */
16483
- public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
16513
+ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
16484
16514
 
16485
16515
  /**
16486
- * Decodes a Http message from the specified reader or buffer.
16516
+ * Decodes a CustomHttpPattern message from the specified reader or buffer.
16487
16517
  * @param reader Reader or buffer to decode from
16488
16518
  * @param [length] Message length if known beforehand
16489
- * @returns Http
16519
+ * @returns CustomHttpPattern
16490
16520
  * @throws {Error} If the payload is not a reader or valid buffer
16491
16521
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16492
16522
  */
16493
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
16523
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
16494
16524
 
16495
16525
  /**
16496
- * Decodes a Http message from the specified reader or buffer, length delimited.
16526
+ * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
16497
16527
  * @param reader Reader or buffer to decode from
16498
- * @returns Http
16528
+ * @returns CustomHttpPattern
16499
16529
  * @throws {Error} If the payload is not a reader or valid buffer
16500
16530
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16501
16531
  */
16502
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
16532
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
16503
16533
 
16504
16534
  /**
16505
- * Verifies a Http message.
16535
+ * Verifies a CustomHttpPattern message.
16506
16536
  * @param message Plain object to verify
16507
16537
  * @returns `null` if valid, otherwise the reason why it is not
16508
16538
  */
16509
16539
  public static verify(message: { [k: string]: any }): (string|null);
16510
16540
 
16511
16541
  /**
16512
- * Creates a Http message from a plain object. Also converts values to their respective internal types.
16542
+ * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
16513
16543
  * @param object Plain object
16514
- * @returns Http
16544
+ * @returns CustomHttpPattern
16515
16545
  */
16516
- public static fromObject(object: { [k: string]: any }): google.api.Http;
16546
+ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
16517
16547
 
16518
16548
  /**
16519
- * Creates a plain object from a Http message. Also converts values to other types if specified.
16520
- * @param message Http
16549
+ * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
16550
+ * @param message CustomHttpPattern
16521
16551
  * @param [options] Conversion options
16522
16552
  * @returns Plain object
16523
16553
  */
16524
- public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
16554
+ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
16525
16555
 
16526
16556
  /**
16527
- * Converts this Http to JSON.
16557
+ * Converts this CustomHttpPattern to JSON.
16528
16558
  * @returns JSON object
16529
16559
  */
16530
16560
  public toJSON(): { [k: string]: any };
16531
16561
  }
16532
16562
 
16533
- /** Properties of a HttpRule. */
16534
- interface IHttpRule {
16535
-
16536
- /** HttpRule selector */
16537
- selector?: (string|null);
16538
-
16539
- /** HttpRule get */
16540
- get?: (string|null);
16563
+ /** FieldBehavior enum. */
16564
+ enum FieldBehavior {
16565
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
16566
+ OPTIONAL = 1,
16567
+ REQUIRED = 2,
16568
+ OUTPUT_ONLY = 3,
16569
+ INPUT_ONLY = 4,
16570
+ IMMUTABLE = 5,
16571
+ UNORDERED_LIST = 6,
16572
+ NON_EMPTY_DEFAULT = 7
16573
+ }
16541
16574
 
16542
- /** HttpRule put */
16543
- put?: (string|null);
16575
+ /** Properties of a ResourceDescriptor. */
16576
+ interface IResourceDescriptor {
16544
16577
 
16545
- /** HttpRule post */
16546
- post?: (string|null);
16578
+ /** ResourceDescriptor type */
16579
+ type?: (string|null);
16547
16580
 
16548
- /** HttpRule delete */
16549
- "delete"?: (string|null);
16581
+ /** ResourceDescriptor pattern */
16582
+ pattern?: (string[]|null);
16550
16583
 
16551
- /** HttpRule patch */
16552
- patch?: (string|null);
16584
+ /** ResourceDescriptor nameField */
16585
+ nameField?: (string|null);
16553
16586
 
16554
- /** HttpRule custom */
16555
- custom?: (google.api.ICustomHttpPattern|null);
16587
+ /** ResourceDescriptor history */
16588
+ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
16556
16589
 
16557
- /** HttpRule body */
16558
- body?: (string|null);
16590
+ /** ResourceDescriptor plural */
16591
+ plural?: (string|null);
16559
16592
 
16560
- /** HttpRule responseBody */
16561
- responseBody?: (string|null);
16593
+ /** ResourceDescriptor singular */
16594
+ singular?: (string|null);
16562
16595
 
16563
- /** HttpRule additionalBindings */
16564
- additionalBindings?: (google.api.IHttpRule[]|null);
16596
+ /** ResourceDescriptor style */
16597
+ style?: (google.api.ResourceDescriptor.Style[]|null);
16565
16598
  }
16566
16599
 
16567
- /** Represents a HttpRule. */
16568
- class HttpRule implements IHttpRule {
16600
+ /** Represents a ResourceDescriptor. */
16601
+ class ResourceDescriptor implements IResourceDescriptor {
16569
16602
 
16570
16603
  /**
16571
- * Constructs a new HttpRule.
16604
+ * Constructs a new ResourceDescriptor.
16572
16605
  * @param [properties] Properties to set
16573
16606
  */
16574
- constructor(properties?: google.api.IHttpRule);
16575
-
16576
- /** HttpRule selector. */
16577
- public selector: string;
16578
-
16579
- /** HttpRule get. */
16580
- public get?: (string|null);
16581
-
16582
- /** HttpRule put. */
16583
- public put?: (string|null);
16584
-
16585
- /** HttpRule post. */
16586
- public post?: (string|null);
16607
+ constructor(properties?: google.api.IResourceDescriptor);
16587
16608
 
16588
- /** HttpRule delete. */
16589
- public delete?: (string|null);
16609
+ /** ResourceDescriptor type. */
16610
+ public type: string;
16590
16611
 
16591
- /** HttpRule patch. */
16592
- public patch?: (string|null);
16612
+ /** ResourceDescriptor pattern. */
16613
+ public pattern: string[];
16593
16614
 
16594
- /** HttpRule custom. */
16595
- public custom?: (google.api.ICustomHttpPattern|null);
16615
+ /** ResourceDescriptor nameField. */
16616
+ public nameField: string;
16596
16617
 
16597
- /** HttpRule body. */
16598
- public body: string;
16618
+ /** ResourceDescriptor history. */
16619
+ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
16599
16620
 
16600
- /** HttpRule responseBody. */
16601
- public responseBody: string;
16621
+ /** ResourceDescriptor plural. */
16622
+ public plural: string;
16602
16623
 
16603
- /** HttpRule additionalBindings. */
16604
- public additionalBindings: google.api.IHttpRule[];
16624
+ /** ResourceDescriptor singular. */
16625
+ public singular: string;
16605
16626
 
16606
- /** HttpRule pattern. */
16607
- public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
16627
+ /** ResourceDescriptor style. */
16628
+ public style: google.api.ResourceDescriptor.Style[];
16608
16629
 
16609
16630
  /**
16610
- * Creates a new HttpRule instance using the specified properties.
16631
+ * Creates a new ResourceDescriptor instance using the specified properties.
16611
16632
  * @param [properties] Properties to set
16612
- * @returns HttpRule instance
16633
+ * @returns ResourceDescriptor instance
16613
16634
  */
16614
- public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
16635
+ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
16615
16636
 
16616
16637
  /**
16617
- * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
16618
- * @param message HttpRule message or plain object to encode
16638
+ * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
16639
+ * @param message ResourceDescriptor message or plain object to encode
16619
16640
  * @param [writer] Writer to encode to
16620
16641
  * @returns Writer
16621
16642
  */
16622
- public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
16643
+ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
16623
16644
 
16624
16645
  /**
16625
- * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
16626
- * @param message HttpRule message or plain object to encode
16646
+ * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
16647
+ * @param message ResourceDescriptor message or plain object to encode
16627
16648
  * @param [writer] Writer to encode to
16628
16649
  * @returns Writer
16629
16650
  */
16630
- public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
16651
+ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
16631
16652
 
16632
16653
  /**
16633
- * Decodes a HttpRule message from the specified reader or buffer.
16654
+ * Decodes a ResourceDescriptor message from the specified reader or buffer.
16634
16655
  * @param reader Reader or buffer to decode from
16635
16656
  * @param [length] Message length if known beforehand
16636
- * @returns HttpRule
16657
+ * @returns ResourceDescriptor
16637
16658
  * @throws {Error} If the payload is not a reader or valid buffer
16638
16659
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16639
16660
  */
16640
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
16661
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
16641
16662
 
16642
16663
  /**
16643
- * Decodes a HttpRule message from the specified reader or buffer, length delimited.
16664
+ * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
16644
16665
  * @param reader Reader or buffer to decode from
16645
- * @returns HttpRule
16666
+ * @returns ResourceDescriptor
16646
16667
  * @throws {Error} If the payload is not a reader or valid buffer
16647
16668
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16648
16669
  */
16649
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
16670
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
16650
16671
 
16651
16672
  /**
16652
- * Verifies a HttpRule message.
16673
+ * Verifies a ResourceDescriptor message.
16653
16674
  * @param message Plain object to verify
16654
16675
  * @returns `null` if valid, otherwise the reason why it is not
16655
16676
  */
16656
16677
  public static verify(message: { [k: string]: any }): (string|null);
16657
16678
 
16658
16679
  /**
16659
- * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
16680
+ * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
16660
16681
  * @param object Plain object
16661
- * @returns HttpRule
16682
+ * @returns ResourceDescriptor
16662
16683
  */
16663
- public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
16684
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
16664
16685
 
16665
16686
  /**
16666
- * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
16667
- * @param message HttpRule
16687
+ * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
16688
+ * @param message ResourceDescriptor
16668
16689
  * @param [options] Conversion options
16669
16690
  * @returns Plain object
16670
16691
  */
16671
- public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
16692
+ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
16672
16693
 
16673
16694
  /**
16674
- * Converts this HttpRule to JSON.
16695
+ * Converts this ResourceDescriptor to JSON.
16675
16696
  * @returns JSON object
16676
16697
  */
16677
16698
  public toJSON(): { [k: string]: any };
16678
16699
  }
16679
16700
 
16680
- /** Properties of a CustomHttpPattern. */
16681
- interface ICustomHttpPattern {
16701
+ namespace ResourceDescriptor {
16682
16702
 
16683
- /** CustomHttpPattern kind */
16684
- kind?: (string|null);
16703
+ /** History enum. */
16704
+ enum History {
16705
+ HISTORY_UNSPECIFIED = 0,
16706
+ ORIGINALLY_SINGLE_PATTERN = 1,
16707
+ FUTURE_MULTI_PATTERN = 2
16708
+ }
16685
16709
 
16686
- /** CustomHttpPattern path */
16687
- path?: (string|null);
16710
+ /** Style enum. */
16711
+ enum Style {
16712
+ STYLE_UNSPECIFIED = 0,
16713
+ DECLARATIVE_FRIENDLY = 1
16714
+ }
16688
16715
  }
16689
16716
 
16690
- /** Represents a CustomHttpPattern. */
16691
- class CustomHttpPattern implements ICustomHttpPattern {
16717
+ /** Properties of a ResourceReference. */
16718
+ interface IResourceReference {
16719
+
16720
+ /** ResourceReference type */
16721
+ type?: (string|null);
16722
+
16723
+ /** ResourceReference childType */
16724
+ childType?: (string|null);
16725
+ }
16726
+
16727
+ /** Represents a ResourceReference. */
16728
+ class ResourceReference implements IResourceReference {
16692
16729
 
16693
16730
  /**
16694
- * Constructs a new CustomHttpPattern.
16731
+ * Constructs a new ResourceReference.
16695
16732
  * @param [properties] Properties to set
16696
16733
  */
16697
- constructor(properties?: google.api.ICustomHttpPattern);
16734
+ constructor(properties?: google.api.IResourceReference);
16698
16735
 
16699
- /** CustomHttpPattern kind. */
16700
- public kind: string;
16736
+ /** ResourceReference type. */
16737
+ public type: string;
16701
16738
 
16702
- /** CustomHttpPattern path. */
16703
- public path: string;
16739
+ /** ResourceReference childType. */
16740
+ public childType: string;
16704
16741
 
16705
16742
  /**
16706
- * Creates a new CustomHttpPattern instance using the specified properties.
16743
+ * Creates a new ResourceReference instance using the specified properties.
16707
16744
  * @param [properties] Properties to set
16708
- * @returns CustomHttpPattern instance
16745
+ * @returns ResourceReference instance
16709
16746
  */
16710
- public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
16747
+ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
16711
16748
 
16712
16749
  /**
16713
- * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
16714
- * @param message CustomHttpPattern message or plain object to encode
16750
+ * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
16751
+ * @param message ResourceReference message or plain object to encode
16715
16752
  * @param [writer] Writer to encode to
16716
16753
  * @returns Writer
16717
16754
  */
16718
- public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
16755
+ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
16719
16756
 
16720
16757
  /**
16721
- * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
16722
- * @param message CustomHttpPattern message or plain object to encode
16758
+ * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
16759
+ * @param message ResourceReference message or plain object to encode
16723
16760
  * @param [writer] Writer to encode to
16724
16761
  * @returns Writer
16725
16762
  */
16726
- public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
16763
+ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
16727
16764
 
16728
16765
  /**
16729
- * Decodes a CustomHttpPattern message from the specified reader or buffer.
16766
+ * Decodes a ResourceReference message from the specified reader or buffer.
16730
16767
  * @param reader Reader or buffer to decode from
16731
16768
  * @param [length] Message length if known beforehand
16732
- * @returns CustomHttpPattern
16769
+ * @returns ResourceReference
16733
16770
  * @throws {Error} If the payload is not a reader or valid buffer
16734
16771
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16735
16772
  */
16736
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
16773
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
16737
16774
 
16738
16775
  /**
16739
- * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
16776
+ * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
16740
16777
  * @param reader Reader or buffer to decode from
16741
- * @returns CustomHttpPattern
16778
+ * @returns ResourceReference
16742
16779
  * @throws {Error} If the payload is not a reader or valid buffer
16743
16780
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
16744
16781
  */
16745
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
16782
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
16746
16783
 
16747
16784
  /**
16748
- * Verifies a CustomHttpPattern message.
16785
+ * Verifies a ResourceReference message.
16749
16786
  * @param message Plain object to verify
16750
16787
  * @returns `null` if valid, otherwise the reason why it is not
16751
16788
  */
16752
16789
  public static verify(message: { [k: string]: any }): (string|null);
16753
16790
 
16754
16791
  /**
16755
- * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
16792
+ * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
16756
16793
  * @param object Plain object
16757
- * @returns CustomHttpPattern
16794
+ * @returns ResourceReference
16758
16795
  */
16759
- public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
16796
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
16760
16797
 
16761
16798
  /**
16762
- * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
16763
- * @param message CustomHttpPattern
16799
+ * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
16800
+ * @param message ResourceReference
16764
16801
  * @param [options] Conversion options
16765
16802
  * @returns Plain object
16766
16803
  */
16767
- public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
16804
+ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
16768
16805
 
16769
16806
  /**
16770
- * Converts this CustomHttpPattern to JSON.
16807
+ * Converts this ResourceReference to JSON.
16771
16808
  * @returns JSON object
16772
16809
  */
16773
16810
  public toJSON(): { [k: string]: any };
@@ -16871,35 +16908,35 @@ export namespace google {
16871
16908
  namespace Operations {
16872
16909
 
16873
16910
  /**
16874
- * Callback as used by {@link google.longrunning.Operations#listOperations}.
16911
+ * Callback as used by {@link google.longrunning.Operations|listOperations}.
16875
16912
  * @param error Error, if any
16876
16913
  * @param [response] ListOperationsResponse
16877
16914
  */
16878
16915
  type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
16879
16916
 
16880
16917
  /**
16881
- * Callback as used by {@link google.longrunning.Operations#getOperation}.
16918
+ * Callback as used by {@link google.longrunning.Operations|getOperation}.
16882
16919
  * @param error Error, if any
16883
16920
  * @param [response] Operation
16884
16921
  */
16885
16922
  type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
16886
16923
 
16887
16924
  /**
16888
- * Callback as used by {@link google.longrunning.Operations#deleteOperation}.
16925
+ * Callback as used by {@link google.longrunning.Operations|deleteOperation}.
16889
16926
  * @param error Error, if any
16890
16927
  * @param [response] Empty
16891
16928
  */
16892
16929
  type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
16893
16930
 
16894
16931
  /**
16895
- * Callback as used by {@link google.longrunning.Operations#cancelOperation}.
16932
+ * Callback as used by {@link google.longrunning.Operations|cancelOperation}.
16896
16933
  * @param error Error, if any
16897
16934
  * @param [response] Empty
16898
16935
  */
16899
16936
  type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
16900
16937
 
16901
16938
  /**
16902
- * Callback as used by {@link google.longrunning.Operations#waitOperation}.
16939
+ * Callback as used by {@link google.longrunning.Operations|waitOperation}.
16903
16940
  * @param error Error, if any
16904
16941
  * @param [response] Operation
16905
16942
  */
@@ -17762,21 +17799,21 @@ export namespace google {
17762
17799
  namespace IAMPolicy {
17763
17800
 
17764
17801
  /**
17765
- * Callback as used by {@link google.iam.v1.IAMPolicy#setIamPolicy}.
17802
+ * Callback as used by {@link google.iam.v1.IAMPolicy|setIamPolicy}.
17766
17803
  * @param error Error, if any
17767
17804
  * @param [response] Policy
17768
17805
  */
17769
17806
  type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
17770
17807
 
17771
17808
  /**
17772
- * Callback as used by {@link google.iam.v1.IAMPolicy#getIamPolicy}.
17809
+ * Callback as used by {@link google.iam.v1.IAMPolicy|getIamPolicy}.
17773
17810
  * @param error Error, if any
17774
17811
  * @param [response] Policy
17775
17812
  */
17776
17813
  type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
17777
17814
 
17778
17815
  /**
17779
- * Callback as used by {@link google.iam.v1.IAMPolicy#testIamPermissions}.
17816
+ * Callback as used by {@link google.iam.v1.IAMPolicy|testIamPermissions}.
17780
17817
  * @param error Error, if any
17781
17818
  * @param [response] TestIamPermissionsResponse
17782
17819
  */