Class: Google::Apis::ComputeAlpha::RegionDisksStopGroupAsyncReplicationRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionDisksStopGroupAsyncReplicationRequest

Returns a new instance of RegionDisksStopGroupAsyncReplicationRequest.



31213
31214
31215
# File 'lib/google/apis/compute_alpha/classes.rb', line 31213

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resource_policyString

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

Returns:

  • (String)


31211
31212
31213
# File 'lib/google/apis/compute_alpha/classes.rb', line 31211

def resource_policy
  @resource_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31218
31219
31220
# File 'lib/google/apis/compute_alpha/classes.rb', line 31218

def update!(**args)
  @resource_policy = args[:resource_policy] if args.key?(:resource_policy)
end