Class: Google::Apis::RedisV1::CustomMetadataData
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::CustomMetadataData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb
Overview
Any custom metadata associated with the resource. e.g. 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
-
#internal_resource_metadata ⇒ Array<Google::Apis::RedisV1::InternalResourceMetadata>
Metadata for individual internal resources in an instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomMetadataData
constructor
A new instance of CustomMetadataData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomMetadataData
Returns a new instance of CustomMetadataData.
629 630 631 |
# File 'lib/google/apis/redis_v1/classes.rb', line 629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#internal_resource_metadata ⇒ Array<Google::Apis::RedisV1::InternalResourceMetadata>
Metadata for individual internal resources in an instance. e.g. spanner
instance can have multiple databases with unique configuration.
Corresponds to the JSON property internalResourceMetadata
627 628 629 |
# File 'lib/google/apis/redis_v1/classes.rb', line 627 def @internal_resource_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
634 635 636 |
# File 'lib/google/apis/redis_v1/classes.rb', line 634 def update!(**args) @internal_resource_metadata = args[:internal_resource_metadata] if args.key?(:internal_resource_metadata) end |