@google-cloud/spanner 7.1.0 → 7.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.
- package/CHANGELOG.md +29 -0
- package/README.md +1 -0
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +40 -0
- package/build/protos/google/spanner/v1/spanner.proto +13 -3
- package/build/protos/google/spanner/v1/type.proto +18 -0
- package/build/protos/protos.d.ts +287 -30
- package/build/protos/protos.js +1134 -120
- package/build/protos/protos.json +116 -36
- package/build/src/common-grpc/service.js +2 -2
- package/build/src/index.d.ts +5 -0
- package/build/src/index.js +7 -1
- package/build/src/session-pool.js +2 -0
- package/build/src/transaction.d.ts +17 -1
- package/build/src/transaction.js +29 -2
- package/build/src/v1/database_admin_client.d.ts +42 -2
- package/build/src/v1/database_admin_client.js +37 -10
- package/build/src/v1/instance_admin_client.d.ts +11 -2
- package/build/src/v1/instance_admin_client.js +37 -10
- package/build/src/v1/spanner_client.d.ts +21 -5
- package/build/src/v1/spanner_client.js +43 -13
- package/package.json +11 -11
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -220,6 +220,21 @@ export namespace google {
|
|
|
220
220
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
+
/** Edition enum. */
|
|
224
|
+
enum Edition {
|
|
225
|
+
EDITION_UNKNOWN = 0,
|
|
226
|
+
EDITION_PROTO2 = 998,
|
|
227
|
+
EDITION_PROTO3 = 999,
|
|
228
|
+
EDITION_2023 = 1000,
|
|
229
|
+
EDITION_2024 = 1001,
|
|
230
|
+
EDITION_1_TEST_ONLY = 1,
|
|
231
|
+
EDITION_2_TEST_ONLY = 2,
|
|
232
|
+
EDITION_99997_TEST_ONLY = 99997,
|
|
233
|
+
EDITION_99998_TEST_ONLY = 99998,
|
|
234
|
+
EDITION_99999_TEST_ONLY = 99999,
|
|
235
|
+
EDITION_MAX = 2147483647
|
|
236
|
+
}
|
|
237
|
+
|
|
223
238
|
/** Properties of a FileDescriptorProto. */
|
|
224
239
|
interface IFileDescriptorProto {
|
|
225
240
|
|
|
@@ -260,7 +275,7 @@ export namespace google {
|
|
|
260
275
|
syntax?: (string|null);
|
|
261
276
|
|
|
262
277
|
/** FileDescriptorProto edition */
|
|
263
|
-
edition?: (
|
|
278
|
+
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
264
279
|
}
|
|
265
280
|
|
|
266
281
|
/** Represents a FileDescriptorProto. */
|
|
@@ -309,7 +324,7 @@ export namespace google {
|
|
|
309
324
|
public syntax: string;
|
|
310
325
|
|
|
311
326
|
/** FileDescriptorProto edition. */
|
|
312
|
-
public edition:
|
|
327
|
+
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
313
328
|
|
|
314
329
|
/**
|
|
315
330
|
* Creates a new FileDescriptorProto instance using the specified properties.
|
|
@@ -1184,8 +1199,8 @@ export namespace google {
|
|
|
1184
1199
|
/** Label enum. */
|
|
1185
1200
|
enum Label {
|
|
1186
1201
|
LABEL_OPTIONAL = 1,
|
|
1187
|
-
|
|
1188
|
-
|
|
1202
|
+
LABEL_REPEATED = 3,
|
|
1203
|
+
LABEL_REQUIRED = 2
|
|
1189
1204
|
}
|
|
1190
1205
|
}
|
|
1191
1206
|
|
|
@@ -1897,9 +1912,6 @@ export namespace google {
|
|
|
1897
1912
|
/** FileOptions pyGenericServices */
|
|
1898
1913
|
pyGenericServices?: (boolean|null);
|
|
1899
1914
|
|
|
1900
|
-
/** FileOptions phpGenericServices */
|
|
1901
|
-
phpGenericServices?: (boolean|null);
|
|
1902
|
-
|
|
1903
1915
|
/** FileOptions deprecated */
|
|
1904
1916
|
deprecated?: (boolean|null);
|
|
1905
1917
|
|
|
@@ -1976,9 +1988,6 @@ export namespace google {
|
|
|
1976
1988
|
/** FileOptions pyGenericServices. */
|
|
1977
1989
|
public pyGenericServices: boolean;
|
|
1978
1990
|
|
|
1979
|
-
/** FileOptions phpGenericServices. */
|
|
1980
|
-
public phpGenericServices: boolean;
|
|
1981
|
-
|
|
1982
1991
|
/** FileOptions deprecated. */
|
|
1983
1992
|
public deprecated: boolean;
|
|
1984
1993
|
|
|
@@ -2452,7 +2461,7 @@ export namespace google {
|
|
|
2452
2461
|
interface IEditionDefault {
|
|
2453
2462
|
|
|
2454
2463
|
/** EditionDefault edition */
|
|
2455
|
-
edition?: (
|
|
2464
|
+
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
2456
2465
|
|
|
2457
2466
|
/** EditionDefault value */
|
|
2458
2467
|
value?: (string|null);
|
|
@@ -2468,7 +2477,7 @@ export namespace google {
|
|
|
2468
2477
|
constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
|
|
2469
2478
|
|
|
2470
2479
|
/** EditionDefault edition. */
|
|
2471
|
-
public edition:
|
|
2480
|
+
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
2472
2481
|
|
|
2473
2482
|
/** EditionDefault value. */
|
|
2474
2483
|
public value: string;
|
|
@@ -3391,17 +3400,14 @@ export namespace google {
|
|
|
3391
3400
|
/** FeatureSet repeatedFieldEncoding */
|
|
3392
3401
|
repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
|
|
3393
3402
|
|
|
3394
|
-
/** FeatureSet
|
|
3395
|
-
|
|
3403
|
+
/** FeatureSet utf8Validation */
|
|
3404
|
+
utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation|null);
|
|
3396
3405
|
|
|
3397
3406
|
/** FeatureSet messageEncoding */
|
|
3398
3407
|
messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
|
|
3399
3408
|
|
|
3400
3409
|
/** FeatureSet jsonFormat */
|
|
3401
3410
|
jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
|
|
3402
|
-
|
|
3403
|
-
/** FeatureSet rawFeatures */
|
|
3404
|
-
rawFeatures?: (google.protobuf.IFeatureSet|null);
|
|
3405
3411
|
}
|
|
3406
3412
|
|
|
3407
3413
|
/** Represents a FeatureSet. */
|
|
@@ -3422,8 +3428,8 @@ export namespace google {
|
|
|
3422
3428
|
/** FeatureSet repeatedFieldEncoding. */
|
|
3423
3429
|
public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
|
|
3424
3430
|
|
|
3425
|
-
/** FeatureSet
|
|
3426
|
-
public
|
|
3431
|
+
/** FeatureSet utf8Validation. */
|
|
3432
|
+
public utf8Validation: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation);
|
|
3427
3433
|
|
|
3428
3434
|
/** FeatureSet messageEncoding. */
|
|
3429
3435
|
public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
|
|
@@ -3431,9 +3437,6 @@ export namespace google {
|
|
|
3431
3437
|
/** FeatureSet jsonFormat. */
|
|
3432
3438
|
public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
|
|
3433
3439
|
|
|
3434
|
-
/** FeatureSet rawFeatures. */
|
|
3435
|
-
public rawFeatures?: (google.protobuf.IFeatureSet|null);
|
|
3436
|
-
|
|
3437
3440
|
/**
|
|
3438
3441
|
* Creates a new FeatureSet instance using the specified properties.
|
|
3439
3442
|
* @param [properties] Properties to set
|
|
@@ -3536,11 +3539,10 @@ export namespace google {
|
|
|
3536
3539
|
EXPANDED = 2
|
|
3537
3540
|
}
|
|
3538
3541
|
|
|
3539
|
-
/**
|
|
3540
|
-
enum
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
HINT = 2,
|
|
3542
|
+
/** Utf8Validation enum. */
|
|
3543
|
+
enum Utf8Validation {
|
|
3544
|
+
UTF8_VALIDATION_UNKNOWN = 0,
|
|
3545
|
+
VERIFY = 2,
|
|
3544
3546
|
NONE = 3
|
|
3545
3547
|
}
|
|
3546
3548
|
|
|
@@ -3559,6 +3561,221 @@ export namespace google {
|
|
|
3559
3561
|
}
|
|
3560
3562
|
}
|
|
3561
3563
|
|
|
3564
|
+
/** Properties of a FeatureSetDefaults. */
|
|
3565
|
+
interface IFeatureSetDefaults {
|
|
3566
|
+
|
|
3567
|
+
/** FeatureSetDefaults defaults */
|
|
3568
|
+
defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null);
|
|
3569
|
+
|
|
3570
|
+
/** FeatureSetDefaults minimumEdition */
|
|
3571
|
+
minimumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
3572
|
+
|
|
3573
|
+
/** FeatureSetDefaults maximumEdition */
|
|
3574
|
+
maximumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
3575
|
+
}
|
|
3576
|
+
|
|
3577
|
+
/** Represents a FeatureSetDefaults. */
|
|
3578
|
+
class FeatureSetDefaults implements IFeatureSetDefaults {
|
|
3579
|
+
|
|
3580
|
+
/**
|
|
3581
|
+
* Constructs a new FeatureSetDefaults.
|
|
3582
|
+
* @param [properties] Properties to set
|
|
3583
|
+
*/
|
|
3584
|
+
constructor(properties?: google.protobuf.IFeatureSetDefaults);
|
|
3585
|
+
|
|
3586
|
+
/** FeatureSetDefaults defaults. */
|
|
3587
|
+
public defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[];
|
|
3588
|
+
|
|
3589
|
+
/** FeatureSetDefaults minimumEdition. */
|
|
3590
|
+
public minimumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
3591
|
+
|
|
3592
|
+
/** FeatureSetDefaults maximumEdition. */
|
|
3593
|
+
public maximumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
3594
|
+
|
|
3595
|
+
/**
|
|
3596
|
+
* Creates a new FeatureSetDefaults instance using the specified properties.
|
|
3597
|
+
* @param [properties] Properties to set
|
|
3598
|
+
* @returns FeatureSetDefaults instance
|
|
3599
|
+
*/
|
|
3600
|
+
public static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults;
|
|
3601
|
+
|
|
3602
|
+
/**
|
|
3603
|
+
* Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
|
|
3604
|
+
* @param message FeatureSetDefaults message or plain object to encode
|
|
3605
|
+
* @param [writer] Writer to encode to
|
|
3606
|
+
* @returns Writer
|
|
3607
|
+
*/
|
|
3608
|
+
public static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3609
|
+
|
|
3610
|
+
/**
|
|
3611
|
+
* Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
|
|
3612
|
+
* @param message FeatureSetDefaults message or plain object to encode
|
|
3613
|
+
* @param [writer] Writer to encode to
|
|
3614
|
+
* @returns Writer
|
|
3615
|
+
*/
|
|
3616
|
+
public static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3617
|
+
|
|
3618
|
+
/**
|
|
3619
|
+
* Decodes a FeatureSetDefaults message from the specified reader or buffer.
|
|
3620
|
+
* @param reader Reader or buffer to decode from
|
|
3621
|
+
* @param [length] Message length if known beforehand
|
|
3622
|
+
* @returns FeatureSetDefaults
|
|
3623
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3624
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3625
|
+
*/
|
|
3626
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults;
|
|
3627
|
+
|
|
3628
|
+
/**
|
|
3629
|
+
* Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
|
|
3630
|
+
* @param reader Reader or buffer to decode from
|
|
3631
|
+
* @returns FeatureSetDefaults
|
|
3632
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3633
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3634
|
+
*/
|
|
3635
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults;
|
|
3636
|
+
|
|
3637
|
+
/**
|
|
3638
|
+
* Verifies a FeatureSetDefaults message.
|
|
3639
|
+
* @param message Plain object to verify
|
|
3640
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3641
|
+
*/
|
|
3642
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3643
|
+
|
|
3644
|
+
/**
|
|
3645
|
+
* Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
|
|
3646
|
+
* @param object Plain object
|
|
3647
|
+
* @returns FeatureSetDefaults
|
|
3648
|
+
*/
|
|
3649
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults;
|
|
3650
|
+
|
|
3651
|
+
/**
|
|
3652
|
+
* Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
|
|
3653
|
+
* @param message FeatureSetDefaults
|
|
3654
|
+
* @param [options] Conversion options
|
|
3655
|
+
* @returns Plain object
|
|
3656
|
+
*/
|
|
3657
|
+
public static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3658
|
+
|
|
3659
|
+
/**
|
|
3660
|
+
* Converts this FeatureSetDefaults to JSON.
|
|
3661
|
+
* @returns JSON object
|
|
3662
|
+
*/
|
|
3663
|
+
public toJSON(): { [k: string]: any };
|
|
3664
|
+
|
|
3665
|
+
/**
|
|
3666
|
+
* Gets the default type url for FeatureSetDefaults
|
|
3667
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3668
|
+
* @returns The default type url
|
|
3669
|
+
*/
|
|
3670
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3671
|
+
}
|
|
3672
|
+
|
|
3673
|
+
namespace FeatureSetDefaults {
|
|
3674
|
+
|
|
3675
|
+
/** Properties of a FeatureSetEditionDefault. */
|
|
3676
|
+
interface IFeatureSetEditionDefault {
|
|
3677
|
+
|
|
3678
|
+
/** FeatureSetEditionDefault edition */
|
|
3679
|
+
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
3680
|
+
|
|
3681
|
+
/** FeatureSetEditionDefault features */
|
|
3682
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
3683
|
+
}
|
|
3684
|
+
|
|
3685
|
+
/** Represents a FeatureSetEditionDefault. */
|
|
3686
|
+
class FeatureSetEditionDefault implements IFeatureSetEditionDefault {
|
|
3687
|
+
|
|
3688
|
+
/**
|
|
3689
|
+
* Constructs a new FeatureSetEditionDefault.
|
|
3690
|
+
* @param [properties] Properties to set
|
|
3691
|
+
*/
|
|
3692
|
+
constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault);
|
|
3693
|
+
|
|
3694
|
+
/** FeatureSetEditionDefault edition. */
|
|
3695
|
+
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
3696
|
+
|
|
3697
|
+
/** FeatureSetEditionDefault features. */
|
|
3698
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
3699
|
+
|
|
3700
|
+
/**
|
|
3701
|
+
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
3702
|
+
* @param [properties] Properties to set
|
|
3703
|
+
* @returns FeatureSetEditionDefault instance
|
|
3704
|
+
*/
|
|
3705
|
+
public static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
3706
|
+
|
|
3707
|
+
/**
|
|
3708
|
+
* Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
|
|
3709
|
+
* @param message FeatureSetEditionDefault message or plain object to encode
|
|
3710
|
+
* @param [writer] Writer to encode to
|
|
3711
|
+
* @returns Writer
|
|
3712
|
+
*/
|
|
3713
|
+
public static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3714
|
+
|
|
3715
|
+
/**
|
|
3716
|
+
* Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
|
|
3717
|
+
* @param message FeatureSetEditionDefault message or plain object to encode
|
|
3718
|
+
* @param [writer] Writer to encode to
|
|
3719
|
+
* @returns Writer
|
|
3720
|
+
*/
|
|
3721
|
+
public static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
|
|
3725
|
+
* @param reader Reader or buffer to decode from
|
|
3726
|
+
* @param [length] Message length if known beforehand
|
|
3727
|
+
* @returns FeatureSetEditionDefault
|
|
3728
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3729
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3730
|
+
*/
|
|
3731
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
3732
|
+
|
|
3733
|
+
/**
|
|
3734
|
+
* Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
|
|
3735
|
+
* @param reader Reader or buffer to decode from
|
|
3736
|
+
* @returns FeatureSetEditionDefault
|
|
3737
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3738
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3739
|
+
*/
|
|
3740
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
3741
|
+
|
|
3742
|
+
/**
|
|
3743
|
+
* Verifies a FeatureSetEditionDefault message.
|
|
3744
|
+
* @param message Plain object to verify
|
|
3745
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3746
|
+
*/
|
|
3747
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3748
|
+
|
|
3749
|
+
/**
|
|
3750
|
+
* Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
|
|
3751
|
+
* @param object Plain object
|
|
3752
|
+
* @returns FeatureSetEditionDefault
|
|
3753
|
+
*/
|
|
3754
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
3755
|
+
|
|
3756
|
+
/**
|
|
3757
|
+
* Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
|
|
3758
|
+
* @param message FeatureSetEditionDefault
|
|
3759
|
+
* @param [options] Conversion options
|
|
3760
|
+
* @returns Plain object
|
|
3761
|
+
*/
|
|
3762
|
+
public static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3763
|
+
|
|
3764
|
+
/**
|
|
3765
|
+
* Converts this FeatureSetEditionDefault to JSON.
|
|
3766
|
+
* @returns JSON object
|
|
3767
|
+
*/
|
|
3768
|
+
public toJSON(): { [k: string]: any };
|
|
3769
|
+
|
|
3770
|
+
/**
|
|
3771
|
+
* Gets the default type url for FeatureSetEditionDefault
|
|
3772
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3773
|
+
* @returns The default type url
|
|
3774
|
+
*/
|
|
3775
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3776
|
+
}
|
|
3777
|
+
}
|
|
3778
|
+
|
|
3562
3779
|
/** Properties of a SourceCodeInfo. */
|
|
3563
3780
|
interface ISourceCodeInfo {
|
|
3564
3781
|
|
|
@@ -9308,6 +9525,9 @@ export namespace google {
|
|
|
9308
9525
|
|
|
9309
9526
|
/** CreateDatabaseRequest databaseDialect */
|
|
9310
9527
|
databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
|
|
9528
|
+
|
|
9529
|
+
/** CreateDatabaseRequest protoDescriptors */
|
|
9530
|
+
protoDescriptors?: (Uint8Array|string|null);
|
|
9311
9531
|
}
|
|
9312
9532
|
|
|
9313
9533
|
/** Represents a CreateDatabaseRequest. */
|
|
@@ -9334,6 +9554,9 @@ export namespace google {
|
|
|
9334
9554
|
/** CreateDatabaseRequest databaseDialect. */
|
|
9335
9555
|
public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
|
|
9336
9556
|
|
|
9557
|
+
/** CreateDatabaseRequest protoDescriptors. */
|
|
9558
|
+
public protoDescriptors: (Uint8Array|string);
|
|
9559
|
+
|
|
9337
9560
|
/**
|
|
9338
9561
|
* Creates a new CreateDatabaseRequest instance using the specified properties.
|
|
9339
9562
|
* @param [properties] Properties to set
|
|
@@ -9829,6 +10052,9 @@ export namespace google {
|
|
|
9829
10052
|
|
|
9830
10053
|
/** UpdateDatabaseDdlRequest operationId */
|
|
9831
10054
|
operationId?: (string|null);
|
|
10055
|
+
|
|
10056
|
+
/** UpdateDatabaseDdlRequest protoDescriptors */
|
|
10057
|
+
protoDescriptors?: (Uint8Array|string|null);
|
|
9832
10058
|
}
|
|
9833
10059
|
|
|
9834
10060
|
/** Represents an UpdateDatabaseDdlRequest. */
|
|
@@ -9849,6 +10075,9 @@ export namespace google {
|
|
|
9849
10075
|
/** UpdateDatabaseDdlRequest operationId. */
|
|
9850
10076
|
public operationId: string;
|
|
9851
10077
|
|
|
10078
|
+
/** UpdateDatabaseDdlRequest protoDescriptors. */
|
|
10079
|
+
public protoDescriptors: (Uint8Array|string);
|
|
10080
|
+
|
|
9852
10081
|
/**
|
|
9853
10082
|
* Creates a new UpdateDatabaseDdlRequest instance using the specified properties.
|
|
9854
10083
|
* @param [properties] Properties to set
|
|
@@ -10362,6 +10591,9 @@ export namespace google {
|
|
|
10362
10591
|
|
|
10363
10592
|
/** GetDatabaseDdlResponse statements */
|
|
10364
10593
|
statements?: (string[]|null);
|
|
10594
|
+
|
|
10595
|
+
/** GetDatabaseDdlResponse protoDescriptors */
|
|
10596
|
+
protoDescriptors?: (Uint8Array|string|null);
|
|
10365
10597
|
}
|
|
10366
10598
|
|
|
10367
10599
|
/** Represents a GetDatabaseDdlResponse. */
|
|
@@ -10376,6 +10608,9 @@ export namespace google {
|
|
|
10376
10608
|
/** GetDatabaseDdlResponse statements. */
|
|
10377
10609
|
public statements: string[];
|
|
10378
10610
|
|
|
10611
|
+
/** GetDatabaseDdlResponse protoDescriptors. */
|
|
10612
|
+
public protoDescriptors: (Uint8Array|string);
|
|
10613
|
+
|
|
10379
10614
|
/**
|
|
10380
10615
|
* Creates a new GetDatabaseDdlResponse instance using the specified properties.
|
|
10381
10616
|
* @param [properties] Properties to set
|
|
@@ -16975,6 +17210,9 @@ export namespace google {
|
|
|
16975
17210
|
|
|
16976
17211
|
/** Type typeAnnotation */
|
|
16977
17212
|
typeAnnotation?: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode|null);
|
|
17213
|
+
|
|
17214
|
+
/** Type protoTypeFqn */
|
|
17215
|
+
protoTypeFqn?: (string|null);
|
|
16978
17216
|
}
|
|
16979
17217
|
|
|
16980
17218
|
/** Represents a Type. */
|
|
@@ -16998,6 +17236,9 @@ export namespace google {
|
|
|
16998
17236
|
/** Type typeAnnotation. */
|
|
16999
17237
|
public typeAnnotation: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode);
|
|
17000
17238
|
|
|
17239
|
+
/** Type protoTypeFqn. */
|
|
17240
|
+
public protoTypeFqn: string;
|
|
17241
|
+
|
|
17001
17242
|
/**
|
|
17002
17243
|
* Creates a new Type instance using the specified properties.
|
|
17003
17244
|
* @param [properties] Properties to set
|
|
@@ -17285,6 +17526,7 @@ export namespace google {
|
|
|
17285
17526
|
BOOL = 1,
|
|
17286
17527
|
INT64 = 2,
|
|
17287
17528
|
FLOAT64 = 3,
|
|
17529
|
+
FLOAT32 = 15,
|
|
17288
17530
|
TIMESTAMP = 4,
|
|
17289
17531
|
DATE = 5,
|
|
17290
17532
|
STRING = 6,
|
|
@@ -17292,7 +17534,9 @@ export namespace google {
|
|
|
17292
17534
|
ARRAY = 8,
|
|
17293
17535
|
STRUCT = 9,
|
|
17294
17536
|
NUMERIC = 10,
|
|
17295
|
-
JSON = 11
|
|
17537
|
+
JSON = 11,
|
|
17538
|
+
PROTO = 13,
|
|
17539
|
+
ENUM = 14
|
|
17296
17540
|
}
|
|
17297
17541
|
|
|
17298
17542
|
/** TypeAnnotationCode enum. */
|
|
@@ -20518,6 +20762,9 @@ export namespace google {
|
|
|
20518
20762
|
/** CommitRequest returnCommitStats */
|
|
20519
20763
|
returnCommitStats?: (boolean|null);
|
|
20520
20764
|
|
|
20765
|
+
/** CommitRequest maxCommitDelay */
|
|
20766
|
+
maxCommitDelay?: (google.protobuf.IDuration|null);
|
|
20767
|
+
|
|
20521
20768
|
/** CommitRequest requestOptions */
|
|
20522
20769
|
requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
20523
20770
|
}
|
|
@@ -20546,6 +20793,9 @@ export namespace google {
|
|
|
20546
20793
|
/** CommitRequest returnCommitStats. */
|
|
20547
20794
|
public returnCommitStats: boolean;
|
|
20548
20795
|
|
|
20796
|
+
/** CommitRequest maxCommitDelay. */
|
|
20797
|
+
public maxCommitDelay?: (google.protobuf.IDuration|null);
|
|
20798
|
+
|
|
20549
20799
|
/** CommitRequest requestOptions. */
|
|
20550
20800
|
public requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
20551
20801
|
|
|
@@ -21065,7 +21315,8 @@ export namespace google {
|
|
|
21065
21315
|
INPUT_ONLY = 4,
|
|
21066
21316
|
IMMUTABLE = 5,
|
|
21067
21317
|
UNORDERED_LIST = 6,
|
|
21068
|
-
NON_EMPTY_DEFAULT = 7
|
|
21318
|
+
NON_EMPTY_DEFAULT = 7,
|
|
21319
|
+
IDENTIFIER = 8
|
|
21069
21320
|
}
|
|
21070
21321
|
|
|
21071
21322
|
/** Properties of a ResourceDescriptor. */
|
|
@@ -22917,6 +23168,9 @@ export namespace google {
|
|
|
22917
23168
|
|
|
22918
23169
|
/** MethodSettings longRunning */
|
|
22919
23170
|
longRunning?: (google.api.MethodSettings.ILongRunning|null);
|
|
23171
|
+
|
|
23172
|
+
/** MethodSettings autoPopulatedFields */
|
|
23173
|
+
autoPopulatedFields?: (string[]|null);
|
|
22920
23174
|
}
|
|
22921
23175
|
|
|
22922
23176
|
/** Represents a MethodSettings. */
|
|
@@ -22934,6 +23188,9 @@ export namespace google {
|
|
|
22934
23188
|
/** MethodSettings longRunning. */
|
|
22935
23189
|
public longRunning?: (google.api.MethodSettings.ILongRunning|null);
|
|
22936
23190
|
|
|
23191
|
+
/** MethodSettings autoPopulatedFields. */
|
|
23192
|
+
public autoPopulatedFields: string[];
|
|
23193
|
+
|
|
22937
23194
|
/**
|
|
22938
23195
|
* Creates a new MethodSettings instance using the specified properties.
|
|
22939
23196
|
* @param [properties] Properties to set
|