Interface DisksStopGroupAsyncReplicationResourceOrBuilder (1.51.0)

public interface DisksStopGroupAsyncReplicationResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourcePolicy()

public abstract String getResourcePolicy()

The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy

optional string resource_policy = 159240835;

Returns
TypeDescription
String

The resourcePolicy.

getResourcePolicyBytes()

public abstract ByteString getResourcePolicyBytes()

The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy

optional string resource_policy = 159240835;

Returns
TypeDescription
ByteString

The bytes for resourcePolicy.

hasResourcePolicy()

public abstract boolean hasResourcePolicy()

The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy

optional string resource_policy = 159240835;

Returns
TypeDescription
boolean

Whether the resourcePolicy field is set.