Package com.google.cloud.compute.v1
Interface DisksStopGroupAsyncReplicationResourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DisksStopGroupAsyncReplicationResource
,DisksStopGroupAsyncReplicationResource.Builder
public interface DisksStopGroupAsyncReplicationResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getResourcePolicy()
The URL of the DiskConsistencyGroupPolicy for the group of disks to stop.com.google.protobuf.ByteString
getResourcePolicyBytes()
The URL of the DiskConsistencyGroupPolicy for the group of disks to stop.boolean
hasResourcePolicy()
The URL of the DiskConsistencyGroupPolicy for the group of disks to stop.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasResourcePolicy
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:
- Whether the resourcePolicy field is set.
-
getResourcePolicy
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:
- The resourcePolicy.
-
getResourcePolicyBytes
com.google.protobuf.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:
- The bytes for resourcePolicy.
-
-