Class: Google::Apis::DfareportingV2_6::ListPlatformTypesResponse

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

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) ⇒ ListPlatformTypesResponse

Returns a new instance of ListPlatformTypesResponse.



8564
8565
8566
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 8564

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)


8557
8558
8559
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 8557

def kind
  @kind
end

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

Platform type collection. Corresponds to the JSON property platformTypes



8562
8563
8564
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 8562

def platform_types
  @platform_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8569
8570
8571
8572
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 8569

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