@google-cloud/spanner 5.17.0 → 6.1.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 +53 -0
- package/README.md +16 -0
- package/build/protos/google/spanner/admin/database/v1/backup.proto +174 -9
- package/build/protos/google/spanner/admin/database/v1/common.proto +1 -2
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +27 -2
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +22 -10
- package/build/protos/google/spanner/v1/commit_response.proto +1 -3
- package/build/protos/google/spanner/v1/keys.proto +1 -2
- package/build/protos/google/spanner/v1/mutation.proto +1 -2
- package/build/protos/google/spanner/v1/query_plan.proto +1 -2
- package/build/protos/google/spanner/v1/result_set.proto +1 -3
- package/build/protos/google/spanner/v1/spanner.proto +4 -1
- package/build/protos/google/spanner/v1/transaction.proto +73 -22
- package/build/protos/google/spanner/v1/type.proto +1 -2
- package/build/protos/protos.d.ts +883 -282
- package/build/protos/protos.js +2447 -880
- package/build/protos/protos.json +297 -87
- package/build/src/backup.d.ts +27 -5
- package/build/src/backup.js +62 -31
- package/build/src/batch-transaction.js +1 -1
- package/build/src/codec.d.ts +12 -1
- package/build/src/codec.js +44 -13
- package/build/src/common-grpc/service-object.js +1 -1
- package/build/src/common-grpc/service.js +2 -2
- package/build/src/database.d.ts +26 -6
- package/build/src/database.js +8 -8
- package/build/src/index.d.ts +18 -3
- package/build/src/index.js +26 -7
- package/build/src/instance.d.ts +41 -1
- package/build/src/instance.js +56 -2
- package/build/src/session-pool.d.ts +1 -0
- package/build/src/session-pool.js +46 -46
- package/build/src/session.js +1 -1
- package/build/src/table.d.ts +5 -1
- package/build/src/table.js +1 -1
- package/build/src/transaction-runner.js +3 -3
- package/build/src/transaction.d.ts +10 -2
- package/build/src/transaction.js +12 -12
- package/build/src/v1/database_admin_client.d.ts +267 -30
- package/build/src/v1/database_admin_client.js +148 -13
- package/build/src/v1/database_admin_client_config.json +5 -0
- package/build/src/v1/index.js +1 -0
- package/build/src/v1/instance_admin_client.d.ts +63 -18
- package/build/src/v1/instance_admin_client.js +42 -9
- package/build/src/v1/spanner_client.d.ts +70 -19
- package/build/src/v1/spanner_client.js +7 -8
- package/package.json +12 -12
package/build/protos/protos.d.ts
CHANGED
|
@@ -1967,6 +1967,9 @@ export namespace google {
|
|
|
1967
1967
|
/** FieldOptions lazy */
|
|
1968
1968
|
lazy?: (boolean|null);
|
|
1969
1969
|
|
|
1970
|
+
/** FieldOptions unverifiedLazy */
|
|
1971
|
+
unverifiedLazy?: (boolean|null);
|
|
1972
|
+
|
|
1970
1973
|
/** FieldOptions deprecated */
|
|
1971
1974
|
deprecated?: (boolean|null);
|
|
1972
1975
|
|
|
@@ -2004,6 +2007,9 @@ export namespace google {
|
|
|
2004
2007
|
/** FieldOptions lazy. */
|
|
2005
2008
|
public lazy: boolean;
|
|
2006
2009
|
|
|
2010
|
+
/** FieldOptions unverifiedLazy. */
|
|
2011
|
+
public unverifiedLazy: boolean;
|
|
2012
|
+
|
|
2007
2013
|
/** FieldOptions deprecated. */
|
|
2008
2014
|
public deprecated: boolean;
|
|
2009
2015
|
|
|
@@ -5420,6 +5426,12 @@ export namespace google {
|
|
|
5420
5426
|
|
|
5421
5427
|
/** Backup databaseDialect */
|
|
5422
5428
|
databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
|
|
5429
|
+
|
|
5430
|
+
/** Backup referencingBackups */
|
|
5431
|
+
referencingBackups?: (string[]|null);
|
|
5432
|
+
|
|
5433
|
+
/** Backup maxExpireTime */
|
|
5434
|
+
maxExpireTime?: (google.protobuf.ITimestamp|null);
|
|
5423
5435
|
}
|
|
5424
5436
|
|
|
5425
5437
|
/** Represents a Backup. */
|
|
@@ -5461,6 +5473,12 @@ export namespace google {
|
|
|
5461
5473
|
/** Backup databaseDialect. */
|
|
5462
5474
|
public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
|
|
5463
5475
|
|
|
5476
|
+
/** Backup referencingBackups. */
|
|
5477
|
+
public referencingBackups: string[];
|
|
5478
|
+
|
|
5479
|
+
/** Backup maxExpireTime. */
|
|
5480
|
+
public maxExpireTime?: (google.protobuf.ITimestamp|null);
|
|
5481
|
+
|
|
5464
5482
|
/**
|
|
5465
5483
|
* Creates a new Backup instance using the specified properties.
|
|
5466
5484
|
* @param [properties] Properties to set
|
|
@@ -5758,6 +5776,228 @@ export namespace google {
|
|
|
5758
5776
|
public toJSON(): { [k: string]: any };
|
|
5759
5777
|
}
|
|
5760
5778
|
|
|
5779
|
+
/** Properties of a CopyBackupRequest. */
|
|
5780
|
+
interface ICopyBackupRequest {
|
|
5781
|
+
|
|
5782
|
+
/** CopyBackupRequest parent */
|
|
5783
|
+
parent?: (string|null);
|
|
5784
|
+
|
|
5785
|
+
/** CopyBackupRequest backupId */
|
|
5786
|
+
backupId?: (string|null);
|
|
5787
|
+
|
|
5788
|
+
/** CopyBackupRequest sourceBackup */
|
|
5789
|
+
sourceBackup?: (string|null);
|
|
5790
|
+
|
|
5791
|
+
/** CopyBackupRequest expireTime */
|
|
5792
|
+
expireTime?: (google.protobuf.ITimestamp|null);
|
|
5793
|
+
|
|
5794
|
+
/** CopyBackupRequest encryptionConfig */
|
|
5795
|
+
encryptionConfig?: (google.spanner.admin.database.v1.ICopyBackupEncryptionConfig|null);
|
|
5796
|
+
}
|
|
5797
|
+
|
|
5798
|
+
/** Represents a CopyBackupRequest. */
|
|
5799
|
+
class CopyBackupRequest implements ICopyBackupRequest {
|
|
5800
|
+
|
|
5801
|
+
/**
|
|
5802
|
+
* Constructs a new CopyBackupRequest.
|
|
5803
|
+
* @param [properties] Properties to set
|
|
5804
|
+
*/
|
|
5805
|
+
constructor(properties?: google.spanner.admin.database.v1.ICopyBackupRequest);
|
|
5806
|
+
|
|
5807
|
+
/** CopyBackupRequest parent. */
|
|
5808
|
+
public parent: string;
|
|
5809
|
+
|
|
5810
|
+
/** CopyBackupRequest backupId. */
|
|
5811
|
+
public backupId: string;
|
|
5812
|
+
|
|
5813
|
+
/** CopyBackupRequest sourceBackup. */
|
|
5814
|
+
public sourceBackup: string;
|
|
5815
|
+
|
|
5816
|
+
/** CopyBackupRequest expireTime. */
|
|
5817
|
+
public expireTime?: (google.protobuf.ITimestamp|null);
|
|
5818
|
+
|
|
5819
|
+
/** CopyBackupRequest encryptionConfig. */
|
|
5820
|
+
public encryptionConfig?: (google.spanner.admin.database.v1.ICopyBackupEncryptionConfig|null);
|
|
5821
|
+
|
|
5822
|
+
/**
|
|
5823
|
+
* Creates a new CopyBackupRequest instance using the specified properties.
|
|
5824
|
+
* @param [properties] Properties to set
|
|
5825
|
+
* @returns CopyBackupRequest instance
|
|
5826
|
+
*/
|
|
5827
|
+
public static create(properties?: google.spanner.admin.database.v1.ICopyBackupRequest): google.spanner.admin.database.v1.CopyBackupRequest;
|
|
5828
|
+
|
|
5829
|
+
/**
|
|
5830
|
+
* Encodes the specified CopyBackupRequest message. Does not implicitly {@link google.spanner.admin.database.v1.CopyBackupRequest.verify|verify} messages.
|
|
5831
|
+
* @param message CopyBackupRequest message or plain object to encode
|
|
5832
|
+
* @param [writer] Writer to encode to
|
|
5833
|
+
* @returns Writer
|
|
5834
|
+
*/
|
|
5835
|
+
public static encode(message: google.spanner.admin.database.v1.ICopyBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5836
|
+
|
|
5837
|
+
/**
|
|
5838
|
+
* Encodes the specified CopyBackupRequest message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.CopyBackupRequest.verify|verify} messages.
|
|
5839
|
+
* @param message CopyBackupRequest message or plain object to encode
|
|
5840
|
+
* @param [writer] Writer to encode to
|
|
5841
|
+
* @returns Writer
|
|
5842
|
+
*/
|
|
5843
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.ICopyBackupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5844
|
+
|
|
5845
|
+
/**
|
|
5846
|
+
* Decodes a CopyBackupRequest message from the specified reader or buffer.
|
|
5847
|
+
* @param reader Reader or buffer to decode from
|
|
5848
|
+
* @param [length] Message length if known beforehand
|
|
5849
|
+
* @returns CopyBackupRequest
|
|
5850
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5851
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5852
|
+
*/
|
|
5853
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.CopyBackupRequest;
|
|
5854
|
+
|
|
5855
|
+
/**
|
|
5856
|
+
* Decodes a CopyBackupRequest message from the specified reader or buffer, length delimited.
|
|
5857
|
+
* @param reader Reader or buffer to decode from
|
|
5858
|
+
* @returns CopyBackupRequest
|
|
5859
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5860
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5861
|
+
*/
|
|
5862
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.CopyBackupRequest;
|
|
5863
|
+
|
|
5864
|
+
/**
|
|
5865
|
+
* Verifies a CopyBackupRequest message.
|
|
5866
|
+
* @param message Plain object to verify
|
|
5867
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5868
|
+
*/
|
|
5869
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5870
|
+
|
|
5871
|
+
/**
|
|
5872
|
+
* Creates a CopyBackupRequest message from a plain object. Also converts values to their respective internal types.
|
|
5873
|
+
* @param object Plain object
|
|
5874
|
+
* @returns CopyBackupRequest
|
|
5875
|
+
*/
|
|
5876
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.CopyBackupRequest;
|
|
5877
|
+
|
|
5878
|
+
/**
|
|
5879
|
+
* Creates a plain object from a CopyBackupRequest message. Also converts values to other types if specified.
|
|
5880
|
+
* @param message CopyBackupRequest
|
|
5881
|
+
* @param [options] Conversion options
|
|
5882
|
+
* @returns Plain object
|
|
5883
|
+
*/
|
|
5884
|
+
public static toObject(message: google.spanner.admin.database.v1.CopyBackupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5885
|
+
|
|
5886
|
+
/**
|
|
5887
|
+
* Converts this CopyBackupRequest to JSON.
|
|
5888
|
+
* @returns JSON object
|
|
5889
|
+
*/
|
|
5890
|
+
public toJSON(): { [k: string]: any };
|
|
5891
|
+
}
|
|
5892
|
+
|
|
5893
|
+
/** Properties of a CopyBackupMetadata. */
|
|
5894
|
+
interface ICopyBackupMetadata {
|
|
5895
|
+
|
|
5896
|
+
/** CopyBackupMetadata name */
|
|
5897
|
+
name?: (string|null);
|
|
5898
|
+
|
|
5899
|
+
/** CopyBackupMetadata sourceBackup */
|
|
5900
|
+
sourceBackup?: (string|null);
|
|
5901
|
+
|
|
5902
|
+
/** CopyBackupMetadata progress */
|
|
5903
|
+
progress?: (google.spanner.admin.database.v1.IOperationProgress|null);
|
|
5904
|
+
|
|
5905
|
+
/** CopyBackupMetadata cancelTime */
|
|
5906
|
+
cancelTime?: (google.protobuf.ITimestamp|null);
|
|
5907
|
+
}
|
|
5908
|
+
|
|
5909
|
+
/** Represents a CopyBackupMetadata. */
|
|
5910
|
+
class CopyBackupMetadata implements ICopyBackupMetadata {
|
|
5911
|
+
|
|
5912
|
+
/**
|
|
5913
|
+
* Constructs a new CopyBackupMetadata.
|
|
5914
|
+
* @param [properties] Properties to set
|
|
5915
|
+
*/
|
|
5916
|
+
constructor(properties?: google.spanner.admin.database.v1.ICopyBackupMetadata);
|
|
5917
|
+
|
|
5918
|
+
/** CopyBackupMetadata name. */
|
|
5919
|
+
public name: string;
|
|
5920
|
+
|
|
5921
|
+
/** CopyBackupMetadata sourceBackup. */
|
|
5922
|
+
public sourceBackup: string;
|
|
5923
|
+
|
|
5924
|
+
/** CopyBackupMetadata progress. */
|
|
5925
|
+
public progress?: (google.spanner.admin.database.v1.IOperationProgress|null);
|
|
5926
|
+
|
|
5927
|
+
/** CopyBackupMetadata cancelTime. */
|
|
5928
|
+
public cancelTime?: (google.protobuf.ITimestamp|null);
|
|
5929
|
+
|
|
5930
|
+
/**
|
|
5931
|
+
* Creates a new CopyBackupMetadata instance using the specified properties.
|
|
5932
|
+
* @param [properties] Properties to set
|
|
5933
|
+
* @returns CopyBackupMetadata instance
|
|
5934
|
+
*/
|
|
5935
|
+
public static create(properties?: google.spanner.admin.database.v1.ICopyBackupMetadata): google.spanner.admin.database.v1.CopyBackupMetadata;
|
|
5936
|
+
|
|
5937
|
+
/**
|
|
5938
|
+
* Encodes the specified CopyBackupMetadata message. Does not implicitly {@link google.spanner.admin.database.v1.CopyBackupMetadata.verify|verify} messages.
|
|
5939
|
+
* @param message CopyBackupMetadata message or plain object to encode
|
|
5940
|
+
* @param [writer] Writer to encode to
|
|
5941
|
+
* @returns Writer
|
|
5942
|
+
*/
|
|
5943
|
+
public static encode(message: google.spanner.admin.database.v1.ICopyBackupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5944
|
+
|
|
5945
|
+
/**
|
|
5946
|
+
* Encodes the specified CopyBackupMetadata message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.CopyBackupMetadata.verify|verify} messages.
|
|
5947
|
+
* @param message CopyBackupMetadata message or plain object to encode
|
|
5948
|
+
* @param [writer] Writer to encode to
|
|
5949
|
+
* @returns Writer
|
|
5950
|
+
*/
|
|
5951
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.ICopyBackupMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5952
|
+
|
|
5953
|
+
/**
|
|
5954
|
+
* Decodes a CopyBackupMetadata message from the specified reader or buffer.
|
|
5955
|
+
* @param reader Reader or buffer to decode from
|
|
5956
|
+
* @param [length] Message length if known beforehand
|
|
5957
|
+
* @returns CopyBackupMetadata
|
|
5958
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5959
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5960
|
+
*/
|
|
5961
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.CopyBackupMetadata;
|
|
5962
|
+
|
|
5963
|
+
/**
|
|
5964
|
+
* Decodes a CopyBackupMetadata message from the specified reader or buffer, length delimited.
|
|
5965
|
+
* @param reader Reader or buffer to decode from
|
|
5966
|
+
* @returns CopyBackupMetadata
|
|
5967
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5968
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5969
|
+
*/
|
|
5970
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.CopyBackupMetadata;
|
|
5971
|
+
|
|
5972
|
+
/**
|
|
5973
|
+
* Verifies a CopyBackupMetadata message.
|
|
5974
|
+
* @param message Plain object to verify
|
|
5975
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5976
|
+
*/
|
|
5977
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5978
|
+
|
|
5979
|
+
/**
|
|
5980
|
+
* Creates a CopyBackupMetadata message from a plain object. Also converts values to their respective internal types.
|
|
5981
|
+
* @param object Plain object
|
|
5982
|
+
* @returns CopyBackupMetadata
|
|
5983
|
+
*/
|
|
5984
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.CopyBackupMetadata;
|
|
5985
|
+
|
|
5986
|
+
/**
|
|
5987
|
+
* Creates a plain object from a CopyBackupMetadata message. Also converts values to other types if specified.
|
|
5988
|
+
* @param message CopyBackupMetadata
|
|
5989
|
+
* @param [options] Conversion options
|
|
5990
|
+
* @returns Plain object
|
|
5991
|
+
*/
|
|
5992
|
+
public static toObject(message: google.spanner.admin.database.v1.CopyBackupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5993
|
+
|
|
5994
|
+
/**
|
|
5995
|
+
* Converts this CopyBackupMetadata to JSON.
|
|
5996
|
+
* @returns JSON object
|
|
5997
|
+
*/
|
|
5998
|
+
public toJSON(): { [k: string]: any };
|
|
5999
|
+
}
|
|
6000
|
+
|
|
5761
6001
|
/** Properties of an UpdateBackupRequest. */
|
|
5762
6002
|
interface IUpdateBackupRequest {
|
|
5763
6003
|
|
|
@@ -6657,6 +6897,113 @@ export namespace google {
|
|
|
6657
6897
|
}
|
|
6658
6898
|
}
|
|
6659
6899
|
|
|
6900
|
+
/** Properties of a CopyBackupEncryptionConfig. */
|
|
6901
|
+
interface ICopyBackupEncryptionConfig {
|
|
6902
|
+
|
|
6903
|
+
/** CopyBackupEncryptionConfig encryptionType */
|
|
6904
|
+
encryptionType?: (google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType|keyof typeof google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType|null);
|
|
6905
|
+
|
|
6906
|
+
/** CopyBackupEncryptionConfig kmsKeyName */
|
|
6907
|
+
kmsKeyName?: (string|null);
|
|
6908
|
+
}
|
|
6909
|
+
|
|
6910
|
+
/** Represents a CopyBackupEncryptionConfig. */
|
|
6911
|
+
class CopyBackupEncryptionConfig implements ICopyBackupEncryptionConfig {
|
|
6912
|
+
|
|
6913
|
+
/**
|
|
6914
|
+
* Constructs a new CopyBackupEncryptionConfig.
|
|
6915
|
+
* @param [properties] Properties to set
|
|
6916
|
+
*/
|
|
6917
|
+
constructor(properties?: google.spanner.admin.database.v1.ICopyBackupEncryptionConfig);
|
|
6918
|
+
|
|
6919
|
+
/** CopyBackupEncryptionConfig encryptionType. */
|
|
6920
|
+
public encryptionType: (google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType|keyof typeof google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType);
|
|
6921
|
+
|
|
6922
|
+
/** CopyBackupEncryptionConfig kmsKeyName. */
|
|
6923
|
+
public kmsKeyName: string;
|
|
6924
|
+
|
|
6925
|
+
/**
|
|
6926
|
+
* Creates a new CopyBackupEncryptionConfig instance using the specified properties.
|
|
6927
|
+
* @param [properties] Properties to set
|
|
6928
|
+
* @returns CopyBackupEncryptionConfig instance
|
|
6929
|
+
*/
|
|
6930
|
+
public static create(properties?: google.spanner.admin.database.v1.ICopyBackupEncryptionConfig): google.spanner.admin.database.v1.CopyBackupEncryptionConfig;
|
|
6931
|
+
|
|
6932
|
+
/**
|
|
6933
|
+
* Encodes the specified CopyBackupEncryptionConfig message. Does not implicitly {@link google.spanner.admin.database.v1.CopyBackupEncryptionConfig.verify|verify} messages.
|
|
6934
|
+
* @param message CopyBackupEncryptionConfig message or plain object to encode
|
|
6935
|
+
* @param [writer] Writer to encode to
|
|
6936
|
+
* @returns Writer
|
|
6937
|
+
*/
|
|
6938
|
+
public static encode(message: google.spanner.admin.database.v1.ICopyBackupEncryptionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6939
|
+
|
|
6940
|
+
/**
|
|
6941
|
+
* Encodes the specified CopyBackupEncryptionConfig message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.CopyBackupEncryptionConfig.verify|verify} messages.
|
|
6942
|
+
* @param message CopyBackupEncryptionConfig message or plain object to encode
|
|
6943
|
+
* @param [writer] Writer to encode to
|
|
6944
|
+
* @returns Writer
|
|
6945
|
+
*/
|
|
6946
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.ICopyBackupEncryptionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6947
|
+
|
|
6948
|
+
/**
|
|
6949
|
+
* Decodes a CopyBackupEncryptionConfig message from the specified reader or buffer.
|
|
6950
|
+
* @param reader Reader or buffer to decode from
|
|
6951
|
+
* @param [length] Message length if known beforehand
|
|
6952
|
+
* @returns CopyBackupEncryptionConfig
|
|
6953
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6954
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6955
|
+
*/
|
|
6956
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.CopyBackupEncryptionConfig;
|
|
6957
|
+
|
|
6958
|
+
/**
|
|
6959
|
+
* Decodes a CopyBackupEncryptionConfig message from the specified reader or buffer, length delimited.
|
|
6960
|
+
* @param reader Reader or buffer to decode from
|
|
6961
|
+
* @returns CopyBackupEncryptionConfig
|
|
6962
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6963
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6964
|
+
*/
|
|
6965
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.CopyBackupEncryptionConfig;
|
|
6966
|
+
|
|
6967
|
+
/**
|
|
6968
|
+
* Verifies a CopyBackupEncryptionConfig message.
|
|
6969
|
+
* @param message Plain object to verify
|
|
6970
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6971
|
+
*/
|
|
6972
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6973
|
+
|
|
6974
|
+
/**
|
|
6975
|
+
* Creates a CopyBackupEncryptionConfig message from a plain object. Also converts values to their respective internal types.
|
|
6976
|
+
* @param object Plain object
|
|
6977
|
+
* @returns CopyBackupEncryptionConfig
|
|
6978
|
+
*/
|
|
6979
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.CopyBackupEncryptionConfig;
|
|
6980
|
+
|
|
6981
|
+
/**
|
|
6982
|
+
* Creates a plain object from a CopyBackupEncryptionConfig message. Also converts values to other types if specified.
|
|
6983
|
+
* @param message CopyBackupEncryptionConfig
|
|
6984
|
+
* @param [options] Conversion options
|
|
6985
|
+
* @returns Plain object
|
|
6986
|
+
*/
|
|
6987
|
+
public static toObject(message: google.spanner.admin.database.v1.CopyBackupEncryptionConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6988
|
+
|
|
6989
|
+
/**
|
|
6990
|
+
* Converts this CopyBackupEncryptionConfig to JSON.
|
|
6991
|
+
* @returns JSON object
|
|
6992
|
+
*/
|
|
6993
|
+
public toJSON(): { [k: string]: any };
|
|
6994
|
+
}
|
|
6995
|
+
|
|
6996
|
+
namespace CopyBackupEncryptionConfig {
|
|
6997
|
+
|
|
6998
|
+
/** EncryptionType enum. */
|
|
6999
|
+
enum EncryptionType {
|
|
7000
|
+
ENCRYPTION_TYPE_UNSPECIFIED = 0,
|
|
7001
|
+
USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1,
|
|
7002
|
+
GOOGLE_DEFAULT_ENCRYPTION = 2,
|
|
7003
|
+
CUSTOMER_MANAGED_ENCRYPTION = 3
|
|
7004
|
+
}
|
|
7005
|
+
}
|
|
7006
|
+
|
|
6660
7007
|
/** Properties of an OperationProgress. */
|
|
6661
7008
|
interface IOperationProgress {
|
|
6662
7009
|
|
|
@@ -7128,6 +7475,20 @@ export namespace google {
|
|
|
7128
7475
|
*/
|
|
7129
7476
|
public createBackup(request: google.spanner.admin.database.v1.ICreateBackupRequest): Promise<google.longrunning.Operation>;
|
|
7130
7477
|
|
|
7478
|
+
/**
|
|
7479
|
+
* Calls CopyBackup.
|
|
7480
|
+
* @param request CopyBackupRequest message or plain object
|
|
7481
|
+
* @param callback Node-style callback called with the error, if any, and Operation
|
|
7482
|
+
*/
|
|
7483
|
+
public copyBackup(request: google.spanner.admin.database.v1.ICopyBackupRequest, callback: google.spanner.admin.database.v1.DatabaseAdmin.CopyBackupCallback): void;
|
|
7484
|
+
|
|
7485
|
+
/**
|
|
7486
|
+
* Calls CopyBackup.
|
|
7487
|
+
* @param request CopyBackupRequest message or plain object
|
|
7488
|
+
* @returns Promise
|
|
7489
|
+
*/
|
|
7490
|
+
public copyBackup(request: google.spanner.admin.database.v1.ICopyBackupRequest): Promise<google.longrunning.Operation>;
|
|
7491
|
+
|
|
7131
7492
|
/**
|
|
7132
7493
|
* Calls GetBackup.
|
|
7133
7494
|
* @param request GetBackupRequest message or plain object
|
|
@@ -7299,6 +7660,13 @@ export namespace google {
|
|
|
7299
7660
|
*/
|
|
7300
7661
|
type CreateBackupCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
7301
7662
|
|
|
7663
|
+
/**
|
|
7664
|
+
* Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|copyBackup}.
|
|
7665
|
+
* @param error Error, if any
|
|
7666
|
+
* @param [response] Operation
|
|
7667
|
+
*/
|
|
7668
|
+
type CopyBackupCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
7669
|
+
|
|
7302
7670
|
/**
|
|
7303
7671
|
* Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|getBackup}.
|
|
7304
7672
|
* @param error Error, if any
|
|
@@ -9717,6 +10085,12 @@ export namespace google {
|
|
|
9717
10085
|
|
|
9718
10086
|
/** Instance endpointUris */
|
|
9719
10087
|
endpointUris?: (string[]|null);
|
|
10088
|
+
|
|
10089
|
+
/** Instance createTime */
|
|
10090
|
+
createTime?: (google.protobuf.ITimestamp|null);
|
|
10091
|
+
|
|
10092
|
+
/** Instance updateTime */
|
|
10093
|
+
updateTime?: (google.protobuf.ITimestamp|null);
|
|
9720
10094
|
}
|
|
9721
10095
|
|
|
9722
10096
|
/** Represents an Instance. */
|
|
@@ -9752,6 +10126,12 @@ export namespace google {
|
|
|
9752
10126
|
/** Instance endpointUris. */
|
|
9753
10127
|
public endpointUris: string[];
|
|
9754
10128
|
|
|
10129
|
+
/** Instance createTime. */
|
|
10130
|
+
public createTime?: (google.protobuf.ITimestamp|null);
|
|
10131
|
+
|
|
10132
|
+
/** Instance updateTime. */
|
|
10133
|
+
public updateTime?: (google.protobuf.ITimestamp|null);
|
|
10134
|
+
|
|
9755
10135
|
/**
|
|
9756
10136
|
* Creates a new Instance instance using the specified properties.
|
|
9757
10137
|
* @param [properties] Properties to set
|
|
@@ -14061,6 +14441,9 @@ export namespace google {
|
|
|
14061
14441
|
|
|
14062
14442
|
/** Session approximateLastUseTime */
|
|
14063
14443
|
approximateLastUseTime?: (google.protobuf.ITimestamp|null);
|
|
14444
|
+
|
|
14445
|
+
/** Session creatorRole */
|
|
14446
|
+
creatorRole?: (string|null);
|
|
14064
14447
|
}
|
|
14065
14448
|
|
|
14066
14449
|
/** Represents a Session. */
|
|
@@ -14084,6 +14467,9 @@ export namespace google {
|
|
|
14084
14467
|
/** Session approximateLastUseTime. */
|
|
14085
14468
|
public approximateLastUseTime?: (google.protobuf.ITimestamp|null);
|
|
14086
14469
|
|
|
14470
|
+
/** Session creatorRole. */
|
|
14471
|
+
public creatorRole: string;
|
|
14472
|
+
|
|
14087
14473
|
/**
|
|
14088
14474
|
* Creates a new Session instance using the specified properties.
|
|
14089
14475
|
* @param [properties] Properties to set
|
|
@@ -16221,590 +16607,590 @@ export namespace google {
|
|
|
16221
16607
|
/** Namespace api. */
|
|
16222
16608
|
namespace api {
|
|
16223
16609
|
|
|
16224
|
-
/**
|
|
16225
|
-
|
|
16226
|
-
|
|
16227
|
-
|
|
16228
|
-
|
|
16229
|
-
|
|
16230
|
-
|
|
16231
|
-
|
|
16610
|
+
/** FieldBehavior enum. */
|
|
16611
|
+
enum FieldBehavior {
|
|
16612
|
+
FIELD_BEHAVIOR_UNSPECIFIED = 0,
|
|
16613
|
+
OPTIONAL = 1,
|
|
16614
|
+
REQUIRED = 2,
|
|
16615
|
+
OUTPUT_ONLY = 3,
|
|
16616
|
+
INPUT_ONLY = 4,
|
|
16617
|
+
IMMUTABLE = 5,
|
|
16618
|
+
UNORDERED_LIST = 6,
|
|
16619
|
+
NON_EMPTY_DEFAULT = 7
|
|
16232
16620
|
}
|
|
16233
16621
|
|
|
16234
|
-
/**
|
|
16235
|
-
|
|
16622
|
+
/** Properties of a ResourceDescriptor. */
|
|
16623
|
+
interface IResourceDescriptor {
|
|
16624
|
+
|
|
16625
|
+
/** ResourceDescriptor type */
|
|
16626
|
+
type?: (string|null);
|
|
16627
|
+
|
|
16628
|
+
/** ResourceDescriptor pattern */
|
|
16629
|
+
pattern?: (string[]|null);
|
|
16630
|
+
|
|
16631
|
+
/** ResourceDescriptor nameField */
|
|
16632
|
+
nameField?: (string|null);
|
|
16633
|
+
|
|
16634
|
+
/** ResourceDescriptor history */
|
|
16635
|
+
history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
|
|
16636
|
+
|
|
16637
|
+
/** ResourceDescriptor plural */
|
|
16638
|
+
plural?: (string|null);
|
|
16639
|
+
|
|
16640
|
+
/** ResourceDescriptor singular */
|
|
16641
|
+
singular?: (string|null);
|
|
16642
|
+
|
|
16643
|
+
/** ResourceDescriptor style */
|
|
16644
|
+
style?: (google.api.ResourceDescriptor.Style[]|null);
|
|
16645
|
+
}
|
|
16646
|
+
|
|
16647
|
+
/** Represents a ResourceDescriptor. */
|
|
16648
|
+
class ResourceDescriptor implements IResourceDescriptor {
|
|
16236
16649
|
|
|
16237
16650
|
/**
|
|
16238
|
-
* Constructs a new
|
|
16651
|
+
* Constructs a new ResourceDescriptor.
|
|
16239
16652
|
* @param [properties] Properties to set
|
|
16240
16653
|
*/
|
|
16241
|
-
constructor(properties?: google.api.
|
|
16654
|
+
constructor(properties?: google.api.IResourceDescriptor);
|
|
16242
16655
|
|
|
16243
|
-
/**
|
|
16244
|
-
public
|
|
16656
|
+
/** ResourceDescriptor type. */
|
|
16657
|
+
public type: string;
|
|
16245
16658
|
|
|
16246
|
-
/**
|
|
16247
|
-
public
|
|
16659
|
+
/** ResourceDescriptor pattern. */
|
|
16660
|
+
public pattern: string[];
|
|
16661
|
+
|
|
16662
|
+
/** ResourceDescriptor nameField. */
|
|
16663
|
+
public nameField: string;
|
|
16664
|
+
|
|
16665
|
+
/** ResourceDescriptor history. */
|
|
16666
|
+
public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
|
|
16667
|
+
|
|
16668
|
+
/** ResourceDescriptor plural. */
|
|
16669
|
+
public plural: string;
|
|
16670
|
+
|
|
16671
|
+
/** ResourceDescriptor singular. */
|
|
16672
|
+
public singular: string;
|
|
16673
|
+
|
|
16674
|
+
/** ResourceDescriptor style. */
|
|
16675
|
+
public style: google.api.ResourceDescriptor.Style[];
|
|
16248
16676
|
|
|
16249
16677
|
/**
|
|
16250
|
-
* Creates a new
|
|
16678
|
+
* Creates a new ResourceDescriptor instance using the specified properties.
|
|
16251
16679
|
* @param [properties] Properties to set
|
|
16252
|
-
* @returns
|
|
16680
|
+
* @returns ResourceDescriptor instance
|
|
16253
16681
|
*/
|
|
16254
|
-
public static create(properties?: google.api.
|
|
16682
|
+
public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
|
|
16255
16683
|
|
|
16256
16684
|
/**
|
|
16257
|
-
* Encodes the specified
|
|
16258
|
-
* @param message
|
|
16685
|
+
* Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
|
|
16686
|
+
* @param message ResourceDescriptor message or plain object to encode
|
|
16259
16687
|
* @param [writer] Writer to encode to
|
|
16260
16688
|
* @returns Writer
|
|
16261
16689
|
*/
|
|
16262
|
-
public static encode(message: google.api.
|
|
16690
|
+
public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16263
16691
|
|
|
16264
16692
|
/**
|
|
16265
|
-
* Encodes the specified
|
|
16266
|
-
* @param message
|
|
16693
|
+
* Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
|
|
16694
|
+
* @param message ResourceDescriptor message or plain object to encode
|
|
16267
16695
|
* @param [writer] Writer to encode to
|
|
16268
16696
|
* @returns Writer
|
|
16269
16697
|
*/
|
|
16270
|
-
public static encodeDelimited(message: google.api.
|
|
16698
|
+
public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16271
16699
|
|
|
16272
16700
|
/**
|
|
16273
|
-
* Decodes a
|
|
16701
|
+
* Decodes a ResourceDescriptor message from the specified reader or buffer.
|
|
16274
16702
|
* @param reader Reader or buffer to decode from
|
|
16275
16703
|
* @param [length] Message length if known beforehand
|
|
16276
|
-
* @returns
|
|
16704
|
+
* @returns ResourceDescriptor
|
|
16277
16705
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16278
16706
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16279
16707
|
*/
|
|
16280
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
16708
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
|
|
16281
16709
|
|
|
16282
16710
|
/**
|
|
16283
|
-
* Decodes a
|
|
16711
|
+
* Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
|
|
16284
16712
|
* @param reader Reader or buffer to decode from
|
|
16285
|
-
* @returns
|
|
16713
|
+
* @returns ResourceDescriptor
|
|
16286
16714
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16287
16715
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16288
16716
|
*/
|
|
16289
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
16717
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
|
|
16290
16718
|
|
|
16291
16719
|
/**
|
|
16292
|
-
* Verifies a
|
|
16720
|
+
* Verifies a ResourceDescriptor message.
|
|
16293
16721
|
* @param message Plain object to verify
|
|
16294
16722
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
16295
16723
|
*/
|
|
16296
16724
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
16297
16725
|
|
|
16298
16726
|
/**
|
|
16299
|
-
* Creates a
|
|
16727
|
+
* Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
|
|
16300
16728
|
* @param object Plain object
|
|
16301
|
-
* @returns
|
|
16729
|
+
* @returns ResourceDescriptor
|
|
16302
16730
|
*/
|
|
16303
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
16731
|
+
public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
|
|
16304
16732
|
|
|
16305
16733
|
/**
|
|
16306
|
-
* Creates a plain object from a
|
|
16307
|
-
* @param message
|
|
16734
|
+
* Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
|
|
16735
|
+
* @param message ResourceDescriptor
|
|
16308
16736
|
* @param [options] Conversion options
|
|
16309
16737
|
* @returns Plain object
|
|
16310
16738
|
*/
|
|
16311
|
-
public static toObject(message: google.api.
|
|
16739
|
+
public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16312
16740
|
|
|
16313
16741
|
/**
|
|
16314
|
-
* Converts this
|
|
16742
|
+
* Converts this ResourceDescriptor to JSON.
|
|
16315
16743
|
* @returns JSON object
|
|
16316
16744
|
*/
|
|
16317
16745
|
public toJSON(): { [k: string]: any };
|
|
16318
16746
|
}
|
|
16319
16747
|
|
|
16320
|
-
|
|
16321
|
-
interface IHttpRule {
|
|
16322
|
-
|
|
16323
|
-
/** HttpRule selector */
|
|
16324
|
-
selector?: (string|null);
|
|
16325
|
-
|
|
16326
|
-
/** HttpRule get */
|
|
16327
|
-
get?: (string|null);
|
|
16328
|
-
|
|
16329
|
-
/** HttpRule put */
|
|
16330
|
-
put?: (string|null);
|
|
16331
|
-
|
|
16332
|
-
/** HttpRule post */
|
|
16333
|
-
post?: (string|null);
|
|
16334
|
-
|
|
16335
|
-
/** HttpRule delete */
|
|
16336
|
-
"delete"?: (string|null);
|
|
16748
|
+
namespace ResourceDescriptor {
|
|
16337
16749
|
|
|
16338
|
-
/**
|
|
16339
|
-
|
|
16750
|
+
/** History enum. */
|
|
16751
|
+
enum History {
|
|
16752
|
+
HISTORY_UNSPECIFIED = 0,
|
|
16753
|
+
ORIGINALLY_SINGLE_PATTERN = 1,
|
|
16754
|
+
FUTURE_MULTI_PATTERN = 2
|
|
16755
|
+
}
|
|
16340
16756
|
|
|
16341
|
-
/**
|
|
16342
|
-
|
|
16757
|
+
/** Style enum. */
|
|
16758
|
+
enum Style {
|
|
16759
|
+
STYLE_UNSPECIFIED = 0,
|
|
16760
|
+
DECLARATIVE_FRIENDLY = 1
|
|
16761
|
+
}
|
|
16762
|
+
}
|
|
16343
16763
|
|
|
16344
|
-
|
|
16345
|
-
|
|
16764
|
+
/** Properties of a ResourceReference. */
|
|
16765
|
+
interface IResourceReference {
|
|
16346
16766
|
|
|
16347
|
-
/**
|
|
16348
|
-
|
|
16767
|
+
/** ResourceReference type */
|
|
16768
|
+
type?: (string|null);
|
|
16349
16769
|
|
|
16350
|
-
/**
|
|
16351
|
-
|
|
16770
|
+
/** ResourceReference childType */
|
|
16771
|
+
childType?: (string|null);
|
|
16352
16772
|
}
|
|
16353
16773
|
|
|
16354
|
-
/** Represents a
|
|
16355
|
-
class
|
|
16774
|
+
/** Represents a ResourceReference. */
|
|
16775
|
+
class ResourceReference implements IResourceReference {
|
|
16356
16776
|
|
|
16357
16777
|
/**
|
|
16358
|
-
* Constructs a new
|
|
16778
|
+
* Constructs a new ResourceReference.
|
|
16359
16779
|
* @param [properties] Properties to set
|
|
16360
16780
|
*/
|
|
16361
|
-
constructor(properties?: google.api.
|
|
16362
|
-
|
|
16363
|
-
/** HttpRule selector. */
|
|
16364
|
-
public selector: string;
|
|
16365
|
-
|
|
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;
|
|
16781
|
+
constructor(properties?: google.api.IResourceReference);
|
|
16389
16782
|
|
|
16390
|
-
/**
|
|
16391
|
-
public
|
|
16783
|
+
/** ResourceReference type. */
|
|
16784
|
+
public type: string;
|
|
16392
16785
|
|
|
16393
|
-
/**
|
|
16394
|
-
public
|
|
16786
|
+
/** ResourceReference childType. */
|
|
16787
|
+
public childType: string;
|
|
16395
16788
|
|
|
16396
16789
|
/**
|
|
16397
|
-
* Creates a new
|
|
16790
|
+
* Creates a new ResourceReference instance using the specified properties.
|
|
16398
16791
|
* @param [properties] Properties to set
|
|
16399
|
-
* @returns
|
|
16792
|
+
* @returns ResourceReference instance
|
|
16400
16793
|
*/
|
|
16401
|
-
public static create(properties?: google.api.
|
|
16794
|
+
public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
|
|
16402
16795
|
|
|
16403
16796
|
/**
|
|
16404
|
-
* Encodes the specified
|
|
16405
|
-
* @param message
|
|
16797
|
+
* Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
|
|
16798
|
+
* @param message ResourceReference message or plain object to encode
|
|
16406
16799
|
* @param [writer] Writer to encode to
|
|
16407
16800
|
* @returns Writer
|
|
16408
16801
|
*/
|
|
16409
|
-
public static encode(message: google.api.
|
|
16802
|
+
public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16410
16803
|
|
|
16411
16804
|
/**
|
|
16412
|
-
* Encodes the specified
|
|
16413
|
-
* @param message
|
|
16805
|
+
* Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
|
|
16806
|
+
* @param message ResourceReference message or plain object to encode
|
|
16414
16807
|
* @param [writer] Writer to encode to
|
|
16415
16808
|
* @returns Writer
|
|
16416
16809
|
*/
|
|
16417
|
-
public static encodeDelimited(message: google.api.
|
|
16810
|
+
public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16418
16811
|
|
|
16419
16812
|
/**
|
|
16420
|
-
* Decodes a
|
|
16813
|
+
* Decodes a ResourceReference message from the specified reader or buffer.
|
|
16421
16814
|
* @param reader Reader or buffer to decode from
|
|
16422
16815
|
* @param [length] Message length if known beforehand
|
|
16423
|
-
* @returns
|
|
16816
|
+
* @returns ResourceReference
|
|
16424
16817
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16425
16818
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16426
16819
|
*/
|
|
16427
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
16820
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
|
|
16428
16821
|
|
|
16429
16822
|
/**
|
|
16430
|
-
* Decodes a
|
|
16823
|
+
* Decodes a ResourceReference message from the specified reader or buffer, length delimited.
|
|
16431
16824
|
* @param reader Reader or buffer to decode from
|
|
16432
|
-
* @returns
|
|
16825
|
+
* @returns ResourceReference
|
|
16433
16826
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16434
16827
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16435
16828
|
*/
|
|
16436
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
16829
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
|
|
16437
16830
|
|
|
16438
16831
|
/**
|
|
16439
|
-
* Verifies a
|
|
16832
|
+
* Verifies a ResourceReference message.
|
|
16440
16833
|
* @param message Plain object to verify
|
|
16441
16834
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
16442
16835
|
*/
|
|
16443
16836
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
16444
16837
|
|
|
16445
16838
|
/**
|
|
16446
|
-
* Creates a
|
|
16839
|
+
* Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
|
|
16447
16840
|
* @param object Plain object
|
|
16448
|
-
* @returns
|
|
16841
|
+
* @returns ResourceReference
|
|
16449
16842
|
*/
|
|
16450
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
16843
|
+
public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
|
|
16451
16844
|
|
|
16452
16845
|
/**
|
|
16453
|
-
* Creates a plain object from a
|
|
16454
|
-
* @param message
|
|
16846
|
+
* Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
|
|
16847
|
+
* @param message ResourceReference
|
|
16455
16848
|
* @param [options] Conversion options
|
|
16456
16849
|
* @returns Plain object
|
|
16457
16850
|
*/
|
|
16458
|
-
public static toObject(message: google.api.
|
|
16851
|
+
public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16459
16852
|
|
|
16460
16853
|
/**
|
|
16461
|
-
* Converts this
|
|
16854
|
+
* Converts this ResourceReference to JSON.
|
|
16462
16855
|
* @returns JSON object
|
|
16463
16856
|
*/
|
|
16464
16857
|
public toJSON(): { [k: string]: any };
|
|
16465
16858
|
}
|
|
16466
16859
|
|
|
16467
|
-
/** Properties of a
|
|
16468
|
-
interface
|
|
16860
|
+
/** Properties of a Http. */
|
|
16861
|
+
interface IHttp {
|
|
16469
16862
|
|
|
16470
|
-
/**
|
|
16471
|
-
|
|
16863
|
+
/** Http rules */
|
|
16864
|
+
rules?: (google.api.IHttpRule[]|null);
|
|
16472
16865
|
|
|
16473
|
-
/**
|
|
16474
|
-
|
|
16866
|
+
/** Http fullyDecodeReservedExpansion */
|
|
16867
|
+
fullyDecodeReservedExpansion?: (boolean|null);
|
|
16475
16868
|
}
|
|
16476
16869
|
|
|
16477
|
-
/** Represents a
|
|
16478
|
-
class
|
|
16870
|
+
/** Represents a Http. */
|
|
16871
|
+
class Http implements IHttp {
|
|
16479
16872
|
|
|
16480
16873
|
/**
|
|
16481
|
-
* Constructs a new
|
|
16874
|
+
* Constructs a new Http.
|
|
16482
16875
|
* @param [properties] Properties to set
|
|
16483
16876
|
*/
|
|
16484
|
-
constructor(properties?: google.api.
|
|
16877
|
+
constructor(properties?: google.api.IHttp);
|
|
16485
16878
|
|
|
16486
|
-
/**
|
|
16487
|
-
public
|
|
16879
|
+
/** Http rules. */
|
|
16880
|
+
public rules: google.api.IHttpRule[];
|
|
16488
16881
|
|
|
16489
|
-
/**
|
|
16490
|
-
public
|
|
16882
|
+
/** Http fullyDecodeReservedExpansion. */
|
|
16883
|
+
public fullyDecodeReservedExpansion: boolean;
|
|
16491
16884
|
|
|
16492
16885
|
/**
|
|
16493
|
-
* Creates a new
|
|
16886
|
+
* Creates a new Http instance using the specified properties.
|
|
16494
16887
|
* @param [properties] Properties to set
|
|
16495
|
-
* @returns
|
|
16888
|
+
* @returns Http instance
|
|
16496
16889
|
*/
|
|
16497
|
-
public static create(properties?: google.api.
|
|
16890
|
+
public static create(properties?: google.api.IHttp): google.api.Http;
|
|
16498
16891
|
|
|
16499
16892
|
/**
|
|
16500
|
-
* Encodes the specified
|
|
16501
|
-
* @param message
|
|
16893
|
+
* Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
|
|
16894
|
+
* @param message Http message or plain object to encode
|
|
16502
16895
|
* @param [writer] Writer to encode to
|
|
16503
16896
|
* @returns Writer
|
|
16504
16897
|
*/
|
|
16505
|
-
public static encode(message: google.api.
|
|
16898
|
+
public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16506
16899
|
|
|
16507
16900
|
/**
|
|
16508
|
-
* Encodes the specified
|
|
16509
|
-
* @param message
|
|
16901
|
+
* Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
|
|
16902
|
+
* @param message Http message or plain object to encode
|
|
16510
16903
|
* @param [writer] Writer to encode to
|
|
16511
16904
|
* @returns Writer
|
|
16512
16905
|
*/
|
|
16513
|
-
public static encodeDelimited(message: google.api.
|
|
16906
|
+
public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16514
16907
|
|
|
16515
16908
|
/**
|
|
16516
|
-
* Decodes a
|
|
16909
|
+
* Decodes a Http message from the specified reader or buffer.
|
|
16517
16910
|
* @param reader Reader or buffer to decode from
|
|
16518
16911
|
* @param [length] Message length if known beforehand
|
|
16519
|
-
* @returns
|
|
16912
|
+
* @returns Http
|
|
16520
16913
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16521
16914
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16522
16915
|
*/
|
|
16523
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
16916
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
|
|
16524
16917
|
|
|
16525
16918
|
/**
|
|
16526
|
-
* Decodes a
|
|
16919
|
+
* Decodes a Http message from the specified reader or buffer, length delimited.
|
|
16527
16920
|
* @param reader Reader or buffer to decode from
|
|
16528
|
-
* @returns
|
|
16921
|
+
* @returns Http
|
|
16529
16922
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16530
16923
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16531
16924
|
*/
|
|
16532
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
16925
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
|
|
16533
16926
|
|
|
16534
16927
|
/**
|
|
16535
|
-
* Verifies a
|
|
16928
|
+
* Verifies a Http message.
|
|
16536
16929
|
* @param message Plain object to verify
|
|
16537
16930
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
16538
16931
|
*/
|
|
16539
16932
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
16540
16933
|
|
|
16541
16934
|
/**
|
|
16542
|
-
* Creates a
|
|
16935
|
+
* Creates a Http message from a plain object. Also converts values to their respective internal types.
|
|
16543
16936
|
* @param object Plain object
|
|
16544
|
-
* @returns
|
|
16937
|
+
* @returns Http
|
|
16545
16938
|
*/
|
|
16546
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
16939
|
+
public static fromObject(object: { [k: string]: any }): google.api.Http;
|
|
16547
16940
|
|
|
16548
16941
|
/**
|
|
16549
|
-
* Creates a plain object from a
|
|
16550
|
-
* @param message
|
|
16942
|
+
* Creates a plain object from a Http message. Also converts values to other types if specified.
|
|
16943
|
+
* @param message Http
|
|
16551
16944
|
* @param [options] Conversion options
|
|
16552
16945
|
* @returns Plain object
|
|
16553
16946
|
*/
|
|
16554
|
-
public static toObject(message: google.api.
|
|
16947
|
+
public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16555
16948
|
|
|
16556
16949
|
/**
|
|
16557
|
-
* Converts this
|
|
16950
|
+
* Converts this Http to JSON.
|
|
16558
16951
|
* @returns JSON object
|
|
16559
16952
|
*/
|
|
16560
16953
|
public toJSON(): { [k: string]: any };
|
|
16561
16954
|
}
|
|
16562
16955
|
|
|
16563
|
-
/**
|
|
16564
|
-
|
|
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
|
-
}
|
|
16956
|
+
/** Properties of a HttpRule. */
|
|
16957
|
+
interface IHttpRule {
|
|
16574
16958
|
|
|
16575
|
-
|
|
16576
|
-
|
|
16959
|
+
/** HttpRule selector */
|
|
16960
|
+
selector?: (string|null);
|
|
16577
16961
|
|
|
16578
|
-
/**
|
|
16579
|
-
|
|
16962
|
+
/** HttpRule get */
|
|
16963
|
+
get?: (string|null);
|
|
16580
16964
|
|
|
16581
|
-
/**
|
|
16582
|
-
|
|
16965
|
+
/** HttpRule put */
|
|
16966
|
+
put?: (string|null);
|
|
16583
16967
|
|
|
16584
|
-
/**
|
|
16585
|
-
|
|
16968
|
+
/** HttpRule post */
|
|
16969
|
+
post?: (string|null);
|
|
16586
16970
|
|
|
16587
|
-
/**
|
|
16588
|
-
|
|
16971
|
+
/** HttpRule delete */
|
|
16972
|
+
"delete"?: (string|null);
|
|
16589
16973
|
|
|
16590
|
-
/**
|
|
16591
|
-
|
|
16974
|
+
/** HttpRule patch */
|
|
16975
|
+
patch?: (string|null);
|
|
16592
16976
|
|
|
16593
|
-
/**
|
|
16594
|
-
|
|
16977
|
+
/** HttpRule custom */
|
|
16978
|
+
custom?: (google.api.ICustomHttpPattern|null);
|
|
16595
16979
|
|
|
16596
|
-
/**
|
|
16597
|
-
|
|
16980
|
+
/** HttpRule body */
|
|
16981
|
+
body?: (string|null);
|
|
16982
|
+
|
|
16983
|
+
/** HttpRule responseBody */
|
|
16984
|
+
responseBody?: (string|null);
|
|
16985
|
+
|
|
16986
|
+
/** HttpRule additionalBindings */
|
|
16987
|
+
additionalBindings?: (google.api.IHttpRule[]|null);
|
|
16598
16988
|
}
|
|
16599
16989
|
|
|
16600
|
-
/** Represents a
|
|
16601
|
-
class
|
|
16990
|
+
/** Represents a HttpRule. */
|
|
16991
|
+
class HttpRule implements IHttpRule {
|
|
16602
16992
|
|
|
16603
16993
|
/**
|
|
16604
|
-
* Constructs a new
|
|
16994
|
+
* Constructs a new HttpRule.
|
|
16605
16995
|
* @param [properties] Properties to set
|
|
16606
16996
|
*/
|
|
16607
|
-
constructor(properties?: google.api.
|
|
16997
|
+
constructor(properties?: google.api.IHttpRule);
|
|
16608
16998
|
|
|
16609
|
-
/**
|
|
16610
|
-
public
|
|
16999
|
+
/** HttpRule selector. */
|
|
17000
|
+
public selector: string;
|
|
16611
17001
|
|
|
16612
|
-
/**
|
|
16613
|
-
public
|
|
17002
|
+
/** HttpRule get. */
|
|
17003
|
+
public get?: (string|null);
|
|
16614
17004
|
|
|
16615
|
-
/**
|
|
16616
|
-
public
|
|
17005
|
+
/** HttpRule put. */
|
|
17006
|
+
public put?: (string|null);
|
|
16617
17007
|
|
|
16618
|
-
/**
|
|
16619
|
-
public
|
|
17008
|
+
/** HttpRule post. */
|
|
17009
|
+
public post?: (string|null);
|
|
16620
17010
|
|
|
16621
|
-
/**
|
|
16622
|
-
public
|
|
17011
|
+
/** HttpRule delete. */
|
|
17012
|
+
public delete?: (string|null);
|
|
16623
17013
|
|
|
16624
|
-
/**
|
|
16625
|
-
public
|
|
17014
|
+
/** HttpRule patch. */
|
|
17015
|
+
public patch?: (string|null);
|
|
16626
17016
|
|
|
16627
|
-
/**
|
|
16628
|
-
public
|
|
17017
|
+
/** HttpRule custom. */
|
|
17018
|
+
public custom?: (google.api.ICustomHttpPattern|null);
|
|
17019
|
+
|
|
17020
|
+
/** HttpRule body. */
|
|
17021
|
+
public body: string;
|
|
17022
|
+
|
|
17023
|
+
/** HttpRule responseBody. */
|
|
17024
|
+
public responseBody: string;
|
|
17025
|
+
|
|
17026
|
+
/** HttpRule additionalBindings. */
|
|
17027
|
+
public additionalBindings: google.api.IHttpRule[];
|
|
17028
|
+
|
|
17029
|
+
/** HttpRule pattern. */
|
|
17030
|
+
public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
|
|
16629
17031
|
|
|
16630
17032
|
/**
|
|
16631
|
-
* Creates a new
|
|
17033
|
+
* Creates a new HttpRule instance using the specified properties.
|
|
16632
17034
|
* @param [properties] Properties to set
|
|
16633
|
-
* @returns
|
|
17035
|
+
* @returns HttpRule instance
|
|
16634
17036
|
*/
|
|
16635
|
-
public static create(properties?: google.api.
|
|
17037
|
+
public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
|
|
16636
17038
|
|
|
16637
17039
|
/**
|
|
16638
|
-
* Encodes the specified
|
|
16639
|
-
* @param message
|
|
17040
|
+
* Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
|
|
17041
|
+
* @param message HttpRule message or plain object to encode
|
|
16640
17042
|
* @param [writer] Writer to encode to
|
|
16641
17043
|
* @returns Writer
|
|
16642
17044
|
*/
|
|
16643
|
-
public static encode(message: google.api.
|
|
17045
|
+
public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16644
17046
|
|
|
16645
17047
|
/**
|
|
16646
|
-
* Encodes the specified
|
|
16647
|
-
* @param message
|
|
17048
|
+
* Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
|
|
17049
|
+
* @param message HttpRule message or plain object to encode
|
|
16648
17050
|
* @param [writer] Writer to encode to
|
|
16649
17051
|
* @returns Writer
|
|
16650
17052
|
*/
|
|
16651
|
-
public static encodeDelimited(message: google.api.
|
|
17053
|
+
public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16652
17054
|
|
|
16653
17055
|
/**
|
|
16654
|
-
* Decodes a
|
|
17056
|
+
* Decodes a HttpRule message from the specified reader or buffer.
|
|
16655
17057
|
* @param reader Reader or buffer to decode from
|
|
16656
17058
|
* @param [length] Message length if known beforehand
|
|
16657
|
-
* @returns
|
|
17059
|
+
* @returns HttpRule
|
|
16658
17060
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16659
17061
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16660
17062
|
*/
|
|
16661
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
17063
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
|
|
16662
17064
|
|
|
16663
17065
|
/**
|
|
16664
|
-
* Decodes a
|
|
17066
|
+
* Decodes a HttpRule message from the specified reader or buffer, length delimited.
|
|
16665
17067
|
* @param reader Reader or buffer to decode from
|
|
16666
|
-
* @returns
|
|
17068
|
+
* @returns HttpRule
|
|
16667
17069
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16668
17070
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16669
17071
|
*/
|
|
16670
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
17072
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
|
|
16671
17073
|
|
|
16672
17074
|
/**
|
|
16673
|
-
* Verifies a
|
|
17075
|
+
* Verifies a HttpRule message.
|
|
16674
17076
|
* @param message Plain object to verify
|
|
16675
17077
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
16676
17078
|
*/
|
|
16677
17079
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
16678
17080
|
|
|
16679
17081
|
/**
|
|
16680
|
-
* Creates a
|
|
17082
|
+
* Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
|
|
16681
17083
|
* @param object Plain object
|
|
16682
|
-
* @returns
|
|
17084
|
+
* @returns HttpRule
|
|
16683
17085
|
*/
|
|
16684
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
17086
|
+
public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
|
|
16685
17087
|
|
|
16686
17088
|
/**
|
|
16687
|
-
* Creates a plain object from a
|
|
16688
|
-
* @param message
|
|
17089
|
+
* Creates a plain object from a HttpRule message. Also converts values to other types if specified.
|
|
17090
|
+
* @param message HttpRule
|
|
16689
17091
|
* @param [options] Conversion options
|
|
16690
17092
|
* @returns Plain object
|
|
16691
17093
|
*/
|
|
16692
|
-
public static toObject(message: google.api.
|
|
17094
|
+
public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16693
17095
|
|
|
16694
17096
|
/**
|
|
16695
|
-
* Converts this
|
|
17097
|
+
* Converts this HttpRule to JSON.
|
|
16696
17098
|
* @returns JSON object
|
|
16697
17099
|
*/
|
|
16698
17100
|
public toJSON(): { [k: string]: any };
|
|
16699
17101
|
}
|
|
16700
17102
|
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
/** History enum. */
|
|
16704
|
-
enum History {
|
|
16705
|
-
HISTORY_UNSPECIFIED = 0,
|
|
16706
|
-
ORIGINALLY_SINGLE_PATTERN = 1,
|
|
16707
|
-
FUTURE_MULTI_PATTERN = 2
|
|
16708
|
-
}
|
|
16709
|
-
|
|
16710
|
-
/** Style enum. */
|
|
16711
|
-
enum Style {
|
|
16712
|
-
STYLE_UNSPECIFIED = 0,
|
|
16713
|
-
DECLARATIVE_FRIENDLY = 1
|
|
16714
|
-
}
|
|
16715
|
-
}
|
|
16716
|
-
|
|
16717
|
-
/** Properties of a ResourceReference. */
|
|
16718
|
-
interface IResourceReference {
|
|
17103
|
+
/** Properties of a CustomHttpPattern. */
|
|
17104
|
+
interface ICustomHttpPattern {
|
|
16719
17105
|
|
|
16720
|
-
/**
|
|
16721
|
-
|
|
17106
|
+
/** CustomHttpPattern kind */
|
|
17107
|
+
kind?: (string|null);
|
|
16722
17108
|
|
|
16723
|
-
/**
|
|
16724
|
-
|
|
17109
|
+
/** CustomHttpPattern path */
|
|
17110
|
+
path?: (string|null);
|
|
16725
17111
|
}
|
|
16726
17112
|
|
|
16727
|
-
/** Represents a
|
|
16728
|
-
class
|
|
17113
|
+
/** Represents a CustomHttpPattern. */
|
|
17114
|
+
class CustomHttpPattern implements ICustomHttpPattern {
|
|
16729
17115
|
|
|
16730
17116
|
/**
|
|
16731
|
-
* Constructs a new
|
|
17117
|
+
* Constructs a new CustomHttpPattern.
|
|
16732
17118
|
* @param [properties] Properties to set
|
|
16733
17119
|
*/
|
|
16734
|
-
constructor(properties?: google.api.
|
|
17120
|
+
constructor(properties?: google.api.ICustomHttpPattern);
|
|
16735
17121
|
|
|
16736
|
-
/**
|
|
16737
|
-
public
|
|
17122
|
+
/** CustomHttpPattern kind. */
|
|
17123
|
+
public kind: string;
|
|
16738
17124
|
|
|
16739
|
-
/**
|
|
16740
|
-
public
|
|
17125
|
+
/** CustomHttpPattern path. */
|
|
17126
|
+
public path: string;
|
|
16741
17127
|
|
|
16742
17128
|
/**
|
|
16743
|
-
* Creates a new
|
|
17129
|
+
* Creates a new CustomHttpPattern instance using the specified properties.
|
|
16744
17130
|
* @param [properties] Properties to set
|
|
16745
|
-
* @returns
|
|
17131
|
+
* @returns CustomHttpPattern instance
|
|
16746
17132
|
*/
|
|
16747
|
-
public static create(properties?: google.api.
|
|
17133
|
+
public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
|
|
16748
17134
|
|
|
16749
17135
|
/**
|
|
16750
|
-
* Encodes the specified
|
|
16751
|
-
* @param message
|
|
17136
|
+
* Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
|
|
17137
|
+
* @param message CustomHttpPattern message or plain object to encode
|
|
16752
17138
|
* @param [writer] Writer to encode to
|
|
16753
17139
|
* @returns Writer
|
|
16754
17140
|
*/
|
|
16755
|
-
public static encode(message: google.api.
|
|
17141
|
+
public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16756
17142
|
|
|
16757
17143
|
/**
|
|
16758
|
-
* Encodes the specified
|
|
16759
|
-
* @param message
|
|
17144
|
+
* Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
|
|
17145
|
+
* @param message CustomHttpPattern message or plain object to encode
|
|
16760
17146
|
* @param [writer] Writer to encode to
|
|
16761
17147
|
* @returns Writer
|
|
16762
17148
|
*/
|
|
16763
|
-
public static encodeDelimited(message: google.api.
|
|
17149
|
+
public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16764
17150
|
|
|
16765
17151
|
/**
|
|
16766
|
-
* Decodes a
|
|
17152
|
+
* Decodes a CustomHttpPattern message from the specified reader or buffer.
|
|
16767
17153
|
* @param reader Reader or buffer to decode from
|
|
16768
17154
|
* @param [length] Message length if known beforehand
|
|
16769
|
-
* @returns
|
|
17155
|
+
* @returns CustomHttpPattern
|
|
16770
17156
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16771
17157
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16772
17158
|
*/
|
|
16773
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
17159
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
|
|
16774
17160
|
|
|
16775
17161
|
/**
|
|
16776
|
-
* Decodes a
|
|
17162
|
+
* Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
|
|
16777
17163
|
* @param reader Reader or buffer to decode from
|
|
16778
|
-
* @returns
|
|
17164
|
+
* @returns CustomHttpPattern
|
|
16779
17165
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16780
17166
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16781
17167
|
*/
|
|
16782
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
17168
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
|
|
16783
17169
|
|
|
16784
17170
|
/**
|
|
16785
|
-
* Verifies a
|
|
17171
|
+
* Verifies a CustomHttpPattern message.
|
|
16786
17172
|
* @param message Plain object to verify
|
|
16787
17173
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
16788
17174
|
*/
|
|
16789
17175
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
16790
17176
|
|
|
16791
17177
|
/**
|
|
16792
|
-
* Creates a
|
|
17178
|
+
* Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
|
|
16793
17179
|
* @param object Plain object
|
|
16794
|
-
* @returns
|
|
17180
|
+
* @returns CustomHttpPattern
|
|
16795
17181
|
*/
|
|
16796
|
-
public static fromObject(object: { [k: string]: any }): google.api.
|
|
17182
|
+
public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
|
|
16797
17183
|
|
|
16798
17184
|
/**
|
|
16799
|
-
* Creates a plain object from a
|
|
16800
|
-
* @param message
|
|
17185
|
+
* Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
|
|
17186
|
+
* @param message CustomHttpPattern
|
|
16801
17187
|
* @param [options] Conversion options
|
|
16802
17188
|
* @returns Plain object
|
|
16803
17189
|
*/
|
|
16804
|
-
public static toObject(message: google.api.
|
|
17190
|
+
public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16805
17191
|
|
|
16806
17192
|
/**
|
|
16807
|
-
* Converts this
|
|
17193
|
+
* Converts this CustomHttpPattern to JSON.
|
|
16808
17194
|
* @returns JSON object
|
|
16809
17195
|
*/
|
|
16810
17196
|
public toJSON(): { [k: string]: any };
|
|
@@ -17828,6 +18214,9 @@ export namespace google {
|
|
|
17828
18214
|
|
|
17829
18215
|
/** SetIamPolicyRequest policy */
|
|
17830
18216
|
policy?: (google.iam.v1.IPolicy|null);
|
|
18217
|
+
|
|
18218
|
+
/** SetIamPolicyRequest updateMask */
|
|
18219
|
+
updateMask?: (google.protobuf.IFieldMask|null);
|
|
17831
18220
|
}
|
|
17832
18221
|
|
|
17833
18222
|
/** Represents a SetIamPolicyRequest. */
|
|
@@ -17845,6 +18234,9 @@ export namespace google {
|
|
|
17845
18234
|
/** SetIamPolicyRequest policy. */
|
|
17846
18235
|
public policy?: (google.iam.v1.IPolicy|null);
|
|
17847
18236
|
|
|
18237
|
+
/** SetIamPolicyRequest updateMask. */
|
|
18238
|
+
public updateMask?: (google.protobuf.IFieldMask|null);
|
|
18239
|
+
|
|
17848
18240
|
/**
|
|
17849
18241
|
* Creates a new SetIamPolicyRequest instance using the specified properties.
|
|
17850
18242
|
* @param [properties] Properties to set
|
|
@@ -18297,6 +18689,9 @@ export namespace google {
|
|
|
18297
18689
|
/** Policy bindings */
|
|
18298
18690
|
bindings?: (google.iam.v1.IBinding[]|null);
|
|
18299
18691
|
|
|
18692
|
+
/** Policy auditConfigs */
|
|
18693
|
+
auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
|
|
18694
|
+
|
|
18300
18695
|
/** Policy etag */
|
|
18301
18696
|
etag?: (Uint8Array|string|null);
|
|
18302
18697
|
}
|
|
@@ -18316,6 +18711,9 @@ export namespace google {
|
|
|
18316
18711
|
/** Policy bindings. */
|
|
18317
18712
|
public bindings: google.iam.v1.IBinding[];
|
|
18318
18713
|
|
|
18714
|
+
/** Policy auditConfigs. */
|
|
18715
|
+
public auditConfigs: google.iam.v1.IAuditConfig[];
|
|
18716
|
+
|
|
18319
18717
|
/** Policy etag. */
|
|
18320
18718
|
public etag: (Uint8Array|string);
|
|
18321
18719
|
|
|
@@ -18492,6 +18890,209 @@ export namespace google {
|
|
|
18492
18890
|
public toJSON(): { [k: string]: any };
|
|
18493
18891
|
}
|
|
18494
18892
|
|
|
18893
|
+
/** Properties of an AuditConfig. */
|
|
18894
|
+
interface IAuditConfig {
|
|
18895
|
+
|
|
18896
|
+
/** AuditConfig service */
|
|
18897
|
+
service?: (string|null);
|
|
18898
|
+
|
|
18899
|
+
/** AuditConfig auditLogConfigs */
|
|
18900
|
+
auditLogConfigs?: (google.iam.v1.IAuditLogConfig[]|null);
|
|
18901
|
+
}
|
|
18902
|
+
|
|
18903
|
+
/** Represents an AuditConfig. */
|
|
18904
|
+
class AuditConfig implements IAuditConfig {
|
|
18905
|
+
|
|
18906
|
+
/**
|
|
18907
|
+
* Constructs a new AuditConfig.
|
|
18908
|
+
* @param [properties] Properties to set
|
|
18909
|
+
*/
|
|
18910
|
+
constructor(properties?: google.iam.v1.IAuditConfig);
|
|
18911
|
+
|
|
18912
|
+
/** AuditConfig service. */
|
|
18913
|
+
public service: string;
|
|
18914
|
+
|
|
18915
|
+
/** AuditConfig auditLogConfigs. */
|
|
18916
|
+
public auditLogConfigs: google.iam.v1.IAuditLogConfig[];
|
|
18917
|
+
|
|
18918
|
+
/**
|
|
18919
|
+
* Creates a new AuditConfig instance using the specified properties.
|
|
18920
|
+
* @param [properties] Properties to set
|
|
18921
|
+
* @returns AuditConfig instance
|
|
18922
|
+
*/
|
|
18923
|
+
public static create(properties?: google.iam.v1.IAuditConfig): google.iam.v1.AuditConfig;
|
|
18924
|
+
|
|
18925
|
+
/**
|
|
18926
|
+
* Encodes the specified AuditConfig message. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
|
|
18927
|
+
* @param message AuditConfig message or plain object to encode
|
|
18928
|
+
* @param [writer] Writer to encode to
|
|
18929
|
+
* @returns Writer
|
|
18930
|
+
*/
|
|
18931
|
+
public static encode(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18932
|
+
|
|
18933
|
+
/**
|
|
18934
|
+
* Encodes the specified AuditConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
|
|
18935
|
+
* @param message AuditConfig message or plain object to encode
|
|
18936
|
+
* @param [writer] Writer to encode to
|
|
18937
|
+
* @returns Writer
|
|
18938
|
+
*/
|
|
18939
|
+
public static encodeDelimited(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18940
|
+
|
|
18941
|
+
/**
|
|
18942
|
+
* Decodes an AuditConfig message from the specified reader or buffer.
|
|
18943
|
+
* @param reader Reader or buffer to decode from
|
|
18944
|
+
* @param [length] Message length if known beforehand
|
|
18945
|
+
* @returns AuditConfig
|
|
18946
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18947
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18948
|
+
*/
|
|
18949
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfig;
|
|
18950
|
+
|
|
18951
|
+
/**
|
|
18952
|
+
* Decodes an AuditConfig message from the specified reader or buffer, length delimited.
|
|
18953
|
+
* @param reader Reader or buffer to decode from
|
|
18954
|
+
* @returns AuditConfig
|
|
18955
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18956
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18957
|
+
*/
|
|
18958
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfig;
|
|
18959
|
+
|
|
18960
|
+
/**
|
|
18961
|
+
* Verifies an AuditConfig message.
|
|
18962
|
+
* @param message Plain object to verify
|
|
18963
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18964
|
+
*/
|
|
18965
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18966
|
+
|
|
18967
|
+
/**
|
|
18968
|
+
* Creates an AuditConfig message from a plain object. Also converts values to their respective internal types.
|
|
18969
|
+
* @param object Plain object
|
|
18970
|
+
* @returns AuditConfig
|
|
18971
|
+
*/
|
|
18972
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfig;
|
|
18973
|
+
|
|
18974
|
+
/**
|
|
18975
|
+
* Creates a plain object from an AuditConfig message. Also converts values to other types if specified.
|
|
18976
|
+
* @param message AuditConfig
|
|
18977
|
+
* @param [options] Conversion options
|
|
18978
|
+
* @returns Plain object
|
|
18979
|
+
*/
|
|
18980
|
+
public static toObject(message: google.iam.v1.AuditConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18981
|
+
|
|
18982
|
+
/**
|
|
18983
|
+
* Converts this AuditConfig to JSON.
|
|
18984
|
+
* @returns JSON object
|
|
18985
|
+
*/
|
|
18986
|
+
public toJSON(): { [k: string]: any };
|
|
18987
|
+
}
|
|
18988
|
+
|
|
18989
|
+
/** Properties of an AuditLogConfig. */
|
|
18990
|
+
interface IAuditLogConfig {
|
|
18991
|
+
|
|
18992
|
+
/** AuditLogConfig logType */
|
|
18993
|
+
logType?: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType|null);
|
|
18994
|
+
|
|
18995
|
+
/** AuditLogConfig exemptedMembers */
|
|
18996
|
+
exemptedMembers?: (string[]|null);
|
|
18997
|
+
}
|
|
18998
|
+
|
|
18999
|
+
/** Represents an AuditLogConfig. */
|
|
19000
|
+
class AuditLogConfig implements IAuditLogConfig {
|
|
19001
|
+
|
|
19002
|
+
/**
|
|
19003
|
+
* Constructs a new AuditLogConfig.
|
|
19004
|
+
* @param [properties] Properties to set
|
|
19005
|
+
*/
|
|
19006
|
+
constructor(properties?: google.iam.v1.IAuditLogConfig);
|
|
19007
|
+
|
|
19008
|
+
/** AuditLogConfig logType. */
|
|
19009
|
+
public logType: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType);
|
|
19010
|
+
|
|
19011
|
+
/** AuditLogConfig exemptedMembers. */
|
|
19012
|
+
public exemptedMembers: string[];
|
|
19013
|
+
|
|
19014
|
+
/**
|
|
19015
|
+
* Creates a new AuditLogConfig instance using the specified properties.
|
|
19016
|
+
* @param [properties] Properties to set
|
|
19017
|
+
* @returns AuditLogConfig instance
|
|
19018
|
+
*/
|
|
19019
|
+
public static create(properties?: google.iam.v1.IAuditLogConfig): google.iam.v1.AuditLogConfig;
|
|
19020
|
+
|
|
19021
|
+
/**
|
|
19022
|
+
* Encodes the specified AuditLogConfig message. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
|
|
19023
|
+
* @param message AuditLogConfig message or plain object to encode
|
|
19024
|
+
* @param [writer] Writer to encode to
|
|
19025
|
+
* @returns Writer
|
|
19026
|
+
*/
|
|
19027
|
+
public static encode(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19028
|
+
|
|
19029
|
+
/**
|
|
19030
|
+
* Encodes the specified AuditLogConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
|
|
19031
|
+
* @param message AuditLogConfig message or plain object to encode
|
|
19032
|
+
* @param [writer] Writer to encode to
|
|
19033
|
+
* @returns Writer
|
|
19034
|
+
*/
|
|
19035
|
+
public static encodeDelimited(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
19036
|
+
|
|
19037
|
+
/**
|
|
19038
|
+
* Decodes an AuditLogConfig message from the specified reader or buffer.
|
|
19039
|
+
* @param reader Reader or buffer to decode from
|
|
19040
|
+
* @param [length] Message length if known beforehand
|
|
19041
|
+
* @returns AuditLogConfig
|
|
19042
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19043
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19044
|
+
*/
|
|
19045
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditLogConfig;
|
|
19046
|
+
|
|
19047
|
+
/**
|
|
19048
|
+
* Decodes an AuditLogConfig message from the specified reader or buffer, length delimited.
|
|
19049
|
+
* @param reader Reader or buffer to decode from
|
|
19050
|
+
* @returns AuditLogConfig
|
|
19051
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19052
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19053
|
+
*/
|
|
19054
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditLogConfig;
|
|
19055
|
+
|
|
19056
|
+
/**
|
|
19057
|
+
* Verifies an AuditLogConfig message.
|
|
19058
|
+
* @param message Plain object to verify
|
|
19059
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
19060
|
+
*/
|
|
19061
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
19062
|
+
|
|
19063
|
+
/**
|
|
19064
|
+
* Creates an AuditLogConfig message from a plain object. Also converts values to their respective internal types.
|
|
19065
|
+
* @param object Plain object
|
|
19066
|
+
* @returns AuditLogConfig
|
|
19067
|
+
*/
|
|
19068
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditLogConfig;
|
|
19069
|
+
|
|
19070
|
+
/**
|
|
19071
|
+
* Creates a plain object from an AuditLogConfig message. Also converts values to other types if specified.
|
|
19072
|
+
* @param message AuditLogConfig
|
|
19073
|
+
* @param [options] Conversion options
|
|
19074
|
+
* @returns Plain object
|
|
19075
|
+
*/
|
|
19076
|
+
public static toObject(message: google.iam.v1.AuditLogConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
19077
|
+
|
|
19078
|
+
/**
|
|
19079
|
+
* Converts this AuditLogConfig to JSON.
|
|
19080
|
+
* @returns JSON object
|
|
19081
|
+
*/
|
|
19082
|
+
public toJSON(): { [k: string]: any };
|
|
19083
|
+
}
|
|
19084
|
+
|
|
19085
|
+
namespace AuditLogConfig {
|
|
19086
|
+
|
|
19087
|
+
/** LogType enum. */
|
|
19088
|
+
enum LogType {
|
|
19089
|
+
LOG_TYPE_UNSPECIFIED = 0,
|
|
19090
|
+
ADMIN_READ = 1,
|
|
19091
|
+
DATA_WRITE = 2,
|
|
19092
|
+
DATA_READ = 3
|
|
19093
|
+
}
|
|
19094
|
+
}
|
|
19095
|
+
|
|
18495
19096
|
/** Properties of a PolicyDelta. */
|
|
18496
19097
|
interface IPolicyDelta {
|
|
18497
19098
|
|