Class: Google::Apis::WorkloadmanagerV1::BackendServer

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 backend server

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackendServer

Returns a new instance of BackendServer.



122
123
124
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 122

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

Instance Attribute Details

#backup_fileString

Output only. The backup file Corresponds to the JSON property backupFile

Returns:

  • (String)


100
101
102
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 100

def backup_file
  @backup_file
end

#backup_scheduleString

Output only. The backup schedule Corresponds to the JSON property backupSchedule

Returns:

  • (String)


105
106
107
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 105

def backup_schedule
  @backup_schedule
end

#nameString

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

Returns:

  • (String)


110
111
112
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 110

def name
  @name
end

#os_versionString

Output only. OS information Corresponds to the JSON property osVersion

Returns:

  • (String)


115
116
117
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 115

def os_version
  @os_version
end

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

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



120
121
122
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 120

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



127
128
129
130
131
132
133
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 127

def update!(**args)
  @backup_file = args[:backup_file] if args.key?(:backup_file)
  @backup_schedule = args[:backup_schedule] if args.key?(:backup_schedule)
  @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