Class: Google::Apis::DisplayvideoV2::ListLineItemAssignedTargetingOptionsResponse

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

Overview

Response message for ListLineItemAssignedTargetingOptions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListLineItemAssignedTargetingOptionsResponse

Returns a new instance of ListLineItemAssignedTargetingOptionsResponse.



8306
8307
8308
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8306

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

Instance Attribute Details

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

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



8296
8297
8298
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8296

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 ListLineItemAssignedTargetingOptionsRequest 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)


8304
8305
8306
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8304

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8311
8312
8313
8314
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8311

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