Class: Google::Apis::BackupdrV1::Metadata
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::Metadata
- 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
A metadata key/value entry.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ Metadata
constructor
A new instance of Metadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Metadata
Returns a new instance of Metadata.
4709 4710 4711 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4709 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::BackupdrV1::Entry>
Optional. Array of key/value pairs. The total size of all keys and values must
be less than 512 KB.
Corresponds to the JSON property items
4707 4708 4709 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4707 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4714 4715 4716 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4714 def update!(**args) @items = args[:items] if args.key?(:items) end |