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.



4881
4882
4883
# File 'lib/google/apis/compute_alpha/classes.rb', line 4881

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)


4879
4880
4881
# File 'lib/google/apis/compute_alpha/classes.rb', line 4879

def instance
  @instance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4886
4887
4888
# File 'lib/google/apis/compute_alpha/classes.rb', line 4886

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