Class: Google::Apis::WorkloadmanagerV1::BackendServer
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::BackendServer
- 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
-
#backup_file ⇒ String
Output only.
-
#backup_schedule ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#os_version ⇒ String
Output only.
-
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudResource>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServer
constructor
A new instance of BackendServer.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_file ⇒ String
Output only. The backup file
Corresponds to the JSON property backupFile
100 101 102 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 100 def backup_file @backup_file end |
#backup_schedule ⇒ String
Output only. The backup schedule
Corresponds to the JSON property backupSchedule
105 106 107 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 105 def backup_schedule @backup_schedule end |
#name ⇒ String
Output only. The backend name
Corresponds to the JSON property name
110 111 112 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 110 def name @name end |
#os_version ⇒ String
Output only. OS information
Corresponds to the JSON property osVersion
115 116 117 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 115 def os_version @os_version end |
#resources ⇒ Array<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 |