Class: Google::Apis::DisplayvideoV3::ListAssignedLocationsResponse

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 AssignedLocationService.ListAssignedLocations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAssignedLocationsResponse

Returns a new instance of ListAssignedLocationsResponse.



8519
8520
8521
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8519

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

Instance Attribute Details

#assigned_locationsArray<Google::Apis::DisplayvideoV3::AssignedLocation>

The list of assigned locations. This list will be absent if empty. Corresponds to the JSON property assignedLocations



8510
8511
8512
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8510

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

Returns:

  • (String)


8517
8518
8519
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8517

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8524
8525
8526
8527
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8524

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