Class: Google::Apis::DisplayvideoV3::ListAssignedInventorySourcesResponse

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

Overview

Response message for AssignedInventorySourceService. ListAssignedInventorySources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAssignedInventorySourcesResponse

Returns a new instance of ListAssignedInventorySourcesResponse.



8492
8493
8494
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8492

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

Instance Attribute Details

#assigned_inventory_sourcesArray<Google::Apis::DisplayvideoV3::AssignedInventorySource>

The list of assigned inventory sources. This list will be absent if empty. Corresponds to the JSON property assignedInventorySources



8483
8484
8485
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8483

def assigned_inventory_sources
  @assigned_inventory_sources
end

#next_page_tokenString

A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to ListAssignedInventorySources method to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


8490
8491
8492
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8490

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8497
8498
8499
8500
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8497

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