Class: Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeaderNetworkEndpoint

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

Returns a new instance of BackendServiceHaPolicyLeaderNetworkEndpoint.



4552
4553
4554
# File 'lib/google/apis/compute_alpha/classes.rb', line 4552

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

Instance Attribute Details

#instanceString

Specifying the instance name of a leader is not supported. Corresponds to the JSON property instance

Returns:

  • (String)


4550
4551
4552
# File 'lib/google/apis/compute_alpha/classes.rb', line 4550

def instance
  @instance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4557
4558
4559
# File 'lib/google/apis/compute_alpha/classes.rb', line 4557

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