Skip to content

Commit e21abf5

Browse files
feat: Automated regeneration of authorizedbuyersmarketplace v1 client (#24838)
Auto-created at 2025-11-02 10:21:09 +0000 using the toys pull request generator.
1 parent e4b2a84 commit e21abf5

File tree

4 files changed

+60
-6
lines changed

4 files changed

+60
-6
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48654,6 +48654,8 @@
4865448654
"/authorizedbuyersmarketplace:v1/authorizedbuyersmarketplace.bidders.finalizedDeals.list/pageSize": page_size
4865548655
"/authorizedbuyersmarketplace:v1/authorizedbuyersmarketplace.bidders.finalizedDeals.list/pageToken": page_token
4865648656
"/authorizedbuyersmarketplace:v1/authorizedbuyersmarketplace.bidders.finalizedDeals.list/parent": parent
48657+
"/authorizedbuyersmarketplace:v1/authorizedbuyersmarketplace.bidders.finalizedDeals.setReadyToServe": set_bidder_finalized_deal_ready_to_serve
48658+
"/authorizedbuyersmarketplace:v1/authorizedbuyersmarketplace.bidders.finalizedDeals.setReadyToServe/deal": deal
4865748659
"/authorizedbuyersmarketplace:v1/authorizedbuyersmarketplace.buyers.auctionPackages.get": get_buyer_auction_package
4865848660
"/authorizedbuyersmarketplace:v1/authorizedbuyersmarketplace.buyers.auctionPackages.get/name": name
4865948661
"/authorizedbuyersmarketplace:v1/authorizedbuyersmarketplace.buyers.auctionPackages.list": list_buyer_auction_packages

generated/google-apis-authorizedbuyersmarketplace_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-authorizedbuyersmarketplace_v1
22

3+
### v0.34.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251028
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.33.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

generated/google-apis-authorizedbuyersmarketplace_v1/lib/google/apis/authorizedbuyersmarketplace_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AuthorizedbuyersmarketplaceV1
1818
# Version of the google-apis-authorizedbuyersmarketplace_v1 gem
19-
GEM_VERSION = "0.33.0"
19+
GEM_VERSION = "0.34.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250303"
25+
REVISION = "20251028"
2626
end
2727
end
2828
end

generated/google-apis-authorizedbuyersmarketplace_v1/lib/google/apis/authorizedbuyersmarketplace_v1/service.rb

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,50 @@ def list_bidder_finalized_deals(parent, filter: nil, order_by: nil, page_size: n
169169
execute_or_queue_command(command, &block)
170170
end
171171

172+
# Sets the given finalized deal as ready to serve. By default, deals are set as
173+
# ready to serve as soon as they're finalized. If you want to opt out of the
174+
# default behavior, and manually indicate that deals are ready to serve, ask
175+
# your Technical Account Manager to add you to the allowlist. If you choose to
176+
# use this method, finalized deals belonging to the bidder and its child seats
177+
# don't start serving until after you call `setReadyToServe`, and after the
178+
# deals become active. For example, you can use this method to delay receiving
179+
# bid requests until your creative is ready. In addition, bidders can use the
180+
# URL path "/v1/bidders/`accountId`/finalizedDeals/`dealId`" to set ready to
181+
# serve for the finalized deals belong to itself, its child seats and all their
182+
# clients. This method only applies to programmatic guaranteed deals.
183+
# @param [String] deal
184+
# Required. Format: `buyers/`accountId`/finalizedDeals/`dealId`` or `bidders/`
185+
# accountId`/finalizedDeals/`dealId``
186+
# @param [Google::Apis::AuthorizedbuyersmarketplaceV1::SetReadyToServeRequest] set_ready_to_serve_request_object
187+
# @param [String] fields
188+
# Selector specifying which fields to include in a partial response.
189+
# @param [String] quota_user
190+
# Available to use for quota purposes for server-side applications. Can be any
191+
# arbitrary string assigned to a user, but should not exceed 40 characters.
192+
# @param [Google::Apis::RequestOptions] options
193+
# Request-specific options
194+
#
195+
# @yield [result, err] Result & error if block supplied
196+
# @yieldparam result [Google::Apis::AuthorizedbuyersmarketplaceV1::FinalizedDeal] parsed result object
197+
# @yieldparam err [StandardError] error object if request failed
198+
#
199+
# @return [Google::Apis::AuthorizedbuyersmarketplaceV1::FinalizedDeal]
200+
#
201+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
202+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
203+
# @raise [Google::Apis::AuthorizationError] Authorization is required
204+
def set_bidder_finalized_deal_ready_to_serve(deal, set_ready_to_serve_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
205+
command = make_simple_command(:post, 'v1/{+deal}:setReadyToServe', options)
206+
command.request_representation = Google::Apis::AuthorizedbuyersmarketplaceV1::SetReadyToServeRequest::Representation
207+
command.request_object = set_ready_to_serve_request_object
208+
command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1::FinalizedDeal::Representation
209+
command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1::FinalizedDeal
210+
command.params['deal'] = deal unless deal.nil?
211+
command.query['fields'] = fields unless fields.nil?
212+
command.query['quotaUser'] = quota_user unless quota_user.nil?
213+
execute_or_queue_command(command, &block)
214+
end
215+
172216
# Gets an auction package given its name.
173217
# @param [String] name
174218
# Required. Name of auction package to get. Format: `buyers/`accountId`/
@@ -1047,10 +1091,13 @@ def resume_finalized_deal(name, resume_finalized_deal_request_object = nil, fiel
10471091
# use this method, finalized deals belonging to the bidder and its child seats
10481092
# don't start serving until after you call `setReadyToServe`, and after the
10491093
# deals become active. For example, you can use this method to delay receiving
1050-
# bid requests until your creative is ready. This method only applies to
1051-
# programmatic guaranteed deals.
1094+
# bid requests until your creative is ready. In addition, bidders can use the
1095+
# URL path "/v1/bidders/`accountId`/finalizedDeals/`dealId`" to set ready to
1096+
# serve for the finalized deals belong to itself, its child seats and all their
1097+
# clients. This method only applies to programmatic guaranteed deals.
10521098
# @param [String] deal
1053-
# Required. Format: `buyers/`accountId`/finalizedDeals/`dealId``
1099+
# Required. Format: `buyers/`accountId`/finalizedDeals/`dealId`` or `bidders/`
1100+
# accountId`/finalizedDeals/`dealId``
10541101
# @param [Google::Apis::AuthorizedbuyersmarketplaceV1::SetReadyToServeRequest] set_ready_to_serve_request_object
10551102
# @param [String] fields
10561103
# Selector specifying which fields to include in a partial response.

0 commit comments

Comments
 (0)