Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of displayvideo v1 client #16010

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions generated/google-apis-displayvideo_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-displayvideo_v1

### v0.59.0 (2023-09-03)

* Regenerated from discovery document revision 20230831

### v0.58.0 (2023-08-27)

* Regenerated from discovery document revision 20230824
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,9 @@ class AssignedLocation
# @return [String]
attr_accessor :name

# Required. The ID of the targeting option assigned to the location list. Must
# Required. The ID of the targeting option assigned to the location list.
# Assigned locations can only be modified in TARGETING_LOCATION_TYPE_REGIONAL
# location lists. When creating or deleting assigned locations, this value must
# be of type TARGETING_TYPE_GEO_REGION.
# Corresponds to the JSON property `targetingOptionId`
# @return [String]
Expand Down Expand Up @@ -1982,7 +1984,7 @@ def update!(**args)
end
end

# Response message for BulkListCampaignAssignedTargetingOptions.
#
class BulkListCampaignAssignedTargetingOptionsResponse
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -2011,7 +2013,7 @@ def update!(**args)
end
end

# Response message for BulkListInsertionOrderAssignedTargetingOptions.
#
class BulkListInsertionOrderAssignedTargetingOptionsResponse
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -7510,7 +7512,7 @@ def update!(**args)
end
end

# Response message for ListInsertionOrderAssignedTargetingOptions.
#
class ListInsertionOrderAssignedTargetingOptionsResponse
include Google::Apis::Core::Hashable

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DisplayvideoV1
# Version of the google-apis-displayvideo_v1 gem
GEM_VERSION = "0.58.0"
GEM_VERSION = "0.59.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.12.0"

# Revision of the discovery document this client was generated from
REVISION = "20230824"
REVISION = "20230831"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1974,8 +1974,8 @@ def lookup_advertiser_invoice_invoice_currency(advertiser_id, invoice_month: nil
# create the assigned targeting options provided in
# BulkEditLineItemAssignedTargetingOptionsRequest.create_requests. Requests to
# this endpoint cannot be made concurrently with the following requests updating
# the same line item: * UpdateLineItem * CreateLineItemAssignedTargetingOption *
# DeleteLineItemAssignedTargetingOption
# the same line item: * lineItems.patch * assignedTargetingOptions.create *
# assignedTargetingOptions.delete
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser the line item belongs to.
# @param [Fixnum] line_item_id
Expand Down Expand Up @@ -2288,8 +2288,8 @@ def list_advertiser_line_items(advertiser_id, filter: nil, order_by: nil, page_s
# Updates an existing line item. Returns the updated line item if successful.
# Requests to this endpoint cannot be made concurrently with the following
# requests updating the same line item: * BulkEditAssignedTargetingOptions *
# BulkUpdateLineItems * CreateLineItemAssignedTargetingOption *
# DeleteLineItemAssignedTargetingOption
# BulkUpdateLineItems * assignedTargetingOptions.create *
# assignedTargetingOptions.delete
# @param [Fixnum] advertiser_id
# Output only. The unique ID of the advertiser the line item belongs to.
# @param [Fixnum] line_item_id
Expand Down Expand Up @@ -2330,8 +2330,8 @@ def patch_advertiser_line_item(advertiser_id, line_item_id, line_item_object = n

# Assigns a targeting option to a line item. Returns the assigned targeting
# option if successful. Requests to this endpoint cannot be made concurrently
# with the following requests updating the same line item: *
# BulkEditAssignedTargetingOptions * BulkUpdate * UpdateLineItem *
# with the following requests updating the same line item: * lineItems.
# bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch *
# DeleteLineItemAssignedTargetingOption
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser the line item belongs to.
Expand Down Expand Up @@ -2398,8 +2398,8 @@ def create_advertiser_line_item_targeting_type_assigned_targeting_option(adverti

# Deletes an assigned targeting option from a line item. Requests to this
# endpoint cannot be made concurrently with the following requests updating the
# same line item: * BulkEditAssignedTargetingOptions * BulkUpdate *
# UpdateLineItem * CreateLineItemAssignedTargetingOption
# same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.
# bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption
# @param [Fixnum] advertiser_id
# Required. The ID of the advertiser the line item belongs to.
# @param [Fixnum] line_item_id
Expand Down Expand Up @@ -5446,9 +5446,6 @@ def edit_inventory_source_read_write_accessors(inventory_source_id, edit_invento
# Gets an inventory source.
# @param [Fixnum] inventory_source_id
# Required. The ID of the inventory source to fetch.
# @param [Fixnum] advertiser_id
# Optional. The advertiser_id is optional, when it is provided, the advertiser
# access is used.
# @param [Fixnum] partner_id
# Required. The ID of the DV360 partner to which the fetched inventory source is
# permissioned.
Expand All @@ -5469,12 +5466,11 @@ def edit_inventory_source_read_write_accessors(inventory_source_id, edit_invento
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_inventory_source(inventory_source_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
def get_inventory_source(inventory_source_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/inventorySources/{+inventorySourceId}', options)
command.response_representation = Google::Apis::DisplayvideoV1::InventorySource::Representation
command.response_class = Google::Apis::DisplayvideoV1::InventorySource
command.params['inventorySourceId'] = inventory_source_id unless inventory_source_id.nil?
command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
command.query['partnerId'] = partner_id unless partner_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
Expand Down