Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainCustomMetadataData

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

Overview

Any custom metadata associated with the resource. i.e. A spanner instance can have multiple databases with its own unique metadata. Information for these individual databases can be captured in custom metadata data

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainCustomMetadataData

Returns a new instance of StorageDatabasecenterPartnerapiV1mainCustomMetadataData.



2553
2554
2555
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2553

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

Instance Attribute Details

#database_metadataArray<Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>

Corresponds to the JSON property databaseMetadata



2551
2552
2553
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2551

def 
  @database_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2558
2559
2560
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2558

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