You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: handwritten/bigtable/src/v2/doc/google/iam/v1/doc_iam_policy.js
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,12 @@ const SetIamPolicyRequest = {
45
45
* REQUIRED: The resource for which the policy is being requested.
46
46
* See the operation documentation for the appropriate value for this field.
47
47
*
48
+
* @property {Object} options
49
+
* OPTIONAL: A `GetPolicyOptions` object for specifying options to
50
+
* `GetIamPolicy`. This field is only used by Cloud IAM.
51
+
*
52
+
* This object should have the same structure as [GetPolicyOptions]{@link google.iam.v1.GetPolicyOptions}
53
+
*
48
54
* @typedef GetIamPolicyRequest
49
55
* @memberof google.iam.v1
50
56
* @see [google.iam.v1.GetIamPolicyRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/iam/v1/iam_policy.proto}
// Licensed under the Apache License, Version 2.0 (the "License");
4
+
// you may not use this file except in compliance with the License.
5
+
// You may obtain a copy of the License at
6
+
//
7
+
// https://www.apache.org/licenses/LICENSE-2.0
8
+
//
9
+
// Unless required by applicable law or agreed to in writing, software
10
+
// distributed under the License is distributed on an "AS IS" BASIS,
11
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+
// See the License for the specific language governing permissions and
13
+
// limitations under the License.
14
+
15
+
// Note: this file is purely for documentation. Any contents are not expected
16
+
// to be loaded as the JS file.
17
+
18
+
/**
19
+
* Encapsulates settings provided to GetIamPolicy.
20
+
*
21
+
* @property {number} requestedPolicyVersion
22
+
* Optional. The policy format version to be returned.
23
+
* Acceptable values are 0 and 1.
24
+
* If the value is 0, or the field is omitted, policy format version 1 will be
25
+
* returned.
26
+
*
27
+
* @typedef GetPolicyOptions
28
+
* @memberof google.iam.v1
29
+
* @see [google.iam.v1.GetPolicyOptions definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/iam/v1/options.proto}
30
+
*/
31
+
constGetPolicyOptions={
32
+
// This is for documentation. Actual contents will be loaded by gRPC.
0 commit comments