public final class OrgPolicyOverlay extends GeneratedMessageV3 implements OrgPolicyOverlayOrBuilder
The proposed changes to OrgPolicy.
Protobuf type google.cloud.policysimulator.v1.OrgPolicyOverlay
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CUSTOM_CONSTRAINTS_FIELD_NUMBER
public static final int CUSTOM_CONSTRAINTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POLICIES_FIELD_NUMBER
public static final int POLICIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static OrgPolicyOverlay getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OrgPolicyOverlay.Builder newBuilder()
newBuilder(OrgPolicyOverlay prototype)
public static OrgPolicyOverlay.Builder newBuilder(OrgPolicyOverlay prototype)
public static OrgPolicyOverlay parseDelimitedFrom(InputStream input)
public static OrgPolicyOverlay parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OrgPolicyOverlay parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyOverlay parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OrgPolicyOverlay parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyOverlay parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyOverlay parseFrom(CodedInputStream input)
public static OrgPolicyOverlay parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyOverlay parseFrom(InputStream input)
public static OrgPolicyOverlay parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OrgPolicyOverlay parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyOverlay parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OrgPolicyOverlay> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCustomConstraints(int index)
public OrgPolicyOverlay.CustomConstraintOverlay getCustomConstraints(int index)
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];
Parameter |
Name |
Description |
index |
int
|
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];
Returns |
Type |
Description |
int |
|
getCustomConstraintsList()
public List<OrgPolicyOverlay.CustomConstraintOverlay> 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];
getCustomConstraintsOrBuilder(int index)
public OrgPolicyOverlay.CustomConstraintOverlayOrBuilder getCustomConstraintsOrBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
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];
Returns |
Type |
Description |
List<? extends com.google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlayOrBuilder> |
|
getDefaultInstanceForType()
public OrgPolicyOverlay getDefaultInstanceForType()
getParserForType()
public Parser<OrgPolicyOverlay> getParserForType()
Overrides
getPolicies(int index)
public OrgPolicyOverlay.PolicyOverlay getPolicies(int index)
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];
Parameter |
Name |
Description |
index |
int
|
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];
Returns |
Type |
Description |
int |
|
getPoliciesList()
public List<OrgPolicyOverlay.PolicyOverlay> 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];
getPoliciesOrBuilder(int index)
public OrgPolicyOverlay.PolicyOverlayOrBuilder getPoliciesOrBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
getPoliciesOrBuilderList()
public List<? extends OrgPolicyOverlay.PolicyOverlayOrBuilder> 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];
Returns |
Type |
Description |
List<? extends com.google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlayOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OrgPolicyOverlay.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OrgPolicyOverlay.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public OrgPolicyOverlay.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides