Class: Google::Apis::ComputeAlpha::LocationPolicyLocation
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::LocationPolicyLocation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#preference ⇒ String
Corresponds to the JSON property
preference
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocationPolicyLocation
constructor
A new instance of LocationPolicyLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LocationPolicyLocation
Returns a new instance of LocationPolicyLocation.
19647 19648 19649 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19647 def initialize(**args) update!(**args) end |
Instance Attribute Details
#preference ⇒ String
Corresponds to the JSON property preference
19645 19646 19647 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19645 def preference @preference end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19652 19653 19654 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 19652 def update!(**args) @preference = args[:preference] if args.key?(:preference) end |