Class: Google::Apis::WorkloadmanagerV1::FrontEndServer
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::FrontEndServer
- 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 front end server
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#os_version ⇒ String
Output only.
-
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudResource>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FrontEndServer
constructor
A new instance of FrontEndServer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FrontEndServer
Returns a new instance of FrontEndServer.
497 498 499 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. The frontend name
Corresponds to the JSON property name
485 486 487 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 485 def name @name end |
#os_version ⇒ String
Output only. OS information
Corresponds to the JSON property osVersion
490 491 492 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 490 def os_version @os_version end |
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudResource>
Output only. resources in the component
Corresponds to the JSON property resources
495 496 497 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 495 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
502 503 504 505 506 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 502 def update!(**args) @name = args[:name] if args.key?(:name) @os_version = args[:os_version] if args.key?(:os_version) @resources = args[:resources] if args.key?(:resources) end |