Class: Google::Apis::RedisV1beta1::CustomMetadataData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/redis_v1beta1/classes.rb,
lib/google/apis/redis_v1beta1/representations.rb,
lib/google/apis/redis_v1beta1/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) ⇒ CustomMetadataData

Returns a new instance of CustomMetadataData.



413
414
415
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 413

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

Instance Attribute Details

#database_metadataArray<Google::Apis::RedisV1beta1::DatabaseMetadata>

Corresponds to the JSON property databaseMetadata



411
412
413
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 411

def 
  @database_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



418
419
420
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 418

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