Class: Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse

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

Overview

Response message for ListAdvertiserAssignedTargetingOptions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAdvertiserAssignedTargetingOptionsResponse

Returns a new instance of ListAdvertiserAssignedTargetingOptionsResponse.



5605
5606
5607
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 5605

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

Instance Attribute Details

#assigned_targeting_optionsArray<Google::Apis::DisplayvideoV1::AssignedTargetingOption>

The list of assigned targeting options. This list will be absent if empty. Corresponds to the JSON property assignedTargetingOptions



5595
5596
5597
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 5595

def assigned_targeting_options
  @assigned_targeting_options
end

#next_page_tokenString

A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListAdvertiserAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


5603
5604
5605
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 5603

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5610
5611
5612
5613
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 5610

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