Class: Google::Apis::WorkloadmanagerV1::FrontEndServer

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 front end server

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameString

Output only. The frontend name Corresponds to the JSON property name

Returns:

  • (String)


485
486
487
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 485

def name
  @name
end

#os_versionString

Output only. OS information Corresponds to the JSON property osVersion

Returns:

  • (String)


490
491
492
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 490

def os_version
  @os_version
end

#resourcesArray<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