Skip to content

Commit d2e738b

Browse files
feat: Automated regeneration of authorizedbuyersmarketplace v1alpha client (#24819)
Auto-created at 2025-11-02 10:02:03 +0000 using the toys pull request generator.
1 parent 6a968ac commit d2e738b

File tree

4 files changed

+58
-5
lines changed

4 files changed

+58
-5
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49071,6 +49071,8 @@
4907149071
"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.bidders.finalizedDeals.list/pageSize": page_size
4907249072
"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.bidders.finalizedDeals.list/pageToken": page_token
4907349073
"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.bidders.finalizedDeals.list/parent": parent
49074+
"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.bidders.finalizedDeals.setReadyToServe": set_bidder_finalized_deal_ready_to_serve
49075+
"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.bidders.finalizedDeals.setReadyToServe/deal": deal
4907449076
"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.buyers.auctionPackages.get": get_buyer_auction_package
4907549077
"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.buyers.auctionPackages.get/name": name
4907649078
"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.buyers.auctionPackages.list": list_buyer_auction_packages

generated/google-apis-authorizedbuyersmarketplace_v1alpha/CHANGELOG.md

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

3+
### v0.8.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251028
6+
37
### v0.7.0 (2025-06-22)
48

59
* Regenerated from discovery document revision 20250616

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AuthorizedbuyersmarketplaceV1alpha
1818
# Version of the google-apis-authorizedbuyersmarketplace_v1alpha gem
19-
GEM_VERSION = "0.7.0"
19+
GEM_VERSION = "0.8.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/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 "/v1alpha/bidders/`accountId`/finalizedDeals/`dealId`" to set ready
181+
# to serve for the finalized deals belong to itself, its child seats and all
182+
# their 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::AuthorizedbuyersmarketplaceV1alpha::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::AuthorizedbuyersmarketplaceV1alpha::FinalizedDeal] parsed result object
197+
# @yieldparam err [StandardError] error object if request failed
198+
#
199+
# @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::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, 'v1alpha/{+deal}:setReadyToServe', options)
206+
command.request_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::SetReadyToServeRequest::Representation
207+
command.request_object = set_ready_to_serve_request_object
208+
command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::FinalizedDeal::Representation
209+
command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::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`/
@@ -1271,10 +1315,13 @@ def resume_finalized_deal(name, resume_finalized_deal_request_object = nil, fiel
12711315
# use this method, finalized deals belonging to the bidder and its child seats
12721316
# don't start serving until after you call `setReadyToServe`, and after the
12731317
# deals become active. For example, you can use this method to delay receiving
1274-
# bid requests until your creative is ready. This method only applies to
1275-
# programmatic guaranteed deals.
1318+
# bid requests until your creative is ready. In addition, bidders can use the
1319+
# URL path "/v1alpha/bidders/`accountId`/finalizedDeals/`dealId`" to set ready
1320+
# to serve for the finalized deals belong to itself, its child seats and all
1321+
# their clients. This method only applies to programmatic guaranteed deals.
12761322
# @param [String] deal
1277-
# Required. Format: `buyers/`accountId`/finalizedDeals/`dealId``
1323+
# Required. Format: `buyers/`accountId`/finalizedDeals/`dealId`` or `bidders/`
1324+
# accountId`/finalizedDeals/`dealId``
12781325
# @param [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::SetReadyToServeRequest] set_ready_to_serve_request_object
12791326
# @param [String] fields
12801327
# Selector specifying which fields to include in a partial response.

0 commit comments

Comments
 (0)