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



2380
2381
2382
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2380

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



2368
2369
2370
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2368

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)


2378
2379
2380
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2378

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2385
2386
2387
2388
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2385

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