Class: Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocationAccessLocationPreference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocationAccessLocationPreference
- 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.
Instance Attribute Summary collapse
-
#region ⇒ String
Accessible region name Corresponds to the JSON property
region
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SnapshotSettingsAccessLocationAccessLocationPreference
constructor
A new instance of SnapshotSettingsAccessLocationAccessLocationPreference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SnapshotSettingsAccessLocationAccessLocationPreference
Returns a new instance of SnapshotSettingsAccessLocationAccessLocationPreference.
52017 52018 52019 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52017 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region ⇒ String
Accessible region name
Corresponds to the JSON property region
52015 52016 52017 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52015 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
52022 52023 52024 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52022 def update!(**args) @region = args[:region] if args.key?(:region) end |