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.



6172
6173
6174
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6172

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



6162
6163
6164
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6162

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)


6170
6171
6172
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6170

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6177
6178
6179
6180
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6177

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