@google-cloud/storage-control 0.5.0 → 0.6.1
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 +52 -71
- package/build/protos/google/storage/control/v2/storage_control.proto +59 -0
- package/build/protos/protos.d.ts +1677 -97
- package/build/protos/protos.js +4013 -252
- package/build/protos/protos.json +423 -9
- 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. */
|
|
@@ -11986,6 +12049,103 @@ export namespace google {
|
|
|
11986
12049
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11987
12050
|
}
|
|
11988
12051
|
|
|
12052
|
+
/** Properties of a FieldMask. */
|
|
12053
|
+
interface IFieldMask {
|
|
12054
|
+
|
|
12055
|
+
/** FieldMask paths */
|
|
12056
|
+
paths?: (string[]|null);
|
|
12057
|
+
}
|
|
12058
|
+
|
|
12059
|
+
/** Represents a FieldMask. */
|
|
12060
|
+
class FieldMask implements IFieldMask {
|
|
12061
|
+
|
|
12062
|
+
/**
|
|
12063
|
+
* Constructs a new FieldMask.
|
|
12064
|
+
* @param [properties] Properties to set
|
|
12065
|
+
*/
|
|
12066
|
+
constructor(properties?: google.protobuf.IFieldMask);
|
|
12067
|
+
|
|
12068
|
+
/** FieldMask paths. */
|
|
12069
|
+
public paths: string[];
|
|
12070
|
+
|
|
12071
|
+
/**
|
|
12072
|
+
* Creates a new FieldMask instance using the specified properties.
|
|
12073
|
+
* @param [properties] Properties to set
|
|
12074
|
+
* @returns FieldMask instance
|
|
12075
|
+
*/
|
|
12076
|
+
public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
|
|
12077
|
+
|
|
12078
|
+
/**
|
|
12079
|
+
* Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
12080
|
+
* @param message FieldMask message or plain object to encode
|
|
12081
|
+
* @param [writer] Writer to encode to
|
|
12082
|
+
* @returns Writer
|
|
12083
|
+
*/
|
|
12084
|
+
public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12085
|
+
|
|
12086
|
+
/**
|
|
12087
|
+
* Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
12088
|
+
* @param message FieldMask message or plain object to encode
|
|
12089
|
+
* @param [writer] Writer to encode to
|
|
12090
|
+
* @returns Writer
|
|
12091
|
+
*/
|
|
12092
|
+
public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12093
|
+
|
|
12094
|
+
/**
|
|
12095
|
+
* Decodes a FieldMask message from the specified reader or buffer.
|
|
12096
|
+
* @param reader Reader or buffer to decode from
|
|
12097
|
+
* @param [length] Message length if known beforehand
|
|
12098
|
+
* @returns FieldMask
|
|
12099
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12100
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12101
|
+
*/
|
|
12102
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
|
|
12103
|
+
|
|
12104
|
+
/**
|
|
12105
|
+
* Decodes a FieldMask message from the specified reader or buffer, length delimited.
|
|
12106
|
+
* @param reader Reader or buffer to decode from
|
|
12107
|
+
* @returns FieldMask
|
|
12108
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12109
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12110
|
+
*/
|
|
12111
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
|
|
12112
|
+
|
|
12113
|
+
/**
|
|
12114
|
+
* Verifies a FieldMask message.
|
|
12115
|
+
* @param message Plain object to verify
|
|
12116
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12117
|
+
*/
|
|
12118
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12119
|
+
|
|
12120
|
+
/**
|
|
12121
|
+
* Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
|
|
12122
|
+
* @param object Plain object
|
|
12123
|
+
* @returns FieldMask
|
|
12124
|
+
*/
|
|
12125
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
|
|
12126
|
+
|
|
12127
|
+
/**
|
|
12128
|
+
* Creates a plain object from a FieldMask message. Also converts values to other types if specified.
|
|
12129
|
+
* @param message FieldMask
|
|
12130
|
+
* @param [options] Conversion options
|
|
12131
|
+
* @returns Plain object
|
|
12132
|
+
*/
|
|
12133
|
+
public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12134
|
+
|
|
12135
|
+
/**
|
|
12136
|
+
* Converts this FieldMask to JSON.
|
|
12137
|
+
* @returns JSON object
|
|
12138
|
+
*/
|
|
12139
|
+
public toJSON(): { [k: string]: any };
|
|
12140
|
+
|
|
12141
|
+
/**
|
|
12142
|
+
* Gets the default type url for FieldMask
|
|
12143
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12144
|
+
* @returns The default type url
|
|
12145
|
+
*/
|
|
12146
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12147
|
+
}
|
|
12148
|
+
|
|
11989
12149
|
/** Properties of an Any. */
|
|
11990
12150
|
interface IAny {
|
|
11991
12151
|
|
|
@@ -12180,103 +12340,6 @@ export namespace google {
|
|
|
12180
12340
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12181
12341
|
}
|
|
12182
12342
|
|
|
12183
|
-
/** Properties of a FieldMask. */
|
|
12184
|
-
interface IFieldMask {
|
|
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
12343
|
/** Properties of a Timestamp. */
|
|
12281
12344
|
interface ITimestamp {
|
|
12282
12345
|
|
|
@@ -12381,6 +12444,1523 @@ export namespace google {
|
|
|
12381
12444
|
}
|
|
12382
12445
|
}
|
|
12383
12446
|
|
|
12447
|
+
/** Namespace iam. */
|
|
12448
|
+
namespace iam {
|
|
12449
|
+
|
|
12450
|
+
/** Namespace v1. */
|
|
12451
|
+
namespace v1 {
|
|
12452
|
+
|
|
12453
|
+
/** Represents a IAMPolicy */
|
|
12454
|
+
class IAMPolicy extends $protobuf.rpc.Service {
|
|
12455
|
+
|
|
12456
|
+
/**
|
|
12457
|
+
* Constructs a new IAMPolicy service.
|
|
12458
|
+
* @param rpcImpl RPC implementation
|
|
12459
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
12460
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
12461
|
+
*/
|
|
12462
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
12463
|
+
|
|
12464
|
+
/**
|
|
12465
|
+
* Creates new IAMPolicy service using the specified rpc implementation.
|
|
12466
|
+
* @param rpcImpl RPC implementation
|
|
12467
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
12468
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
12469
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
12470
|
+
*/
|
|
12471
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): IAMPolicy;
|
|
12472
|
+
|
|
12473
|
+
/**
|
|
12474
|
+
* Calls SetIamPolicy.
|
|
12475
|
+
* @param request SetIamPolicyRequest message or plain object
|
|
12476
|
+
* @param callback Node-style callback called with the error, if any, and Policy
|
|
12477
|
+
*/
|
|
12478
|
+
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.SetIamPolicyCallback): void;
|
|
12479
|
+
|
|
12480
|
+
/**
|
|
12481
|
+
* Calls SetIamPolicy.
|
|
12482
|
+
* @param request SetIamPolicyRequest message or plain object
|
|
12483
|
+
* @returns Promise
|
|
12484
|
+
*/
|
|
12485
|
+
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;
|
|
12486
|
+
|
|
12487
|
+
/**
|
|
12488
|
+
* Calls GetIamPolicy.
|
|
12489
|
+
* @param request GetIamPolicyRequest message or plain object
|
|
12490
|
+
* @param callback Node-style callback called with the error, if any, and Policy
|
|
12491
|
+
*/
|
|
12492
|
+
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.GetIamPolicyCallback): void;
|
|
12493
|
+
|
|
12494
|
+
/**
|
|
12495
|
+
* Calls GetIamPolicy.
|
|
12496
|
+
* @param request GetIamPolicyRequest message or plain object
|
|
12497
|
+
* @returns Promise
|
|
12498
|
+
*/
|
|
12499
|
+
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;
|
|
12500
|
+
|
|
12501
|
+
/**
|
|
12502
|
+
* Calls TestIamPermissions.
|
|
12503
|
+
* @param request TestIamPermissionsRequest message or plain object
|
|
12504
|
+
* @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
|
|
12505
|
+
*/
|
|
12506
|
+
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.iam.v1.IAMPolicy.TestIamPermissionsCallback): void;
|
|
12507
|
+
|
|
12508
|
+
/**
|
|
12509
|
+
* Calls TestIamPermissions.
|
|
12510
|
+
* @param request TestIamPermissionsRequest message or plain object
|
|
12511
|
+
* @returns Promise
|
|
12512
|
+
*/
|
|
12513
|
+
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;
|
|
12514
|
+
}
|
|
12515
|
+
|
|
12516
|
+
namespace IAMPolicy {
|
|
12517
|
+
|
|
12518
|
+
/**
|
|
12519
|
+
* Callback as used by {@link google.iam.v1.IAMPolicy|setIamPolicy}.
|
|
12520
|
+
* @param error Error, if any
|
|
12521
|
+
* @param [response] Policy
|
|
12522
|
+
*/
|
|
12523
|
+
type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
|
|
12524
|
+
|
|
12525
|
+
/**
|
|
12526
|
+
* Callback as used by {@link google.iam.v1.IAMPolicy|getIamPolicy}.
|
|
12527
|
+
* @param error Error, if any
|
|
12528
|
+
* @param [response] Policy
|
|
12529
|
+
*/
|
|
12530
|
+
type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
|
|
12531
|
+
|
|
12532
|
+
/**
|
|
12533
|
+
* Callback as used by {@link google.iam.v1.IAMPolicy|testIamPermissions}.
|
|
12534
|
+
* @param error Error, if any
|
|
12535
|
+
* @param [response] TestIamPermissionsResponse
|
|
12536
|
+
*/
|
|
12537
|
+
type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
|
|
12538
|
+
}
|
|
12539
|
+
|
|
12540
|
+
/** Properties of a SetIamPolicyRequest. */
|
|
12541
|
+
interface ISetIamPolicyRequest {
|
|
12542
|
+
|
|
12543
|
+
/** SetIamPolicyRequest resource */
|
|
12544
|
+
resource?: (string|null);
|
|
12545
|
+
|
|
12546
|
+
/** SetIamPolicyRequest policy */
|
|
12547
|
+
policy?: (google.iam.v1.IPolicy|null);
|
|
12548
|
+
|
|
12549
|
+
/** SetIamPolicyRequest updateMask */
|
|
12550
|
+
updateMask?: (google.protobuf.IFieldMask|null);
|
|
12551
|
+
}
|
|
12552
|
+
|
|
12553
|
+
/** Represents a SetIamPolicyRequest. */
|
|
12554
|
+
class SetIamPolicyRequest implements ISetIamPolicyRequest {
|
|
12555
|
+
|
|
12556
|
+
/**
|
|
12557
|
+
* Constructs a new SetIamPolicyRequest.
|
|
12558
|
+
* @param [properties] Properties to set
|
|
12559
|
+
*/
|
|
12560
|
+
constructor(properties?: google.iam.v1.ISetIamPolicyRequest);
|
|
12561
|
+
|
|
12562
|
+
/** SetIamPolicyRequest resource. */
|
|
12563
|
+
public resource: string;
|
|
12564
|
+
|
|
12565
|
+
/** SetIamPolicyRequest policy. */
|
|
12566
|
+
public policy?: (google.iam.v1.IPolicy|null);
|
|
12567
|
+
|
|
12568
|
+
/** SetIamPolicyRequest updateMask. */
|
|
12569
|
+
public updateMask?: (google.protobuf.IFieldMask|null);
|
|
12570
|
+
|
|
12571
|
+
/**
|
|
12572
|
+
* Creates a new SetIamPolicyRequest instance using the specified properties.
|
|
12573
|
+
* @param [properties] Properties to set
|
|
12574
|
+
* @returns SetIamPolicyRequest instance
|
|
12575
|
+
*/
|
|
12576
|
+
public static create(properties?: google.iam.v1.ISetIamPolicyRequest): google.iam.v1.SetIamPolicyRequest;
|
|
12577
|
+
|
|
12578
|
+
/**
|
|
12579
|
+
* Encodes the specified SetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
|
|
12580
|
+
* @param message SetIamPolicyRequest message or plain object to encode
|
|
12581
|
+
* @param [writer] Writer to encode to
|
|
12582
|
+
* @returns Writer
|
|
12583
|
+
*/
|
|
12584
|
+
public static encode(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12585
|
+
|
|
12586
|
+
/**
|
|
12587
|
+
* Encodes the specified SetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
|
|
12588
|
+
* @param message SetIamPolicyRequest message or plain object to encode
|
|
12589
|
+
* @param [writer] Writer to encode to
|
|
12590
|
+
* @returns Writer
|
|
12591
|
+
*/
|
|
12592
|
+
public static encodeDelimited(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12593
|
+
|
|
12594
|
+
/**
|
|
12595
|
+
* Decodes a SetIamPolicyRequest message from the specified reader or buffer.
|
|
12596
|
+
* @param reader Reader or buffer to decode from
|
|
12597
|
+
* @param [length] Message length if known beforehand
|
|
12598
|
+
* @returns SetIamPolicyRequest
|
|
12599
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12600
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12601
|
+
*/
|
|
12602
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.SetIamPolicyRequest;
|
|
12603
|
+
|
|
12604
|
+
/**
|
|
12605
|
+
* Decodes a SetIamPolicyRequest message from the specified reader or buffer, length delimited.
|
|
12606
|
+
* @param reader Reader or buffer to decode from
|
|
12607
|
+
* @returns SetIamPolicyRequest
|
|
12608
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12609
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12610
|
+
*/
|
|
12611
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.SetIamPolicyRequest;
|
|
12612
|
+
|
|
12613
|
+
/**
|
|
12614
|
+
* Verifies a SetIamPolicyRequest message.
|
|
12615
|
+
* @param message Plain object to verify
|
|
12616
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12617
|
+
*/
|
|
12618
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12619
|
+
|
|
12620
|
+
/**
|
|
12621
|
+
* Creates a SetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
|
|
12622
|
+
* @param object Plain object
|
|
12623
|
+
* @returns SetIamPolicyRequest
|
|
12624
|
+
*/
|
|
12625
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.SetIamPolicyRequest;
|
|
12626
|
+
|
|
12627
|
+
/**
|
|
12628
|
+
* Creates a plain object from a SetIamPolicyRequest message. Also converts values to other types if specified.
|
|
12629
|
+
* @param message SetIamPolicyRequest
|
|
12630
|
+
* @param [options] Conversion options
|
|
12631
|
+
* @returns Plain object
|
|
12632
|
+
*/
|
|
12633
|
+
public static toObject(message: google.iam.v1.SetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12634
|
+
|
|
12635
|
+
/**
|
|
12636
|
+
* Converts this SetIamPolicyRequest to JSON.
|
|
12637
|
+
* @returns JSON object
|
|
12638
|
+
*/
|
|
12639
|
+
public toJSON(): { [k: string]: any };
|
|
12640
|
+
|
|
12641
|
+
/**
|
|
12642
|
+
* Gets the default type url for SetIamPolicyRequest
|
|
12643
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12644
|
+
* @returns The default type url
|
|
12645
|
+
*/
|
|
12646
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12647
|
+
}
|
|
12648
|
+
|
|
12649
|
+
/** Properties of a GetIamPolicyRequest. */
|
|
12650
|
+
interface IGetIamPolicyRequest {
|
|
12651
|
+
|
|
12652
|
+
/** GetIamPolicyRequest resource */
|
|
12653
|
+
resource?: (string|null);
|
|
12654
|
+
|
|
12655
|
+
/** GetIamPolicyRequest options */
|
|
12656
|
+
options?: (google.iam.v1.IGetPolicyOptions|null);
|
|
12657
|
+
}
|
|
12658
|
+
|
|
12659
|
+
/** Represents a GetIamPolicyRequest. */
|
|
12660
|
+
class GetIamPolicyRequest implements IGetIamPolicyRequest {
|
|
12661
|
+
|
|
12662
|
+
/**
|
|
12663
|
+
* Constructs a new GetIamPolicyRequest.
|
|
12664
|
+
* @param [properties] Properties to set
|
|
12665
|
+
*/
|
|
12666
|
+
constructor(properties?: google.iam.v1.IGetIamPolicyRequest);
|
|
12667
|
+
|
|
12668
|
+
/** GetIamPolicyRequest resource. */
|
|
12669
|
+
public resource: string;
|
|
12670
|
+
|
|
12671
|
+
/** GetIamPolicyRequest options. */
|
|
12672
|
+
public options?: (google.iam.v1.IGetPolicyOptions|null);
|
|
12673
|
+
|
|
12674
|
+
/**
|
|
12675
|
+
* Creates a new GetIamPolicyRequest instance using the specified properties.
|
|
12676
|
+
* @param [properties] Properties to set
|
|
12677
|
+
* @returns GetIamPolicyRequest instance
|
|
12678
|
+
*/
|
|
12679
|
+
public static create(properties?: google.iam.v1.IGetIamPolicyRequest): google.iam.v1.GetIamPolicyRequest;
|
|
12680
|
+
|
|
12681
|
+
/**
|
|
12682
|
+
* Encodes the specified GetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
|
|
12683
|
+
* @param message GetIamPolicyRequest message or plain object to encode
|
|
12684
|
+
* @param [writer] Writer to encode to
|
|
12685
|
+
* @returns Writer
|
|
12686
|
+
*/
|
|
12687
|
+
public static encode(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12688
|
+
|
|
12689
|
+
/**
|
|
12690
|
+
* Encodes the specified GetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
|
|
12691
|
+
* @param message GetIamPolicyRequest message or plain object to encode
|
|
12692
|
+
* @param [writer] Writer to encode to
|
|
12693
|
+
* @returns Writer
|
|
12694
|
+
*/
|
|
12695
|
+
public static encodeDelimited(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12696
|
+
|
|
12697
|
+
/**
|
|
12698
|
+
* Decodes a GetIamPolicyRequest message from the specified reader or buffer.
|
|
12699
|
+
* @param reader Reader or buffer to decode from
|
|
12700
|
+
* @param [length] Message length if known beforehand
|
|
12701
|
+
* @returns GetIamPolicyRequest
|
|
12702
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12703
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12704
|
+
*/
|
|
12705
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetIamPolicyRequest;
|
|
12706
|
+
|
|
12707
|
+
/**
|
|
12708
|
+
* Decodes a GetIamPolicyRequest message from the specified reader or buffer, length delimited.
|
|
12709
|
+
* @param reader Reader or buffer to decode from
|
|
12710
|
+
* @returns GetIamPolicyRequest
|
|
12711
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12712
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12713
|
+
*/
|
|
12714
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetIamPolicyRequest;
|
|
12715
|
+
|
|
12716
|
+
/**
|
|
12717
|
+
* Verifies a GetIamPolicyRequest message.
|
|
12718
|
+
* @param message Plain object to verify
|
|
12719
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12720
|
+
*/
|
|
12721
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12722
|
+
|
|
12723
|
+
/**
|
|
12724
|
+
* Creates a GetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
|
|
12725
|
+
* @param object Plain object
|
|
12726
|
+
* @returns GetIamPolicyRequest
|
|
12727
|
+
*/
|
|
12728
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.GetIamPolicyRequest;
|
|
12729
|
+
|
|
12730
|
+
/**
|
|
12731
|
+
* Creates a plain object from a GetIamPolicyRequest message. Also converts values to other types if specified.
|
|
12732
|
+
* @param message GetIamPolicyRequest
|
|
12733
|
+
* @param [options] Conversion options
|
|
12734
|
+
* @returns Plain object
|
|
12735
|
+
*/
|
|
12736
|
+
public static toObject(message: google.iam.v1.GetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12737
|
+
|
|
12738
|
+
/**
|
|
12739
|
+
* Converts this GetIamPolicyRequest to JSON.
|
|
12740
|
+
* @returns JSON object
|
|
12741
|
+
*/
|
|
12742
|
+
public toJSON(): { [k: string]: any };
|
|
12743
|
+
|
|
12744
|
+
/**
|
|
12745
|
+
* Gets the default type url for GetIamPolicyRequest
|
|
12746
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12747
|
+
* @returns The default type url
|
|
12748
|
+
*/
|
|
12749
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12750
|
+
}
|
|
12751
|
+
|
|
12752
|
+
/** Properties of a TestIamPermissionsRequest. */
|
|
12753
|
+
interface ITestIamPermissionsRequest {
|
|
12754
|
+
|
|
12755
|
+
/** TestIamPermissionsRequest resource */
|
|
12756
|
+
resource?: (string|null);
|
|
12757
|
+
|
|
12758
|
+
/** TestIamPermissionsRequest permissions */
|
|
12759
|
+
permissions?: (string[]|null);
|
|
12760
|
+
}
|
|
12761
|
+
|
|
12762
|
+
/** Represents a TestIamPermissionsRequest. */
|
|
12763
|
+
class TestIamPermissionsRequest implements ITestIamPermissionsRequest {
|
|
12764
|
+
|
|
12765
|
+
/**
|
|
12766
|
+
* Constructs a new TestIamPermissionsRequest.
|
|
12767
|
+
* @param [properties] Properties to set
|
|
12768
|
+
*/
|
|
12769
|
+
constructor(properties?: google.iam.v1.ITestIamPermissionsRequest);
|
|
12770
|
+
|
|
12771
|
+
/** TestIamPermissionsRequest resource. */
|
|
12772
|
+
public resource: string;
|
|
12773
|
+
|
|
12774
|
+
/** TestIamPermissionsRequest permissions. */
|
|
12775
|
+
public permissions: string[];
|
|
12776
|
+
|
|
12777
|
+
/**
|
|
12778
|
+
* Creates a new TestIamPermissionsRequest instance using the specified properties.
|
|
12779
|
+
* @param [properties] Properties to set
|
|
12780
|
+
* @returns TestIamPermissionsRequest instance
|
|
12781
|
+
*/
|
|
12782
|
+
public static create(properties?: google.iam.v1.ITestIamPermissionsRequest): google.iam.v1.TestIamPermissionsRequest;
|
|
12783
|
+
|
|
12784
|
+
/**
|
|
12785
|
+
* Encodes the specified TestIamPermissionsRequest message. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
|
|
12786
|
+
* @param message TestIamPermissionsRequest message or plain object to encode
|
|
12787
|
+
* @param [writer] Writer to encode to
|
|
12788
|
+
* @returns Writer
|
|
12789
|
+
*/
|
|
12790
|
+
public static encode(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12791
|
+
|
|
12792
|
+
/**
|
|
12793
|
+
* Encodes the specified TestIamPermissionsRequest message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
|
|
12794
|
+
* @param message TestIamPermissionsRequest message or plain object to encode
|
|
12795
|
+
* @param [writer] Writer to encode to
|
|
12796
|
+
* @returns Writer
|
|
12797
|
+
*/
|
|
12798
|
+
public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12799
|
+
|
|
12800
|
+
/**
|
|
12801
|
+
* Decodes a TestIamPermissionsRequest message from the specified reader or buffer.
|
|
12802
|
+
* @param reader Reader or buffer to decode from
|
|
12803
|
+
* @param [length] Message length if known beforehand
|
|
12804
|
+
* @returns TestIamPermissionsRequest
|
|
12805
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12806
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12807
|
+
*/
|
|
12808
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsRequest;
|
|
12809
|
+
|
|
12810
|
+
/**
|
|
12811
|
+
* Decodes a TestIamPermissionsRequest message from the specified reader or buffer, length delimited.
|
|
12812
|
+
* @param reader Reader or buffer to decode from
|
|
12813
|
+
* @returns TestIamPermissionsRequest
|
|
12814
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12815
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12816
|
+
*/
|
|
12817
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsRequest;
|
|
12818
|
+
|
|
12819
|
+
/**
|
|
12820
|
+
* Verifies a TestIamPermissionsRequest message.
|
|
12821
|
+
* @param message Plain object to verify
|
|
12822
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12823
|
+
*/
|
|
12824
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12825
|
+
|
|
12826
|
+
/**
|
|
12827
|
+
* Creates a TestIamPermissionsRequest message from a plain object. Also converts values to their respective internal types.
|
|
12828
|
+
* @param object Plain object
|
|
12829
|
+
* @returns TestIamPermissionsRequest
|
|
12830
|
+
*/
|
|
12831
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsRequest;
|
|
12832
|
+
|
|
12833
|
+
/**
|
|
12834
|
+
* Creates a plain object from a TestIamPermissionsRequest message. Also converts values to other types if specified.
|
|
12835
|
+
* @param message TestIamPermissionsRequest
|
|
12836
|
+
* @param [options] Conversion options
|
|
12837
|
+
* @returns Plain object
|
|
12838
|
+
*/
|
|
12839
|
+
public static toObject(message: google.iam.v1.TestIamPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12840
|
+
|
|
12841
|
+
/**
|
|
12842
|
+
* Converts this TestIamPermissionsRequest to JSON.
|
|
12843
|
+
* @returns JSON object
|
|
12844
|
+
*/
|
|
12845
|
+
public toJSON(): { [k: string]: any };
|
|
12846
|
+
|
|
12847
|
+
/**
|
|
12848
|
+
* Gets the default type url for TestIamPermissionsRequest
|
|
12849
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12850
|
+
* @returns The default type url
|
|
12851
|
+
*/
|
|
12852
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12853
|
+
}
|
|
12854
|
+
|
|
12855
|
+
/** Properties of a TestIamPermissionsResponse. */
|
|
12856
|
+
interface ITestIamPermissionsResponse {
|
|
12857
|
+
|
|
12858
|
+
/** TestIamPermissionsResponse permissions */
|
|
12859
|
+
permissions?: (string[]|null);
|
|
12860
|
+
}
|
|
12861
|
+
|
|
12862
|
+
/** Represents a TestIamPermissionsResponse. */
|
|
12863
|
+
class TestIamPermissionsResponse implements ITestIamPermissionsResponse {
|
|
12864
|
+
|
|
12865
|
+
/**
|
|
12866
|
+
* Constructs a new TestIamPermissionsResponse.
|
|
12867
|
+
* @param [properties] Properties to set
|
|
12868
|
+
*/
|
|
12869
|
+
constructor(properties?: google.iam.v1.ITestIamPermissionsResponse);
|
|
12870
|
+
|
|
12871
|
+
/** TestIamPermissionsResponse permissions. */
|
|
12872
|
+
public permissions: string[];
|
|
12873
|
+
|
|
12874
|
+
/**
|
|
12875
|
+
* Creates a new TestIamPermissionsResponse instance using the specified properties.
|
|
12876
|
+
* @param [properties] Properties to set
|
|
12877
|
+
* @returns TestIamPermissionsResponse instance
|
|
12878
|
+
*/
|
|
12879
|
+
public static create(properties?: google.iam.v1.ITestIamPermissionsResponse): google.iam.v1.TestIamPermissionsResponse;
|
|
12880
|
+
|
|
12881
|
+
/**
|
|
12882
|
+
* Encodes the specified TestIamPermissionsResponse message. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
|
|
12883
|
+
* @param message TestIamPermissionsResponse message or plain object to encode
|
|
12884
|
+
* @param [writer] Writer to encode to
|
|
12885
|
+
* @returns Writer
|
|
12886
|
+
*/
|
|
12887
|
+
public static encode(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12888
|
+
|
|
12889
|
+
/**
|
|
12890
|
+
* Encodes the specified TestIamPermissionsResponse message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
|
|
12891
|
+
* @param message TestIamPermissionsResponse message or plain object to encode
|
|
12892
|
+
* @param [writer] Writer to encode to
|
|
12893
|
+
* @returns Writer
|
|
12894
|
+
*/
|
|
12895
|
+
public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12896
|
+
|
|
12897
|
+
/**
|
|
12898
|
+
* Decodes a TestIamPermissionsResponse message from the specified reader or buffer.
|
|
12899
|
+
* @param reader Reader or buffer to decode from
|
|
12900
|
+
* @param [length] Message length if known beforehand
|
|
12901
|
+
* @returns TestIamPermissionsResponse
|
|
12902
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12903
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12904
|
+
*/
|
|
12905
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsResponse;
|
|
12906
|
+
|
|
12907
|
+
/**
|
|
12908
|
+
* Decodes a TestIamPermissionsResponse message from the specified reader or buffer, length delimited.
|
|
12909
|
+
* @param reader Reader or buffer to decode from
|
|
12910
|
+
* @returns TestIamPermissionsResponse
|
|
12911
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12912
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12913
|
+
*/
|
|
12914
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsResponse;
|
|
12915
|
+
|
|
12916
|
+
/**
|
|
12917
|
+
* Verifies a TestIamPermissionsResponse message.
|
|
12918
|
+
* @param message Plain object to verify
|
|
12919
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12920
|
+
*/
|
|
12921
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12922
|
+
|
|
12923
|
+
/**
|
|
12924
|
+
* Creates a TestIamPermissionsResponse message from a plain object. Also converts values to their respective internal types.
|
|
12925
|
+
* @param object Plain object
|
|
12926
|
+
* @returns TestIamPermissionsResponse
|
|
12927
|
+
*/
|
|
12928
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsResponse;
|
|
12929
|
+
|
|
12930
|
+
/**
|
|
12931
|
+
* Creates a plain object from a TestIamPermissionsResponse message. Also converts values to other types if specified.
|
|
12932
|
+
* @param message TestIamPermissionsResponse
|
|
12933
|
+
* @param [options] Conversion options
|
|
12934
|
+
* @returns Plain object
|
|
12935
|
+
*/
|
|
12936
|
+
public static toObject(message: google.iam.v1.TestIamPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12937
|
+
|
|
12938
|
+
/**
|
|
12939
|
+
* Converts this TestIamPermissionsResponse to JSON.
|
|
12940
|
+
* @returns JSON object
|
|
12941
|
+
*/
|
|
12942
|
+
public toJSON(): { [k: string]: any };
|
|
12943
|
+
|
|
12944
|
+
/**
|
|
12945
|
+
* Gets the default type url for TestIamPermissionsResponse
|
|
12946
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12947
|
+
* @returns The default type url
|
|
12948
|
+
*/
|
|
12949
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12950
|
+
}
|
|
12951
|
+
|
|
12952
|
+
/** Properties of a GetPolicyOptions. */
|
|
12953
|
+
interface IGetPolicyOptions {
|
|
12954
|
+
|
|
12955
|
+
/** GetPolicyOptions requestedPolicyVersion */
|
|
12956
|
+
requestedPolicyVersion?: (number|null);
|
|
12957
|
+
}
|
|
12958
|
+
|
|
12959
|
+
/** Represents a GetPolicyOptions. */
|
|
12960
|
+
class GetPolicyOptions implements IGetPolicyOptions {
|
|
12961
|
+
|
|
12962
|
+
/**
|
|
12963
|
+
* Constructs a new GetPolicyOptions.
|
|
12964
|
+
* @param [properties] Properties to set
|
|
12965
|
+
*/
|
|
12966
|
+
constructor(properties?: google.iam.v1.IGetPolicyOptions);
|
|
12967
|
+
|
|
12968
|
+
/** GetPolicyOptions requestedPolicyVersion. */
|
|
12969
|
+
public requestedPolicyVersion: number;
|
|
12970
|
+
|
|
12971
|
+
/**
|
|
12972
|
+
* Creates a new GetPolicyOptions instance using the specified properties.
|
|
12973
|
+
* @param [properties] Properties to set
|
|
12974
|
+
* @returns GetPolicyOptions instance
|
|
12975
|
+
*/
|
|
12976
|
+
public static create(properties?: google.iam.v1.IGetPolicyOptions): google.iam.v1.GetPolicyOptions;
|
|
12977
|
+
|
|
12978
|
+
/**
|
|
12979
|
+
* Encodes the specified GetPolicyOptions message. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
|
|
12980
|
+
* @param message GetPolicyOptions message or plain object to encode
|
|
12981
|
+
* @param [writer] Writer to encode to
|
|
12982
|
+
* @returns Writer
|
|
12983
|
+
*/
|
|
12984
|
+
public static encode(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12985
|
+
|
|
12986
|
+
/**
|
|
12987
|
+
* Encodes the specified GetPolicyOptions message, length delimited. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
|
|
12988
|
+
* @param message GetPolicyOptions message or plain object to encode
|
|
12989
|
+
* @param [writer] Writer to encode to
|
|
12990
|
+
* @returns Writer
|
|
12991
|
+
*/
|
|
12992
|
+
public static encodeDelimited(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12993
|
+
|
|
12994
|
+
/**
|
|
12995
|
+
* Decodes a GetPolicyOptions message from the specified reader or buffer.
|
|
12996
|
+
* @param reader Reader or buffer to decode from
|
|
12997
|
+
* @param [length] Message length if known beforehand
|
|
12998
|
+
* @returns GetPolicyOptions
|
|
12999
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13000
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13001
|
+
*/
|
|
13002
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetPolicyOptions;
|
|
13003
|
+
|
|
13004
|
+
/**
|
|
13005
|
+
* Decodes a GetPolicyOptions message from the specified reader or buffer, length delimited.
|
|
13006
|
+
* @param reader Reader or buffer to decode from
|
|
13007
|
+
* @returns GetPolicyOptions
|
|
13008
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13009
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13010
|
+
*/
|
|
13011
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetPolicyOptions;
|
|
13012
|
+
|
|
13013
|
+
/**
|
|
13014
|
+
* Verifies a GetPolicyOptions message.
|
|
13015
|
+
* @param message Plain object to verify
|
|
13016
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13017
|
+
*/
|
|
13018
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13019
|
+
|
|
13020
|
+
/**
|
|
13021
|
+
* Creates a GetPolicyOptions message from a plain object. Also converts values to their respective internal types.
|
|
13022
|
+
* @param object Plain object
|
|
13023
|
+
* @returns GetPolicyOptions
|
|
13024
|
+
*/
|
|
13025
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.GetPolicyOptions;
|
|
13026
|
+
|
|
13027
|
+
/**
|
|
13028
|
+
* Creates a plain object from a GetPolicyOptions message. Also converts values to other types if specified.
|
|
13029
|
+
* @param message GetPolicyOptions
|
|
13030
|
+
* @param [options] Conversion options
|
|
13031
|
+
* @returns Plain object
|
|
13032
|
+
*/
|
|
13033
|
+
public static toObject(message: google.iam.v1.GetPolicyOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13034
|
+
|
|
13035
|
+
/**
|
|
13036
|
+
* Converts this GetPolicyOptions to JSON.
|
|
13037
|
+
* @returns JSON object
|
|
13038
|
+
*/
|
|
13039
|
+
public toJSON(): { [k: string]: any };
|
|
13040
|
+
|
|
13041
|
+
/**
|
|
13042
|
+
* Gets the default type url for GetPolicyOptions
|
|
13043
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13044
|
+
* @returns The default type url
|
|
13045
|
+
*/
|
|
13046
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13047
|
+
}
|
|
13048
|
+
|
|
13049
|
+
/** Properties of a Policy. */
|
|
13050
|
+
interface IPolicy {
|
|
13051
|
+
|
|
13052
|
+
/** Policy version */
|
|
13053
|
+
version?: (number|null);
|
|
13054
|
+
|
|
13055
|
+
/** Policy bindings */
|
|
13056
|
+
bindings?: (google.iam.v1.IBinding[]|null);
|
|
13057
|
+
|
|
13058
|
+
/** Policy auditConfigs */
|
|
13059
|
+
auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
|
|
13060
|
+
|
|
13061
|
+
/** Policy etag */
|
|
13062
|
+
etag?: (Uint8Array|Buffer|string|null);
|
|
13063
|
+
}
|
|
13064
|
+
|
|
13065
|
+
/** Represents a Policy. */
|
|
13066
|
+
class Policy implements IPolicy {
|
|
13067
|
+
|
|
13068
|
+
/**
|
|
13069
|
+
* Constructs a new Policy.
|
|
13070
|
+
* @param [properties] Properties to set
|
|
13071
|
+
*/
|
|
13072
|
+
constructor(properties?: google.iam.v1.IPolicy);
|
|
13073
|
+
|
|
13074
|
+
/** Policy version. */
|
|
13075
|
+
public version: number;
|
|
13076
|
+
|
|
13077
|
+
/** Policy bindings. */
|
|
13078
|
+
public bindings: google.iam.v1.IBinding[];
|
|
13079
|
+
|
|
13080
|
+
/** Policy auditConfigs. */
|
|
13081
|
+
public auditConfigs: google.iam.v1.IAuditConfig[];
|
|
13082
|
+
|
|
13083
|
+
/** Policy etag. */
|
|
13084
|
+
public etag: (Uint8Array|Buffer|string);
|
|
13085
|
+
|
|
13086
|
+
/**
|
|
13087
|
+
* Creates a new Policy instance using the specified properties.
|
|
13088
|
+
* @param [properties] Properties to set
|
|
13089
|
+
* @returns Policy instance
|
|
13090
|
+
*/
|
|
13091
|
+
public static create(properties?: google.iam.v1.IPolicy): google.iam.v1.Policy;
|
|
13092
|
+
|
|
13093
|
+
/**
|
|
13094
|
+
* Encodes the specified Policy message. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
|
|
13095
|
+
* @param message Policy message or plain object to encode
|
|
13096
|
+
* @param [writer] Writer to encode to
|
|
13097
|
+
* @returns Writer
|
|
13098
|
+
*/
|
|
13099
|
+
public static encode(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13100
|
+
|
|
13101
|
+
/**
|
|
13102
|
+
* Encodes the specified Policy message, length delimited. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
|
|
13103
|
+
* @param message Policy message or plain object to encode
|
|
13104
|
+
* @param [writer] Writer to encode to
|
|
13105
|
+
* @returns Writer
|
|
13106
|
+
*/
|
|
13107
|
+
public static encodeDelimited(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13108
|
+
|
|
13109
|
+
/**
|
|
13110
|
+
* Decodes a Policy message from the specified reader or buffer.
|
|
13111
|
+
* @param reader Reader or buffer to decode from
|
|
13112
|
+
* @param [length] Message length if known beforehand
|
|
13113
|
+
* @returns Policy
|
|
13114
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13115
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13116
|
+
*/
|
|
13117
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Policy;
|
|
13118
|
+
|
|
13119
|
+
/**
|
|
13120
|
+
* Decodes a Policy message from the specified reader or buffer, length delimited.
|
|
13121
|
+
* @param reader Reader or buffer to decode from
|
|
13122
|
+
* @returns Policy
|
|
13123
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13124
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13125
|
+
*/
|
|
13126
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Policy;
|
|
13127
|
+
|
|
13128
|
+
/**
|
|
13129
|
+
* Verifies a Policy message.
|
|
13130
|
+
* @param message Plain object to verify
|
|
13131
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13132
|
+
*/
|
|
13133
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13134
|
+
|
|
13135
|
+
/**
|
|
13136
|
+
* Creates a Policy message from a plain object. Also converts values to their respective internal types.
|
|
13137
|
+
* @param object Plain object
|
|
13138
|
+
* @returns Policy
|
|
13139
|
+
*/
|
|
13140
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.Policy;
|
|
13141
|
+
|
|
13142
|
+
/**
|
|
13143
|
+
* Creates a plain object from a Policy message. Also converts values to other types if specified.
|
|
13144
|
+
* @param message Policy
|
|
13145
|
+
* @param [options] Conversion options
|
|
13146
|
+
* @returns Plain object
|
|
13147
|
+
*/
|
|
13148
|
+
public static toObject(message: google.iam.v1.Policy, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13149
|
+
|
|
13150
|
+
/**
|
|
13151
|
+
* Converts this Policy to JSON.
|
|
13152
|
+
* @returns JSON object
|
|
13153
|
+
*/
|
|
13154
|
+
public toJSON(): { [k: string]: any };
|
|
13155
|
+
|
|
13156
|
+
/**
|
|
13157
|
+
* Gets the default type url for Policy
|
|
13158
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13159
|
+
* @returns The default type url
|
|
13160
|
+
*/
|
|
13161
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13162
|
+
}
|
|
13163
|
+
|
|
13164
|
+
/** Properties of a Binding. */
|
|
13165
|
+
interface IBinding {
|
|
13166
|
+
|
|
13167
|
+
/** Binding role */
|
|
13168
|
+
role?: (string|null);
|
|
13169
|
+
|
|
13170
|
+
/** Binding members */
|
|
13171
|
+
members?: (string[]|null);
|
|
13172
|
+
|
|
13173
|
+
/** Binding condition */
|
|
13174
|
+
condition?: (google.type.IExpr|null);
|
|
13175
|
+
}
|
|
13176
|
+
|
|
13177
|
+
/** Represents a Binding. */
|
|
13178
|
+
class Binding implements IBinding {
|
|
13179
|
+
|
|
13180
|
+
/**
|
|
13181
|
+
* Constructs a new Binding.
|
|
13182
|
+
* @param [properties] Properties to set
|
|
13183
|
+
*/
|
|
13184
|
+
constructor(properties?: google.iam.v1.IBinding);
|
|
13185
|
+
|
|
13186
|
+
/** Binding role. */
|
|
13187
|
+
public role: string;
|
|
13188
|
+
|
|
13189
|
+
/** Binding members. */
|
|
13190
|
+
public members: string[];
|
|
13191
|
+
|
|
13192
|
+
/** Binding condition. */
|
|
13193
|
+
public condition?: (google.type.IExpr|null);
|
|
13194
|
+
|
|
13195
|
+
/**
|
|
13196
|
+
* Creates a new Binding instance using the specified properties.
|
|
13197
|
+
* @param [properties] Properties to set
|
|
13198
|
+
* @returns Binding instance
|
|
13199
|
+
*/
|
|
13200
|
+
public static create(properties?: google.iam.v1.IBinding): google.iam.v1.Binding;
|
|
13201
|
+
|
|
13202
|
+
/**
|
|
13203
|
+
* Encodes the specified Binding message. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
|
|
13204
|
+
* @param message Binding message or plain object to encode
|
|
13205
|
+
* @param [writer] Writer to encode to
|
|
13206
|
+
* @returns Writer
|
|
13207
|
+
*/
|
|
13208
|
+
public static encode(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13209
|
+
|
|
13210
|
+
/**
|
|
13211
|
+
* Encodes the specified Binding message, length delimited. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
|
|
13212
|
+
* @param message Binding message or plain object to encode
|
|
13213
|
+
* @param [writer] Writer to encode to
|
|
13214
|
+
* @returns Writer
|
|
13215
|
+
*/
|
|
13216
|
+
public static encodeDelimited(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13217
|
+
|
|
13218
|
+
/**
|
|
13219
|
+
* Decodes a Binding message from the specified reader or buffer.
|
|
13220
|
+
* @param reader Reader or buffer to decode from
|
|
13221
|
+
* @param [length] Message length if known beforehand
|
|
13222
|
+
* @returns Binding
|
|
13223
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13224
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13225
|
+
*/
|
|
13226
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Binding;
|
|
13227
|
+
|
|
13228
|
+
/**
|
|
13229
|
+
* Decodes a Binding message from the specified reader or buffer, length delimited.
|
|
13230
|
+
* @param reader Reader or buffer to decode from
|
|
13231
|
+
* @returns Binding
|
|
13232
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13233
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13234
|
+
*/
|
|
13235
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Binding;
|
|
13236
|
+
|
|
13237
|
+
/**
|
|
13238
|
+
* Verifies a Binding message.
|
|
13239
|
+
* @param message Plain object to verify
|
|
13240
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13241
|
+
*/
|
|
13242
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13243
|
+
|
|
13244
|
+
/**
|
|
13245
|
+
* Creates a Binding message from a plain object. Also converts values to their respective internal types.
|
|
13246
|
+
* @param object Plain object
|
|
13247
|
+
* @returns Binding
|
|
13248
|
+
*/
|
|
13249
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.Binding;
|
|
13250
|
+
|
|
13251
|
+
/**
|
|
13252
|
+
* Creates a plain object from a Binding message. Also converts values to other types if specified.
|
|
13253
|
+
* @param message Binding
|
|
13254
|
+
* @param [options] Conversion options
|
|
13255
|
+
* @returns Plain object
|
|
13256
|
+
*/
|
|
13257
|
+
public static toObject(message: google.iam.v1.Binding, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13258
|
+
|
|
13259
|
+
/**
|
|
13260
|
+
* Converts this Binding to JSON.
|
|
13261
|
+
* @returns JSON object
|
|
13262
|
+
*/
|
|
13263
|
+
public toJSON(): { [k: string]: any };
|
|
13264
|
+
|
|
13265
|
+
/**
|
|
13266
|
+
* Gets the default type url for Binding
|
|
13267
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13268
|
+
* @returns The default type url
|
|
13269
|
+
*/
|
|
13270
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13271
|
+
}
|
|
13272
|
+
|
|
13273
|
+
/** Properties of an AuditConfig. */
|
|
13274
|
+
interface IAuditConfig {
|
|
13275
|
+
|
|
13276
|
+
/** AuditConfig service */
|
|
13277
|
+
service?: (string|null);
|
|
13278
|
+
|
|
13279
|
+
/** AuditConfig auditLogConfigs */
|
|
13280
|
+
auditLogConfigs?: (google.iam.v1.IAuditLogConfig[]|null);
|
|
13281
|
+
}
|
|
13282
|
+
|
|
13283
|
+
/** Represents an AuditConfig. */
|
|
13284
|
+
class AuditConfig implements IAuditConfig {
|
|
13285
|
+
|
|
13286
|
+
/**
|
|
13287
|
+
* Constructs a new AuditConfig.
|
|
13288
|
+
* @param [properties] Properties to set
|
|
13289
|
+
*/
|
|
13290
|
+
constructor(properties?: google.iam.v1.IAuditConfig);
|
|
13291
|
+
|
|
13292
|
+
/** AuditConfig service. */
|
|
13293
|
+
public service: string;
|
|
13294
|
+
|
|
13295
|
+
/** AuditConfig auditLogConfigs. */
|
|
13296
|
+
public auditLogConfigs: google.iam.v1.IAuditLogConfig[];
|
|
13297
|
+
|
|
13298
|
+
/**
|
|
13299
|
+
* Creates a new AuditConfig instance using the specified properties.
|
|
13300
|
+
* @param [properties] Properties to set
|
|
13301
|
+
* @returns AuditConfig instance
|
|
13302
|
+
*/
|
|
13303
|
+
public static create(properties?: google.iam.v1.IAuditConfig): google.iam.v1.AuditConfig;
|
|
13304
|
+
|
|
13305
|
+
/**
|
|
13306
|
+
* Encodes the specified AuditConfig message. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
|
|
13307
|
+
* @param message AuditConfig message or plain object to encode
|
|
13308
|
+
* @param [writer] Writer to encode to
|
|
13309
|
+
* @returns Writer
|
|
13310
|
+
*/
|
|
13311
|
+
public static encode(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13312
|
+
|
|
13313
|
+
/**
|
|
13314
|
+
* Encodes the specified AuditConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
|
|
13315
|
+
* @param message AuditConfig message or plain object to encode
|
|
13316
|
+
* @param [writer] Writer to encode to
|
|
13317
|
+
* @returns Writer
|
|
13318
|
+
*/
|
|
13319
|
+
public static encodeDelimited(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13320
|
+
|
|
13321
|
+
/**
|
|
13322
|
+
* Decodes an AuditConfig message from the specified reader or buffer.
|
|
13323
|
+
* @param reader Reader or buffer to decode from
|
|
13324
|
+
* @param [length] Message length if known beforehand
|
|
13325
|
+
* @returns AuditConfig
|
|
13326
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13327
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13328
|
+
*/
|
|
13329
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfig;
|
|
13330
|
+
|
|
13331
|
+
/**
|
|
13332
|
+
* Decodes an AuditConfig message from the specified reader or buffer, length delimited.
|
|
13333
|
+
* @param reader Reader or buffer to decode from
|
|
13334
|
+
* @returns AuditConfig
|
|
13335
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13336
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13337
|
+
*/
|
|
13338
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfig;
|
|
13339
|
+
|
|
13340
|
+
/**
|
|
13341
|
+
* Verifies an AuditConfig message.
|
|
13342
|
+
* @param message Plain object to verify
|
|
13343
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13344
|
+
*/
|
|
13345
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13346
|
+
|
|
13347
|
+
/**
|
|
13348
|
+
* Creates an AuditConfig message from a plain object. Also converts values to their respective internal types.
|
|
13349
|
+
* @param object Plain object
|
|
13350
|
+
* @returns AuditConfig
|
|
13351
|
+
*/
|
|
13352
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfig;
|
|
13353
|
+
|
|
13354
|
+
/**
|
|
13355
|
+
* Creates a plain object from an AuditConfig message. Also converts values to other types if specified.
|
|
13356
|
+
* @param message AuditConfig
|
|
13357
|
+
* @param [options] Conversion options
|
|
13358
|
+
* @returns Plain object
|
|
13359
|
+
*/
|
|
13360
|
+
public static toObject(message: google.iam.v1.AuditConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13361
|
+
|
|
13362
|
+
/**
|
|
13363
|
+
* Converts this AuditConfig to JSON.
|
|
13364
|
+
* @returns JSON object
|
|
13365
|
+
*/
|
|
13366
|
+
public toJSON(): { [k: string]: any };
|
|
13367
|
+
|
|
13368
|
+
/**
|
|
13369
|
+
* Gets the default type url for AuditConfig
|
|
13370
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13371
|
+
* @returns The default type url
|
|
13372
|
+
*/
|
|
13373
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13374
|
+
}
|
|
13375
|
+
|
|
13376
|
+
/** Properties of an AuditLogConfig. */
|
|
13377
|
+
interface IAuditLogConfig {
|
|
13378
|
+
|
|
13379
|
+
/** AuditLogConfig logType */
|
|
13380
|
+
logType?: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType|null);
|
|
13381
|
+
|
|
13382
|
+
/** AuditLogConfig exemptedMembers */
|
|
13383
|
+
exemptedMembers?: (string[]|null);
|
|
13384
|
+
}
|
|
13385
|
+
|
|
13386
|
+
/** Represents an AuditLogConfig. */
|
|
13387
|
+
class AuditLogConfig implements IAuditLogConfig {
|
|
13388
|
+
|
|
13389
|
+
/**
|
|
13390
|
+
* Constructs a new AuditLogConfig.
|
|
13391
|
+
* @param [properties] Properties to set
|
|
13392
|
+
*/
|
|
13393
|
+
constructor(properties?: google.iam.v1.IAuditLogConfig);
|
|
13394
|
+
|
|
13395
|
+
/** AuditLogConfig logType. */
|
|
13396
|
+
public logType: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType);
|
|
13397
|
+
|
|
13398
|
+
/** AuditLogConfig exemptedMembers. */
|
|
13399
|
+
public exemptedMembers: string[];
|
|
13400
|
+
|
|
13401
|
+
/**
|
|
13402
|
+
* Creates a new AuditLogConfig instance using the specified properties.
|
|
13403
|
+
* @param [properties] Properties to set
|
|
13404
|
+
* @returns AuditLogConfig instance
|
|
13405
|
+
*/
|
|
13406
|
+
public static create(properties?: google.iam.v1.IAuditLogConfig): google.iam.v1.AuditLogConfig;
|
|
13407
|
+
|
|
13408
|
+
/**
|
|
13409
|
+
* Encodes the specified AuditLogConfig message. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
|
|
13410
|
+
* @param message AuditLogConfig message or plain object to encode
|
|
13411
|
+
* @param [writer] Writer to encode to
|
|
13412
|
+
* @returns Writer
|
|
13413
|
+
*/
|
|
13414
|
+
public static encode(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13415
|
+
|
|
13416
|
+
/**
|
|
13417
|
+
* Encodes the specified AuditLogConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
|
|
13418
|
+
* @param message AuditLogConfig message or plain object to encode
|
|
13419
|
+
* @param [writer] Writer to encode to
|
|
13420
|
+
* @returns Writer
|
|
13421
|
+
*/
|
|
13422
|
+
public static encodeDelimited(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13423
|
+
|
|
13424
|
+
/**
|
|
13425
|
+
* Decodes an AuditLogConfig message from the specified reader or buffer.
|
|
13426
|
+
* @param reader Reader or buffer to decode from
|
|
13427
|
+
* @param [length] Message length if known beforehand
|
|
13428
|
+
* @returns AuditLogConfig
|
|
13429
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13430
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13431
|
+
*/
|
|
13432
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditLogConfig;
|
|
13433
|
+
|
|
13434
|
+
/**
|
|
13435
|
+
* Decodes an AuditLogConfig message from the specified reader or buffer, length delimited.
|
|
13436
|
+
* @param reader Reader or buffer to decode from
|
|
13437
|
+
* @returns AuditLogConfig
|
|
13438
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13439
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13440
|
+
*/
|
|
13441
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditLogConfig;
|
|
13442
|
+
|
|
13443
|
+
/**
|
|
13444
|
+
* Verifies an AuditLogConfig message.
|
|
13445
|
+
* @param message Plain object to verify
|
|
13446
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13447
|
+
*/
|
|
13448
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13449
|
+
|
|
13450
|
+
/**
|
|
13451
|
+
* Creates an AuditLogConfig message from a plain object. Also converts values to their respective internal types.
|
|
13452
|
+
* @param object Plain object
|
|
13453
|
+
* @returns AuditLogConfig
|
|
13454
|
+
*/
|
|
13455
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditLogConfig;
|
|
13456
|
+
|
|
13457
|
+
/**
|
|
13458
|
+
* Creates a plain object from an AuditLogConfig message. Also converts values to other types if specified.
|
|
13459
|
+
* @param message AuditLogConfig
|
|
13460
|
+
* @param [options] Conversion options
|
|
13461
|
+
* @returns Plain object
|
|
13462
|
+
*/
|
|
13463
|
+
public static toObject(message: google.iam.v1.AuditLogConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13464
|
+
|
|
13465
|
+
/**
|
|
13466
|
+
* Converts this AuditLogConfig to JSON.
|
|
13467
|
+
* @returns JSON object
|
|
13468
|
+
*/
|
|
13469
|
+
public toJSON(): { [k: string]: any };
|
|
13470
|
+
|
|
13471
|
+
/**
|
|
13472
|
+
* Gets the default type url for AuditLogConfig
|
|
13473
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13474
|
+
* @returns The default type url
|
|
13475
|
+
*/
|
|
13476
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13477
|
+
}
|
|
13478
|
+
|
|
13479
|
+
namespace AuditLogConfig {
|
|
13480
|
+
|
|
13481
|
+
/** LogType enum. */
|
|
13482
|
+
enum LogType {
|
|
13483
|
+
LOG_TYPE_UNSPECIFIED = 0,
|
|
13484
|
+
ADMIN_READ = 1,
|
|
13485
|
+
DATA_WRITE = 2,
|
|
13486
|
+
DATA_READ = 3
|
|
13487
|
+
}
|
|
13488
|
+
}
|
|
13489
|
+
|
|
13490
|
+
/** Properties of a PolicyDelta. */
|
|
13491
|
+
interface IPolicyDelta {
|
|
13492
|
+
|
|
13493
|
+
/** PolicyDelta bindingDeltas */
|
|
13494
|
+
bindingDeltas?: (google.iam.v1.IBindingDelta[]|null);
|
|
13495
|
+
|
|
13496
|
+
/** PolicyDelta auditConfigDeltas */
|
|
13497
|
+
auditConfigDeltas?: (google.iam.v1.IAuditConfigDelta[]|null);
|
|
13498
|
+
}
|
|
13499
|
+
|
|
13500
|
+
/** Represents a PolicyDelta. */
|
|
13501
|
+
class PolicyDelta implements IPolicyDelta {
|
|
13502
|
+
|
|
13503
|
+
/**
|
|
13504
|
+
* Constructs a new PolicyDelta.
|
|
13505
|
+
* @param [properties] Properties to set
|
|
13506
|
+
*/
|
|
13507
|
+
constructor(properties?: google.iam.v1.IPolicyDelta);
|
|
13508
|
+
|
|
13509
|
+
/** PolicyDelta bindingDeltas. */
|
|
13510
|
+
public bindingDeltas: google.iam.v1.IBindingDelta[];
|
|
13511
|
+
|
|
13512
|
+
/** PolicyDelta auditConfigDeltas. */
|
|
13513
|
+
public auditConfigDeltas: google.iam.v1.IAuditConfigDelta[];
|
|
13514
|
+
|
|
13515
|
+
/**
|
|
13516
|
+
* Creates a new PolicyDelta instance using the specified properties.
|
|
13517
|
+
* @param [properties] Properties to set
|
|
13518
|
+
* @returns PolicyDelta instance
|
|
13519
|
+
*/
|
|
13520
|
+
public static create(properties?: google.iam.v1.IPolicyDelta): google.iam.v1.PolicyDelta;
|
|
13521
|
+
|
|
13522
|
+
/**
|
|
13523
|
+
* Encodes the specified PolicyDelta message. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
|
|
13524
|
+
* @param message PolicyDelta message or plain object to encode
|
|
13525
|
+
* @param [writer] Writer to encode to
|
|
13526
|
+
* @returns Writer
|
|
13527
|
+
*/
|
|
13528
|
+
public static encode(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13529
|
+
|
|
13530
|
+
/**
|
|
13531
|
+
* Encodes the specified PolicyDelta message, length delimited. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
|
|
13532
|
+
* @param message PolicyDelta message or plain object to encode
|
|
13533
|
+
* @param [writer] Writer to encode to
|
|
13534
|
+
* @returns Writer
|
|
13535
|
+
*/
|
|
13536
|
+
public static encodeDelimited(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13537
|
+
|
|
13538
|
+
/**
|
|
13539
|
+
* Decodes a PolicyDelta message from the specified reader or buffer.
|
|
13540
|
+
* @param reader Reader or buffer to decode from
|
|
13541
|
+
* @param [length] Message length if known beforehand
|
|
13542
|
+
* @returns PolicyDelta
|
|
13543
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13544
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13545
|
+
*/
|
|
13546
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.PolicyDelta;
|
|
13547
|
+
|
|
13548
|
+
/**
|
|
13549
|
+
* Decodes a PolicyDelta message from the specified reader or buffer, length delimited.
|
|
13550
|
+
* @param reader Reader or buffer to decode from
|
|
13551
|
+
* @returns PolicyDelta
|
|
13552
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13553
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13554
|
+
*/
|
|
13555
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.PolicyDelta;
|
|
13556
|
+
|
|
13557
|
+
/**
|
|
13558
|
+
* Verifies a PolicyDelta message.
|
|
13559
|
+
* @param message Plain object to verify
|
|
13560
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13561
|
+
*/
|
|
13562
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13563
|
+
|
|
13564
|
+
/**
|
|
13565
|
+
* Creates a PolicyDelta message from a plain object. Also converts values to their respective internal types.
|
|
13566
|
+
* @param object Plain object
|
|
13567
|
+
* @returns PolicyDelta
|
|
13568
|
+
*/
|
|
13569
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.PolicyDelta;
|
|
13570
|
+
|
|
13571
|
+
/**
|
|
13572
|
+
* Creates a plain object from a PolicyDelta message. Also converts values to other types if specified.
|
|
13573
|
+
* @param message PolicyDelta
|
|
13574
|
+
* @param [options] Conversion options
|
|
13575
|
+
* @returns Plain object
|
|
13576
|
+
*/
|
|
13577
|
+
public static toObject(message: google.iam.v1.PolicyDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13578
|
+
|
|
13579
|
+
/**
|
|
13580
|
+
* Converts this PolicyDelta to JSON.
|
|
13581
|
+
* @returns JSON object
|
|
13582
|
+
*/
|
|
13583
|
+
public toJSON(): { [k: string]: any };
|
|
13584
|
+
|
|
13585
|
+
/**
|
|
13586
|
+
* Gets the default type url for PolicyDelta
|
|
13587
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13588
|
+
* @returns The default type url
|
|
13589
|
+
*/
|
|
13590
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13591
|
+
}
|
|
13592
|
+
|
|
13593
|
+
/** Properties of a BindingDelta. */
|
|
13594
|
+
interface IBindingDelta {
|
|
13595
|
+
|
|
13596
|
+
/** BindingDelta action */
|
|
13597
|
+
action?: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action|null);
|
|
13598
|
+
|
|
13599
|
+
/** BindingDelta role */
|
|
13600
|
+
role?: (string|null);
|
|
13601
|
+
|
|
13602
|
+
/** BindingDelta member */
|
|
13603
|
+
member?: (string|null);
|
|
13604
|
+
|
|
13605
|
+
/** BindingDelta condition */
|
|
13606
|
+
condition?: (google.type.IExpr|null);
|
|
13607
|
+
}
|
|
13608
|
+
|
|
13609
|
+
/** Represents a BindingDelta. */
|
|
13610
|
+
class BindingDelta implements IBindingDelta {
|
|
13611
|
+
|
|
13612
|
+
/**
|
|
13613
|
+
* Constructs a new BindingDelta.
|
|
13614
|
+
* @param [properties] Properties to set
|
|
13615
|
+
*/
|
|
13616
|
+
constructor(properties?: google.iam.v1.IBindingDelta);
|
|
13617
|
+
|
|
13618
|
+
/** BindingDelta action. */
|
|
13619
|
+
public action: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action);
|
|
13620
|
+
|
|
13621
|
+
/** BindingDelta role. */
|
|
13622
|
+
public role: string;
|
|
13623
|
+
|
|
13624
|
+
/** BindingDelta member. */
|
|
13625
|
+
public member: string;
|
|
13626
|
+
|
|
13627
|
+
/** BindingDelta condition. */
|
|
13628
|
+
public condition?: (google.type.IExpr|null);
|
|
13629
|
+
|
|
13630
|
+
/**
|
|
13631
|
+
* Creates a new BindingDelta instance using the specified properties.
|
|
13632
|
+
* @param [properties] Properties to set
|
|
13633
|
+
* @returns BindingDelta instance
|
|
13634
|
+
*/
|
|
13635
|
+
public static create(properties?: google.iam.v1.IBindingDelta): google.iam.v1.BindingDelta;
|
|
13636
|
+
|
|
13637
|
+
/**
|
|
13638
|
+
* Encodes the specified BindingDelta message. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
|
|
13639
|
+
* @param message BindingDelta message or plain object to encode
|
|
13640
|
+
* @param [writer] Writer to encode to
|
|
13641
|
+
* @returns Writer
|
|
13642
|
+
*/
|
|
13643
|
+
public static encode(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13644
|
+
|
|
13645
|
+
/**
|
|
13646
|
+
* Encodes the specified BindingDelta message, length delimited. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
|
|
13647
|
+
* @param message BindingDelta message or plain object to encode
|
|
13648
|
+
* @param [writer] Writer to encode to
|
|
13649
|
+
* @returns Writer
|
|
13650
|
+
*/
|
|
13651
|
+
public static encodeDelimited(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13652
|
+
|
|
13653
|
+
/**
|
|
13654
|
+
* Decodes a BindingDelta message from the specified reader or buffer.
|
|
13655
|
+
* @param reader Reader or buffer to decode from
|
|
13656
|
+
* @param [length] Message length if known beforehand
|
|
13657
|
+
* @returns BindingDelta
|
|
13658
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13659
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13660
|
+
*/
|
|
13661
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.BindingDelta;
|
|
13662
|
+
|
|
13663
|
+
/**
|
|
13664
|
+
* Decodes a BindingDelta message from the specified reader or buffer, length delimited.
|
|
13665
|
+
* @param reader Reader or buffer to decode from
|
|
13666
|
+
* @returns BindingDelta
|
|
13667
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13668
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13669
|
+
*/
|
|
13670
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.BindingDelta;
|
|
13671
|
+
|
|
13672
|
+
/**
|
|
13673
|
+
* Verifies a BindingDelta message.
|
|
13674
|
+
* @param message Plain object to verify
|
|
13675
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13676
|
+
*/
|
|
13677
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13678
|
+
|
|
13679
|
+
/**
|
|
13680
|
+
* Creates a BindingDelta message from a plain object. Also converts values to their respective internal types.
|
|
13681
|
+
* @param object Plain object
|
|
13682
|
+
* @returns BindingDelta
|
|
13683
|
+
*/
|
|
13684
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.BindingDelta;
|
|
13685
|
+
|
|
13686
|
+
/**
|
|
13687
|
+
* Creates a plain object from a BindingDelta message. Also converts values to other types if specified.
|
|
13688
|
+
* @param message BindingDelta
|
|
13689
|
+
* @param [options] Conversion options
|
|
13690
|
+
* @returns Plain object
|
|
13691
|
+
*/
|
|
13692
|
+
public static toObject(message: google.iam.v1.BindingDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13693
|
+
|
|
13694
|
+
/**
|
|
13695
|
+
* Converts this BindingDelta to JSON.
|
|
13696
|
+
* @returns JSON object
|
|
13697
|
+
*/
|
|
13698
|
+
public toJSON(): { [k: string]: any };
|
|
13699
|
+
|
|
13700
|
+
/**
|
|
13701
|
+
* Gets the default type url for BindingDelta
|
|
13702
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13703
|
+
* @returns The default type url
|
|
13704
|
+
*/
|
|
13705
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13706
|
+
}
|
|
13707
|
+
|
|
13708
|
+
namespace BindingDelta {
|
|
13709
|
+
|
|
13710
|
+
/** Action enum. */
|
|
13711
|
+
enum Action {
|
|
13712
|
+
ACTION_UNSPECIFIED = 0,
|
|
13713
|
+
ADD = 1,
|
|
13714
|
+
REMOVE = 2
|
|
13715
|
+
}
|
|
13716
|
+
}
|
|
13717
|
+
|
|
13718
|
+
/** Properties of an AuditConfigDelta. */
|
|
13719
|
+
interface IAuditConfigDelta {
|
|
13720
|
+
|
|
13721
|
+
/** AuditConfigDelta action */
|
|
13722
|
+
action?: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action|null);
|
|
13723
|
+
|
|
13724
|
+
/** AuditConfigDelta service */
|
|
13725
|
+
service?: (string|null);
|
|
13726
|
+
|
|
13727
|
+
/** AuditConfigDelta exemptedMember */
|
|
13728
|
+
exemptedMember?: (string|null);
|
|
13729
|
+
|
|
13730
|
+
/** AuditConfigDelta logType */
|
|
13731
|
+
logType?: (string|null);
|
|
13732
|
+
}
|
|
13733
|
+
|
|
13734
|
+
/** Represents an AuditConfigDelta. */
|
|
13735
|
+
class AuditConfigDelta implements IAuditConfigDelta {
|
|
13736
|
+
|
|
13737
|
+
/**
|
|
13738
|
+
* Constructs a new AuditConfigDelta.
|
|
13739
|
+
* @param [properties] Properties to set
|
|
13740
|
+
*/
|
|
13741
|
+
constructor(properties?: google.iam.v1.IAuditConfigDelta);
|
|
13742
|
+
|
|
13743
|
+
/** AuditConfigDelta action. */
|
|
13744
|
+
public action: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action);
|
|
13745
|
+
|
|
13746
|
+
/** AuditConfigDelta service. */
|
|
13747
|
+
public service: string;
|
|
13748
|
+
|
|
13749
|
+
/** AuditConfigDelta exemptedMember. */
|
|
13750
|
+
public exemptedMember: string;
|
|
13751
|
+
|
|
13752
|
+
/** AuditConfigDelta logType. */
|
|
13753
|
+
public logType: string;
|
|
13754
|
+
|
|
13755
|
+
/**
|
|
13756
|
+
* Creates a new AuditConfigDelta instance using the specified properties.
|
|
13757
|
+
* @param [properties] Properties to set
|
|
13758
|
+
* @returns AuditConfigDelta instance
|
|
13759
|
+
*/
|
|
13760
|
+
public static create(properties?: google.iam.v1.IAuditConfigDelta): google.iam.v1.AuditConfigDelta;
|
|
13761
|
+
|
|
13762
|
+
/**
|
|
13763
|
+
* Encodes the specified AuditConfigDelta message. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
|
|
13764
|
+
* @param message AuditConfigDelta message or plain object to encode
|
|
13765
|
+
* @param [writer] Writer to encode to
|
|
13766
|
+
* @returns Writer
|
|
13767
|
+
*/
|
|
13768
|
+
public static encode(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13769
|
+
|
|
13770
|
+
/**
|
|
13771
|
+
* Encodes the specified AuditConfigDelta message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
|
|
13772
|
+
* @param message AuditConfigDelta message or plain object to encode
|
|
13773
|
+
* @param [writer] Writer to encode to
|
|
13774
|
+
* @returns Writer
|
|
13775
|
+
*/
|
|
13776
|
+
public static encodeDelimited(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13777
|
+
|
|
13778
|
+
/**
|
|
13779
|
+
* Decodes an AuditConfigDelta message from the specified reader or buffer.
|
|
13780
|
+
* @param reader Reader or buffer to decode from
|
|
13781
|
+
* @param [length] Message length if known beforehand
|
|
13782
|
+
* @returns AuditConfigDelta
|
|
13783
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13784
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13785
|
+
*/
|
|
13786
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfigDelta;
|
|
13787
|
+
|
|
13788
|
+
/**
|
|
13789
|
+
* Decodes an AuditConfigDelta message from the specified reader or buffer, length delimited.
|
|
13790
|
+
* @param reader Reader or buffer to decode from
|
|
13791
|
+
* @returns AuditConfigDelta
|
|
13792
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13793
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13794
|
+
*/
|
|
13795
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfigDelta;
|
|
13796
|
+
|
|
13797
|
+
/**
|
|
13798
|
+
* Verifies an AuditConfigDelta message.
|
|
13799
|
+
* @param message Plain object to verify
|
|
13800
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13801
|
+
*/
|
|
13802
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13803
|
+
|
|
13804
|
+
/**
|
|
13805
|
+
* Creates an AuditConfigDelta message from a plain object. Also converts values to their respective internal types.
|
|
13806
|
+
* @param object Plain object
|
|
13807
|
+
* @returns AuditConfigDelta
|
|
13808
|
+
*/
|
|
13809
|
+
public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfigDelta;
|
|
13810
|
+
|
|
13811
|
+
/**
|
|
13812
|
+
* Creates a plain object from an AuditConfigDelta message. Also converts values to other types if specified.
|
|
13813
|
+
* @param message AuditConfigDelta
|
|
13814
|
+
* @param [options] Conversion options
|
|
13815
|
+
* @returns Plain object
|
|
13816
|
+
*/
|
|
13817
|
+
public static toObject(message: google.iam.v1.AuditConfigDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13818
|
+
|
|
13819
|
+
/**
|
|
13820
|
+
* Converts this AuditConfigDelta to JSON.
|
|
13821
|
+
* @returns JSON object
|
|
13822
|
+
*/
|
|
13823
|
+
public toJSON(): { [k: string]: any };
|
|
13824
|
+
|
|
13825
|
+
/**
|
|
13826
|
+
* Gets the default type url for AuditConfigDelta
|
|
13827
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13828
|
+
* @returns The default type url
|
|
13829
|
+
*/
|
|
13830
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13831
|
+
}
|
|
13832
|
+
|
|
13833
|
+
namespace AuditConfigDelta {
|
|
13834
|
+
|
|
13835
|
+
/** Action enum. */
|
|
13836
|
+
enum Action {
|
|
13837
|
+
ACTION_UNSPECIFIED = 0,
|
|
13838
|
+
ADD = 1,
|
|
13839
|
+
REMOVE = 2
|
|
13840
|
+
}
|
|
13841
|
+
}
|
|
13842
|
+
}
|
|
13843
|
+
}
|
|
13844
|
+
|
|
13845
|
+
/** Namespace type. */
|
|
13846
|
+
namespace type {
|
|
13847
|
+
|
|
13848
|
+
/** Properties of an Expr. */
|
|
13849
|
+
interface IExpr {
|
|
13850
|
+
|
|
13851
|
+
/** Expr expression */
|
|
13852
|
+
expression?: (string|null);
|
|
13853
|
+
|
|
13854
|
+
/** Expr title */
|
|
13855
|
+
title?: (string|null);
|
|
13856
|
+
|
|
13857
|
+
/** Expr description */
|
|
13858
|
+
description?: (string|null);
|
|
13859
|
+
|
|
13860
|
+
/** Expr location */
|
|
13861
|
+
location?: (string|null);
|
|
13862
|
+
}
|
|
13863
|
+
|
|
13864
|
+
/** Represents an Expr. */
|
|
13865
|
+
class Expr implements IExpr {
|
|
13866
|
+
|
|
13867
|
+
/**
|
|
13868
|
+
* Constructs a new Expr.
|
|
13869
|
+
* @param [properties] Properties to set
|
|
13870
|
+
*/
|
|
13871
|
+
constructor(properties?: google.type.IExpr);
|
|
13872
|
+
|
|
13873
|
+
/** Expr expression. */
|
|
13874
|
+
public expression: string;
|
|
13875
|
+
|
|
13876
|
+
/** Expr title. */
|
|
13877
|
+
public title: string;
|
|
13878
|
+
|
|
13879
|
+
/** Expr description. */
|
|
13880
|
+
public description: string;
|
|
13881
|
+
|
|
13882
|
+
/** Expr location. */
|
|
13883
|
+
public location: string;
|
|
13884
|
+
|
|
13885
|
+
/**
|
|
13886
|
+
* Creates a new Expr instance using the specified properties.
|
|
13887
|
+
* @param [properties] Properties to set
|
|
13888
|
+
* @returns Expr instance
|
|
13889
|
+
*/
|
|
13890
|
+
public static create(properties?: google.type.IExpr): google.type.Expr;
|
|
13891
|
+
|
|
13892
|
+
/**
|
|
13893
|
+
* Encodes the specified Expr message. Does not implicitly {@link google.type.Expr.verify|verify} messages.
|
|
13894
|
+
* @param message Expr message or plain object to encode
|
|
13895
|
+
* @param [writer] Writer to encode to
|
|
13896
|
+
* @returns Writer
|
|
13897
|
+
*/
|
|
13898
|
+
public static encode(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13899
|
+
|
|
13900
|
+
/**
|
|
13901
|
+
* Encodes the specified Expr message, length delimited. Does not implicitly {@link google.type.Expr.verify|verify} messages.
|
|
13902
|
+
* @param message Expr message or plain object to encode
|
|
13903
|
+
* @param [writer] Writer to encode to
|
|
13904
|
+
* @returns Writer
|
|
13905
|
+
*/
|
|
13906
|
+
public static encodeDelimited(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13907
|
+
|
|
13908
|
+
/**
|
|
13909
|
+
* Decodes an Expr message from the specified reader or buffer.
|
|
13910
|
+
* @param reader Reader or buffer to decode from
|
|
13911
|
+
* @param [length] Message length if known beforehand
|
|
13912
|
+
* @returns Expr
|
|
13913
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13914
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13915
|
+
*/
|
|
13916
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.Expr;
|
|
13917
|
+
|
|
13918
|
+
/**
|
|
13919
|
+
* Decodes an Expr message from the specified reader or buffer, length delimited.
|
|
13920
|
+
* @param reader Reader or buffer to decode from
|
|
13921
|
+
* @returns Expr
|
|
13922
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13923
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13924
|
+
*/
|
|
13925
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.Expr;
|
|
13926
|
+
|
|
13927
|
+
/**
|
|
13928
|
+
* Verifies an Expr message.
|
|
13929
|
+
* @param message Plain object to verify
|
|
13930
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13931
|
+
*/
|
|
13932
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13933
|
+
|
|
13934
|
+
/**
|
|
13935
|
+
* Creates an Expr message from a plain object. Also converts values to their respective internal types.
|
|
13936
|
+
* @param object Plain object
|
|
13937
|
+
* @returns Expr
|
|
13938
|
+
*/
|
|
13939
|
+
public static fromObject(object: { [k: string]: any }): google.type.Expr;
|
|
13940
|
+
|
|
13941
|
+
/**
|
|
13942
|
+
* Creates a plain object from an Expr message. Also converts values to other types if specified.
|
|
13943
|
+
* @param message Expr
|
|
13944
|
+
* @param [options] Conversion options
|
|
13945
|
+
* @returns Plain object
|
|
13946
|
+
*/
|
|
13947
|
+
public static toObject(message: google.type.Expr, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13948
|
+
|
|
13949
|
+
/**
|
|
13950
|
+
* Converts this Expr to JSON.
|
|
13951
|
+
* @returns JSON object
|
|
13952
|
+
*/
|
|
13953
|
+
public toJSON(): { [k: string]: any };
|
|
13954
|
+
|
|
13955
|
+
/**
|
|
13956
|
+
* Gets the default type url for Expr
|
|
13957
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13958
|
+
* @returns The default type url
|
|
13959
|
+
*/
|
|
13960
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13961
|
+
}
|
|
13962
|
+
}
|
|
13963
|
+
|
|
12384
13964
|
/** Namespace longrunning. */
|
|
12385
13965
|
namespace longrunning {
|
|
12386
13966
|
|