Class: Google::Apis::DfareportingV2_1::ListPlatformTypesResponse

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

Platform Type List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListPlatformTypesResponse

Returns a new instance of ListPlatformTypesResponse.



7907
7908
7909
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7907

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


7900
7901
7902
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7900

def kind
  @kind
end

#platform_typesArray<Google::Apis::DfareportingV2_1::PlatformType>

Platform type collection. Corresponds to the JSON property platformTypes



7905
7906
7907
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7905

def platform_types
  @platform_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7912
7913
7914
7915
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7912

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