Class: Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse

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

Overview

Response message for InventorySourceGroupService.ListInventorySourceGroups.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListInventorySourceGroupsResponse

Returns a new instance of ListInventorySourceGroupsResponse.



5874
5875
5876
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5874

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

Instance Attribute Details

#inventory_source_groupsArray<Google::Apis::DisplayvideoV1::InventorySourceGroup>

The list of inventory source groups. This list will be absent if empty. Corresponds to the JSON property inventorySourceGroups



5865
5866
5867
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5865

def inventory_source_groups
  @inventory_source_groups
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 ListInventorySourceGroups method to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


5872
5873
5874
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5872

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5879
5880
5881
5882
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 5879

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