Package com.google.cloud.orgpolicy.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.com.google.protobuf.FieldMaskField mask used to specify the fields to be overwritten in the policy by the set.com.google.protobuf.FieldMaskOrBuilderField mask used to specify the fields to be overwritten in the policy by the set.booleanRequired.booleanField mask used to specify the fields to be overwritten in the policy by the set.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. Policy to update.
.google.cloud.orgpolicy.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the policy field is set.
-
getPolicy
Policy getPolicy()Required. Policy to update.
.google.cloud.orgpolicy.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The policy.
-
getPolicyOrBuilder
PolicyOrBuilder getPolicyOrBuilder()Required. Policy to update.
.google.cloud.orgpolicy.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasUpdateMask
boolean hasUpdateMask()Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.
.google.protobuf.FieldMask update_mask = 3;- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.
.google.protobuf.FieldMask update_mask = 3;- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.
.google.protobuf.FieldMask update_mask = 3;
-