Package com.google.iam.v2
Interface UpdatePolicyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdatePolicyRequest,UpdatePolicyRequest.Builder
@Generated
public interface UpdatePolicyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPolicy
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:
- Whether the policy field is set.
-
getPolicy
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:
- The policy.
-
getPolicyOrBuilder
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];
-