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.
2877 2878 2879 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2877 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
2875 2876 2877 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2875 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2882 2883 2884 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2882 def update!(**args) @items = args[:items] if args.key?(:items) end |