Class: Google::Apis::ComputeAlpha::HaControllersFailoverRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::HaControllersFailoverRequest
- 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
-
#primary_zone ⇒ String
Name of the destination zone for the failover.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HaControllersFailoverRequest
constructor
A new instance of HaControllersFailoverRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HaControllersFailoverRequest
Returns a new instance of HaControllersFailoverRequest.
17141 17142 17143 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17141 def initialize(**args) update!(**args) end |
Instance Attribute Details
#primary_zone ⇒ String
Name of the destination zone for the failover.
Corresponds to the JSON property primaryZone
17139 17140 17141 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17139 def primary_zone @primary_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17146 17147 17148 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17146 def update!(**args) @primary_zone = args[:primary_zone] if args.key?(:primary_zone) end |