Class: Google::Apis::WorkloadmanagerV1::Database
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::Database
- 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 database for sqlserver
Instance Attribute Summary collapse
-
#backup_file ⇒ String
Output only.
-
#backup_schedule ⇒ String
Output only.
-
#host_vm ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Database
constructor
A new instance of Database.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Database
Returns a new instance of Database.
249 250 251 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_file ⇒ String
Output only. The backup file
Corresponds to the JSON property backupFile
232 233 234 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 232 def backup_file @backup_file end |
#backup_schedule ⇒ String
Output only. The backup schedule
Corresponds to the JSON property backupSchedule
237 238 239 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 237 def backup_schedule @backup_schedule end |
#host_vm ⇒ String
Output only. The host VM
Corresponds to the JSON property hostVm
242 243 244 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 242 def host_vm @host_vm end |
#name ⇒ String
Output only. The database name
Corresponds to the JSON property name
247 248 249 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 247 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
254 255 256 257 258 259 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 254 def update!(**args) @backup_file = args[:backup_file] if args.key?(:backup_file) @backup_schedule = args[:backup_schedule] if args.key?(:backup_schedule) @host_vm = args[:host_vm] if args.key?(:host_vm) @name = args[:name] if args.key?(:name) end |