Class OrgPolicyOverlay.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
com.google.cloud.policysimulator.v1.OrgPolicyOverlay.Builder
- All Implemented Interfaces:
OrgPolicyOverlayOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OrgPolicyOverlay
public static final class OrgPolicyOverlay.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
implements OrgPolicyOverlayOrBuilder
The proposed changes to OrgPolicy.Protobuf type
google.cloud.policysimulator.v1.OrgPolicyOverlay-
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomConstraints(Iterable<? extends OrgPolicyOverlay.CustomConstraintOverlay> values) Optional.addAllPolicies(Iterable<? extends OrgPolicyOverlay.PolicyOverlay> values) Optional.addCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay value) Optional.addCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay.Builder builderForValue) Optional.Optional.addCustomConstraints(OrgPolicyOverlay.CustomConstraintOverlay.Builder builderForValue) Optional.Optional.addCustomConstraintsBuilder(int index) Optional.addPolicies(int index, OrgPolicyOverlay.PolicyOverlay value) Optional.addPolicies(int index, OrgPolicyOverlay.PolicyOverlay.Builder builderForValue) Optional.Optional.addPolicies(OrgPolicyOverlay.PolicyOverlay.Builder builderForValue) Optional.Optional.addPoliciesBuilder(int index) Optional.build()clear()Optional.Optional.getCustomConstraints(int index) Optional.getCustomConstraintsBuilder(int index) Optional.Optional.intOptional.Optional.getCustomConstraintsOrBuilder(int index) Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPolicies(int index) Optional.getPoliciesBuilder(int index) Optional.Optional.intOptional.Optional.getPoliciesOrBuilder(int index) Optional.List<? extends OrgPolicyOverlay.PolicyOverlayOrBuilder>Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(OrgPolicyOverlay other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeCustomConstraints(int index) Optional.removePolicies(int index) Optional.setCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay value) Optional.setCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay.Builder builderForValue) Optional.setPolicies(int index, OrgPolicyOverlay.PolicyOverlay value) Optional.setPolicies(int index, OrgPolicyOverlay.PolicyOverlay.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.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.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OrgPolicyOverlay.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
-
mergeFrom
public OrgPolicyOverlay.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<OrgPolicyOverlay.Builder>- Throws:
IOException
-
getPoliciesList
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPoliciesListin interfaceOrgPolicyOverlayOrBuilder
-
getPoliciesCount
public int getPoliciesCount()Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPoliciesCountin interfaceOrgPolicyOverlayOrBuilder
-
getPolicies
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPoliciesin interfaceOrgPolicyOverlayOrBuilder
-
setPolicies
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
setPolicies
public OrgPolicyOverlay.Builder setPolicies(int index, OrgPolicyOverlay.PolicyOverlay.Builder builderForValue) Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addPolicies
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addPolicies
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addPolicies
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addPolicies
public OrgPolicyOverlay.Builder addPolicies(int index, OrgPolicyOverlay.PolicyOverlay.Builder builderForValue) Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addAllPolicies
public OrgPolicyOverlay.Builder addAllPolicies(Iterable<? extends OrgPolicyOverlay.PolicyOverlay> values) Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
clearPolicies
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
removePolicies
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getPoliciesBuilder
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getPoliciesOrBuilder
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPoliciesOrBuilderin interfaceOrgPolicyOverlayOrBuilder
-
getPoliciesOrBuilderList
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPoliciesOrBuilderListin interfaceOrgPolicyOverlayOrBuilder
-
addPoliciesBuilder
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addPoliciesBuilder
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getPoliciesBuilderList
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getCustomConstraintsList
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomConstraintsListin interfaceOrgPolicyOverlayOrBuilder
-
getCustomConstraintsCount
public int getCustomConstraintsCount()Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomConstraintsCountin interfaceOrgPolicyOverlayOrBuilder
-
getCustomConstraints
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomConstraintsin interfaceOrgPolicyOverlayOrBuilder
-
setCustomConstraints
public OrgPolicyOverlay.Builder setCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay value) Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setCustomConstraints
public OrgPolicyOverlay.Builder setCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay.Builder builderForValue) Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addCustomConstraints
public OrgPolicyOverlay.Builder addCustomConstraints(OrgPolicyOverlay.CustomConstraintOverlay value) Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addCustomConstraints
public OrgPolicyOverlay.Builder addCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay value) Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addCustomConstraints
public OrgPolicyOverlay.Builder addCustomConstraints(OrgPolicyOverlay.CustomConstraintOverlay.Builder builderForValue) Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addCustomConstraints
public OrgPolicyOverlay.Builder addCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay.Builder builderForValue) Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addAllCustomConstraints
public OrgPolicyOverlay.Builder addAllCustomConstraints(Iterable<? extends OrgPolicyOverlay.CustomConstraintOverlay> values) Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearCustomConstraints
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
removeCustomConstraints
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getCustomConstraintsBuilder
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getCustomConstraintsOrBuilder
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomConstraintsOrBuilderin interfaceOrgPolicyOverlayOrBuilder
-
getCustomConstraintsOrBuilderList
public List<? extends OrgPolicyOverlay.CustomConstraintOverlayOrBuilder> getCustomConstraintsOrBuilderList()Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomConstraintsOrBuilderListin interfaceOrgPolicyOverlayOrBuilder
-
addCustomConstraintsBuilder
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addCustomConstraintsBuilder
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getCustomConstraintsBuilderList
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.
repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
-