Class: Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsRequest

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

Request message for AssignedLocationService.BulkEditAssignedLocations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkEditAssignedLocationsRequest

Returns a new instance of BulkEditAssignedLocationsRequest.



1477
1478
1479
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1477

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

Instance Attribute Details

#created_assigned_locationsArray<Google::Apis::DisplayvideoV1::AssignedLocation>

The assigned locations to create in bulk, specified as a list of AssignedLocations. Corresponds to the JSON property createdAssignedLocations



1469
1470
1471
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1469

def created_assigned_locations
  @created_assigned_locations
end

#deleted_assigned_locationsArray<Fixnum>

The IDs of the assigned locations to delete in bulk, specified as a list of assigned_location_ids. Corresponds to the JSON property deletedAssignedLocations

Returns:

  • (Array<Fixnum>)


1475
1476
1477
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1475

def deleted_assigned_locations
  @deleted_assigned_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1482
1483
1484
1485
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1482

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