Package com.google.cloud.orgpolicy.v2
Class PolicySpec.PolicyRule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
- com.google.cloud.orgpolicy.v2.PolicySpec.PolicyRule.Builder
-
- All Implemented Interfaces:
PolicySpec.PolicyRuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PolicySpec.PolicyRule
public static final class PolicySpec.PolicyRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder> implements PolicySpec.PolicyRuleOrBuilder
A rule used to express this policy.
Protobuf typegoogle.cloud.orgpolicy.v2.PolicySpec.PolicyRule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicySpec.PolicyRule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PolicySpec.PolicyRulebuild()PolicySpec.PolicyRulebuildPartial()PolicySpec.PolicyRule.Builderclear()PolicySpec.PolicyRule.BuilderclearAllowAll()Setting this to true means that all values are allowed.PolicySpec.PolicyRule.BuilderclearCondition()A condition which determines whether this rule is used in the evaluation of the policy.PolicySpec.PolicyRule.BuilderclearDenyAll()Setting this to true means that all values are denied.PolicySpec.PolicyRule.BuilderclearEnforce()If `true`, then the `Policy` is enforced.PolicySpec.PolicyRule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PolicySpec.PolicyRule.BuilderclearKind()PolicySpec.PolicyRule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PolicySpec.PolicyRule.BuilderclearValues()List of values to be used for this PolicyRule.PolicySpec.PolicyRule.Builderclone()booleangetAllowAll()Setting this to true means that all values are allowed.com.google.type.ExprgetCondition()A condition which determines whether this rule is used in the evaluation of the policy.com.google.type.Expr.BuildergetConditionBuilder()A condition which determines whether this rule is used in the evaluation of the policy.com.google.type.ExprOrBuildergetConditionOrBuilder()A condition which determines whether this rule is used in the evaluation of the policy.PolicySpec.PolicyRulegetDefaultInstanceForType()booleangetDenyAll()Setting this to true means that all values are denied.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEnforce()If `true`, then the `Policy` is enforced.PolicySpec.PolicyRule.KindCasegetKindCase()PolicySpec.PolicyRule.StringValuesgetValues()List of values to be used for this PolicyRule.PolicySpec.PolicyRule.StringValues.BuildergetValuesBuilder()List of values to be used for this PolicyRule.PolicySpec.PolicyRule.StringValuesOrBuildergetValuesOrBuilder()List of values to be used for this PolicyRule.booleanhasAllowAll()Setting this to true means that all values are allowed.booleanhasCondition()A condition which determines whether this rule is used in the evaluation of the policy.booleanhasDenyAll()Setting this to true means that all values are denied.booleanhasEnforce()If `true`, then the `Policy` is enforced.booleanhasValues()List of values to be used for this PolicyRule.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PolicySpec.PolicyRule.BuildermergeCondition(com.google.type.Expr value)A condition which determines whether this rule is used in the evaluation of the policy.PolicySpec.PolicyRule.BuildermergeFrom(PolicySpec.PolicyRule other)PolicySpec.PolicyRule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PolicySpec.PolicyRule.BuildermergeFrom(com.google.protobuf.Message other)PolicySpec.PolicyRule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PolicySpec.PolicyRule.BuildermergeValues(PolicySpec.PolicyRule.StringValues value)List of values to be used for this PolicyRule.PolicySpec.PolicyRule.BuildersetAllowAll(boolean value)Setting this to true means that all values are allowed.PolicySpec.PolicyRule.BuildersetCondition(com.google.type.Expr value)A condition which determines whether this rule is used in the evaluation of the policy.PolicySpec.PolicyRule.BuildersetCondition(com.google.type.Expr.Builder builderForValue)A condition which determines whether this rule is used in the evaluation of the policy.PolicySpec.PolicyRule.BuildersetDenyAll(boolean value)Setting this to true means that all values are denied.PolicySpec.PolicyRule.BuildersetEnforce(boolean value)If `true`, then the `Policy` is enforced.PolicySpec.PolicyRule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PolicySpec.PolicyRule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PolicySpec.PolicyRule.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PolicySpec.PolicyRule.BuildersetValues(PolicySpec.PolicyRule.StringValues value)List of values to be used for this PolicyRule.PolicySpec.PolicyRule.BuildersetValues(PolicySpec.PolicyRule.StringValues.Builder builderForValue)List of values to be used for this PolicyRule.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
clear
public PolicySpec.PolicyRule.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
getDefaultInstanceForType
public PolicySpec.PolicyRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PolicySpec.PolicyRule build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PolicySpec.PolicyRule buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PolicySpec.PolicyRule.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
setField
public PolicySpec.PolicyRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
clearField
public PolicySpec.PolicyRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
clearOneof
public PolicySpec.PolicyRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
setRepeatedField
public PolicySpec.PolicyRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
addRepeatedField
public PolicySpec.PolicyRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
mergeFrom
public PolicySpec.PolicyRule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PolicySpec.PolicyRule.Builder>
-
mergeFrom
public PolicySpec.PolicyRule.Builder mergeFrom(PolicySpec.PolicyRule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
mergeFrom
public PolicySpec.PolicyRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PolicySpec.PolicyRule.Builder>- Throws:
IOException
-
getKindCase
public PolicySpec.PolicyRule.KindCase getKindCase()
- Specified by:
getKindCasein interfacePolicySpec.PolicyRuleOrBuilder
-
clearKind
public PolicySpec.PolicyRule.Builder clearKind()
-
hasValues
public boolean hasValues()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.orgpolicy.v2.PolicySpec.PolicyRule.StringValues values = 1;- Specified by:
hasValuesin interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- Whether the values field is set.
-
getValues
public PolicySpec.PolicyRule.StringValues getValues()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.orgpolicy.v2.PolicySpec.PolicyRule.StringValues values = 1;- Specified by:
getValuesin interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- The values.
-
setValues
public PolicySpec.PolicyRule.Builder setValues(PolicySpec.PolicyRule.StringValues value)
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.orgpolicy.v2.PolicySpec.PolicyRule.StringValues values = 1;
-
setValues
public PolicySpec.PolicyRule.Builder setValues(PolicySpec.PolicyRule.StringValues.Builder builderForValue)
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.orgpolicy.v2.PolicySpec.PolicyRule.StringValues values = 1;
-
mergeValues
public PolicySpec.PolicyRule.Builder mergeValues(PolicySpec.PolicyRule.StringValues value)
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.orgpolicy.v2.PolicySpec.PolicyRule.StringValues values = 1;
-
clearValues
public PolicySpec.PolicyRule.Builder clearValues()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.orgpolicy.v2.PolicySpec.PolicyRule.StringValues values = 1;
-
getValuesBuilder
public PolicySpec.PolicyRule.StringValues.Builder getValuesBuilder()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.orgpolicy.v2.PolicySpec.PolicyRule.StringValues values = 1;
-
getValuesOrBuilder
public PolicySpec.PolicyRule.StringValuesOrBuilder getValuesOrBuilder()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.orgpolicy.v2.PolicySpec.PolicyRule.StringValues values = 1;- Specified by:
getValuesOrBuilderin interfacePolicySpec.PolicyRuleOrBuilder
-
hasAllowAll
public boolean hasAllowAll()
Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.
bool allow_all = 2;- Specified by:
hasAllowAllin interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- Whether the allowAll field is set.
-
getAllowAll
public boolean getAllowAll()
Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.
bool allow_all = 2;- Specified by:
getAllowAllin interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- The allowAll.
-
setAllowAll
public PolicySpec.PolicyRule.Builder setAllowAll(boolean value)
Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.
bool allow_all = 2;- Parameters:
value- The allowAll to set.- Returns:
- This builder for chaining.
-
clearAllowAll
public PolicySpec.PolicyRule.Builder clearAllowAll()
Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.
bool allow_all = 2;- Returns:
- This builder for chaining.
-
hasDenyAll
public boolean hasDenyAll()
Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.
bool deny_all = 3;- Specified by:
hasDenyAllin interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- Whether the denyAll field is set.
-
getDenyAll
public boolean getDenyAll()
Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.
bool deny_all = 3;- Specified by:
getDenyAllin interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- The denyAll.
-
setDenyAll
public PolicySpec.PolicyRule.Builder setDenyAll(boolean value)
Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.
bool deny_all = 3;- Parameters:
value- The denyAll to set.- Returns:
- This builder for chaining.
-
clearDenyAll
public PolicySpec.PolicyRule.Builder clearDenyAll()
Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.
bool deny_all = 3;- Returns:
- This builder for chaining.
-
hasEnforce
public boolean hasEnforce()
If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
bool enforce = 4;- Specified by:
hasEnforcein interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- Whether the enforce field is set.
-
getEnforce
public boolean getEnforce()
If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
bool enforce = 4;- Specified by:
getEnforcein interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- The enforce.
-
setEnforce
public PolicySpec.PolicyRule.Builder setEnforce(boolean value)
If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
bool enforce = 4;- Parameters:
value- The enforce to set.- Returns:
- This builder for chaining.
-
clearEnforce
public PolicySpec.PolicyRule.Builder clearEnforce()
If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.
bool enforce = 4;- Returns:
- This builder for chaining.
-
hasCondition
public boolean hasCondition()
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('<ORG_ID>/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')"..google.type.Expr condition = 5;- Specified by:
hasConditionin interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
public com.google.type.Expr getCondition()
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('<ORG_ID>/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')"..google.type.Expr condition = 5;- Specified by:
getConditionin interfacePolicySpec.PolicyRuleOrBuilder- Returns:
- The condition.
-
setCondition
public PolicySpec.PolicyRule.Builder setCondition(com.google.type.Expr value)
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('<ORG_ID>/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')"..google.type.Expr condition = 5;
-
setCondition
public PolicySpec.PolicyRule.Builder setCondition(com.google.type.Expr.Builder builderForValue)
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('<ORG_ID>/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')"..google.type.Expr condition = 5;
-
mergeCondition
public PolicySpec.PolicyRule.Builder mergeCondition(com.google.type.Expr value)
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('<ORG_ID>/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')"..google.type.Expr condition = 5;
-
clearCondition
public PolicySpec.PolicyRule.Builder clearCondition()
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('<ORG_ID>/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')"..google.type.Expr condition = 5;
-
getConditionBuilder
public com.google.type.Expr.Builder getConditionBuilder()
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('<ORG_ID>/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')"..google.type.Expr condition = 5;
-
getConditionOrBuilder
public com.google.type.ExprOrBuilder getConditionOrBuilder()
A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each subexpression must be of the form "resource.matchTag('<ORG_ID>/tag_key_short_name, 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: "resource.matchTag('123456789/environment, 'prod')". or "resource.matchTagId('tagKeys/123', 'tagValues/456')"..google.type.Expr condition = 5;- Specified by:
getConditionOrBuilderin interfacePolicySpec.PolicyRuleOrBuilder
-
setUnknownFields
public final PolicySpec.PolicyRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
mergeUnknownFields
public final PolicySpec.PolicyRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicySpec.PolicyRule.Builder>
-
-