Interface AclPolicyRevisionOrBuilder (0.75.0)

public interface AclPolicyRevisionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttachedClusters(int index)

public abstract String getAttachedClusters(int index)

Output only. A list of clusters that are attached to this ACL policy revision.

repeated string attached_clusters = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The attachedClusters at the given index.

getAttachedClustersBytes(int index)

public abstract ByteString getAttachedClustersBytes(int index)

Output only. A list of clusters that are attached to this ACL policy revision.

repeated string attached_clusters = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the attachedClusters at the given index.

getAttachedClustersCount()

public abstract int getAttachedClustersCount()

Output only. A list of clusters that are attached to this ACL policy revision.

repeated string attached_clusters = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of attachedClusters.

getAttachedClustersList()

public abstract List<String> getAttachedClustersList()

Output only. A list of clusters that are attached to this ACL policy revision.

repeated string attached_clusters = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the attachedClusters.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Identifier. The name of the ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The name of the ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getRevisionNumber()

public abstract long getRevisionNumber()

Output only. The revision number of the ACL policy revision.

int64 revision_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The revisionNumber.

getSnapshot()

public abstract AclPolicy getSnapshot()

Output only. The snapshot of the ACL policy at the time of revision creation.

.google.cloud.redis.cluster.v1beta1.AclPolicy snapshot = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AclPolicy

The snapshot.

getSnapshotOrBuilder()

public abstract AclPolicyOrBuilder getSnapshotOrBuilder()

Output only. The snapshot of the ACL policy at the time of revision creation.

.google.cloud.redis.cluster.v1beta1.AclPolicy snapshot = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AclPolicyOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasSnapshot()

public abstract boolean hasSnapshot()

Output only. The snapshot of the ACL policy at the time of revision creation.

.google.cloud.redis.cluster.v1beta1.AclPolicy snapshot = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the snapshot field is set.