Package | Description |
---|---|
com.google.cloud.orgpolicy.v2 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
PolicySpec.PolicyRule.Builder |
PolicySpec.Builder.addRulesBuilder()
Up to 10 PolicyRules are allowed.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.Builder.addRulesBuilder(int index)
Up to 10 PolicyRules are allowed.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clear() |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clearAllowAll()
Setting this to true means that all values are allowed.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clearCondition()
A condition which determines whether this rule is used
in the evaluation of the policy.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clearDenyAll()
Setting this to true means that all values are denied.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clearEnforce()
If `true`, then the `Policy` is enforced.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clearField(Descriptors.FieldDescriptor field) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clearKind() |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clearValues()
List of values to be used for this PolicyRule.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.clone() |
PolicySpec.PolicyRule.Builder |
PolicySpec.Builder.getRulesBuilder(int index)
Up to 10 PolicyRules are allowed.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.mergeCondition(com.google.type.Expr value)
A condition which determines whether this rule is used
in the evaluation of the policy.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.mergeFrom(Message other) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.mergeFrom(PolicySpec.PolicyRule other) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.mergeValues(PolicySpec.PolicyRule.StringValues value)
List of values to be used for this PolicyRule.
|
static PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.newBuilder() |
static PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.newBuilder(PolicySpec.PolicyRule prototype) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.newBuilderForType() |
protected PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.setAllowAll(boolean value)
Setting this to true means that all values are allowed.
|
PolicySpec.PolicyRule.Builder |
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.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.setCondition(com.google.type.Expr value)
A condition which determines whether this rule is used
in the evaluation of the policy.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.setDenyAll(boolean value)
Setting this to true means that all values are denied.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.setEnforce(boolean value)
If `true`, then the `Policy` is enforced.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.setValues(PolicySpec.PolicyRule.StringValues.Builder builderForValue)
List of values to be used for this PolicyRule.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.Builder.setValues(PolicySpec.PolicyRule.StringValues value)
List of values to be used for this PolicyRule.
|
PolicySpec.PolicyRule.Builder |
PolicySpec.PolicyRule.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<PolicySpec.PolicyRule.Builder> |
PolicySpec.Builder.getRulesBuilderList()
Up to 10 PolicyRules are allowed.
|
Modifier and Type | Method and Description |
---|---|
PolicySpec.Builder |
PolicySpec.Builder.addRules(int index,
PolicySpec.PolicyRule.Builder builderForValue)
Up to 10 PolicyRules are allowed.
|
PolicySpec.Builder |
PolicySpec.Builder.addRules(PolicySpec.PolicyRule.Builder builderForValue)
Up to 10 PolicyRules are allowed.
|
PolicySpec.Builder |
PolicySpec.Builder.setRules(int index,
PolicySpec.PolicyRule.Builder builderForValue)
Up to 10 PolicyRules are allowed.
|
Copyright © 2021 Google LLC. All rights reserved.