Class: Google::Apis::DfareportingV2_5::ListPlatformTypesResponse

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



8374
8375
8376
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8374

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)


8367
8368
8369
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8367

def kind
  @kind
end

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

Platform type collection. Corresponds to the JSON property platformTypes



8372
8373
8374
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8372

def platform_types
  @platform_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8379
8380
8381
8382
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 8379

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