Class: Google::Apis::BackupdrV1::AlloyDbClusterDataSourceReferenceProperties
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::AlloyDbClusterDataSourceReferenceProperties
- 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
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AlloyDbClusterDataSourceReferenceProperties
constructor
A new instance of AlloyDbClusterDataSourceReferenceProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#name ⇒ String
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
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 |