Class: Google::Apis::DfareportingV2_6::ListSizesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_6/classes.rb,
generated/google/apis/dfareporting_v2_6/representations.rb,
generated/google/apis/dfareporting_v2_6/representations.rb

Overview

Size List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListSizesResponse

Returns a new instance of ListSizesResponse.



10589
10590
10591
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10589

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#sizesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


10582
10583
10584
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10582

def kind
  @kind
end

#sizesArray<Google::Apis::DfareportingV2_6::Size>

Size collection. Corresponds to the JSON property sizes



10587
10588
10589
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10587

def sizes
  @sizes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10594
10595
10596
10597
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10594

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