Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainCustomMetadataData
- 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
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
-
#database_metadata ⇒ Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>
Corresponds to the JSON property
databaseMetadata
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainCustomMetadataData
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainCustomMetadataData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainCustomMetadataData
Returns a new instance of StorageDatabasecenterPartnerapiV1mainCustomMetadataData.
2114 2115 2116 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2114 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_metadata ⇒ Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>
Corresponds to the JSON property databaseMetadata
2112 2113 2114 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2112 def @database_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2119 2120 2121 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2119 def update!(**args) @database_metadata = args[:database_metadata] if args.key?(:database_metadata) end |