Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb

Overview

Disable validation warnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainBackupDrMetadata

Returns a new instance of StorageDatabasecenterPartnerapiV1mainBackupDrMetadata.



3619
3620
3621
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3619

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

Instance Attribute Details

#backup_configurationGoogle::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration

Disable validation warnings Corresponds to the JSON property backupConfiguration



3592
3593
3594
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3592

def backup_configuration
  @backup_configuration
end

#backup_runGoogle::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun

Disable validation warnings Corresponds to the JSON property backupRun



3597
3598
3599
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3597

def backup_run
  @backup_run
end

#backupdr_configurationGoogle::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration

Disable validation warnings Corresponds to the JSON property backupdrConfiguration



3602
3603
3604
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3602

def backupdr_configuration
  @backupdr_configuration
end

#full_resource_nameString

Required. Disable validation warnings Corresponds to the JSON property fullResourceName

Returns:

  • (String)


3607
3608
3609
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3607

def full_resource_name
  @full_resource_name
end

#last_refresh_timeString

Required. Disable validation warnings Corresponds to the JSON property lastRefreshTime

Returns:

  • (String)


3612
3613
3614
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3612

def last_refresh_time
  @last_refresh_time
end

#resource_idGoogle::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId

Disable validation warnings Corresponds to the JSON property resourceId



3617
3618
3619
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3617

def resource_id
  @resource_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3624
3625
3626
3627
3628
3629
3630
3631
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3624

def update!(**args)
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
  @backup_run = args[:backup_run] if args.key?(:backup_run)
  @backupdr_configuration = args[:backupdr_configuration] if args.key?(:backupdr_configuration)
  @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
  @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
  @resource_id = args[:resource_id] if args.key?(:resource_id)
end