Interface DisksStopGroupAsyncReplicationResourceOrBuilder (1.53.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
Type Description
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
Type Description
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
Type Description
boolean

Whether the resourcePolicy field is set.