Class: Google::Apis::ComputeV1::DisksStopGroupAsyncReplicationResource
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::DisksStopGroupAsyncReplicationResource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
A transient resource used in compute.disks.stopGroupAsyncReplication and compute.regionDisks.stopGroupAsyncReplication. It is only used to process requests and is not persisted.
Instance Attribute Summary collapse
-
#resource_policy ⇒ String
The URL of the DiskConsistencyGroupPolicy for the group of disks to stop.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DisksStopGroupAsyncReplicationResource
constructor
A new instance of DisksStopGroupAsyncReplicationResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DisksStopGroupAsyncReplicationResource
Returns a new instance of DisksStopGroupAsyncReplicationResource.
7962 7963 7964 |
# File 'lib/google/apis/compute_v1/classes.rb', line 7962 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_policy ⇒ String
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
Corresponds to the JSON property resourcePolicy
7960 7961 7962 |
# File 'lib/google/apis/compute_v1/classes.rb', line 7960 def resource_policy @resource_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7967 7968 7969 |
# File 'lib/google/apis/compute_v1/classes.rb', line 7967 def update!(**args) @resource_policy = args[:resource_policy] if args.key?(:resource_policy) end |