Class: Google::Apis::DfareportingV2_1::ListSizesResponse

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

Overview

Size List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListSizesResponse

Returns a new instance of ListSizesResponse.



9929
9930
9931
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9929

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)


9922
9923
9924
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9922

def kind
  @kind
end

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

Size collection. Corresponds to the JSON property sizes



9927
9928
9929
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9927

def sizes
  @sizes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9934
9935
9936
9937
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9934

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