Class: Google::Apis::ComputeAlpha::BackendServiceHaPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BackendServiceHaPolicy
- 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
-
#fast_ip_move ⇒ String
Enabling fastIPMove is not supported.
-
#leader ⇒ Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeader
Setting a leader is not supported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServiceHaPolicy
constructor
A new instance of BackendServiceHaPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackendServiceHaPolicy
Returns a new instance of BackendServiceHaPolicy.
4543 4544 4545 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fast_ip_move ⇒ String
Enabling fastIPMove is not supported.
Corresponds to the JSON property fastIPMove
4536 4537 4538 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4536 def fast_ip_move @fast_ip_move end |
#leader ⇒ Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeader
Setting a leader is not supported.
Corresponds to the JSON property leader
4541 4542 4543 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4541 def leader @leader end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4548 4549 4550 4551 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4548 def update!(**args) @fast_ip_move = args[:fast_ip_move] if args.key?(:fast_ip_move) @leader = args[:leader] if args.key?(:leader) end |