Class: Google::Apis::BackupdrV1::AlloyDbClusterDataSourceReferenceProperties

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

Overview

AlloyDBClusterDataSourceReferenceProperties represents the properties of an AlloyDB cluster that are stored in the DataSourceReference.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AlloyDbClusterDataSourceReferenceProperties

Returns a new instance of AlloyDbClusterDataSourceReferenceProperties.



313
314
315
# File 'lib/google/apis/backupdr_v1/classes.rb', line 313

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

Instance Attribute Details

#nameString

Output only. Name of the AlloyDB cluster backed up by the datasource. Format: projects/project/locations/location/clusters/cluster Corresponds to the JSON property name

Returns:

  • (String)


311
312
313
# File 'lib/google/apis/backupdr_v1/classes.rb', line 311

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



318
319
320
# File 'lib/google/apis/backupdr_v1/classes.rb', line 318

def update!(**args)
  @name = args[:name] if args.key?(:name)
end