Class: Google::Apis::WorkloadmanagerV1::LoadBalancerServer
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::LoadBalancerServer
- 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
-
#ip ⇒ String
Output only.
-
#vm ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LoadBalancerServer
constructor
A new instance of LoadBalancerServer.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#ip ⇒ String
Output only. The IP address
Corresponds to the JSON property ip
868 869 870 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 868 def ip @ip end |
#vm ⇒ String
Output only. The VM name
Corresponds to the JSON property vm
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 |