• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/iam/v1/options.proto
18 
19 package com.google.iam.v1;
20 
21 public interface GetPolicyOptionsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.iam.v1.GetPolicyOptions)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Optional. The maximum policy version that will be used to format the
31    * policy.
32    * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
33    * rejected.
34    * Requests for policies with any conditional role bindings must specify
35    * version 3. Policies with no conditional role bindings may specify any valid
36    * value or leave the field unset.
37    * The policy in the response might use the policy version that you specified,
38    * or it might use a lower policy version. For example, if you specify version
39    * 3, but the policy has no conditional role bindings, the response uses
40    * version 1.
41    * To learn which resources support conditions in their IAM policies, see the
42    * [IAM
43    * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
44    * </pre>
45    *
46    * <code>int32 requested_policy_version = 1;</code>
47    *
48    * @return The requestedPolicyVersion.
49    */
getRequestedPolicyVersion()50   int getRequestedPolicyVersion();
51 }
52