- 1.60.0 (latest)
- 1.59.1
- 1.58.2
- 1.57.0
- 1.56.3
- 1.55.0
- 1.54.2
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.1
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.1
- 1.44.0
- 1.43.0
- 1.41.0
- 1.40.1
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.1
- 1.31.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.1
- 1.17.1
- 1.16.1
- 1.10.0
- 1.9.3
- 1.8.0
- 1.7.0
- 1.6.23
- 1.5.1
- 1.4.1
- 1.3.4
- 1.2.12
public static final class GetPolicyOptions.Builder extends GeneratedMessage.Builder<GetPolicyOptions.Builder> implements GetPolicyOptionsOrBuilderEncapsulates settings provided to GetIamPolicy.
Protobuf type google.iam.v1.GetPolicyOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetPolicyOptions.BuilderImplements
GetPolicyOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetPolicyOptions build()| Returns | |
|---|---|
| Type | Description |
GetPolicyOptions |
|
buildPartial()
public GetPolicyOptions buildPartial()| Returns | |
|---|---|
| Type | Description |
GetPolicyOptions |
|
clear()
public GetPolicyOptions.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetPolicyOptions.Builder |
|
clearRequestedPolicyVersion()
public GetPolicyOptions.Builder clearRequestedPolicyVersion()Optional. The maximum policy version that will be used to format the policy.
Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.
The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.
To learn which resources support conditions in their IAM policies, see the IAM documentation.
int32 requested_policy_version = 1;
| Returns | |
|---|---|
| Type | Description |
GetPolicyOptions.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetPolicyOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetPolicyOptions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRequestedPolicyVersion()
public int getRequestedPolicyVersion()Optional. The maximum policy version that will be used to format the policy.
Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.
The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.
To learn which resources support conditions in their IAM policies, see the IAM documentation.
int32 requested_policy_version = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The requestedPolicyVersion. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetPolicyOptions other)
public GetPolicyOptions.Builder mergeFrom(GetPolicyOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
GetPolicyOptions |
| Returns | |
|---|---|
| Type | Description |
GetPolicyOptions.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetPolicyOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetPolicyOptions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetPolicyOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetPolicyOptions.Builder |
|
setRequestedPolicyVersion(int value)
public GetPolicyOptions.Builder setRequestedPolicyVersion(int value)Optional. The maximum policy version that will be used to format the policy.
Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.
The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.
To learn which resources support conditions in their IAM policies, see the IAM documentation.
int32 requested_policy_version = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe requestedPolicyVersion to set. |
| Returns | |
|---|---|
| Type | Description |
GetPolicyOptions.Builder |
This builder for chaining. |