@google-cloud/storage-control 0.5.0 → 0.6.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/README.md +3 -0
- package/build/protos/google/storage/control/v2/storage_control.proto +59 -0
- package/build/protos/protos.d.ts +2306 -109
- package/build/protos/protos.js +5926 -242
- package/build/protos/protos.json +630 -31
- package/build/src/v2/gapic_metadata.json +30 -0
- package/build/src/v2/storage_control_client.d.ts +105 -0
- package/build/src/v2/storage_control_client.js +176 -1
- package/build/src/v2/storage_control_client.js.map +1 -1
- package/build/src/v2/storage_control_client_config.json +15 -0
- package/package.json +1 -1
package/build/protos/protos.d.ts
CHANGED
|
@@ -367,6 +367,48 @@ export namespace google {
|
|
|
367
367
|
* @returns Promise
|
|
368
368
|
*/
|
|
369
369
|
public updateOrganizationIntelligenceConfig(request: google.storage.control.v2.IUpdateOrganizationIntelligenceConfigRequest): Promise<google.storage.control.v2.IntelligenceConfig>;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Calls GetIamPolicy.
|
|
373
|
+
* @param request GetIamPolicyRequest message or plain object
|
|
374
|
+
* @param callback Node-style callback called with the error, if any, and Policy
|
|
375
|
+
*/
|
|
376
|
+
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.storage.control.v2.StorageControl.GetIamPolicyCallback): void;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Calls GetIamPolicy.
|
|
380
|
+
* @param request GetIamPolicyRequest message or plain object
|
|
381
|
+
* @returns Promise
|
|
382
|
+
*/
|
|
383
|
+
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Calls SetIamPolicy.
|
|
387
|
+
* @param request SetIamPolicyRequest message or plain object
|
|
388
|
+
* @param callback Node-style callback called with the error, if any, and Policy
|
|
389
|
+
*/
|
|
390
|
+
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.storage.control.v2.StorageControl.SetIamPolicyCallback): void;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Calls SetIamPolicy.
|
|
394
|
+
* @param request SetIamPolicyRequest message or plain object
|
|
395
|
+
* @returns Promise
|
|
396
|
+
*/
|
|
397
|
+
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Calls TestIamPermissions.
|
|
401
|
+
* @param request TestIamPermissionsRequest message or plain object
|
|
402
|
+
* @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
|
|
403
|
+
*/
|
|
404
|
+
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.storage.control.v2.StorageControl.TestIamPermissionsCallback): void;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Calls TestIamPermissions.
|
|
408
|
+
* @param request TestIamPermissionsRequest message or plain object
|
|
409
|
+
* @returns Promise
|
|
410
|
+
*/
|
|
411
|
+
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;
|
|
370
412
|
}
|
|
371
413
|
|
|
372
414
|
namespace StorageControl {
|
|
@@ -531,6 +573,27 @@ export namespace google {
|
|
|
531
573
|
* @param [response] IntelligenceConfig
|
|
532
574
|
*/
|
|
533
575
|
type UpdateOrganizationIntelligenceConfigCallback = (error: (Error|null), response?: google.storage.control.v2.IntelligenceConfig) => void;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Callback as used by {@link google.storage.control.v2.StorageControl|getIamPolicy}.
|
|
579
|
+
* @param error Error, if any
|
|
580
|
+
* @param [response] Policy
|
|
581
|
+
*/
|
|
582
|
+
type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Callback as used by {@link google.storage.control.v2.StorageControl|setIamPolicy}.
|
|
586
|
+
* @param error Error, if any
|
|
587
|
+
* @param [response] Policy
|
|
588
|
+
*/
|
|
589
|
+
type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Callback as used by {@link google.storage.control.v2.StorageControl|testIamPermissions}.
|
|
593
|
+
* @param error Error, if any
|
|
594
|
+
* @param [response] TestIamPermissionsResponse
|
|
595
|
+
*/
|
|
596
|
+
type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
|
|
534
597
|
}
|
|
535
598
|
|
|
536
599
|
/** Properties of a PendingRenameInfo. */
|
|
@@ -5706,6 +5769,9 @@ export namespace google {
|
|
|
5706
5769
|
|
|
5707
5770
|
/** CommonLanguageSettings destinations */
|
|
5708
5771
|
destinations?: (google.api.ClientLibraryDestination[]|null);
|
|
5772
|
+
|
|
5773
|
+
/** CommonLanguageSettings selectiveGapicGeneration */
|
|
5774
|
+
selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
|
|
5709
5775
|
}
|
|
5710
5776
|
|
|
5711
5777
|
/** Represents a CommonLanguageSettings. */
|
|
@@ -5723,6 +5789,9 @@ export namespace google {
|
|
|
5723
5789
|
/** CommonLanguageSettings destinations. */
|
|
5724
5790
|
public destinations: google.api.ClientLibraryDestination[];
|
|
5725
5791
|
|
|
5792
|
+
/** CommonLanguageSettings selectiveGapicGeneration. */
|
|
5793
|
+
public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
|
|
5794
|
+
|
|
5726
5795
|
/**
|
|
5727
5796
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
|
5728
5797
|
* @param [properties] Properties to set
|
|
@@ -6423,6 +6492,9 @@ export namespace google {
|
|
|
6423
6492
|
|
|
6424
6493
|
/** PythonSettings common */
|
|
6425
6494
|
common?: (google.api.ICommonLanguageSettings|null);
|
|
6495
|
+
|
|
6496
|
+
/** PythonSettings experimentalFeatures */
|
|
6497
|
+
experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
|
|
6426
6498
|
}
|
|
6427
6499
|
|
|
6428
6500
|
/** Represents a PythonSettings. */
|
|
@@ -6437,6 +6509,9 @@ export namespace google {
|
|
|
6437
6509
|
/** PythonSettings common. */
|
|
6438
6510
|
public common?: (google.api.ICommonLanguageSettings|null);
|
|
6439
6511
|
|
|
6512
|
+
/** PythonSettings experimentalFeatures. */
|
|
6513
|
+
public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
|
|
6514
|
+
|
|
6440
6515
|
/**
|
|
6441
6516
|
* Creates a new PythonSettings instance using the specified properties.
|
|
6442
6517
|
* @param [properties] Properties to set
|
|
@@ -6515,6 +6590,118 @@ export namespace google {
|
|
|
6515
6590
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6516
6591
|
}
|
|
6517
6592
|
|
|
6593
|
+
namespace PythonSettings {
|
|
6594
|
+
|
|
6595
|
+
/** Properties of an ExperimentalFeatures. */
|
|
6596
|
+
interface IExperimentalFeatures {
|
|
6597
|
+
|
|
6598
|
+
/** ExperimentalFeatures restAsyncIoEnabled */
|
|
6599
|
+
restAsyncIoEnabled?: (boolean|null);
|
|
6600
|
+
|
|
6601
|
+
/** ExperimentalFeatures protobufPythonicTypesEnabled */
|
|
6602
|
+
protobufPythonicTypesEnabled?: (boolean|null);
|
|
6603
|
+
|
|
6604
|
+
/** ExperimentalFeatures unversionedPackageDisabled */
|
|
6605
|
+
unversionedPackageDisabled?: (boolean|null);
|
|
6606
|
+
}
|
|
6607
|
+
|
|
6608
|
+
/** Represents an ExperimentalFeatures. */
|
|
6609
|
+
class ExperimentalFeatures implements IExperimentalFeatures {
|
|
6610
|
+
|
|
6611
|
+
/**
|
|
6612
|
+
* Constructs a new ExperimentalFeatures.
|
|
6613
|
+
* @param [properties] Properties to set
|
|
6614
|
+
*/
|
|
6615
|
+
constructor(properties?: google.api.PythonSettings.IExperimentalFeatures);
|
|
6616
|
+
|
|
6617
|
+
/** ExperimentalFeatures restAsyncIoEnabled. */
|
|
6618
|
+
public restAsyncIoEnabled: boolean;
|
|
6619
|
+
|
|
6620
|
+
/** ExperimentalFeatures protobufPythonicTypesEnabled. */
|
|
6621
|
+
public protobufPythonicTypesEnabled: boolean;
|
|
6622
|
+
|
|
6623
|
+
/** ExperimentalFeatures unversionedPackageDisabled. */
|
|
6624
|
+
public unversionedPackageDisabled: boolean;
|
|
6625
|
+
|
|
6626
|
+
/**
|
|
6627
|
+
* Creates a new ExperimentalFeatures instance using the specified properties.
|
|
6628
|
+
* @param [properties] Properties to set
|
|
6629
|
+
* @returns ExperimentalFeatures instance
|
|
6630
|
+
*/
|
|
6631
|
+
public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures;
|
|
6632
|
+
|
|
6633
|
+
/**
|
|
6634
|
+
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
6635
|
+
* @param message ExperimentalFeatures message or plain object to encode
|
|
6636
|
+
* @param [writer] Writer to encode to
|
|
6637
|
+
* @returns Writer
|
|
6638
|
+
*/
|
|
6639
|
+
public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6640
|
+
|
|
6641
|
+
/**
|
|
6642
|
+
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
6643
|
+
* @param message ExperimentalFeatures message or plain object to encode
|
|
6644
|
+
* @param [writer] Writer to encode to
|
|
6645
|
+
* @returns Writer
|
|
6646
|
+
*/
|
|
6647
|
+
public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6648
|
+
|
|
6649
|
+
/**
|
|
6650
|
+
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
|
6651
|
+
* @param reader Reader or buffer to decode from
|
|
6652
|
+
* @param [length] Message length if known beforehand
|
|
6653
|
+
* @returns ExperimentalFeatures
|
|
6654
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6655
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6656
|
+
*/
|
|
6657
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures;
|
|
6658
|
+
|
|
6659
|
+
/**
|
|
6660
|
+
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
|
6661
|
+
* @param reader Reader or buffer to decode from
|
|
6662
|
+
* @returns ExperimentalFeatures
|
|
6663
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6664
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6665
|
+
*/
|
|
6666
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures;
|
|
6667
|
+
|
|
6668
|
+
/**
|
|
6669
|
+
* Verifies an ExperimentalFeatures message.
|
|
6670
|
+
* @param message Plain object to verify
|
|
6671
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6672
|
+
*/
|
|
6673
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6674
|
+
|
|
6675
|
+
/**
|
|
6676
|
+
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
|
6677
|
+
* @param object Plain object
|
|
6678
|
+
* @returns ExperimentalFeatures
|
|
6679
|
+
*/
|
|
6680
|
+
public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures;
|
|
6681
|
+
|
|
6682
|
+
/**
|
|
6683
|
+
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
|
6684
|
+
* @param message ExperimentalFeatures
|
|
6685
|
+
* @param [options] Conversion options
|
|
6686
|
+
* @returns Plain object
|
|
6687
|
+
*/
|
|
6688
|
+
public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6689
|
+
|
|
6690
|
+
/**
|
|
6691
|
+
* Converts this ExperimentalFeatures to JSON.
|
|
6692
|
+
* @returns JSON object
|
|
6693
|
+
*/
|
|
6694
|
+
public toJSON(): { [k: string]: any };
|
|
6695
|
+
|
|
6696
|
+
/**
|
|
6697
|
+
* Gets the default type url for ExperimentalFeatures
|
|
6698
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6699
|
+
* @returns The default type url
|
|
6700
|
+
*/
|
|
6701
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6702
|
+
}
|
|
6703
|
+
}
|
|
6704
|
+
|
|
6518
6705
|
/** Properties of a NodeSettings. */
|
|
6519
6706
|
interface INodeSettings {
|
|
6520
6707
|
|
|
@@ -6841,6 +7028,9 @@ export namespace google {
|
|
|
6841
7028
|
|
|
6842
7029
|
/** GoSettings common */
|
|
6843
7030
|
common?: (google.api.ICommonLanguageSettings|null);
|
|
7031
|
+
|
|
7032
|
+
/** GoSettings renamedServices */
|
|
7033
|
+
renamedServices?: ({ [k: string]: string }|null);
|
|
6844
7034
|
}
|
|
6845
7035
|
|
|
6846
7036
|
/** Represents a GoSettings. */
|
|
@@ -6855,6 +7045,9 @@ export namespace google {
|
|
|
6855
7045
|
/** GoSettings common. */
|
|
6856
7046
|
public common?: (google.api.ICommonLanguageSettings|null);
|
|
6857
7047
|
|
|
7048
|
+
/** GoSettings renamedServices. */
|
|
7049
|
+
public renamedServices: { [k: string]: string };
|
|
7050
|
+
|
|
6858
7051
|
/**
|
|
6859
7052
|
* Creates a new GoSettings instance using the specified properties.
|
|
6860
7053
|
* @param [properties] Properties to set
|
|
@@ -7179,6 +7372,109 @@ export namespace google {
|
|
|
7179
7372
|
PACKAGE_MANAGER = 20
|
|
7180
7373
|
}
|
|
7181
7374
|
|
|
7375
|
+
/** Properties of a SelectiveGapicGeneration. */
|
|
7376
|
+
interface ISelectiveGapicGeneration {
|
|
7377
|
+
|
|
7378
|
+
/** SelectiveGapicGeneration methods */
|
|
7379
|
+
methods?: (string[]|null);
|
|
7380
|
+
|
|
7381
|
+
/** SelectiveGapicGeneration generateOmittedAsInternal */
|
|
7382
|
+
generateOmittedAsInternal?: (boolean|null);
|
|
7383
|
+
}
|
|
7384
|
+
|
|
7385
|
+
/** Represents a SelectiveGapicGeneration. */
|
|
7386
|
+
class SelectiveGapicGeneration implements ISelectiveGapicGeneration {
|
|
7387
|
+
|
|
7388
|
+
/**
|
|
7389
|
+
* Constructs a new SelectiveGapicGeneration.
|
|
7390
|
+
* @param [properties] Properties to set
|
|
7391
|
+
*/
|
|
7392
|
+
constructor(properties?: google.api.ISelectiveGapicGeneration);
|
|
7393
|
+
|
|
7394
|
+
/** SelectiveGapicGeneration methods. */
|
|
7395
|
+
public methods: string[];
|
|
7396
|
+
|
|
7397
|
+
/** SelectiveGapicGeneration generateOmittedAsInternal. */
|
|
7398
|
+
public generateOmittedAsInternal: boolean;
|
|
7399
|
+
|
|
7400
|
+
/**
|
|
7401
|
+
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
|
7402
|
+
* @param [properties] Properties to set
|
|
7403
|
+
* @returns SelectiveGapicGeneration instance
|
|
7404
|
+
*/
|
|
7405
|
+
public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration;
|
|
7406
|
+
|
|
7407
|
+
/**
|
|
7408
|
+
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
7409
|
+
* @param message SelectiveGapicGeneration message or plain object to encode
|
|
7410
|
+
* @param [writer] Writer to encode to
|
|
7411
|
+
* @returns Writer
|
|
7412
|
+
*/
|
|
7413
|
+
public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7414
|
+
|
|
7415
|
+
/**
|
|
7416
|
+
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
7417
|
+
* @param message SelectiveGapicGeneration message or plain object to encode
|
|
7418
|
+
* @param [writer] Writer to encode to
|
|
7419
|
+
* @returns Writer
|
|
7420
|
+
*/
|
|
7421
|
+
public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7422
|
+
|
|
7423
|
+
/**
|
|
7424
|
+
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
|
7425
|
+
* @param reader Reader or buffer to decode from
|
|
7426
|
+
* @param [length] Message length if known beforehand
|
|
7427
|
+
* @returns SelectiveGapicGeneration
|
|
7428
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7429
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7430
|
+
*/
|
|
7431
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration;
|
|
7432
|
+
|
|
7433
|
+
/**
|
|
7434
|
+
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
|
7435
|
+
* @param reader Reader or buffer to decode from
|
|
7436
|
+
* @returns SelectiveGapicGeneration
|
|
7437
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7438
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7439
|
+
*/
|
|
7440
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration;
|
|
7441
|
+
|
|
7442
|
+
/**
|
|
7443
|
+
* Verifies a SelectiveGapicGeneration message.
|
|
7444
|
+
* @param message Plain object to verify
|
|
7445
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7446
|
+
*/
|
|
7447
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7448
|
+
|
|
7449
|
+
/**
|
|
7450
|
+
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
|
7451
|
+
* @param object Plain object
|
|
7452
|
+
* @returns SelectiveGapicGeneration
|
|
7453
|
+
*/
|
|
7454
|
+
public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration;
|
|
7455
|
+
|
|
7456
|
+
/**
|
|
7457
|
+
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
|
7458
|
+
* @param message SelectiveGapicGeneration
|
|
7459
|
+
* @param [options] Conversion options
|
|
7460
|
+
* @returns Plain object
|
|
7461
|
+
*/
|
|
7462
|
+
public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7463
|
+
|
|
7464
|
+
/**
|
|
7465
|
+
* Converts this SelectiveGapicGeneration to JSON.
|
|
7466
|
+
* @returns JSON object
|
|
7467
|
+
*/
|
|
7468
|
+
public toJSON(): { [k: string]: any };
|
|
7469
|
+
|
|
7470
|
+
/**
|
|
7471
|
+
* Gets the default type url for SelectiveGapicGeneration
|
|
7472
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7473
|
+
* @returns The default type url
|
|
7474
|
+
*/
|
|
7475
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7476
|
+
}
|
|
7477
|
+
|
|
7182
7478
|
/** LaunchStage enum. */
|
|
7183
7479
|
enum LaunchStage {
|
|
7184
7480
|
LAUNCH_STAGE_UNSPECIFIED = 0,
|
|
@@ -7209,6 +7505,9 @@ export namespace google {
|
|
|
7209
7505
|
|
|
7210
7506
|
/** FieldInfo format */
|
|
7211
7507
|
format?: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format|null);
|
|
7508
|
+
|
|
7509
|
+
/** FieldInfo referencedTypes */
|
|
7510
|
+
referencedTypes?: (google.api.ITypeReference[]|null);
|
|
7212
7511
|
}
|
|
7213
7512
|
|
|
7214
7513
|
/** Represents a FieldInfo. */
|
|
@@ -7223,6 +7522,9 @@ export namespace google {
|
|
|
7223
7522
|
/** FieldInfo format. */
|
|
7224
7523
|
public format: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format);
|
|
7225
7524
|
|
|
7525
|
+
/** FieldInfo referencedTypes. */
|
|
7526
|
+
public referencedTypes: google.api.ITypeReference[];
|
|
7527
|
+
|
|
7226
7528
|
/**
|
|
7227
7529
|
* Creates a new FieldInfo instance using the specified properties.
|
|
7228
7530
|
* @param [properties] Properties to set
|
|
@@ -7313,6 +7615,103 @@ export namespace google {
|
|
|
7313
7615
|
}
|
|
7314
7616
|
}
|
|
7315
7617
|
|
|
7618
|
+
/** Properties of a TypeReference. */
|
|
7619
|
+
interface ITypeReference {
|
|
7620
|
+
|
|
7621
|
+
/** TypeReference typeName */
|
|
7622
|
+
typeName?: (string|null);
|
|
7623
|
+
}
|
|
7624
|
+
|
|
7625
|
+
/** Represents a TypeReference. */
|
|
7626
|
+
class TypeReference implements ITypeReference {
|
|
7627
|
+
|
|
7628
|
+
/**
|
|
7629
|
+
* Constructs a new TypeReference.
|
|
7630
|
+
* @param [properties] Properties to set
|
|
7631
|
+
*/
|
|
7632
|
+
constructor(properties?: google.api.ITypeReference);
|
|
7633
|
+
|
|
7634
|
+
/** TypeReference typeName. */
|
|
7635
|
+
public typeName: string;
|
|
7636
|
+
|
|
7637
|
+
/**
|
|
7638
|
+
* Creates a new TypeReference instance using the specified properties.
|
|
7639
|
+
* @param [properties] Properties to set
|
|
7640
|
+
* @returns TypeReference instance
|
|
7641
|
+
*/
|
|
7642
|
+
public static create(properties?: google.api.ITypeReference): google.api.TypeReference;
|
|
7643
|
+
|
|
7644
|
+
/**
|
|
7645
|
+
* Encodes the specified TypeReference message. Does not implicitly {@link google.api.TypeReference.verify|verify} messages.
|
|
7646
|
+
* @param message TypeReference message or plain object to encode
|
|
7647
|
+
* @param [writer] Writer to encode to
|
|
7648
|
+
* @returns Writer
|
|
7649
|
+
*/
|
|
7650
|
+
public static encode(message: google.api.ITypeReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7651
|
+
|
|
7652
|
+
/**
|
|
7653
|
+
* Encodes the specified TypeReference message, length delimited. Does not implicitly {@link google.api.TypeReference.verify|verify} messages.
|
|
7654
|
+
* @param message TypeReference message or plain object to encode
|
|
7655
|
+
* @param [writer] Writer to encode to
|
|
7656
|
+
* @returns Writer
|
|
7657
|
+
*/
|
|
7658
|
+
public static encodeDelimited(message: google.api.ITypeReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7659
|
+
|
|
7660
|
+
/**
|
|
7661
|
+
* Decodes a TypeReference message from the specified reader or buffer.
|
|
7662
|
+
* @param reader Reader or buffer to decode from
|
|
7663
|
+
* @param [length] Message length if known beforehand
|
|
7664
|
+
* @returns TypeReference
|
|
7665
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7666
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7667
|
+
*/
|
|
7668
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.TypeReference;
|
|
7669
|
+
|
|
7670
|
+
/**
|
|
7671
|
+
* Decodes a TypeReference message from the specified reader or buffer, length delimited.
|
|
7672
|
+
* @param reader Reader or buffer to decode from
|
|
7673
|
+
* @returns TypeReference
|
|
7674
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7675
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7676
|
+
*/
|
|
7677
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.TypeReference;
|
|
7678
|
+
|
|
7679
|
+
/**
|
|
7680
|
+
* Verifies a TypeReference message.
|
|
7681
|
+
* @param message Plain object to verify
|
|
7682
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7683
|
+
*/
|
|
7684
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7685
|
+
|
|
7686
|
+
/**
|
|
7687
|
+
* Creates a TypeReference message from a plain object. Also converts values to their respective internal types.
|
|
7688
|
+
* @param object Plain object
|
|
7689
|
+
* @returns TypeReference
|
|
7690
|
+
*/
|
|
7691
|
+
public static fromObject(object: { [k: string]: any }): google.api.TypeReference;
|
|
7692
|
+
|
|
7693
|
+
/**
|
|
7694
|
+
* Creates a plain object from a TypeReference message. Also converts values to other types if specified.
|
|
7695
|
+
* @param message TypeReference
|
|
7696
|
+
* @param [options] Conversion options
|
|
7697
|
+
* @returns Plain object
|
|
7698
|
+
*/
|
|
7699
|
+
public static toObject(message: google.api.TypeReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7700
|
+
|
|
7701
|
+
/**
|
|
7702
|
+
* Converts this TypeReference to JSON.
|
|
7703
|
+
* @returns JSON object
|
|
7704
|
+
*/
|
|
7705
|
+
public toJSON(): { [k: string]: any };
|
|
7706
|
+
|
|
7707
|
+
/**
|
|
7708
|
+
* Gets the default type url for TypeReference
|
|
7709
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7710
|
+
* @returns The default type url
|
|
7711
|
+
*/
|
|
7712
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7713
|
+
}
|
|
7714
|
+
|
|
7316
7715
|
/** Properties of a ResourceDescriptor. */
|
|
7317
7716
|
interface IResourceDescriptor {
|
|
7318
7717
|
|
|
@@ -7869,6 +8268,7 @@ export namespace google {
|
|
|
7869
8268
|
/** Edition enum. */
|
|
7870
8269
|
enum Edition {
|
|
7871
8270
|
EDITION_UNKNOWN = 0,
|
|
8271
|
+
EDITION_LEGACY = 900,
|
|
7872
8272
|
EDITION_PROTO2 = 998,
|
|
7873
8273
|
EDITION_PROTO3 = 999,
|
|
7874
8274
|
EDITION_2023 = 1000,
|
|
@@ -7899,6 +8299,9 @@ export namespace google {
|
|
|
7899
8299
|
/** FileDescriptorProto weakDependency */
|
|
7900
8300
|
weakDependency?: (number[]|null);
|
|
7901
8301
|
|
|
8302
|
+
/** FileDescriptorProto optionDependency */
|
|
8303
|
+
optionDependency?: (string[]|null);
|
|
8304
|
+
|
|
7902
8305
|
/** FileDescriptorProto messageType */
|
|
7903
8306
|
messageType?: (google.protobuf.IDescriptorProto[]|null);
|
|
7904
8307
|
|
|
@@ -7948,6 +8351,9 @@ export namespace google {
|
|
|
7948
8351
|
/** FileDescriptorProto weakDependency. */
|
|
7949
8352
|
public weakDependency: number[];
|
|
7950
8353
|
|
|
8354
|
+
/** FileDescriptorProto optionDependency. */
|
|
8355
|
+
public optionDependency: string[];
|
|
8356
|
+
|
|
7951
8357
|
/** FileDescriptorProto messageType. */
|
|
7952
8358
|
public messageType: google.protobuf.IDescriptorProto[];
|
|
7953
8359
|
|
|
@@ -8082,6 +8488,9 @@ export namespace google {
|
|
|
8082
8488
|
|
|
8083
8489
|
/** DescriptorProto reservedName */
|
|
8084
8490
|
reservedName?: (string[]|null);
|
|
8491
|
+
|
|
8492
|
+
/** DescriptorProto visibility */
|
|
8493
|
+
visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
|
|
8085
8494
|
}
|
|
8086
8495
|
|
|
8087
8496
|
/** Represents a DescriptorProto. */
|
|
@@ -8123,6 +8532,9 @@ export namespace google {
|
|
|
8123
8532
|
/** DescriptorProto reservedName. */
|
|
8124
8533
|
public reservedName: string[];
|
|
8125
8534
|
|
|
8535
|
+
/** DescriptorProto visibility. */
|
|
8536
|
+
public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
|
|
8537
|
+
|
|
8126
8538
|
/**
|
|
8127
8539
|
* Creates a new DescriptorProto instance using the specified properties.
|
|
8128
8540
|
* @param [properties] Properties to set
|
|
@@ -8970,6 +9382,9 @@ export namespace google {
|
|
|
8970
9382
|
|
|
8971
9383
|
/** EnumDescriptorProto reservedName */
|
|
8972
9384
|
reservedName?: (string[]|null);
|
|
9385
|
+
|
|
9386
|
+
/** EnumDescriptorProto visibility */
|
|
9387
|
+
visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
|
|
8973
9388
|
}
|
|
8974
9389
|
|
|
8975
9390
|
/** Represents an EnumDescriptorProto. */
|
|
@@ -8996,6 +9411,9 @@ export namespace google {
|
|
|
8996
9411
|
/** EnumDescriptorProto reservedName. */
|
|
8997
9412
|
public reservedName: string[];
|
|
8998
9413
|
|
|
9414
|
+
/** EnumDescriptorProto visibility. */
|
|
9415
|
+
public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
|
|
9416
|
+
|
|
8999
9417
|
/**
|
|
9000
9418
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
9001
9419
|
* @param [properties] Properties to set
|
|
@@ -9930,6 +10348,9 @@ export namespace google {
|
|
|
9930
10348
|
/** FieldOptions features */
|
|
9931
10349
|
features?: (google.protobuf.IFeatureSet|null);
|
|
9932
10350
|
|
|
10351
|
+
/** FieldOptions featureSupport */
|
|
10352
|
+
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
10353
|
+
|
|
9933
10354
|
/** FieldOptions uninterpretedOption */
|
|
9934
10355
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
9935
10356
|
|
|
@@ -9988,6 +10409,9 @@ export namespace google {
|
|
|
9988
10409
|
/** FieldOptions features. */
|
|
9989
10410
|
public features?: (google.protobuf.IFeatureSet|null);
|
|
9990
10411
|
|
|
10412
|
+
/** FieldOptions featureSupport. */
|
|
10413
|
+
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
10414
|
+
|
|
9991
10415
|
/** FieldOptions uninterpretedOption. */
|
|
9992
10416
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
9993
10417
|
|
|
@@ -10208,15 +10632,130 @@ export namespace google {
|
|
|
10208
10632
|
*/
|
|
10209
10633
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10210
10634
|
}
|
|
10211
|
-
}
|
|
10212
10635
|
|
|
10213
|
-
|
|
10214
|
-
|
|
10636
|
+
/** Properties of a FeatureSupport. */
|
|
10637
|
+
interface IFeatureSupport {
|
|
10215
10638
|
|
|
10216
|
-
|
|
10217
|
-
|
|
10639
|
+
/** FeatureSupport editionIntroduced */
|
|
10640
|
+
editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
10218
10641
|
|
|
10219
|
-
|
|
10642
|
+
/** FeatureSupport editionDeprecated */
|
|
10643
|
+
editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
10644
|
+
|
|
10645
|
+
/** FeatureSupport deprecationWarning */
|
|
10646
|
+
deprecationWarning?: (string|null);
|
|
10647
|
+
|
|
10648
|
+
/** FeatureSupport editionRemoved */
|
|
10649
|
+
editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
10650
|
+
}
|
|
10651
|
+
|
|
10652
|
+
/** Represents a FeatureSupport. */
|
|
10653
|
+
class FeatureSupport implements IFeatureSupport {
|
|
10654
|
+
|
|
10655
|
+
/**
|
|
10656
|
+
* Constructs a new FeatureSupport.
|
|
10657
|
+
* @param [properties] Properties to set
|
|
10658
|
+
*/
|
|
10659
|
+
constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport);
|
|
10660
|
+
|
|
10661
|
+
/** FeatureSupport editionIntroduced. */
|
|
10662
|
+
public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
10663
|
+
|
|
10664
|
+
/** FeatureSupport editionDeprecated. */
|
|
10665
|
+
public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
10666
|
+
|
|
10667
|
+
/** FeatureSupport deprecationWarning. */
|
|
10668
|
+
public deprecationWarning: string;
|
|
10669
|
+
|
|
10670
|
+
/** FeatureSupport editionRemoved. */
|
|
10671
|
+
public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
10672
|
+
|
|
10673
|
+
/**
|
|
10674
|
+
* Creates a new FeatureSupport instance using the specified properties.
|
|
10675
|
+
* @param [properties] Properties to set
|
|
10676
|
+
* @returns FeatureSupport instance
|
|
10677
|
+
*/
|
|
10678
|
+
public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport;
|
|
10679
|
+
|
|
10680
|
+
/**
|
|
10681
|
+
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
10682
|
+
* @param message FeatureSupport message or plain object to encode
|
|
10683
|
+
* @param [writer] Writer to encode to
|
|
10684
|
+
* @returns Writer
|
|
10685
|
+
*/
|
|
10686
|
+
public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10687
|
+
|
|
10688
|
+
/**
|
|
10689
|
+
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
10690
|
+
* @param message FeatureSupport message or plain object to encode
|
|
10691
|
+
* @param [writer] Writer to encode to
|
|
10692
|
+
* @returns Writer
|
|
10693
|
+
*/
|
|
10694
|
+
public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10695
|
+
|
|
10696
|
+
/**
|
|
10697
|
+
* Decodes a FeatureSupport message from the specified reader or buffer.
|
|
10698
|
+
* @param reader Reader or buffer to decode from
|
|
10699
|
+
* @param [length] Message length if known beforehand
|
|
10700
|
+
* @returns FeatureSupport
|
|
10701
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10702
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10703
|
+
*/
|
|
10704
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport;
|
|
10705
|
+
|
|
10706
|
+
/**
|
|
10707
|
+
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
|
10708
|
+
* @param reader Reader or buffer to decode from
|
|
10709
|
+
* @returns FeatureSupport
|
|
10710
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10711
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10712
|
+
*/
|
|
10713
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport;
|
|
10714
|
+
|
|
10715
|
+
/**
|
|
10716
|
+
* Verifies a FeatureSupport message.
|
|
10717
|
+
* @param message Plain object to verify
|
|
10718
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10719
|
+
*/
|
|
10720
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10721
|
+
|
|
10722
|
+
/**
|
|
10723
|
+
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
|
10724
|
+
* @param object Plain object
|
|
10725
|
+
* @returns FeatureSupport
|
|
10726
|
+
*/
|
|
10727
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport;
|
|
10728
|
+
|
|
10729
|
+
/**
|
|
10730
|
+
* Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
|
|
10731
|
+
* @param message FeatureSupport
|
|
10732
|
+
* @param [options] Conversion options
|
|
10733
|
+
* @returns Plain object
|
|
10734
|
+
*/
|
|
10735
|
+
public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10736
|
+
|
|
10737
|
+
/**
|
|
10738
|
+
* Converts this FeatureSupport to JSON.
|
|
10739
|
+
* @returns JSON object
|
|
10740
|
+
*/
|
|
10741
|
+
public toJSON(): { [k: string]: any };
|
|
10742
|
+
|
|
10743
|
+
/**
|
|
10744
|
+
* Gets the default type url for FeatureSupport
|
|
10745
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10746
|
+
* @returns The default type url
|
|
10747
|
+
*/
|
|
10748
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10749
|
+
}
|
|
10750
|
+
}
|
|
10751
|
+
|
|
10752
|
+
/** Properties of an OneofOptions. */
|
|
10753
|
+
interface IOneofOptions {
|
|
10754
|
+
|
|
10755
|
+
/** OneofOptions features */
|
|
10756
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
10757
|
+
|
|
10758
|
+
/** OneofOptions uninterpretedOption */
|
|
10220
10759
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
10221
10760
|
}
|
|
10222
10761
|
|
|
@@ -10446,6 +10985,9 @@ export namespace google {
|
|
|
10446
10985
|
/** EnumValueOptions debugRedact */
|
|
10447
10986
|
debugRedact?: (boolean|null);
|
|
10448
10987
|
|
|
10988
|
+
/** EnumValueOptions featureSupport */
|
|
10989
|
+
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
10990
|
+
|
|
10449
10991
|
/** EnumValueOptions uninterpretedOption */
|
|
10450
10992
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
10451
10993
|
}
|
|
@@ -10468,6 +11010,9 @@ export namespace google {
|
|
|
10468
11010
|
/** EnumValueOptions debugRedact. */
|
|
10469
11011
|
public debugRedact: boolean;
|
|
10470
11012
|
|
|
11013
|
+
/** EnumValueOptions featureSupport. */
|
|
11014
|
+
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
11015
|
+
|
|
10471
11016
|
/** EnumValueOptions uninterpretedOption. */
|
|
10472
11017
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
10473
11018
|
|
|
@@ -11063,6 +11608,12 @@ export namespace google {
|
|
|
11063
11608
|
|
|
11064
11609
|
/** FeatureSet jsonFormat */
|
|
11065
11610
|
jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
|
|
11611
|
+
|
|
11612
|
+
/** FeatureSet enforceNamingStyle */
|
|
11613
|
+
enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null);
|
|
11614
|
+
|
|
11615
|
+
/** FeatureSet defaultSymbolVisibility */
|
|
11616
|
+
defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null);
|
|
11066
11617
|
}
|
|
11067
11618
|
|
|
11068
11619
|
/** Represents a FeatureSet. */
|
|
@@ -11092,6 +11643,12 @@ export namespace google {
|
|
|
11092
11643
|
/** FeatureSet jsonFormat. */
|
|
11093
11644
|
public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
|
|
11094
11645
|
|
|
11646
|
+
/** FeatureSet enforceNamingStyle. */
|
|
11647
|
+
public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle);
|
|
11648
|
+
|
|
11649
|
+
/** FeatureSet defaultSymbolVisibility. */
|
|
11650
|
+
public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility);
|
|
11651
|
+
|
|
11095
11652
|
/**
|
|
11096
11653
|
* Creates a new FeatureSet instance using the specified properties.
|
|
11097
11654
|
* @param [properties] Properties to set
|
|
@@ -11214,6 +11771,116 @@ export namespace google {
|
|
|
11214
11771
|
ALLOW = 1,
|
|
11215
11772
|
LEGACY_BEST_EFFORT = 2
|
|
11216
11773
|
}
|
|
11774
|
+
|
|
11775
|
+
/** EnforceNamingStyle enum. */
|
|
11776
|
+
enum EnforceNamingStyle {
|
|
11777
|
+
ENFORCE_NAMING_STYLE_UNKNOWN = 0,
|
|
11778
|
+
STYLE2024 = 1,
|
|
11779
|
+
STYLE_LEGACY = 2
|
|
11780
|
+
}
|
|
11781
|
+
|
|
11782
|
+
/** Properties of a VisibilityFeature. */
|
|
11783
|
+
interface IVisibilityFeature {
|
|
11784
|
+
}
|
|
11785
|
+
|
|
11786
|
+
/** Represents a VisibilityFeature. */
|
|
11787
|
+
class VisibilityFeature implements IVisibilityFeature {
|
|
11788
|
+
|
|
11789
|
+
/**
|
|
11790
|
+
* Constructs a new VisibilityFeature.
|
|
11791
|
+
* @param [properties] Properties to set
|
|
11792
|
+
*/
|
|
11793
|
+
constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature);
|
|
11794
|
+
|
|
11795
|
+
/**
|
|
11796
|
+
* Creates a new VisibilityFeature instance using the specified properties.
|
|
11797
|
+
* @param [properties] Properties to set
|
|
11798
|
+
* @returns VisibilityFeature instance
|
|
11799
|
+
*/
|
|
11800
|
+
public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature;
|
|
11801
|
+
|
|
11802
|
+
/**
|
|
11803
|
+
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
11804
|
+
* @param message VisibilityFeature message or plain object to encode
|
|
11805
|
+
* @param [writer] Writer to encode to
|
|
11806
|
+
* @returns Writer
|
|
11807
|
+
*/
|
|
11808
|
+
public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11809
|
+
|
|
11810
|
+
/**
|
|
11811
|
+
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
11812
|
+
* @param message VisibilityFeature message or plain object to encode
|
|
11813
|
+
* @param [writer] Writer to encode to
|
|
11814
|
+
* @returns Writer
|
|
11815
|
+
*/
|
|
11816
|
+
public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11817
|
+
|
|
11818
|
+
/**
|
|
11819
|
+
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
|
11820
|
+
* @param reader Reader or buffer to decode from
|
|
11821
|
+
* @param [length] Message length if known beforehand
|
|
11822
|
+
* @returns VisibilityFeature
|
|
11823
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11824
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11825
|
+
*/
|
|
11826
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature;
|
|
11827
|
+
|
|
11828
|
+
/**
|
|
11829
|
+
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
|
11830
|
+
* @param reader Reader or buffer to decode from
|
|
11831
|
+
* @returns VisibilityFeature
|
|
11832
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11833
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11834
|
+
*/
|
|
11835
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature;
|
|
11836
|
+
|
|
11837
|
+
/**
|
|
11838
|
+
* Verifies a VisibilityFeature message.
|
|
11839
|
+
* @param message Plain object to verify
|
|
11840
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11841
|
+
*/
|
|
11842
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11843
|
+
|
|
11844
|
+
/**
|
|
11845
|
+
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
|
11846
|
+
* @param object Plain object
|
|
11847
|
+
* @returns VisibilityFeature
|
|
11848
|
+
*/
|
|
11849
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature;
|
|
11850
|
+
|
|
11851
|
+
/**
|
|
11852
|
+
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
|
11853
|
+
* @param message VisibilityFeature
|
|
11854
|
+
* @param [options] Conversion options
|
|
11855
|
+
* @returns Plain object
|
|
11856
|
+
*/
|
|
11857
|
+
public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11858
|
+
|
|
11859
|
+
/**
|
|
11860
|
+
* Converts this VisibilityFeature to JSON.
|
|
11861
|
+
* @returns JSON object
|
|
11862
|
+
*/
|
|
11863
|
+
public toJSON(): { [k: string]: any };
|
|
11864
|
+
|
|
11865
|
+
/**
|
|
11866
|
+
* Gets the default type url for VisibilityFeature
|
|
11867
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11868
|
+
* @returns The default type url
|
|
11869
|
+
*/
|
|
11870
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11871
|
+
}
|
|
11872
|
+
|
|
11873
|
+
namespace VisibilityFeature {
|
|
11874
|
+
|
|
11875
|
+
/** DefaultSymbolVisibility enum. */
|
|
11876
|
+
enum DefaultSymbolVisibility {
|
|
11877
|
+
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
|
|
11878
|
+
EXPORT_ALL = 1,
|
|
11879
|
+
EXPORT_TOP_LEVEL = 2,
|
|
11880
|
+
LOCAL_ALL = 3,
|
|
11881
|
+
STRICT = 4
|
|
11882
|
+
}
|
|
11883
|
+
}
|
|
11217
11884
|
}
|
|
11218
11885
|
|
|
11219
11886
|
/** Properties of a FeatureSetDefaults. */
|
|
@@ -11333,8 +12000,11 @@ export namespace google {
|
|
|
11333
12000
|
/** FeatureSetEditionDefault edition */
|
|
11334
12001
|
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
11335
12002
|
|
|
11336
|
-
/** FeatureSetEditionDefault
|
|
11337
|
-
|
|
12003
|
+
/** FeatureSetEditionDefault overridableFeatures */
|
|
12004
|
+
overridableFeatures?: (google.protobuf.IFeatureSet|null);
|
|
12005
|
+
|
|
12006
|
+
/** FeatureSetEditionDefault fixedFeatures */
|
|
12007
|
+
fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
|
11338
12008
|
}
|
|
11339
12009
|
|
|
11340
12010
|
/** Represents a FeatureSetEditionDefault. */
|
|
@@ -11349,8 +12019,11 @@ export namespace google {
|
|
|
11349
12019
|
/** FeatureSetEditionDefault edition. */
|
|
11350
12020
|
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
11351
12021
|
|
|
11352
|
-
/** FeatureSetEditionDefault
|
|
11353
|
-
public
|
|
12022
|
+
/** FeatureSetEditionDefault overridableFeatures. */
|
|
12023
|
+
public overridableFeatures?: (google.protobuf.IFeatureSet|null);
|
|
12024
|
+
|
|
12025
|
+
/** FeatureSetEditionDefault fixedFeatures. */
|
|
12026
|
+
public fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
|
11354
12027
|
|
|
11355
12028
|
/**
|
|
11356
12029
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
@@ -11883,6 +12556,13 @@ export namespace google {
|
|
|
11883
12556
|
}
|
|
11884
12557
|
}
|
|
11885
12558
|
|
|
12559
|
+
/** SymbolVisibility enum. */
|
|
12560
|
+
enum SymbolVisibility {
|
|
12561
|
+
VISIBILITY_UNSET = 0,
|
|
12562
|
+
VISIBILITY_LOCAL = 1,
|
|
12563
|
+
VISIBILITY_EXPORT = 2
|
|
12564
|
+
}
|
|
12565
|
+
|
|
11886
12566
|
/** Properties of a Duration. */
|
|
11887
12567
|
interface IDuration {
|
|
11888
12568
|
|
|
@@ -11986,6 +12666,103 @@ export namespace google {
|
|
|
11986
12666
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11987
12667
|
}
|
|
11988
12668
|
|
|
12669
|
+
/** Properties of a FieldMask. */
|
|
12670
|
+
interface IFieldMask {
|
|
12671
|
+
|
|
12672
|
+
/** FieldMask paths */
|
|
12673
|
+
paths?: (string[]|null);
|
|
12674
|
+
}
|
|
12675
|
+
|
|
12676
|
+
/** Represents a FieldMask. */
|
|
12677
|
+
class FieldMask implements IFieldMask {
|
|
12678
|
+
|
|
12679
|
+
/**
|
|
12680
|
+
* Constructs a new FieldMask.
|
|
12681
|
+
* @param [properties] Properties to set
|
|
12682
|
+
*/
|
|
12683
|
+
constructor(properties?: google.protobuf.IFieldMask);
|
|
12684
|
+
|
|
12685
|
+
/** FieldMask paths. */
|
|
12686
|
+
public paths: string[];
|
|
12687
|
+
|
|
12688
|
+
/**
|
|
12689
|
+
* Creates a new FieldMask instance using the specified properties.
|
|
12690
|
+
* @param [properties] Properties to set
|
|
12691
|
+
* @returns FieldMask instance
|
|
12692
|
+
*/
|
|
12693
|
+
public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
|
|
12694
|
+
|
|
12695
|
+
/**
|
|
12696
|
+
* Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
12697
|
+
* @param message FieldMask message or plain object to encode
|
|
12698
|
+
* @param [writer] Writer to encode to
|
|
12699
|
+
* @returns Writer
|
|
12700
|
+
*/
|
|
12701
|
+
public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12702
|
+
|
|
12703
|
+
/**
|
|
12704
|
+
* Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
12705
|
+
* @param message FieldMask message or plain object to encode
|
|
12706
|
+
* @param [writer] Writer to encode to
|
|
12707
|
+
* @returns Writer
|
|
12708
|
+
*/
|
|
12709
|
+
public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12710
|
+
|
|
12711
|
+
/**
|
|
12712
|
+
* Decodes a FieldMask message from the specified reader or buffer.
|
|
12713
|
+
* @param reader Reader or buffer to decode from
|
|
12714
|
+
* @param [length] Message length if known beforehand
|
|
12715
|
+
* @returns FieldMask
|
|
12716
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12717
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12718
|
+
*/
|
|
12719
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
|
|
12720
|
+
|
|
12721
|
+
/**
|
|
12722
|
+
* Decodes a FieldMask message from the specified reader or buffer, length delimited.
|
|
12723
|
+
* @param reader Reader or buffer to decode from
|
|
12724
|
+
* @returns FieldMask
|
|
12725
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12726
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12727
|
+
*/
|
|
12728
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
|
|
12729
|
+
|
|
12730
|
+
/**
|
|
12731
|
+
* Verifies a FieldMask message.
|
|
12732
|
+
* @param message Plain object to verify
|
|
12733
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12734
|
+
*/
|
|
12735
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12736
|
+
|
|
12737
|
+
/**
|
|
12738
|
+
* Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
|
|
12739
|
+
* @param object Plain object
|
|
12740
|
+
* @returns FieldMask
|
|
12741
|
+
*/
|
|
12742
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
|
|
12743
|
+
|
|
12744
|
+
/**
|
|
12745
|
+
* Creates a plain object from a FieldMask message. Also converts values to other types if specified.
|
|
12746
|
+
* @param message FieldMask
|
|
12747
|
+
* @param [options] Conversion options
|
|
12748
|
+
* @returns Plain object
|
|
12749
|
+
*/
|
|
12750
|
+
public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12751
|
+
|
|
12752
|
+
/**
|
|
12753
|
+
* Converts this FieldMask to JSON.
|
|
12754
|
+
* @returns JSON object
|
|
12755
|
+
*/
|
|
12756
|
+
public toJSON(): { [k: string]: any };
|
|
12757
|
+
|
|
12758
|
+
/**
|
|
12759
|
+
* Gets the default type url for FieldMask
|
|
12760
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12761
|
+
* @returns The default type url
|
|
12762
|
+
*/
|
|
12763
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12764
|
+
}
|
|
12765
|
+
|
|
11989
12766
|
/** Properties of an Any. */
|
|
11990
12767
|
interface IAny {
|
|
11991
12768
|
|
|
@@ -12180,105 +12957,8 @@ export namespace google {
|
|
|
12180
12957
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12181
12958
|
}
|
|
12182
12959
|
|
|
12183
|
-
/** Properties of a
|
|
12184
|
-
interface
|
|
12185
|
-
|
|
12186
|
-
/** FieldMask paths */
|
|
12187
|
-
paths?: (string[]|null);
|
|
12188
|
-
}
|
|
12189
|
-
|
|
12190
|
-
/** Represents a FieldMask. */
|
|
12191
|
-
class FieldMask implements IFieldMask {
|
|
12192
|
-
|
|
12193
|
-
/**
|
|
12194
|
-
* Constructs a new FieldMask.
|
|
12195
|
-
* @param [properties] Properties to set
|
|
12196
|
-
*/
|
|
12197
|
-
constructor(properties?: google.protobuf.IFieldMask);
|
|
12198
|
-
|
|
12199
|
-
/** FieldMask paths. */
|
|
12200
|
-
public paths: string[];
|
|
12201
|
-
|
|
12202
|
-
/**
|
|
12203
|
-
* Creates a new FieldMask instance using the specified properties.
|
|
12204
|
-
* @param [properties] Properties to set
|
|
12205
|
-
* @returns FieldMask instance
|
|
12206
|
-
*/
|
|
12207
|
-
public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
|
|
12208
|
-
|
|
12209
|
-
/**
|
|
12210
|
-
* Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
12211
|
-
* @param message FieldMask message or plain object to encode
|
|
12212
|
-
* @param [writer] Writer to encode to
|
|
12213
|
-
* @returns Writer
|
|
12214
|
-
*/
|
|
12215
|
-
public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12216
|
-
|
|
12217
|
-
/**
|
|
12218
|
-
* Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
12219
|
-
* @param message FieldMask message or plain object to encode
|
|
12220
|
-
* @param [writer] Writer to encode to
|
|
12221
|
-
* @returns Writer
|
|
12222
|
-
*/
|
|
12223
|
-
public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12224
|
-
|
|
12225
|
-
/**
|
|
12226
|
-
* Decodes a FieldMask message from the specified reader or buffer.
|
|
12227
|
-
* @param reader Reader or buffer to decode from
|
|
12228
|
-
* @param [length] Message length if known beforehand
|
|
12229
|
-
* @returns FieldMask
|
|
12230
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12231
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12232
|
-
*/
|
|
12233
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
|
|
12234
|
-
|
|
12235
|
-
/**
|
|
12236
|
-
* Decodes a FieldMask message from the specified reader or buffer, length delimited.
|
|
12237
|
-
* @param reader Reader or buffer to decode from
|
|
12238
|
-
* @returns FieldMask
|
|
12239
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12240
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12241
|
-
*/
|
|
12242
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
|
|
12243
|
-
|
|
12244
|
-
/**
|
|
12245
|
-
* Verifies a FieldMask message.
|
|
12246
|
-
* @param message Plain object to verify
|
|
12247
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
12248
|
-
*/
|
|
12249
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
12250
|
-
|
|
12251
|
-
/**
|
|
12252
|
-
* Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
|
|
12253
|
-
* @param object Plain object
|
|
12254
|
-
* @returns FieldMask
|
|
12255
|
-
*/
|
|
12256
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
|
|
12257
|
-
|
|
12258
|
-
/**
|
|
12259
|
-
* Creates a plain object from a FieldMask message. Also converts values to other types if specified.
|
|
12260
|
-
* @param message FieldMask
|
|
12261
|
-
* @param [options] Conversion options
|
|
12262
|
-
* @returns Plain object
|
|
12263
|
-
*/
|
|
12264
|
-
public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12265
|
-
|
|
12266
|
-
/**
|
|
12267
|
-
* Converts this FieldMask to JSON.
|
|
12268
|
-
* @returns JSON object
|
|
12269
|
-
*/
|
|
12270
|
-
public toJSON(): { [k: string]: any };
|
|
12271
|
-
|
|
12272
|
-
/**
|
|
12273
|
-
* Gets the default type url for FieldMask
|
|
12274
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12275
|
-
* @returns The default type url
|
|
12276
|
-
*/
|
|
12277
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12278
|
-
}
|
|
12279
|
-
|
|
12280
|
-
/** Properties of a Timestamp. */
|
|
12281
|
-
interface ITimestamp {
|
|
12960
|
+
/** Properties of a Timestamp. */
|
|
12961
|
+
interface ITimestamp {
|
|
12282
12962
|
|
|
12283
12963
|
/** Timestamp seconds */
|
|
12284
12964
|
seconds?: (number|Long|string|null);
|
|
@@ -12381,6 +13061,1523 @@ export namespace google {
|
|
|
12381
13061
|
}
|
|
12382
13062
|
}
|
|
12383
13063
|
|
|
13064
|
+
/** Namespace iam. */
|
|
13065
|
+
namespace iam {
|
|
13066
|
+
|
|
13067
|
+
/** Namespace v1. */
|
|
13068
|
+
namespace v1 {
|
|
13069
|
+
|
|
13070
|
+
/** Represents a IAMPolicy */
|
|
13071
|
+
class IAMPolicy extends $protobuf.rpc.Service {
|
|
13072
|
+
|
|
13073
|
+
/**
|
|
13074
|
+
* Constructs a new IAMPolicy service.
|
|
13075
|
+
* @param rpcImpl RPC implementation
|
|
13076
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
13077
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
13078
|
+
*/
|
|
13079
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
13080
|
+
|
|
13081
|
+
/**
|
|
13082
|
+
* Creates new IAMPolicy service using the specified rpc implementation.
|
|
13083
|
+
* @param rpcImpl RPC implementation
|
|
13084
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
13085
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
13086
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
13087
|
+
*/
|
|
13088
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): IAMPolicy;
|
|
13089
|
+
|
|
13090
|
+
/**
|
|
13091
|
+
* Calls SetIamPolicy.
|
|
13092
|
+
* @param request SetIamPolicyRequest message or plain object
|
|
13093
|
+
* @param callback Node-style callback called with the error, if any, and Policy
|
|
13094
|
+
*/
|
|
13095
|
+
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.SetIamPolicyCallback): void;
|
|
13096
|
+
|
|
13097
|
+
/**
|
|
13098
|
+
* Calls SetIamPolicy.
|
|
13099
|
+
* @param request SetIamPolicyRequest message or plain object
|
|
13100
|
+
* @returns Promise
|
|
13101
|
+
*/
|
|
13102
|
+
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;
|
|
13103
|
+
|
|
13104
|
+
/**
|
|
13105
|
+
* Calls GetIamPolicy.
|
|
13106
|
+
* @param request GetIamPolicyRequest message or plain object
|
|
13107
|
+
* @param callback Node-style callback called with the error, if any, and Policy
|
|
13108
|
+
*/
|
|
13109
|
+
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.GetIamPolicyCallback): void;
|
|
13110
|
+
|
|
13111
|
+
/**
|
|
13112
|
+
* Calls GetIamPolicy.
|
|
13113
|
+
* @param request GetIamPolicyRequest message or plain object
|
|
13114
|
+
* @returns Promise
|
|
13115
|
+
*/
|
|
13116
|
+
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;
|
|
13117
|
+
|
|
13118
|
+
/**
|
|
13119
|
+
* Calls TestIamPermissions.
|
|
13120
|
+
* @param request TestIamPermissionsRequest message or plain object
|
|
13121
|
+
* @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
|
|
13122
|
+
*/
|
|
13123
|
+
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.iam.v1.IAMPolicy.TestIamPermissionsCallback): void;
|
|
13124
|
+
|
|
13125
|
+
/**
|
|
13126
|
+
* Calls TestIamPermissions.
|
|
13127
|
+
* @param request TestIamPermissionsRequest message or plain object
|
|
13128
|
+
* @returns Promise
|
|
13129
|
+
*/
|
|
13130
|
+
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;
|
|
13131
|
+
}
|
|
13132
|
+
|
|
13133
|
+
namespace IAMPolicy {
|
|
13134
|
+
|
|
13135
|
+
/**
|
|
13136
|
+
* Callback as used by {@link google.iam.v1.IAMPolicy|setIamPolicy}.
|
|
13137
|
+
* @param error Error, if any
|
|
13138
|
+
* @param [response] Policy
|
|
13139
|
+
*/
|
|
13140
|
+
type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
|
|
13141
|
+
|
|
13142
|
+
/**
|
|
13143
|
+
* Callback as used by {@link google.iam.v1.IAMPolicy|getIamPolicy}.
|
|
13144
|
+
* @param error Error, if any
|
|
13145
|
+
* @param [response] Policy
|
|
13146
|
+
*/
|
|
13147
|
+
type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
|
|
13148
|
+
|
|
13149
|
+
/**
|
|
13150
|
+
* Callback as used by {@link google.iam.v1.IAMPolicy|testIamPermissions}.
|
|
13151
|
+
* @param error Error, if any
|
|
13152
|
+
* @param [response] TestIamPermissionsResponse
|
|
13153
|
+
*/
|
|
13154
|
+
type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
|
|
13155
|
+
}
|
|
13156
|
+
|
|
13157
|
+
/** Properties of a SetIamPolicyRequest. */
|
|
13158
|
+
interface ISetIamPolicyRequest {
|
|
13159
|
+
|
|
13160
|
+
/** SetIamPolicyRequest resource */
|
|
13161
|
+
resource?: (string|null);
|
|
13162
|
+
|
|
13163
|
+
/** SetIamPolicyRequest policy */
|
|
13164
|
+
policy?: (google.iam.v1.IPolicy|null);
|
|
13165
|
+
|
|
13166
|
+
/** SetIamPolicyRequest updateMask */
|
|
13167
|
+
updateMask?: (google.protobuf.IFieldMask|null);
|
|
13168
|
+
}
|
|
13169
|
+
|
|
13170
|
+
/** Represents a SetIamPolicyRequest. */
|
|
13171
|
+
class SetIamPolicyRequest implements ISetIamPolicyRequest {
|
|
13172
|
+
|
|
13173
|
+
/**
|
|
13174
|
+
* Constructs a new SetIamPolicyRequest.
|
|
13175
|
+
* @param [properties] Properties to set
|
|
13176
|
+
*/
|
|
13177
|
+
constructor(properties?: google.iam.v1.ISetIamPolicyRequest);
|
|
13178
|
+
|
|
13179
|
+
/** SetIamPolicyRequest resource. */
|
|
13180
|
+
public resource: string;
|
|
13181
|
+
|
|
13182
|
+
/** SetIamPolicyRequest policy. */
|
|
13183
|
+
public policy?: (google.iam.v1.IPolicy|null);
|
|
13184
|
+
|
|
13185
|
+
/** SetIamPolicyRequest updateMask. */
|
|
13186
|
+
public updateMask?: (google.protobuf.IFieldMask|null);
|
|
13187
|
+
|
|
13188
|
+
/**
|
|
13189
|
+
* Creates a new SetIamPolicyRequest instance using the specified properties.
|
|
13190
|
+
* @param [properties] Properties to set
|
|
13191
|
+
* @returns SetIamPolicyRequest instance
|
|
13192
|
+
*/
|
|
13193
|
+
public static create(properties?: google.iam.v1.ISetIamPolicyRequest): google.iam.v1.SetIamPolicyRequest;
|
|
13194
|
+
|
|
13195
|
+
/**
|
|
13196
|
+
* Encodes the specified SetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
|
|
13197
|
+
* @param message SetIamPolicyRequest message or plain object to encode
|
|
13198
|
+
* @param [writer] Writer to encode to
|
|
13199
|
+
* @returns Writer
|
|
13200
|
+
*/
|
|
13201
|
+
public static encode(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13202
|
+
|
|
13203
|
+
/**
|
|
13204
|
+
* Encodes the specified SetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
|
|
13205
|
+
* @param message SetIamPolicyRequest message or plain object to encode
|
|
13206
|
+
* @param [writer] Writer to encode to
|
|
13207
|
+
* @returns Writer
|
|
13208
|
+
*/
|
|
13209
|
+
public static encodeDelimited(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13210
|
+
|
|
13211
|
+
/**
|
|
13212
|
+
* Decodes a SetIamPolicyRequest message from the specified reader or buffer.
|
|
13213
|
+
* @param reader Reader or buffer to decode from
|
|
13214
|
+
* @param [length] Message length if known beforehand
|
|
13215
|
+
* @returns SetIamPolicyRequest
|
|
13216
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13217
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13218
|
+
*/
|
|
13219
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.SetIamPolicyRequest;
|
|
13220
|
+
|
|
13221
|
+
/**
|
|
13222
|
+
* Decodes a SetIamPolicyRequest message from the specified reader or buffer, length delimited.
|
|
13223
|
+
* @param reader Reader or buffer to decode from
|
|
13224
|
+
* @returns SetIamPolicyRequest
|
|
13225
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13226
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13227
|
+
*/
|
|
13228
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.SetIamPolicyRequest;
|
|
13229
|
+
|
|
13230
|
+
/**
|
|
13231
|
+
* Verifies a SetIamPolicyRequest message.
|
|
13232
|
+
* @param message Plain object to verify
|
|
13233
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13234
|
+
*/
|
|
13235
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13236
|
+
|
|
13237
|
+
/**
|
|
13238
|
+
* Creates a SetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
|
|
13239
|
+
* @param object Plain object
|
|
13240
|
+
* @returns SetIamPolicyRequest
|
|
13241
|
+
*/
|
|
13242
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.SetIamPolicyRequest;
|
|
13243
|
+
|
|
13244
|
+
/**
|
|
13245
|
+
* Creates a plain object from a SetIamPolicyRequest message. Also converts values to other types if specified.
|
|
13246
|
+
* @param message SetIamPolicyRequest
|
|
13247
|
+
* @param [options] Conversion options
|
|
13248
|
+
* @returns Plain object
|
|
13249
|
+
*/
|
|
13250
|
+
public static toObject(message: google.iam.v1.SetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13251
|
+
|
|
13252
|
+
/**
|
|
13253
|
+
* Converts this SetIamPolicyRequest to JSON.
|
|
13254
|
+
* @returns JSON object
|
|
13255
|
+
*/
|
|
13256
|
+
public toJSON(): { [k: string]: any };
|
|
13257
|
+
|
|
13258
|
+
/**
|
|
13259
|
+
* Gets the default type url for SetIamPolicyRequest
|
|
13260
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13261
|
+
* @returns The default type url
|
|
13262
|
+
*/
|
|
13263
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13264
|
+
}
|
|
13265
|
+
|
|
13266
|
+
/** Properties of a GetIamPolicyRequest. */
|
|
13267
|
+
interface IGetIamPolicyRequest {
|
|
13268
|
+
|
|
13269
|
+
/** GetIamPolicyRequest resource */
|
|
13270
|
+
resource?: (string|null);
|
|
13271
|
+
|
|
13272
|
+
/** GetIamPolicyRequest options */
|
|
13273
|
+
options?: (google.iam.v1.IGetPolicyOptions|null);
|
|
13274
|
+
}
|
|
13275
|
+
|
|
13276
|
+
/** Represents a GetIamPolicyRequest. */
|
|
13277
|
+
class GetIamPolicyRequest implements IGetIamPolicyRequest {
|
|
13278
|
+
|
|
13279
|
+
/**
|
|
13280
|
+
* Constructs a new GetIamPolicyRequest.
|
|
13281
|
+
* @param [properties] Properties to set
|
|
13282
|
+
*/
|
|
13283
|
+
constructor(properties?: google.iam.v1.IGetIamPolicyRequest);
|
|
13284
|
+
|
|
13285
|
+
/** GetIamPolicyRequest resource. */
|
|
13286
|
+
public resource: string;
|
|
13287
|
+
|
|
13288
|
+
/** GetIamPolicyRequest options. */
|
|
13289
|
+
public options?: (google.iam.v1.IGetPolicyOptions|null);
|
|
13290
|
+
|
|
13291
|
+
/**
|
|
13292
|
+
* Creates a new GetIamPolicyRequest instance using the specified properties.
|
|
13293
|
+
* @param [properties] Properties to set
|
|
13294
|
+
* @returns GetIamPolicyRequest instance
|
|
13295
|
+
*/
|
|
13296
|
+
public static create(properties?: google.iam.v1.IGetIamPolicyRequest): google.iam.v1.GetIamPolicyRequest;
|
|
13297
|
+
|
|
13298
|
+
/**
|
|
13299
|
+
* Encodes the specified GetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
|
|
13300
|
+
* @param message GetIamPolicyRequest message or plain object to encode
|
|
13301
|
+
* @param [writer] Writer to encode to
|
|
13302
|
+
* @returns Writer
|
|
13303
|
+
*/
|
|
13304
|
+
public static encode(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13305
|
+
|
|
13306
|
+
/**
|
|
13307
|
+
* Encodes the specified GetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
|
|
13308
|
+
* @param message GetIamPolicyRequest message or plain object to encode
|
|
13309
|
+
* @param [writer] Writer to encode to
|
|
13310
|
+
* @returns Writer
|
|
13311
|
+
*/
|
|
13312
|
+
public static encodeDelimited(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13313
|
+
|
|
13314
|
+
/**
|
|
13315
|
+
* Decodes a GetIamPolicyRequest message from the specified reader or buffer.
|
|
13316
|
+
* @param reader Reader or buffer to decode from
|
|
13317
|
+
* @param [length] Message length if known beforehand
|
|
13318
|
+
* @returns GetIamPolicyRequest
|
|
13319
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13320
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13321
|
+
*/
|
|
13322
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetIamPolicyRequest;
|
|
13323
|
+
|
|
13324
|
+
/**
|
|
13325
|
+
* Decodes a GetIamPolicyRequest message from the specified reader or buffer, length delimited.
|
|
13326
|
+
* @param reader Reader or buffer to decode from
|
|
13327
|
+
* @returns GetIamPolicyRequest
|
|
13328
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13329
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13330
|
+
*/
|
|
13331
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetIamPolicyRequest;
|
|
13332
|
+
|
|
13333
|
+
/**
|
|
13334
|
+
* Verifies a GetIamPolicyRequest message.
|
|
13335
|
+
* @param message Plain object to verify
|
|
13336
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13337
|
+
*/
|
|
13338
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13339
|
+
|
|
13340
|
+
/**
|
|
13341
|
+
* Creates a GetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
|
|
13342
|
+
* @param object Plain object
|
|
13343
|
+
* @returns GetIamPolicyRequest
|
|
13344
|
+
*/
|
|
13345
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.GetIamPolicyRequest;
|
|
13346
|
+
|
|
13347
|
+
/**
|
|
13348
|
+
* Creates a plain object from a GetIamPolicyRequest message. Also converts values to other types if specified.
|
|
13349
|
+
* @param message GetIamPolicyRequest
|
|
13350
|
+
* @param [options] Conversion options
|
|
13351
|
+
* @returns Plain object
|
|
13352
|
+
*/
|
|
13353
|
+
public static toObject(message: google.iam.v1.GetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13354
|
+
|
|
13355
|
+
/**
|
|
13356
|
+
* Converts this GetIamPolicyRequest to JSON.
|
|
13357
|
+
* @returns JSON object
|
|
13358
|
+
*/
|
|
13359
|
+
public toJSON(): { [k: string]: any };
|
|
13360
|
+
|
|
13361
|
+
/**
|
|
13362
|
+
* Gets the default type url for GetIamPolicyRequest
|
|
13363
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13364
|
+
* @returns The default type url
|
|
13365
|
+
*/
|
|
13366
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13367
|
+
}
|
|
13368
|
+
|
|
13369
|
+
/** Properties of a TestIamPermissionsRequest. */
|
|
13370
|
+
interface ITestIamPermissionsRequest {
|
|
13371
|
+
|
|
13372
|
+
/** TestIamPermissionsRequest resource */
|
|
13373
|
+
resource?: (string|null);
|
|
13374
|
+
|
|
13375
|
+
/** TestIamPermissionsRequest permissions */
|
|
13376
|
+
permissions?: (string[]|null);
|
|
13377
|
+
}
|
|
13378
|
+
|
|
13379
|
+
/** Represents a TestIamPermissionsRequest. */
|
|
13380
|
+
class TestIamPermissionsRequest implements ITestIamPermissionsRequest {
|
|
13381
|
+
|
|
13382
|
+
/**
|
|
13383
|
+
* Constructs a new TestIamPermissionsRequest.
|
|
13384
|
+
* @param [properties] Properties to set
|
|
13385
|
+
*/
|
|
13386
|
+
constructor(properties?: google.iam.v1.ITestIamPermissionsRequest);
|
|
13387
|
+
|
|
13388
|
+
/** TestIamPermissionsRequest resource. */
|
|
13389
|
+
public resource: string;
|
|
13390
|
+
|
|
13391
|
+
/** TestIamPermissionsRequest permissions. */
|
|
13392
|
+
public permissions: string[];
|
|
13393
|
+
|
|
13394
|
+
/**
|
|
13395
|
+
* Creates a new TestIamPermissionsRequest instance using the specified properties.
|
|
13396
|
+
* @param [properties] Properties to set
|
|
13397
|
+
* @returns TestIamPermissionsRequest instance
|
|
13398
|
+
*/
|
|
13399
|
+
public static create(properties?: google.iam.v1.ITestIamPermissionsRequest): google.iam.v1.TestIamPermissionsRequest;
|
|
13400
|
+
|
|
13401
|
+
/**
|
|
13402
|
+
* Encodes the specified TestIamPermissionsRequest message. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
|
|
13403
|
+
* @param message TestIamPermissionsRequest message or plain object to encode
|
|
13404
|
+
* @param [writer] Writer to encode to
|
|
13405
|
+
* @returns Writer
|
|
13406
|
+
*/
|
|
13407
|
+
public static encode(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13408
|
+
|
|
13409
|
+
/**
|
|
13410
|
+
* Encodes the specified TestIamPermissionsRequest message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
|
|
13411
|
+
* @param message TestIamPermissionsRequest message or plain object to encode
|
|
13412
|
+
* @param [writer] Writer to encode to
|
|
13413
|
+
* @returns Writer
|
|
13414
|
+
*/
|
|
13415
|
+
public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13416
|
+
|
|
13417
|
+
/**
|
|
13418
|
+
* Decodes a TestIamPermissionsRequest message from the specified reader or buffer.
|
|
13419
|
+
* @param reader Reader or buffer to decode from
|
|
13420
|
+
* @param [length] Message length if known beforehand
|
|
13421
|
+
* @returns TestIamPermissionsRequest
|
|
13422
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13423
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13424
|
+
*/
|
|
13425
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsRequest;
|
|
13426
|
+
|
|
13427
|
+
/**
|
|
13428
|
+
* Decodes a TestIamPermissionsRequest message from the specified reader or buffer, length delimited.
|
|
13429
|
+
* @param reader Reader or buffer to decode from
|
|
13430
|
+
* @returns TestIamPermissionsRequest
|
|
13431
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13432
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13433
|
+
*/
|
|
13434
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsRequest;
|
|
13435
|
+
|
|
13436
|
+
/**
|
|
13437
|
+
* Verifies a TestIamPermissionsRequest message.
|
|
13438
|
+
* @param message Plain object to verify
|
|
13439
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13440
|
+
*/
|
|
13441
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13442
|
+
|
|
13443
|
+
/**
|
|
13444
|
+
* Creates a TestIamPermissionsRequest message from a plain object. Also converts values to their respective internal types.
|
|
13445
|
+
* @param object Plain object
|
|
13446
|
+
* @returns TestIamPermissionsRequest
|
|
13447
|
+
*/
|
|
13448
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsRequest;
|
|
13449
|
+
|
|
13450
|
+
/**
|
|
13451
|
+
* Creates a plain object from a TestIamPermissionsRequest message. Also converts values to other types if specified.
|
|
13452
|
+
* @param message TestIamPermissionsRequest
|
|
13453
|
+
* @param [options] Conversion options
|
|
13454
|
+
* @returns Plain object
|
|
13455
|
+
*/
|
|
13456
|
+
public static toObject(message: google.iam.v1.TestIamPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13457
|
+
|
|
13458
|
+
/**
|
|
13459
|
+
* Converts this TestIamPermissionsRequest to JSON.
|
|
13460
|
+
* @returns JSON object
|
|
13461
|
+
*/
|
|
13462
|
+
public toJSON(): { [k: string]: any };
|
|
13463
|
+
|
|
13464
|
+
/**
|
|
13465
|
+
* Gets the default type url for TestIamPermissionsRequest
|
|
13466
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13467
|
+
* @returns The default type url
|
|
13468
|
+
*/
|
|
13469
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13470
|
+
}
|
|
13471
|
+
|
|
13472
|
+
/** Properties of a TestIamPermissionsResponse. */
|
|
13473
|
+
interface ITestIamPermissionsResponse {
|
|
13474
|
+
|
|
13475
|
+
/** TestIamPermissionsResponse permissions */
|
|
13476
|
+
permissions?: (string[]|null);
|
|
13477
|
+
}
|
|
13478
|
+
|
|
13479
|
+
/** Represents a TestIamPermissionsResponse. */
|
|
13480
|
+
class TestIamPermissionsResponse implements ITestIamPermissionsResponse {
|
|
13481
|
+
|
|
13482
|
+
/**
|
|
13483
|
+
* Constructs a new TestIamPermissionsResponse.
|
|
13484
|
+
* @param [properties] Properties to set
|
|
13485
|
+
*/
|
|
13486
|
+
constructor(properties?: google.iam.v1.ITestIamPermissionsResponse);
|
|
13487
|
+
|
|
13488
|
+
/** TestIamPermissionsResponse permissions. */
|
|
13489
|
+
public permissions: string[];
|
|
13490
|
+
|
|
13491
|
+
/**
|
|
13492
|
+
* Creates a new TestIamPermissionsResponse instance using the specified properties.
|
|
13493
|
+
* @param [properties] Properties to set
|
|
13494
|
+
* @returns TestIamPermissionsResponse instance
|
|
13495
|
+
*/
|
|
13496
|
+
public static create(properties?: google.iam.v1.ITestIamPermissionsResponse): google.iam.v1.TestIamPermissionsResponse;
|
|
13497
|
+
|
|
13498
|
+
/**
|
|
13499
|
+
* Encodes the specified TestIamPermissionsResponse message. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
|
|
13500
|
+
* @param message TestIamPermissionsResponse message or plain object to encode
|
|
13501
|
+
* @param [writer] Writer to encode to
|
|
13502
|
+
* @returns Writer
|
|
13503
|
+
*/
|
|
13504
|
+
public static encode(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13505
|
+
|
|
13506
|
+
/**
|
|
13507
|
+
* Encodes the specified TestIamPermissionsResponse message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
|
|
13508
|
+
* @param message TestIamPermissionsResponse message or plain object to encode
|
|
13509
|
+
* @param [writer] Writer to encode to
|
|
13510
|
+
* @returns Writer
|
|
13511
|
+
*/
|
|
13512
|
+
public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13513
|
+
|
|
13514
|
+
/**
|
|
13515
|
+
* Decodes a TestIamPermissionsResponse message from the specified reader or buffer.
|
|
13516
|
+
* @param reader Reader or buffer to decode from
|
|
13517
|
+
* @param [length] Message length if known beforehand
|
|
13518
|
+
* @returns TestIamPermissionsResponse
|
|
13519
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13520
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13521
|
+
*/
|
|
13522
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsResponse;
|
|
13523
|
+
|
|
13524
|
+
/**
|
|
13525
|
+
* Decodes a TestIamPermissionsResponse message from the specified reader or buffer, length delimited.
|
|
13526
|
+
* @param reader Reader or buffer to decode from
|
|
13527
|
+
* @returns TestIamPermissionsResponse
|
|
13528
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13529
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13530
|
+
*/
|
|
13531
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsResponse;
|
|
13532
|
+
|
|
13533
|
+
/**
|
|
13534
|
+
* Verifies a TestIamPermissionsResponse message.
|
|
13535
|
+
* @param message Plain object to verify
|
|
13536
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13537
|
+
*/
|
|
13538
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13539
|
+
|
|
13540
|
+
/**
|
|
13541
|
+
* Creates a TestIamPermissionsResponse message from a plain object. Also converts values to their respective internal types.
|
|
13542
|
+
* @param object Plain object
|
|
13543
|
+
* @returns TestIamPermissionsResponse
|
|
13544
|
+
*/
|
|
13545
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsResponse;
|
|
13546
|
+
|
|
13547
|
+
/**
|
|
13548
|
+
* Creates a plain object from a TestIamPermissionsResponse message. Also converts values to other types if specified.
|
|
13549
|
+
* @param message TestIamPermissionsResponse
|
|
13550
|
+
* @param [options] Conversion options
|
|
13551
|
+
* @returns Plain object
|
|
13552
|
+
*/
|
|
13553
|
+
public static toObject(message: google.iam.v1.TestIamPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13554
|
+
|
|
13555
|
+
/**
|
|
13556
|
+
* Converts this TestIamPermissionsResponse to JSON.
|
|
13557
|
+
* @returns JSON object
|
|
13558
|
+
*/
|
|
13559
|
+
public toJSON(): { [k: string]: any };
|
|
13560
|
+
|
|
13561
|
+
/**
|
|
13562
|
+
* Gets the default type url for TestIamPermissionsResponse
|
|
13563
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13564
|
+
* @returns The default type url
|
|
13565
|
+
*/
|
|
13566
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13567
|
+
}
|
|
13568
|
+
|
|
13569
|
+
/** Properties of a GetPolicyOptions. */
|
|
13570
|
+
interface IGetPolicyOptions {
|
|
13571
|
+
|
|
13572
|
+
/** GetPolicyOptions requestedPolicyVersion */
|
|
13573
|
+
requestedPolicyVersion?: (number|null);
|
|
13574
|
+
}
|
|
13575
|
+
|
|
13576
|
+
/** Represents a GetPolicyOptions. */
|
|
13577
|
+
class GetPolicyOptions implements IGetPolicyOptions {
|
|
13578
|
+
|
|
13579
|
+
/**
|
|
13580
|
+
* Constructs a new GetPolicyOptions.
|
|
13581
|
+
* @param [properties] Properties to set
|
|
13582
|
+
*/
|
|
13583
|
+
constructor(properties?: google.iam.v1.IGetPolicyOptions);
|
|
13584
|
+
|
|
13585
|
+
/** GetPolicyOptions requestedPolicyVersion. */
|
|
13586
|
+
public requestedPolicyVersion: number;
|
|
13587
|
+
|
|
13588
|
+
/**
|
|
13589
|
+
* Creates a new GetPolicyOptions instance using the specified properties.
|
|
13590
|
+
* @param [properties] Properties to set
|
|
13591
|
+
* @returns GetPolicyOptions instance
|
|
13592
|
+
*/
|
|
13593
|
+
public static create(properties?: google.iam.v1.IGetPolicyOptions): google.iam.v1.GetPolicyOptions;
|
|
13594
|
+
|
|
13595
|
+
/**
|
|
13596
|
+
* Encodes the specified GetPolicyOptions message. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
|
|
13597
|
+
* @param message GetPolicyOptions message or plain object to encode
|
|
13598
|
+
* @param [writer] Writer to encode to
|
|
13599
|
+
* @returns Writer
|
|
13600
|
+
*/
|
|
13601
|
+
public static encode(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13602
|
+
|
|
13603
|
+
/**
|
|
13604
|
+
* Encodes the specified GetPolicyOptions message, length delimited. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
|
|
13605
|
+
* @param message GetPolicyOptions message or plain object to encode
|
|
13606
|
+
* @param [writer] Writer to encode to
|
|
13607
|
+
* @returns Writer
|
|
13608
|
+
*/
|
|
13609
|
+
public static encodeDelimited(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13610
|
+
|
|
13611
|
+
/**
|
|
13612
|
+
* Decodes a GetPolicyOptions message from the specified reader or buffer.
|
|
13613
|
+
* @param reader Reader or buffer to decode from
|
|
13614
|
+
* @param [length] Message length if known beforehand
|
|
13615
|
+
* @returns GetPolicyOptions
|
|
13616
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13617
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13618
|
+
*/
|
|
13619
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetPolicyOptions;
|
|
13620
|
+
|
|
13621
|
+
/**
|
|
13622
|
+
* Decodes a GetPolicyOptions message from the specified reader or buffer, length delimited.
|
|
13623
|
+
* @param reader Reader or buffer to decode from
|
|
13624
|
+
* @returns GetPolicyOptions
|
|
13625
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13626
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13627
|
+
*/
|
|
13628
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetPolicyOptions;
|
|
13629
|
+
|
|
13630
|
+
/**
|
|
13631
|
+
* Verifies a GetPolicyOptions message.
|
|
13632
|
+
* @param message Plain object to verify
|
|
13633
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13634
|
+
*/
|
|
13635
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13636
|
+
|
|
13637
|
+
/**
|
|
13638
|
+
* Creates a GetPolicyOptions message from a plain object. Also converts values to their respective internal types.
|
|
13639
|
+
* @param object Plain object
|
|
13640
|
+
* @returns GetPolicyOptions
|
|
13641
|
+
*/
|
|
13642
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.GetPolicyOptions;
|
|
13643
|
+
|
|
13644
|
+
/**
|
|
13645
|
+
* Creates a plain object from a GetPolicyOptions message. Also converts values to other types if specified.
|
|
13646
|
+
* @param message GetPolicyOptions
|
|
13647
|
+
* @param [options] Conversion options
|
|
13648
|
+
* @returns Plain object
|
|
13649
|
+
*/
|
|
13650
|
+
public static toObject(message: google.iam.v1.GetPolicyOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13651
|
+
|
|
13652
|
+
/**
|
|
13653
|
+
* Converts this GetPolicyOptions to JSON.
|
|
13654
|
+
* @returns JSON object
|
|
13655
|
+
*/
|
|
13656
|
+
public toJSON(): { [k: string]: any };
|
|
13657
|
+
|
|
13658
|
+
/**
|
|
13659
|
+
* Gets the default type url for GetPolicyOptions
|
|
13660
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13661
|
+
* @returns The default type url
|
|
13662
|
+
*/
|
|
13663
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13664
|
+
}
|
|
13665
|
+
|
|
13666
|
+
/** Properties of a Policy. */
|
|
13667
|
+
interface IPolicy {
|
|
13668
|
+
|
|
13669
|
+
/** Policy version */
|
|
13670
|
+
version?: (number|null);
|
|
13671
|
+
|
|
13672
|
+
/** Policy bindings */
|
|
13673
|
+
bindings?: (google.iam.v1.IBinding[]|null);
|
|
13674
|
+
|
|
13675
|
+
/** Policy auditConfigs */
|
|
13676
|
+
auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
|
|
13677
|
+
|
|
13678
|
+
/** Policy etag */
|
|
13679
|
+
etag?: (Uint8Array|Buffer|string|null);
|
|
13680
|
+
}
|
|
13681
|
+
|
|
13682
|
+
/** Represents a Policy. */
|
|
13683
|
+
class Policy implements IPolicy {
|
|
13684
|
+
|
|
13685
|
+
/**
|
|
13686
|
+
* Constructs a new Policy.
|
|
13687
|
+
* @param [properties] Properties to set
|
|
13688
|
+
*/
|
|
13689
|
+
constructor(properties?: google.iam.v1.IPolicy);
|
|
13690
|
+
|
|
13691
|
+
/** Policy version. */
|
|
13692
|
+
public version: number;
|
|
13693
|
+
|
|
13694
|
+
/** Policy bindings. */
|
|
13695
|
+
public bindings: google.iam.v1.IBinding[];
|
|
13696
|
+
|
|
13697
|
+
/** Policy auditConfigs. */
|
|
13698
|
+
public auditConfigs: google.iam.v1.IAuditConfig[];
|
|
13699
|
+
|
|
13700
|
+
/** Policy etag. */
|
|
13701
|
+
public etag: (Uint8Array|Buffer|string);
|
|
13702
|
+
|
|
13703
|
+
/**
|
|
13704
|
+
* Creates a new Policy instance using the specified properties.
|
|
13705
|
+
* @param [properties] Properties to set
|
|
13706
|
+
* @returns Policy instance
|
|
13707
|
+
*/
|
|
13708
|
+
public static create(properties?: google.iam.v1.IPolicy): google.iam.v1.Policy;
|
|
13709
|
+
|
|
13710
|
+
/**
|
|
13711
|
+
* Encodes the specified Policy message. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
|
|
13712
|
+
* @param message Policy message or plain object to encode
|
|
13713
|
+
* @param [writer] Writer to encode to
|
|
13714
|
+
* @returns Writer
|
|
13715
|
+
*/
|
|
13716
|
+
public static encode(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13717
|
+
|
|
13718
|
+
/**
|
|
13719
|
+
* Encodes the specified Policy message, length delimited. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
|
|
13720
|
+
* @param message Policy message or plain object to encode
|
|
13721
|
+
* @param [writer] Writer to encode to
|
|
13722
|
+
* @returns Writer
|
|
13723
|
+
*/
|
|
13724
|
+
public static encodeDelimited(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13725
|
+
|
|
13726
|
+
/**
|
|
13727
|
+
* Decodes a Policy message from the specified reader or buffer.
|
|
13728
|
+
* @param reader Reader or buffer to decode from
|
|
13729
|
+
* @param [length] Message length if known beforehand
|
|
13730
|
+
* @returns Policy
|
|
13731
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13732
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13733
|
+
*/
|
|
13734
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Policy;
|
|
13735
|
+
|
|
13736
|
+
/**
|
|
13737
|
+
* Decodes a Policy message from the specified reader or buffer, length delimited.
|
|
13738
|
+
* @param reader Reader or buffer to decode from
|
|
13739
|
+
* @returns Policy
|
|
13740
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13741
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13742
|
+
*/
|
|
13743
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Policy;
|
|
13744
|
+
|
|
13745
|
+
/**
|
|
13746
|
+
* Verifies a Policy message.
|
|
13747
|
+
* @param message Plain object to verify
|
|
13748
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13749
|
+
*/
|
|
13750
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13751
|
+
|
|
13752
|
+
/**
|
|
13753
|
+
* Creates a Policy message from a plain object. Also converts values to their respective internal types.
|
|
13754
|
+
* @param object Plain object
|
|
13755
|
+
* @returns Policy
|
|
13756
|
+
*/
|
|
13757
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.Policy;
|
|
13758
|
+
|
|
13759
|
+
/**
|
|
13760
|
+
* Creates a plain object from a Policy message. Also converts values to other types if specified.
|
|
13761
|
+
* @param message Policy
|
|
13762
|
+
* @param [options] Conversion options
|
|
13763
|
+
* @returns Plain object
|
|
13764
|
+
*/
|
|
13765
|
+
public static toObject(message: google.iam.v1.Policy, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13766
|
+
|
|
13767
|
+
/**
|
|
13768
|
+
* Converts this Policy to JSON.
|
|
13769
|
+
* @returns JSON object
|
|
13770
|
+
*/
|
|
13771
|
+
public toJSON(): { [k: string]: any };
|
|
13772
|
+
|
|
13773
|
+
/**
|
|
13774
|
+
* Gets the default type url for Policy
|
|
13775
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13776
|
+
* @returns The default type url
|
|
13777
|
+
*/
|
|
13778
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13779
|
+
}
|
|
13780
|
+
|
|
13781
|
+
/** Properties of a Binding. */
|
|
13782
|
+
interface IBinding {
|
|
13783
|
+
|
|
13784
|
+
/** Binding role */
|
|
13785
|
+
role?: (string|null);
|
|
13786
|
+
|
|
13787
|
+
/** Binding members */
|
|
13788
|
+
members?: (string[]|null);
|
|
13789
|
+
|
|
13790
|
+
/** Binding condition */
|
|
13791
|
+
condition?: (google.type.IExpr|null);
|
|
13792
|
+
}
|
|
13793
|
+
|
|
13794
|
+
/** Represents a Binding. */
|
|
13795
|
+
class Binding implements IBinding {
|
|
13796
|
+
|
|
13797
|
+
/**
|
|
13798
|
+
* Constructs a new Binding.
|
|
13799
|
+
* @param [properties] Properties to set
|
|
13800
|
+
*/
|
|
13801
|
+
constructor(properties?: google.iam.v1.IBinding);
|
|
13802
|
+
|
|
13803
|
+
/** Binding role. */
|
|
13804
|
+
public role: string;
|
|
13805
|
+
|
|
13806
|
+
/** Binding members. */
|
|
13807
|
+
public members: string[];
|
|
13808
|
+
|
|
13809
|
+
/** Binding condition. */
|
|
13810
|
+
public condition?: (google.type.IExpr|null);
|
|
13811
|
+
|
|
13812
|
+
/**
|
|
13813
|
+
* Creates a new Binding instance using the specified properties.
|
|
13814
|
+
* @param [properties] Properties to set
|
|
13815
|
+
* @returns Binding instance
|
|
13816
|
+
*/
|
|
13817
|
+
public static create(properties?: google.iam.v1.IBinding): google.iam.v1.Binding;
|
|
13818
|
+
|
|
13819
|
+
/**
|
|
13820
|
+
* Encodes the specified Binding message. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
|
|
13821
|
+
* @param message Binding message or plain object to encode
|
|
13822
|
+
* @param [writer] Writer to encode to
|
|
13823
|
+
* @returns Writer
|
|
13824
|
+
*/
|
|
13825
|
+
public static encode(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13826
|
+
|
|
13827
|
+
/**
|
|
13828
|
+
* Encodes the specified Binding message, length delimited. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
|
|
13829
|
+
* @param message Binding message or plain object to encode
|
|
13830
|
+
* @param [writer] Writer to encode to
|
|
13831
|
+
* @returns Writer
|
|
13832
|
+
*/
|
|
13833
|
+
public static encodeDelimited(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13834
|
+
|
|
13835
|
+
/**
|
|
13836
|
+
* Decodes a Binding message from the specified reader or buffer.
|
|
13837
|
+
* @param reader Reader or buffer to decode from
|
|
13838
|
+
* @param [length] Message length if known beforehand
|
|
13839
|
+
* @returns Binding
|
|
13840
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13841
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13842
|
+
*/
|
|
13843
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Binding;
|
|
13844
|
+
|
|
13845
|
+
/**
|
|
13846
|
+
* Decodes a Binding message from the specified reader or buffer, length delimited.
|
|
13847
|
+
* @param reader Reader or buffer to decode from
|
|
13848
|
+
* @returns Binding
|
|
13849
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13850
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13851
|
+
*/
|
|
13852
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Binding;
|
|
13853
|
+
|
|
13854
|
+
/**
|
|
13855
|
+
* Verifies a Binding message.
|
|
13856
|
+
* @param message Plain object to verify
|
|
13857
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13858
|
+
*/
|
|
13859
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13860
|
+
|
|
13861
|
+
/**
|
|
13862
|
+
* Creates a Binding message from a plain object. Also converts values to their respective internal types.
|
|
13863
|
+
* @param object Plain object
|
|
13864
|
+
* @returns Binding
|
|
13865
|
+
*/
|
|
13866
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.Binding;
|
|
13867
|
+
|
|
13868
|
+
/**
|
|
13869
|
+
* Creates a plain object from a Binding message. Also converts values to other types if specified.
|
|
13870
|
+
* @param message Binding
|
|
13871
|
+
* @param [options] Conversion options
|
|
13872
|
+
* @returns Plain object
|
|
13873
|
+
*/
|
|
13874
|
+
public static toObject(message: google.iam.v1.Binding, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13875
|
+
|
|
13876
|
+
/**
|
|
13877
|
+
* Converts this Binding to JSON.
|
|
13878
|
+
* @returns JSON object
|
|
13879
|
+
*/
|
|
13880
|
+
public toJSON(): { [k: string]: any };
|
|
13881
|
+
|
|
13882
|
+
/**
|
|
13883
|
+
* Gets the default type url for Binding
|
|
13884
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13885
|
+
* @returns The default type url
|
|
13886
|
+
*/
|
|
13887
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13888
|
+
}
|
|
13889
|
+
|
|
13890
|
+
/** Properties of an AuditConfig. */
|
|
13891
|
+
interface IAuditConfig {
|
|
13892
|
+
|
|
13893
|
+
/** AuditConfig service */
|
|
13894
|
+
service?: (string|null);
|
|
13895
|
+
|
|
13896
|
+
/** AuditConfig auditLogConfigs */
|
|
13897
|
+
auditLogConfigs?: (google.iam.v1.IAuditLogConfig[]|null);
|
|
13898
|
+
}
|
|
13899
|
+
|
|
13900
|
+
/** Represents an AuditConfig. */
|
|
13901
|
+
class AuditConfig implements IAuditConfig {
|
|
13902
|
+
|
|
13903
|
+
/**
|
|
13904
|
+
* Constructs a new AuditConfig.
|
|
13905
|
+
* @param [properties] Properties to set
|
|
13906
|
+
*/
|
|
13907
|
+
constructor(properties?: google.iam.v1.IAuditConfig);
|
|
13908
|
+
|
|
13909
|
+
/** AuditConfig service. */
|
|
13910
|
+
public service: string;
|
|
13911
|
+
|
|
13912
|
+
/** AuditConfig auditLogConfigs. */
|
|
13913
|
+
public auditLogConfigs: google.iam.v1.IAuditLogConfig[];
|
|
13914
|
+
|
|
13915
|
+
/**
|
|
13916
|
+
* Creates a new AuditConfig instance using the specified properties.
|
|
13917
|
+
* @param [properties] Properties to set
|
|
13918
|
+
* @returns AuditConfig instance
|
|
13919
|
+
*/
|
|
13920
|
+
public static create(properties?: google.iam.v1.IAuditConfig): google.iam.v1.AuditConfig;
|
|
13921
|
+
|
|
13922
|
+
/**
|
|
13923
|
+
* Encodes the specified AuditConfig message. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
|
|
13924
|
+
* @param message AuditConfig message or plain object to encode
|
|
13925
|
+
* @param [writer] Writer to encode to
|
|
13926
|
+
* @returns Writer
|
|
13927
|
+
*/
|
|
13928
|
+
public static encode(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13929
|
+
|
|
13930
|
+
/**
|
|
13931
|
+
* Encodes the specified AuditConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
|
|
13932
|
+
* @param message AuditConfig message or plain object to encode
|
|
13933
|
+
* @param [writer] Writer to encode to
|
|
13934
|
+
* @returns Writer
|
|
13935
|
+
*/
|
|
13936
|
+
public static encodeDelimited(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13937
|
+
|
|
13938
|
+
/**
|
|
13939
|
+
* Decodes an AuditConfig message from the specified reader or buffer.
|
|
13940
|
+
* @param reader Reader or buffer to decode from
|
|
13941
|
+
* @param [length] Message length if known beforehand
|
|
13942
|
+
* @returns AuditConfig
|
|
13943
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13944
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13945
|
+
*/
|
|
13946
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfig;
|
|
13947
|
+
|
|
13948
|
+
/**
|
|
13949
|
+
* Decodes an AuditConfig message from the specified reader or buffer, length delimited.
|
|
13950
|
+
* @param reader Reader or buffer to decode from
|
|
13951
|
+
* @returns AuditConfig
|
|
13952
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13953
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13954
|
+
*/
|
|
13955
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfig;
|
|
13956
|
+
|
|
13957
|
+
/**
|
|
13958
|
+
* Verifies an AuditConfig message.
|
|
13959
|
+
* @param message Plain object to verify
|
|
13960
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13961
|
+
*/
|
|
13962
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13963
|
+
|
|
13964
|
+
/**
|
|
13965
|
+
* Creates an AuditConfig message from a plain object. Also converts values to their respective internal types.
|
|
13966
|
+
* @param object Plain object
|
|
13967
|
+
* @returns AuditConfig
|
|
13968
|
+
*/
|
|
13969
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfig;
|
|
13970
|
+
|
|
13971
|
+
/**
|
|
13972
|
+
* Creates a plain object from an AuditConfig message. Also converts values to other types if specified.
|
|
13973
|
+
* @param message AuditConfig
|
|
13974
|
+
* @param [options] Conversion options
|
|
13975
|
+
* @returns Plain object
|
|
13976
|
+
*/
|
|
13977
|
+
public static toObject(message: google.iam.v1.AuditConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13978
|
+
|
|
13979
|
+
/**
|
|
13980
|
+
* Converts this AuditConfig to JSON.
|
|
13981
|
+
* @returns JSON object
|
|
13982
|
+
*/
|
|
13983
|
+
public toJSON(): { [k: string]: any };
|
|
13984
|
+
|
|
13985
|
+
/**
|
|
13986
|
+
* Gets the default type url for AuditConfig
|
|
13987
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13988
|
+
* @returns The default type url
|
|
13989
|
+
*/
|
|
13990
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13991
|
+
}
|
|
13992
|
+
|
|
13993
|
+
/** Properties of an AuditLogConfig. */
|
|
13994
|
+
interface IAuditLogConfig {
|
|
13995
|
+
|
|
13996
|
+
/** AuditLogConfig logType */
|
|
13997
|
+
logType?: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType|null);
|
|
13998
|
+
|
|
13999
|
+
/** AuditLogConfig exemptedMembers */
|
|
14000
|
+
exemptedMembers?: (string[]|null);
|
|
14001
|
+
}
|
|
14002
|
+
|
|
14003
|
+
/** Represents an AuditLogConfig. */
|
|
14004
|
+
class AuditLogConfig implements IAuditLogConfig {
|
|
14005
|
+
|
|
14006
|
+
/**
|
|
14007
|
+
* Constructs a new AuditLogConfig.
|
|
14008
|
+
* @param [properties] Properties to set
|
|
14009
|
+
*/
|
|
14010
|
+
constructor(properties?: google.iam.v1.IAuditLogConfig);
|
|
14011
|
+
|
|
14012
|
+
/** AuditLogConfig logType. */
|
|
14013
|
+
public logType: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType);
|
|
14014
|
+
|
|
14015
|
+
/** AuditLogConfig exemptedMembers. */
|
|
14016
|
+
public exemptedMembers: string[];
|
|
14017
|
+
|
|
14018
|
+
/**
|
|
14019
|
+
* Creates a new AuditLogConfig instance using the specified properties.
|
|
14020
|
+
* @param [properties] Properties to set
|
|
14021
|
+
* @returns AuditLogConfig instance
|
|
14022
|
+
*/
|
|
14023
|
+
public static create(properties?: google.iam.v1.IAuditLogConfig): google.iam.v1.AuditLogConfig;
|
|
14024
|
+
|
|
14025
|
+
/**
|
|
14026
|
+
* Encodes the specified AuditLogConfig message. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
|
|
14027
|
+
* @param message AuditLogConfig message or plain object to encode
|
|
14028
|
+
* @param [writer] Writer to encode to
|
|
14029
|
+
* @returns Writer
|
|
14030
|
+
*/
|
|
14031
|
+
public static encode(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14032
|
+
|
|
14033
|
+
/**
|
|
14034
|
+
* Encodes the specified AuditLogConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
|
|
14035
|
+
* @param message AuditLogConfig message or plain object to encode
|
|
14036
|
+
* @param [writer] Writer to encode to
|
|
14037
|
+
* @returns Writer
|
|
14038
|
+
*/
|
|
14039
|
+
public static encodeDelimited(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14040
|
+
|
|
14041
|
+
/**
|
|
14042
|
+
* Decodes an AuditLogConfig message from the specified reader or buffer.
|
|
14043
|
+
* @param reader Reader or buffer to decode from
|
|
14044
|
+
* @param [length] Message length if known beforehand
|
|
14045
|
+
* @returns AuditLogConfig
|
|
14046
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14047
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14048
|
+
*/
|
|
14049
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditLogConfig;
|
|
14050
|
+
|
|
14051
|
+
/**
|
|
14052
|
+
* Decodes an AuditLogConfig message from the specified reader or buffer, length delimited.
|
|
14053
|
+
* @param reader Reader or buffer to decode from
|
|
14054
|
+
* @returns AuditLogConfig
|
|
14055
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14056
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14057
|
+
*/
|
|
14058
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditLogConfig;
|
|
14059
|
+
|
|
14060
|
+
/**
|
|
14061
|
+
* Verifies an AuditLogConfig message.
|
|
14062
|
+
* @param message Plain object to verify
|
|
14063
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14064
|
+
*/
|
|
14065
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14066
|
+
|
|
14067
|
+
/**
|
|
14068
|
+
* Creates an AuditLogConfig message from a plain object. Also converts values to their respective internal types.
|
|
14069
|
+
* @param object Plain object
|
|
14070
|
+
* @returns AuditLogConfig
|
|
14071
|
+
*/
|
|
14072
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditLogConfig;
|
|
14073
|
+
|
|
14074
|
+
/**
|
|
14075
|
+
* Creates a plain object from an AuditLogConfig message. Also converts values to other types if specified.
|
|
14076
|
+
* @param message AuditLogConfig
|
|
14077
|
+
* @param [options] Conversion options
|
|
14078
|
+
* @returns Plain object
|
|
14079
|
+
*/
|
|
14080
|
+
public static toObject(message: google.iam.v1.AuditLogConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14081
|
+
|
|
14082
|
+
/**
|
|
14083
|
+
* Converts this AuditLogConfig to JSON.
|
|
14084
|
+
* @returns JSON object
|
|
14085
|
+
*/
|
|
14086
|
+
public toJSON(): { [k: string]: any };
|
|
14087
|
+
|
|
14088
|
+
/**
|
|
14089
|
+
* Gets the default type url for AuditLogConfig
|
|
14090
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14091
|
+
* @returns The default type url
|
|
14092
|
+
*/
|
|
14093
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14094
|
+
}
|
|
14095
|
+
|
|
14096
|
+
namespace AuditLogConfig {
|
|
14097
|
+
|
|
14098
|
+
/** LogType enum. */
|
|
14099
|
+
enum LogType {
|
|
14100
|
+
LOG_TYPE_UNSPECIFIED = 0,
|
|
14101
|
+
ADMIN_READ = 1,
|
|
14102
|
+
DATA_WRITE = 2,
|
|
14103
|
+
DATA_READ = 3
|
|
14104
|
+
}
|
|
14105
|
+
}
|
|
14106
|
+
|
|
14107
|
+
/** Properties of a PolicyDelta. */
|
|
14108
|
+
interface IPolicyDelta {
|
|
14109
|
+
|
|
14110
|
+
/** PolicyDelta bindingDeltas */
|
|
14111
|
+
bindingDeltas?: (google.iam.v1.IBindingDelta[]|null);
|
|
14112
|
+
|
|
14113
|
+
/** PolicyDelta auditConfigDeltas */
|
|
14114
|
+
auditConfigDeltas?: (google.iam.v1.IAuditConfigDelta[]|null);
|
|
14115
|
+
}
|
|
14116
|
+
|
|
14117
|
+
/** Represents a PolicyDelta. */
|
|
14118
|
+
class PolicyDelta implements IPolicyDelta {
|
|
14119
|
+
|
|
14120
|
+
/**
|
|
14121
|
+
* Constructs a new PolicyDelta.
|
|
14122
|
+
* @param [properties] Properties to set
|
|
14123
|
+
*/
|
|
14124
|
+
constructor(properties?: google.iam.v1.IPolicyDelta);
|
|
14125
|
+
|
|
14126
|
+
/** PolicyDelta bindingDeltas. */
|
|
14127
|
+
public bindingDeltas: google.iam.v1.IBindingDelta[];
|
|
14128
|
+
|
|
14129
|
+
/** PolicyDelta auditConfigDeltas. */
|
|
14130
|
+
public auditConfigDeltas: google.iam.v1.IAuditConfigDelta[];
|
|
14131
|
+
|
|
14132
|
+
/**
|
|
14133
|
+
* Creates a new PolicyDelta instance using the specified properties.
|
|
14134
|
+
* @param [properties] Properties to set
|
|
14135
|
+
* @returns PolicyDelta instance
|
|
14136
|
+
*/
|
|
14137
|
+
public static create(properties?: google.iam.v1.IPolicyDelta): google.iam.v1.PolicyDelta;
|
|
14138
|
+
|
|
14139
|
+
/**
|
|
14140
|
+
* Encodes the specified PolicyDelta message. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
|
|
14141
|
+
* @param message PolicyDelta message or plain object to encode
|
|
14142
|
+
* @param [writer] Writer to encode to
|
|
14143
|
+
* @returns Writer
|
|
14144
|
+
*/
|
|
14145
|
+
public static encode(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14146
|
+
|
|
14147
|
+
/**
|
|
14148
|
+
* Encodes the specified PolicyDelta message, length delimited. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
|
|
14149
|
+
* @param message PolicyDelta message or plain object to encode
|
|
14150
|
+
* @param [writer] Writer to encode to
|
|
14151
|
+
* @returns Writer
|
|
14152
|
+
*/
|
|
14153
|
+
public static encodeDelimited(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14154
|
+
|
|
14155
|
+
/**
|
|
14156
|
+
* Decodes a PolicyDelta message from the specified reader or buffer.
|
|
14157
|
+
* @param reader Reader or buffer to decode from
|
|
14158
|
+
* @param [length] Message length if known beforehand
|
|
14159
|
+
* @returns PolicyDelta
|
|
14160
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14161
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14162
|
+
*/
|
|
14163
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.PolicyDelta;
|
|
14164
|
+
|
|
14165
|
+
/**
|
|
14166
|
+
* Decodes a PolicyDelta message from the specified reader or buffer, length delimited.
|
|
14167
|
+
* @param reader Reader or buffer to decode from
|
|
14168
|
+
* @returns PolicyDelta
|
|
14169
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14170
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14171
|
+
*/
|
|
14172
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.PolicyDelta;
|
|
14173
|
+
|
|
14174
|
+
/**
|
|
14175
|
+
* Verifies a PolicyDelta message.
|
|
14176
|
+
* @param message Plain object to verify
|
|
14177
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14178
|
+
*/
|
|
14179
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14180
|
+
|
|
14181
|
+
/**
|
|
14182
|
+
* Creates a PolicyDelta message from a plain object. Also converts values to their respective internal types.
|
|
14183
|
+
* @param object Plain object
|
|
14184
|
+
* @returns PolicyDelta
|
|
14185
|
+
*/
|
|
14186
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.PolicyDelta;
|
|
14187
|
+
|
|
14188
|
+
/**
|
|
14189
|
+
* Creates a plain object from a PolicyDelta message. Also converts values to other types if specified.
|
|
14190
|
+
* @param message PolicyDelta
|
|
14191
|
+
* @param [options] Conversion options
|
|
14192
|
+
* @returns Plain object
|
|
14193
|
+
*/
|
|
14194
|
+
public static toObject(message: google.iam.v1.PolicyDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14195
|
+
|
|
14196
|
+
/**
|
|
14197
|
+
* Converts this PolicyDelta to JSON.
|
|
14198
|
+
* @returns JSON object
|
|
14199
|
+
*/
|
|
14200
|
+
public toJSON(): { [k: string]: any };
|
|
14201
|
+
|
|
14202
|
+
/**
|
|
14203
|
+
* Gets the default type url for PolicyDelta
|
|
14204
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14205
|
+
* @returns The default type url
|
|
14206
|
+
*/
|
|
14207
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14208
|
+
}
|
|
14209
|
+
|
|
14210
|
+
/** Properties of a BindingDelta. */
|
|
14211
|
+
interface IBindingDelta {
|
|
14212
|
+
|
|
14213
|
+
/** BindingDelta action */
|
|
14214
|
+
action?: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action|null);
|
|
14215
|
+
|
|
14216
|
+
/** BindingDelta role */
|
|
14217
|
+
role?: (string|null);
|
|
14218
|
+
|
|
14219
|
+
/** BindingDelta member */
|
|
14220
|
+
member?: (string|null);
|
|
14221
|
+
|
|
14222
|
+
/** BindingDelta condition */
|
|
14223
|
+
condition?: (google.type.IExpr|null);
|
|
14224
|
+
}
|
|
14225
|
+
|
|
14226
|
+
/** Represents a BindingDelta. */
|
|
14227
|
+
class BindingDelta implements IBindingDelta {
|
|
14228
|
+
|
|
14229
|
+
/**
|
|
14230
|
+
* Constructs a new BindingDelta.
|
|
14231
|
+
* @param [properties] Properties to set
|
|
14232
|
+
*/
|
|
14233
|
+
constructor(properties?: google.iam.v1.IBindingDelta);
|
|
14234
|
+
|
|
14235
|
+
/** BindingDelta action. */
|
|
14236
|
+
public action: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action);
|
|
14237
|
+
|
|
14238
|
+
/** BindingDelta role. */
|
|
14239
|
+
public role: string;
|
|
14240
|
+
|
|
14241
|
+
/** BindingDelta member. */
|
|
14242
|
+
public member: string;
|
|
14243
|
+
|
|
14244
|
+
/** BindingDelta condition. */
|
|
14245
|
+
public condition?: (google.type.IExpr|null);
|
|
14246
|
+
|
|
14247
|
+
/**
|
|
14248
|
+
* Creates a new BindingDelta instance using the specified properties.
|
|
14249
|
+
* @param [properties] Properties to set
|
|
14250
|
+
* @returns BindingDelta instance
|
|
14251
|
+
*/
|
|
14252
|
+
public static create(properties?: google.iam.v1.IBindingDelta): google.iam.v1.BindingDelta;
|
|
14253
|
+
|
|
14254
|
+
/**
|
|
14255
|
+
* Encodes the specified BindingDelta message. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
|
|
14256
|
+
* @param message BindingDelta message or plain object to encode
|
|
14257
|
+
* @param [writer] Writer to encode to
|
|
14258
|
+
* @returns Writer
|
|
14259
|
+
*/
|
|
14260
|
+
public static encode(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14261
|
+
|
|
14262
|
+
/**
|
|
14263
|
+
* Encodes the specified BindingDelta message, length delimited. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
|
|
14264
|
+
* @param message BindingDelta message or plain object to encode
|
|
14265
|
+
* @param [writer] Writer to encode to
|
|
14266
|
+
* @returns Writer
|
|
14267
|
+
*/
|
|
14268
|
+
public static encodeDelimited(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14269
|
+
|
|
14270
|
+
/**
|
|
14271
|
+
* Decodes a BindingDelta message from the specified reader or buffer.
|
|
14272
|
+
* @param reader Reader or buffer to decode from
|
|
14273
|
+
* @param [length] Message length if known beforehand
|
|
14274
|
+
* @returns BindingDelta
|
|
14275
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14276
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14277
|
+
*/
|
|
14278
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.BindingDelta;
|
|
14279
|
+
|
|
14280
|
+
/**
|
|
14281
|
+
* Decodes a BindingDelta message from the specified reader or buffer, length delimited.
|
|
14282
|
+
* @param reader Reader or buffer to decode from
|
|
14283
|
+
* @returns BindingDelta
|
|
14284
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14285
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14286
|
+
*/
|
|
14287
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.BindingDelta;
|
|
14288
|
+
|
|
14289
|
+
/**
|
|
14290
|
+
* Verifies a BindingDelta message.
|
|
14291
|
+
* @param message Plain object to verify
|
|
14292
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14293
|
+
*/
|
|
14294
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14295
|
+
|
|
14296
|
+
/**
|
|
14297
|
+
* Creates a BindingDelta message from a plain object. Also converts values to their respective internal types.
|
|
14298
|
+
* @param object Plain object
|
|
14299
|
+
* @returns BindingDelta
|
|
14300
|
+
*/
|
|
14301
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.BindingDelta;
|
|
14302
|
+
|
|
14303
|
+
/**
|
|
14304
|
+
* Creates a plain object from a BindingDelta message. Also converts values to other types if specified.
|
|
14305
|
+
* @param message BindingDelta
|
|
14306
|
+
* @param [options] Conversion options
|
|
14307
|
+
* @returns Plain object
|
|
14308
|
+
*/
|
|
14309
|
+
public static toObject(message: google.iam.v1.BindingDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14310
|
+
|
|
14311
|
+
/**
|
|
14312
|
+
* Converts this BindingDelta to JSON.
|
|
14313
|
+
* @returns JSON object
|
|
14314
|
+
*/
|
|
14315
|
+
public toJSON(): { [k: string]: any };
|
|
14316
|
+
|
|
14317
|
+
/**
|
|
14318
|
+
* Gets the default type url for BindingDelta
|
|
14319
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14320
|
+
* @returns The default type url
|
|
14321
|
+
*/
|
|
14322
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14323
|
+
}
|
|
14324
|
+
|
|
14325
|
+
namespace BindingDelta {
|
|
14326
|
+
|
|
14327
|
+
/** Action enum. */
|
|
14328
|
+
enum Action {
|
|
14329
|
+
ACTION_UNSPECIFIED = 0,
|
|
14330
|
+
ADD = 1,
|
|
14331
|
+
REMOVE = 2
|
|
14332
|
+
}
|
|
14333
|
+
}
|
|
14334
|
+
|
|
14335
|
+
/** Properties of an AuditConfigDelta. */
|
|
14336
|
+
interface IAuditConfigDelta {
|
|
14337
|
+
|
|
14338
|
+
/** AuditConfigDelta action */
|
|
14339
|
+
action?: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action|null);
|
|
14340
|
+
|
|
14341
|
+
/** AuditConfigDelta service */
|
|
14342
|
+
service?: (string|null);
|
|
14343
|
+
|
|
14344
|
+
/** AuditConfigDelta exemptedMember */
|
|
14345
|
+
exemptedMember?: (string|null);
|
|
14346
|
+
|
|
14347
|
+
/** AuditConfigDelta logType */
|
|
14348
|
+
logType?: (string|null);
|
|
14349
|
+
}
|
|
14350
|
+
|
|
14351
|
+
/** Represents an AuditConfigDelta. */
|
|
14352
|
+
class AuditConfigDelta implements IAuditConfigDelta {
|
|
14353
|
+
|
|
14354
|
+
/**
|
|
14355
|
+
* Constructs a new AuditConfigDelta.
|
|
14356
|
+
* @param [properties] Properties to set
|
|
14357
|
+
*/
|
|
14358
|
+
constructor(properties?: google.iam.v1.IAuditConfigDelta);
|
|
14359
|
+
|
|
14360
|
+
/** AuditConfigDelta action. */
|
|
14361
|
+
public action: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action);
|
|
14362
|
+
|
|
14363
|
+
/** AuditConfigDelta service. */
|
|
14364
|
+
public service: string;
|
|
14365
|
+
|
|
14366
|
+
/** AuditConfigDelta exemptedMember. */
|
|
14367
|
+
public exemptedMember: string;
|
|
14368
|
+
|
|
14369
|
+
/** AuditConfigDelta logType. */
|
|
14370
|
+
public logType: string;
|
|
14371
|
+
|
|
14372
|
+
/**
|
|
14373
|
+
* Creates a new AuditConfigDelta instance using the specified properties.
|
|
14374
|
+
* @param [properties] Properties to set
|
|
14375
|
+
* @returns AuditConfigDelta instance
|
|
14376
|
+
*/
|
|
14377
|
+
public static create(properties?: google.iam.v1.IAuditConfigDelta): google.iam.v1.AuditConfigDelta;
|
|
14378
|
+
|
|
14379
|
+
/**
|
|
14380
|
+
* Encodes the specified AuditConfigDelta message. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
|
|
14381
|
+
* @param message AuditConfigDelta message or plain object to encode
|
|
14382
|
+
* @param [writer] Writer to encode to
|
|
14383
|
+
* @returns Writer
|
|
14384
|
+
*/
|
|
14385
|
+
public static encode(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14386
|
+
|
|
14387
|
+
/**
|
|
14388
|
+
* Encodes the specified AuditConfigDelta message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
|
|
14389
|
+
* @param message AuditConfigDelta message or plain object to encode
|
|
14390
|
+
* @param [writer] Writer to encode to
|
|
14391
|
+
* @returns Writer
|
|
14392
|
+
*/
|
|
14393
|
+
public static encodeDelimited(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14394
|
+
|
|
14395
|
+
/**
|
|
14396
|
+
* Decodes an AuditConfigDelta message from the specified reader or buffer.
|
|
14397
|
+
* @param reader Reader or buffer to decode from
|
|
14398
|
+
* @param [length] Message length if known beforehand
|
|
14399
|
+
* @returns AuditConfigDelta
|
|
14400
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14401
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14402
|
+
*/
|
|
14403
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfigDelta;
|
|
14404
|
+
|
|
14405
|
+
/**
|
|
14406
|
+
* Decodes an AuditConfigDelta message from the specified reader or buffer, length delimited.
|
|
14407
|
+
* @param reader Reader or buffer to decode from
|
|
14408
|
+
* @returns AuditConfigDelta
|
|
14409
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14410
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14411
|
+
*/
|
|
14412
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfigDelta;
|
|
14413
|
+
|
|
14414
|
+
/**
|
|
14415
|
+
* Verifies an AuditConfigDelta message.
|
|
14416
|
+
* @param message Plain object to verify
|
|
14417
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14418
|
+
*/
|
|
14419
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14420
|
+
|
|
14421
|
+
/**
|
|
14422
|
+
* Creates an AuditConfigDelta message from a plain object. Also converts values to their respective internal types.
|
|
14423
|
+
* @param object Plain object
|
|
14424
|
+
* @returns AuditConfigDelta
|
|
14425
|
+
*/
|
|
14426
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfigDelta;
|
|
14427
|
+
|
|
14428
|
+
/**
|
|
14429
|
+
* Creates a plain object from an AuditConfigDelta message. Also converts values to other types if specified.
|
|
14430
|
+
* @param message AuditConfigDelta
|
|
14431
|
+
* @param [options] Conversion options
|
|
14432
|
+
* @returns Plain object
|
|
14433
|
+
*/
|
|
14434
|
+
public static toObject(message: google.iam.v1.AuditConfigDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14435
|
+
|
|
14436
|
+
/**
|
|
14437
|
+
* Converts this AuditConfigDelta to JSON.
|
|
14438
|
+
* @returns JSON object
|
|
14439
|
+
*/
|
|
14440
|
+
public toJSON(): { [k: string]: any };
|
|
14441
|
+
|
|
14442
|
+
/**
|
|
14443
|
+
* Gets the default type url for AuditConfigDelta
|
|
14444
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14445
|
+
* @returns The default type url
|
|
14446
|
+
*/
|
|
14447
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14448
|
+
}
|
|
14449
|
+
|
|
14450
|
+
namespace AuditConfigDelta {
|
|
14451
|
+
|
|
14452
|
+
/** Action enum. */
|
|
14453
|
+
enum Action {
|
|
14454
|
+
ACTION_UNSPECIFIED = 0,
|
|
14455
|
+
ADD = 1,
|
|
14456
|
+
REMOVE = 2
|
|
14457
|
+
}
|
|
14458
|
+
}
|
|
14459
|
+
}
|
|
14460
|
+
}
|
|
14461
|
+
|
|
14462
|
+
/** Namespace type. */
|
|
14463
|
+
namespace type {
|
|
14464
|
+
|
|
14465
|
+
/** Properties of an Expr. */
|
|
14466
|
+
interface IExpr {
|
|
14467
|
+
|
|
14468
|
+
/** Expr expression */
|
|
14469
|
+
expression?: (string|null);
|
|
14470
|
+
|
|
14471
|
+
/** Expr title */
|
|
14472
|
+
title?: (string|null);
|
|
14473
|
+
|
|
14474
|
+
/** Expr description */
|
|
14475
|
+
description?: (string|null);
|
|
14476
|
+
|
|
14477
|
+
/** Expr location */
|
|
14478
|
+
location?: (string|null);
|
|
14479
|
+
}
|
|
14480
|
+
|
|
14481
|
+
/** Represents an Expr. */
|
|
14482
|
+
class Expr implements IExpr {
|
|
14483
|
+
|
|
14484
|
+
/**
|
|
14485
|
+
* Constructs a new Expr.
|
|
14486
|
+
* @param [properties] Properties to set
|
|
14487
|
+
*/
|
|
14488
|
+
constructor(properties?: google.type.IExpr);
|
|
14489
|
+
|
|
14490
|
+
/** Expr expression. */
|
|
14491
|
+
public expression: string;
|
|
14492
|
+
|
|
14493
|
+
/** Expr title. */
|
|
14494
|
+
public title: string;
|
|
14495
|
+
|
|
14496
|
+
/** Expr description. */
|
|
14497
|
+
public description: string;
|
|
14498
|
+
|
|
14499
|
+
/** Expr location. */
|
|
14500
|
+
public location: string;
|
|
14501
|
+
|
|
14502
|
+
/**
|
|
14503
|
+
* Creates a new Expr instance using the specified properties.
|
|
14504
|
+
* @param [properties] Properties to set
|
|
14505
|
+
* @returns Expr instance
|
|
14506
|
+
*/
|
|
14507
|
+
public static create(properties?: google.type.IExpr): google.type.Expr;
|
|
14508
|
+
|
|
14509
|
+
/**
|
|
14510
|
+
* Encodes the specified Expr message. Does not implicitly {@link google.type.Expr.verify|verify} messages.
|
|
14511
|
+
* @param message Expr message or plain object to encode
|
|
14512
|
+
* @param [writer] Writer to encode to
|
|
14513
|
+
* @returns Writer
|
|
14514
|
+
*/
|
|
14515
|
+
public static encode(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14516
|
+
|
|
14517
|
+
/**
|
|
14518
|
+
* Encodes the specified Expr message, length delimited. Does not implicitly {@link google.type.Expr.verify|verify} messages.
|
|
14519
|
+
* @param message Expr message or plain object to encode
|
|
14520
|
+
* @param [writer] Writer to encode to
|
|
14521
|
+
* @returns Writer
|
|
14522
|
+
*/
|
|
14523
|
+
public static encodeDelimited(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14524
|
+
|
|
14525
|
+
/**
|
|
14526
|
+
* Decodes an Expr message from the specified reader or buffer.
|
|
14527
|
+
* @param reader Reader or buffer to decode from
|
|
14528
|
+
* @param [length] Message length if known beforehand
|
|
14529
|
+
* @returns Expr
|
|
14530
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14531
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14532
|
+
*/
|
|
14533
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.Expr;
|
|
14534
|
+
|
|
14535
|
+
/**
|
|
14536
|
+
* Decodes an Expr message from the specified reader or buffer, length delimited.
|
|
14537
|
+
* @param reader Reader or buffer to decode from
|
|
14538
|
+
* @returns Expr
|
|
14539
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14540
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14541
|
+
*/
|
|
14542
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.Expr;
|
|
14543
|
+
|
|
14544
|
+
/**
|
|
14545
|
+
* Verifies an Expr message.
|
|
14546
|
+
* @param message Plain object to verify
|
|
14547
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14548
|
+
*/
|
|
14549
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14550
|
+
|
|
14551
|
+
/**
|
|
14552
|
+
* Creates an Expr message from a plain object. Also converts values to their respective internal types.
|
|
14553
|
+
* @param object Plain object
|
|
14554
|
+
* @returns Expr
|
|
14555
|
+
*/
|
|
14556
|
+
public static fromObject(object: { [k: string]: any }): google.type.Expr;
|
|
14557
|
+
|
|
14558
|
+
/**
|
|
14559
|
+
* Creates a plain object from an Expr message. Also converts values to other types if specified.
|
|
14560
|
+
* @param message Expr
|
|
14561
|
+
* @param [options] Conversion options
|
|
14562
|
+
* @returns Plain object
|
|
14563
|
+
*/
|
|
14564
|
+
public static toObject(message: google.type.Expr, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14565
|
+
|
|
14566
|
+
/**
|
|
14567
|
+
* Converts this Expr to JSON.
|
|
14568
|
+
* @returns JSON object
|
|
14569
|
+
*/
|
|
14570
|
+
public toJSON(): { [k: string]: any };
|
|
14571
|
+
|
|
14572
|
+
/**
|
|
14573
|
+
* Gets the default type url for Expr
|
|
14574
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14575
|
+
* @returns The default type url
|
|
14576
|
+
*/
|
|
14577
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14578
|
+
}
|
|
14579
|
+
}
|
|
14580
|
+
|
|
12384
14581
|
/** Namespace longrunning. */
|
|
12385
14582
|
namespace longrunning {
|
|
12386
14583
|
|