Class: Google::Apis::ComputeAlpha::DiskSettingsAccessLocationAccessLocationPreference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::DiskSettingsAccessLocationAccessLocationPreference
- 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
Overview
A structure for specifying an allowed target region to create snapshot.
Instance Attribute Summary collapse
-
#region ⇒ String
Accessible region name Corresponds to the JSON property
region.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskSettingsAccessLocationAccessLocationPreference
constructor
A new instance of DiskSettingsAccessLocationAccessLocationPreference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskSettingsAccessLocationAccessLocationPreference
Returns a new instance of DiskSettingsAccessLocationAccessLocationPreference.
10467 10468 10469 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10467 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region ⇒ String
Accessible region name
Corresponds to the JSON property region
10465 10466 10467 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10465 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10472 10473 10474 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10472 def update!(**args) @region = args[:region] if args.key?(:region) end |