Class: Google::Apis::DfareportingV2_1::ListAdvertisersResponse

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

Advertiser List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListAdvertisersResponse

Returns a new instance of ListAdvertisersResponse.



1201
1202
1203
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1201

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

Instance Attribute Details

#advertisersArray<Google::Apis::DfareportingV2_1::Advertiser>

Advertiser collection. Corresponds to the JSON property advertisers



1188
1189
1190
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1188

def advertisers
  @advertisers
end

#kindString

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

Returns:

  • (String)


1194
1195
1196
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1194

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)


1199
1200
1201
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1199

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1206
1207
1208
1209
1210
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1206

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