Class: Google::Apis::ComputeAlpha::BackendServiceHaPolicy

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

Returns a new instance of BackendServiceHaPolicy.



4507
4508
4509
# File 'lib/google/apis/compute_alpha/classes.rb', line 4507

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fast_ip_moveString

Enabling fastIPMove is not supported. Corresponds to the JSON property fastIPMove

Returns:

  • (String)


4500
4501
4502
# File 'lib/google/apis/compute_alpha/classes.rb', line 4500

def fast_ip_move
  @fast_ip_move
end

#leaderGoogle::Apis::ComputeAlpha::BackendServiceHaPolicyLeader

Setting a leader is not supported. Corresponds to the JSON property leader



4505
4506
4507
# File 'lib/google/apis/compute_alpha/classes.rb', line 4505

def leader
  @leader
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4512
4513
4514
4515
# File 'lib/google/apis/compute_alpha/classes.rb', line 4512

def update!(**args)
  @fast_ip_move = args[:fast_ip_move] if args.key?(:fast_ip_move)
  @leader = args[:leader] if args.key?(:leader)
end