Class: Google::Apis::DfareportingV3_1::PlatformTypesListResponse

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



8984
8985
8986
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 8984

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)


8977
8978
8979
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 8977

def kind
  @kind
end

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

Platform type collection. Corresponds to the JSON property platformTypes



8982
8983
8984
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 8982

def platform_types
  @platform_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8989
8990
8991
8992
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 8989

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