Class: Google::Apis::DfareportingV3_2::SizesListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_2/classes.rb,
generated/google/apis/dfareporting_v3_2/representations.rb,
generated/google/apis/dfareporting_v3_2/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) ⇒ SizesListResponse

Returns a new instance of SizesListResponse



11065
11066
11067
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 11065

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)


11058
11059
11060
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 11058

def kind
  @kind
end

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

Size collection. Corresponds to the JSON property sizes



11063
11064
11065
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 11063

def sizes
  @sizes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11070
11071
11072
11073
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 11070

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