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.
3113 3114 3115 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3113 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
3111 3112 3113 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3111 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3118 3119 3120 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3118 def update!(**args) @items = args[:items] if args.key?(:items) end |