Class: Google::Apis::DfareportingV2_1::ListPlacementsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

Placement List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListPlacementsResponse

Returns a new instance of ListPlacementsResponse.


7848
7849
7850
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7848

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)

7836
7837
7838
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7836

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)

7841
7842
7843
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7841

def next_page_token
  @next_page_token
end

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

Placement collection. Corresponds to the JSON property placements


7846
7847
7848
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7846

def placements
  @placements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


7853
7854
7855
7856
7857
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7853

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