public interface OrgPolicyOverlayOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCustomConstraints(int index)
public abstract 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 |
Returns | |
---|---|
Type | Description |
OrgPolicyOverlay.CustomConstraintOverlay |
getCustomConstraintsCount()
public abstract 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 abstract 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];
Returns | |
---|---|
Type | Description |
List<CustomConstraintOverlay> |
getCustomConstraintsOrBuilder(int index)
public abstract 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 |
Returns | |
---|---|
Type | Description |
OrgPolicyOverlay.CustomConstraintOverlayOrBuilder |
getCustomConstraintsOrBuilderList()
public abstract 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> |
getPolicies(int index)
public abstract 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 |
Returns | |
---|---|
Type | Description |
OrgPolicyOverlay.PolicyOverlay |
getPoliciesCount()
public abstract 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 abstract 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];
Returns | |
---|---|
Type | Description |
List<PolicyOverlay> |
getPoliciesOrBuilder(int index)
public abstract 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 |
Returns | |
---|---|
Type | Description |
OrgPolicyOverlay.PolicyOverlayOrBuilder |
getPoliciesOrBuilderList()
public abstract 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> |