public interface PolicyOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Policy.BooleanPolicy |
getBooleanPolicy()
For boolean `Constraints`, whether to enforce the `Constraint` or not.
|
Policy.BooleanPolicyOrBuilder |
getBooleanPolicyOrBuilder()
For boolean `Constraints`, whether to enforce the `Constraint` or not.
|
String |
getConstraint()
The name of the `Constraint` the `Policy` is configuring, for example,
`constraints/serviceuser.services`.
|
ByteString |
getConstraintBytes()
The name of the `Constraint` the `Policy` is configuring, for example,
`constraints/serviceuser.services`.
|
ByteString |
getEtag()
An opaque tag indicating the current version of the `Policy`, used for
concurrency control.
|
Policy.ListPolicy |
getListPolicy()
List of values either allowed or disallowed.
|
Policy.ListPolicyOrBuilder |
getListPolicyOrBuilder()
List of values either allowed or disallowed.
|
Policy.PolicyTypeCase |
getPolicyTypeCase() |
Policy.RestoreDefault |
getRestoreDefault()
Restores the default behavior of the constraint; independent of
`Constraint` type.
|
Policy.RestoreDefaultOrBuilder |
getRestoreDefaultOrBuilder()
Restores the default behavior of the constraint; independent of
`Constraint` type.
|
Timestamp |
getUpdateTime()
The time stamp the `Policy` was previously updated.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
The time stamp the `Policy` was previously updated.
|
int |
getVersion()
Version of the `Policy`.
|
boolean |
hasBooleanPolicy()
For boolean `Constraints`, whether to enforce the `Constraint` or not.
|
boolean |
hasListPolicy()
List of values either allowed or disallowed.
|
boolean |
hasRestoreDefault()
Restores the default behavior of the constraint; independent of
`Constraint` type.
|
boolean |
hasUpdateTime()
The time stamp the `Policy` was previously updated.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getVersion()
Version of the `Policy`. Default version is 0;
int32 version = 1;
String getConstraint()
The name of the `Constraint` the `Policy` is configuring, for example, `constraints/serviceuser.services`. Immutable after creation.
string constraint = 2;
ByteString getConstraintBytes()
The name of the `Constraint` the `Policy` is configuring, for example, `constraints/serviceuser.services`. Immutable after creation.
string constraint = 2;
ByteString getEtag()
An opaque tag indicating the current version of the `Policy`, used for concurrency control. When the `Policy` is returned from either a `GetPolicy` or a `ListOrgPolicy` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset. When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was returned from a `GetOrgPolicy` request as part of a read-modify-write loop for concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will result in an unconditional write of the `Policy`.
bytes etag = 3;
boolean hasUpdateTime()
The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.
.google.protobuf.Timestamp update_time = 4;
Timestamp getUpdateTime()
The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.
.google.protobuf.Timestamp update_time = 4;
TimestampOrBuilder getUpdateTimeOrBuilder()
The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.
.google.protobuf.Timestamp update_time = 4;
boolean hasListPolicy()
List of values either allowed or disallowed.
.google.cloud.orgpolicy.v1.Policy.ListPolicy list_policy = 5;
Policy.ListPolicy getListPolicy()
List of values either allowed or disallowed.
.google.cloud.orgpolicy.v1.Policy.ListPolicy list_policy = 5;
Policy.ListPolicyOrBuilder getListPolicyOrBuilder()
List of values either allowed or disallowed.
.google.cloud.orgpolicy.v1.Policy.ListPolicy list_policy = 5;
boolean hasBooleanPolicy()
For boolean `Constraints`, whether to enforce the `Constraint` or not.
.google.cloud.orgpolicy.v1.Policy.BooleanPolicy boolean_policy = 6;
Policy.BooleanPolicy getBooleanPolicy()
For boolean `Constraints`, whether to enforce the `Constraint` or not.
.google.cloud.orgpolicy.v1.Policy.BooleanPolicy boolean_policy = 6;
Policy.BooleanPolicyOrBuilder getBooleanPolicyOrBuilder()
For boolean `Constraints`, whether to enforce the `Constraint` or not.
.google.cloud.orgpolicy.v1.Policy.BooleanPolicy boolean_policy = 6;
boolean hasRestoreDefault()
Restores the default behavior of the constraint; independent of `Constraint` type.
.google.cloud.orgpolicy.v1.Policy.RestoreDefault restore_default = 7;
Policy.RestoreDefault getRestoreDefault()
Restores the default behavior of the constraint; independent of `Constraint` type.
.google.cloud.orgpolicy.v1.Policy.RestoreDefault restore_default = 7;
Policy.RestoreDefaultOrBuilder getRestoreDefaultOrBuilder()
Restores the default behavior of the constraint; independent of `Constraint` type.
.google.cloud.orgpolicy.v1.Policy.RestoreDefault restore_default = 7;
Policy.PolicyTypeCase getPolicyTypeCase()
Copyright © 2021 Google LLC. All rights reserved.