Class: Google::Apis::WorkloadmanagerV1::ApiLayerServer

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 API layer server

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApiLayerServer

Returns a new instance of ApiLayerServer.



44
45
46
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 44

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

Instance Attribute Details

#nameString

Output only. The api layer name Corresponds to the JSON property name

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 32

def name
  @name
end

#os_versionString

Output only. OS information Corresponds to the JSON property osVersion

Returns:

  • (String)


37
38
39
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 37

def os_version
  @os_version
end

#resourcesArray<Google::Apis::WorkloadmanagerV1::CloudResource>

Output only. resources in the component Corresponds to the JSON property resources



42
43
44
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 42

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



49
50
51
52
53
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 49

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