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 Type
    Method
    Description
    Required.
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.v2beta.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.v2beta.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.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];