Class: Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse

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

Overview

Response message for listing filter sets.

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) ⇒ ListFilterSetsResponse

Returns a new instance of ListFilterSetsResponse.


2312
2313
2314
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2312

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

Instance Attribute Details

#filter_setsArray<Google::Apis::Adexchangebuyer2V2beta1::FilterSet>

The filter sets belonging to the buyer. Corresponds to the JSON property filterSets


2303
2304
2305
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2303

def filter_sets
  @filter_sets
end

#next_page_tokenString

A token to retrieve the next page of results. Pass this value in the ListFilterSetsRequest.pageToken field in the subsequent call to the accounts. filterSets.list method to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

2310
2311
2312
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2310

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2317
2318
2319
2320
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2317

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