Package | Description |
---|---|
com.google.cloud.orgpolicy.v2 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
PolicySpec.Builder |
PolicySpec.Builder.addAllRules(Iterable<? extends PolicySpec.PolicyRule> values)
Up to 10 PolicyRules are allowed.
|
PolicySpec.Builder |
PolicySpec.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
PolicySpec.Builder |
PolicySpec.Builder.addRules(int index,
PolicySpec.PolicyRule.Builder builderForValue)
Up to 10 PolicyRules are allowed.
|
PolicySpec.Builder |
PolicySpec.Builder.addRules(int index,
PolicySpec.PolicyRule value)
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.addRules(PolicySpec.PolicyRule value)
Up to 10 PolicyRules are allowed.
|
PolicySpec.Builder |
PolicySpec.Builder.clear() |
PolicySpec.Builder |
PolicySpec.Builder.clearEtag()
An opaque tag indicating the current version of the `Policy`, used for
concurrency control.
|
PolicySpec.Builder |
PolicySpec.Builder.clearField(Descriptors.FieldDescriptor field) |
PolicySpec.Builder |
PolicySpec.Builder.clearInheritFromParent()
Determines the inheritance behavior for this `Policy`.
|
PolicySpec.Builder |
PolicySpec.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
PolicySpec.Builder |
PolicySpec.Builder.clearReset()
Ignores policies set above this resource and restores the
`constraint_default` enforcement behavior of the specific `Constraint` at
this resource.
|
PolicySpec.Builder |
PolicySpec.Builder.clearRules()
Up to 10 PolicyRules are allowed.
|
PolicySpec.Builder |
PolicySpec.Builder.clearUpdateTime()
Output only.
|
PolicySpec.Builder |
PolicySpec.Builder.clone() |
PolicySpec.Builder |
Policy.Builder.getSpecBuilder()
Basic information about the Organization Policy.
|
PolicySpec.Builder |
AlternatePolicySpec.Builder.getSpecBuilder()
Specify `Constraint` for configurations of Cloud Platform resources.
|
PolicySpec.Builder |
PolicySpec.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
PolicySpec.Builder |
PolicySpec.Builder.mergeFrom(Message other) |
PolicySpec.Builder |
PolicySpec.Builder.mergeFrom(PolicySpec other) |
PolicySpec.Builder |
PolicySpec.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
PolicySpec.Builder |
PolicySpec.Builder.mergeUpdateTime(Timestamp value)
Output only.
|
static PolicySpec.Builder |
PolicySpec.newBuilder() |
static PolicySpec.Builder |
PolicySpec.newBuilder(PolicySpec prototype) |
PolicySpec.Builder |
PolicySpec.newBuilderForType() |
protected PolicySpec.Builder |
PolicySpec.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
PolicySpec.Builder |
PolicySpec.Builder.removeRules(int index)
Up to 10 PolicyRules are allowed.
|
PolicySpec.Builder |
PolicySpec.Builder.setEtag(String value)
An opaque tag indicating the current version of the `Policy`, used for
concurrency control.
|
PolicySpec.Builder |
PolicySpec.Builder.setEtagBytes(ByteString value)
An opaque tag indicating the current version of the `Policy`, used for
concurrency control.
|
PolicySpec.Builder |
PolicySpec.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
PolicySpec.Builder |
PolicySpec.Builder.setInheritFromParent(boolean value)
Determines the inheritance behavior for this `Policy`.
|
PolicySpec.Builder |
PolicySpec.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
PolicySpec.Builder |
PolicySpec.Builder.setReset(boolean value)
Ignores policies set above this resource and restores the
`constraint_default` enforcement behavior of the specific `Constraint` at
this resource.
|
PolicySpec.Builder |
PolicySpec.Builder.setRules(int index,
PolicySpec.PolicyRule.Builder builderForValue)
Up to 10 PolicyRules are allowed.
|
PolicySpec.Builder |
PolicySpec.Builder.setRules(int index,
PolicySpec.PolicyRule value)
Up to 10 PolicyRules are allowed.
|
PolicySpec.Builder |
PolicySpec.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
PolicySpec.Builder |
PolicySpec.Builder.setUpdateTime(Timestamp.Builder builderForValue)
Output only.
|
PolicySpec.Builder |
PolicySpec.Builder.setUpdateTime(Timestamp value)
Output only.
|
PolicySpec.Builder |
PolicySpec.toBuilder() |
Modifier and Type | Method and Description |
---|---|
Policy.Builder |
Policy.Builder.setSpec(PolicySpec.Builder builderForValue)
Basic information about the Organization Policy.
|
AlternatePolicySpec.Builder |
AlternatePolicySpec.Builder.setSpec(PolicySpec.Builder builderForValue)
Specify `Constraint` for configurations of Cloud Platform resources.
|
Copyright © 2021 Google LLC. All rights reserved.