Class: Google::Apis::BackupdrV1::Metadata

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(**args) ⇒ Metadata

Returns a new instance of Metadata.



2873
2874
2875
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2873

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

Instance Attribute Details

#itemsArray<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



2871
2872
2873
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2871

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2878
2879
2880
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2878

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