Class: Google::Apis::DisplayvideoV2::ListAssignedLocationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::ListAssignedLocationsResponse
- 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 AssignedLocationService.ListAssignedLocations.
Instance Attribute Summary collapse
-
#assigned_locations ⇒ Array<Google::Apis::DisplayvideoV2::AssignedLocation>
The list of assigned locations.
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAssignedLocationsResponse
constructor
A new instance of ListAssignedLocationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAssignedLocationsResponse
Returns a new instance of ListAssignedLocationsResponse.
7786 7787 7788 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_locations ⇒ Array<Google::Apis::DisplayvideoV2::AssignedLocation>
The list of assigned locations. This list will be absent if empty.
Corresponds to the JSON property assignedLocations
7777 7778 7779 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7777 def assigned_locations @assigned_locations end |
#next_page_token ⇒ String
A token to retrieve the next page of results. Pass this value in the
page_token field in the subsequent call to ListAssignedLocations method to
retrieve the next page of results.
Corresponds to the JSON property nextPageToken
7784 7785 7786 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7784 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7791 7792 7793 7794 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7791 def update!(**args) @assigned_locations = args[:assigned_locations] if args.key?(:assigned_locations) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |