Class: Google::Apis::ComputeAlpha::HaControllersFailoverRequest

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) ⇒ 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_zoneString

Name of the destination zone for the failover. Corresponds to the JSON property primaryZone

Returns:

  • (String)


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