Class: Google::Apis::DfareportingV5::PlacementsListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb

Overview

Placement List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlacementsListResponse

Returns a new instance of PlacementsListResponse.



10112
10113
10114
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10112

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


10100
10101
10102
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10100

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


10105
10106
10107
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10105

def next_page_token
  @next_page_token
end

#placementsArray<Google::Apis::DfareportingV5::Placement>

Placement collection. Corresponds to the JSON property placements



10110
10111
10112
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10110

def placements
  @placements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10117
10118
10119
10120
10121
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10117

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