Class: Google::Apis::DfareportingV3_2::PlatformTypesListResponse

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

Platform Type 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) ⇒ PlatformTypesListResponse

Returns a new instance of PlatformTypesListResponse



9025
9026
9027
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 9025

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)


9018
9019
9020
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 9018

def kind
  @kind
end

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

Platform type collection. Corresponds to the JSON property platformTypes



9023
9024
9025
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 9023

def platform_types
  @platform_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9030
9031
9032
9033
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 9030

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