Class: Google::Apis::WorkloadmanagerV1::Cluster
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::Cluster
- 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 cluster for sqlserver
Instance Attribute Summary collapse
-
#nodes ⇒ Array<String>
Output only.
-
#witness_server ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Cluster
constructor
A new instance of Cluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Cluster
Returns a new instance of Cluster.
214 215 216 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 214 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nodes ⇒ Array<String>
Output only. The nodes
Corresponds to the JSON property nodes
207 208 209 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 207 def nodes @nodes end |
#witness_server ⇒ String
Output only. The witness server
Corresponds to the JSON property witnessServer
212 213 214 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 212 def witness_server @witness_server end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
219 220 221 222 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 219 def update!(**args) @nodes = args[:nodes] if args.key?(:nodes) @witness_server = args[:witness_server] if args.key?(:witness_server) end |