- 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 UpdatePolicyRequest.Builder extends GeneratedMessage.Builder<UpdatePolicyRequest.Builder> implements UpdatePolicyRequestOrBuilder Request message for UpdatePolicy.
Protobuf type google.iam.v2.UpdatePolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdatePolicyRequest.BuilderImplements
UpdatePolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdatePolicyRequest build()| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest |
|
buildPartial()
public UpdatePolicyRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest |
|
clear()
public UpdatePolicyRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest.Builder |
|
clearPolicy()
public UpdatePolicyRequest.Builder clearPolicy()Required. The policy to update.
To prevent conflicting updates, the etag value must match the value that
is stored in IAM. If the etag values do not match, the request fails with
a 409 error code and ABORTED status.
.google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest.Builder |
|
getDefaultInstanceForType()
public UpdatePolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPolicy()
public Policy getPolicy()Required. The policy to update.
To prevent conflicting updates, the etag value must match the value that
is stored in IAM. If the etag values do not match, the request fails with
a 409 error code and ABORTED status.
.google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Policy |
The policy. |
getPolicyBuilder()
public Policy.Builder getPolicyBuilder()Required. The policy to update.
To prevent conflicting updates, the etag value must match the value that
is stored in IAM. If the etag values do not match, the request fails with
a 409 error code and ABORTED status.
.google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Policy.Builder |
|
getPolicyOrBuilder()
public PolicyOrBuilder getPolicyOrBuilder()Required. The policy to update.
To prevent conflicting updates, the etag value must match the value that
is stored in IAM. If the etag values do not match, the request fails with
a 409 error code and ABORTED status.
.google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PolicyOrBuilder |
|
hasPolicy()
public boolean hasPolicy()Required. The policy to update.
To prevent conflicting updates, the etag value must match the value that
is stored in IAM. If the etag values do not match, the request fails with
a 409 error code and ABORTED status.
.google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the policy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdatePolicyRequest other)
public UpdatePolicyRequest.Builder mergeFrom(UpdatePolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdatePolicyRequest |
| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdatePolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdatePolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest.Builder |
|
mergePolicy(Policy value)
public UpdatePolicyRequest.Builder mergePolicy(Policy value)Required. The policy to update.
To prevent conflicting updates, the etag value must match the value that
is stored in IAM. If the etag values do not match, the request fails with
a 409 error code and ABORTED status.
.google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Policy |
| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest.Builder |
|
setPolicy(Policy value)
public UpdatePolicyRequest.Builder setPolicy(Policy value)Required. The policy to update.
To prevent conflicting updates, the etag value must match the value that
is stored in IAM. If the etag values do not match, the request fails with
a 409 error code and ABORTED status.
.google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Policy |
| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest.Builder |
|
setPolicy(Policy.Builder builderForValue)
public UpdatePolicyRequest.Builder setPolicy(Policy.Builder builderForValue)Required. The policy to update.
To prevent conflicting updates, the etag value must match the value that
is stored in IAM. If the etag values do not match, the request fails with
a 409 error code and ABORTED status.
.google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Policy.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdatePolicyRequest.Builder |
|