Class: Google::Apis::WorkloadmanagerV1::Database

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 database for sqlserver

Instance Attribute Summary collapse

Instance Method Summary collapse

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_fileString

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

Returns:

  • (String)


232
233
234
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 232

def backup_file
  @backup_file
end

#backup_scheduleString

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

Returns:

  • (String)


237
238
239
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 237

def backup_schedule
  @backup_schedule
end

#host_vmString

Output only. The host VM Corresponds to the JSON property hostVm

Returns:

  • (String)


242
243
244
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 242

def host_vm
  @host_vm
end

#nameString

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

Returns:

  • (String)


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