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
public interface UpdatePolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Policy
getPolicy()
Required.PolicyOrBuilder
getPolicyOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
Field mask used to specify the fields to be overwritten in the policy by the set.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
Field mask used to specify the fields to be overwritten in the policy by the set.boolean
hasPolicy()
Required.boolean
hasUpdateMask()
Field mask used to specify the fields to be overwritten in the policy by the set.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-