Class: Google::Apis::WorkloadmanagerV1::LoadBalancerServer

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb

Overview

The load balancer for sqlserver

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LoadBalancerServer

Returns a new instance of LoadBalancerServer.



875
876
877
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 875

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

Instance Attribute Details

#ipString

Output only. The IP address Corresponds to the JSON property ip

Returns:

  • (String)


868
869
870
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 868

def ip
  @ip
end

#vmString

Output only. The VM name Corresponds to the JSON property vm

Returns:

  • (String)


873
874
875
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 873

def vm
  @vm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



880
881
882
883
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 880

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