@@ -725,6 +725,164 @@ public List set(String parameterName, Object value) {
725725 return (List ) super .set (parameterName , value );
726726 }
727727 }
728+ /**
729+ * Sets the given finalized deal as ready to serve. By default, deals are set as ready to serve as
730+ * soon as they're finalized. If you want to opt out of the default behavior, and manually indicate
731+ * that deals are ready to serve, ask your Technical Account Manager to add you to the allowlist. If
732+ * you choose to use this method, finalized deals belonging to the bidder and its child seats don't
733+ * start serving until after you call `setReadyToServe`, and after the deals become active. For
734+ * example, you can use this method to delay receiving bid requests until your creative is ready. In
735+ * addition, bidders can use the URL path "/v1/bidders/{accountId}/finalizedDeals/{dealId}" to set
736+ * ready to serve for the finalized deals belong to itself, its child seats and all their clients.
737+ * This method only applies to programmatic guaranteed deals.
738+ *
739+ * Create a request for the method "finalizedDeals.setReadyToServe".
740+ *
741+ * This request holds the parameters needed by the authorizedbuyersmarketplace server. After
742+ * setting any optional parameters, call the {@link SetReadyToServe#execute()} method to invoke the
743+ * remote operation.
744+ *
745+ * @param deal Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
746+ * `bidders/{accountId}/finalizedDeals/{dealId}`
747+ * @param content the {@link com.google.api.services.authorizedbuyersmarketplace.v1.model.SetReadyToServeRequest}
748+ * @return the request
749+ */
750+ public SetReadyToServe setReadyToServe (java .lang .String deal , com .google .api .services .authorizedbuyersmarketplace .v1 .model .SetReadyToServeRequest content ) throws java .io .IOException {
751+ SetReadyToServe result = new SetReadyToServe (deal , content );
752+ initialize (result );
753+ return result ;
754+ }
755+
756+ public class SetReadyToServe extends AuthorizedBuyersMarketplaceRequest <com .google .api .services .authorizedbuyersmarketplace .v1 .model .FinalizedDeal > {
757+
758+ private static final String REST_PATH = "v1/{+deal}:setReadyToServe" ;
759+
760+ private final java .util .regex .Pattern DEAL_PATTERN =
761+ java .util .regex .Pattern .compile ("^bidders/[^/]+/finalizedDeals/[^/]+$" );
762+
763+ /**
764+ * Sets the given finalized deal as ready to serve. By default, deals are set as ready to serve as
765+ * soon as they're finalized. If you want to opt out of the default behavior, and manually
766+ * indicate that deals are ready to serve, ask your Technical Account Manager to add you to the
767+ * allowlist. If you choose to use this method, finalized deals belonging to the bidder and its
768+ * child seats don't start serving until after you call `setReadyToServe`, and after the deals
769+ * become active. For example, you can use this method to delay receiving bid requests until your
770+ * creative is ready. In addition, bidders can use the URL path
771+ * "/v1/bidders/{accountId}/finalizedDeals/{dealId}" to set ready to serve for the finalized deals
772+ * belong to itself, its child seats and all their clients. This method only applies to
773+ * programmatic guaranteed deals.
774+ *
775+ * Create a request for the method "finalizedDeals.setReadyToServe".
776+ *
777+ * This request holds the parameters needed by the the authorizedbuyersmarketplace server. After
778+ * setting any optional parameters, call the {@link SetReadyToServe#execute()} method to invoke
779+ * the remote operation. <p> {@link SetReadyToServe#initialize(com.google.api.client.googleapis.se
780+ * rvices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
781+ * after invoking the constructor. </p>
782+ *
783+ * @param deal Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
784+ * `bidders/{accountId}/finalizedDeals/{dealId}`
785+ * @param content the {@link com.google.api.services.authorizedbuyersmarketplace.v1.model.SetReadyToServeRequest}
786+ * @since 1.13
787+ */
788+ protected SetReadyToServe (java .lang .String deal , com .google .api .services .authorizedbuyersmarketplace .v1 .model .SetReadyToServeRequest content ) {
789+ super (AuthorizedBuyersMarketplace .this , "POST" , REST_PATH , content , com .google .api .services .authorizedbuyersmarketplace .v1 .model .FinalizedDeal .class );
790+ this .deal = com .google .api .client .util .Preconditions .checkNotNull (deal , "Required parameter deal must be specified." );
791+ if (!getSuppressPatternChecks ()) {
792+ com .google .api .client .util .Preconditions .checkArgument (DEAL_PATTERN .matcher (deal ).matches (),
793+ "Parameter deal must conform to the pattern " +
794+ "^bidders/[^/]+/finalizedDeals/[^/]+$" );
795+ }
796+ }
797+
798+ @ Override
799+ public SetReadyToServe set$Xgafv (java .lang .String $Xgafv ) {
800+ return (SetReadyToServe ) super .set$Xgafv ($Xgafv );
801+ }
802+
803+ @ Override
804+ public SetReadyToServe setAccessToken (java .lang .String accessToken ) {
805+ return (SetReadyToServe ) super .setAccessToken (accessToken );
806+ }
807+
808+ @ Override
809+ public SetReadyToServe setAlt (java .lang .String alt ) {
810+ return (SetReadyToServe ) super .setAlt (alt );
811+ }
812+
813+ @ Override
814+ public SetReadyToServe setCallback (java .lang .String callback ) {
815+ return (SetReadyToServe ) super .setCallback (callback );
816+ }
817+
818+ @ Override
819+ public SetReadyToServe setFields (java .lang .String fields ) {
820+ return (SetReadyToServe ) super .setFields (fields );
821+ }
822+
823+ @ Override
824+ public SetReadyToServe setKey (java .lang .String key ) {
825+ return (SetReadyToServe ) super .setKey (key );
826+ }
827+
828+ @ Override
829+ public SetReadyToServe setOauthToken (java .lang .String oauthToken ) {
830+ return (SetReadyToServe ) super .setOauthToken (oauthToken );
831+ }
832+
833+ @ Override
834+ public SetReadyToServe setPrettyPrint (java .lang .Boolean prettyPrint ) {
835+ return (SetReadyToServe ) super .setPrettyPrint (prettyPrint );
836+ }
837+
838+ @ Override
839+ public SetReadyToServe setQuotaUser (java .lang .String quotaUser ) {
840+ return (SetReadyToServe ) super .setQuotaUser (quotaUser );
841+ }
842+
843+ @ Override
844+ public SetReadyToServe setUploadType (java .lang .String uploadType ) {
845+ return (SetReadyToServe ) super .setUploadType (uploadType );
846+ }
847+
848+ @ Override
849+ public SetReadyToServe setUploadProtocol (java .lang .String uploadProtocol ) {
850+ return (SetReadyToServe ) super .setUploadProtocol (uploadProtocol );
851+ }
852+
853+ /**
854+ * Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
855+ * `bidders/{accountId}/finalizedDeals/{dealId}`
856+ */
857+ @ com .google .api .client .util .Key
858+ private java .lang .String deal ;
859+
860+ /** Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
861+ `bidders/{accountId}/finalizedDeals/{dealId}`
862+ */
863+ public java .lang .String getDeal () {
864+ return deal ;
865+ }
866+
867+ /**
868+ * Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
869+ * `bidders/{accountId}/finalizedDeals/{dealId}`
870+ */
871+ public SetReadyToServe setDeal (java .lang .String deal ) {
872+ if (!getSuppressPatternChecks ()) {
873+ com .google .api .client .util .Preconditions .checkArgument (DEAL_PATTERN .matcher (deal ).matches (),
874+ "Parameter deal must conform to the pattern " +
875+ "^bidders/[^/]+/finalizedDeals/[^/]+$" );
876+ }
877+ this .deal = deal ;
878+ return this ;
879+ }
880+
881+ @ Override
882+ public SetReadyToServe set (String parameterName , Object value ) {
883+ return (SetReadyToServe ) super .set (parameterName , value );
884+ }
885+ }
728886
729887 }
730888 }
@@ -4491,7 +4649,9 @@ public Resume set(String parameterName, Object value) {
44914649 * that deals are ready to serve, ask your Technical Account Manager to add you to the allowlist. If
44924650 * you choose to use this method, finalized deals belonging to the bidder and its child seats don't
44934651 * start serving until after you call `setReadyToServe`, and after the deals become active. For
4494- * example, you can use this method to delay receiving bid requests until your creative is ready.
4652+ * example, you can use this method to delay receiving bid requests until your creative is ready. In
4653+ * addition, bidders can use the URL path "/v1/bidders/{accountId}/finalizedDeals/{dealId}" to set
4654+ * ready to serve for the finalized deals belong to itself, its child seats and all their clients.
44954655 * This method only applies to programmatic guaranteed deals.
44964656 *
44974657 * Create a request for the method "finalizedDeals.setReadyToServe".
@@ -4500,7 +4660,8 @@ public Resume set(String parameterName, Object value) {
45004660 * setting any optional parameters, call the {@link SetReadyToServe#execute()} method to invoke the
45014661 * remote operation.
45024662 *
4503- * @param deal Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}`
4663+ * @param deal Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
4664+ * `bidders/{accountId}/finalizedDeals/{dealId}`
45044665 * @param content the {@link com.google.api.services.authorizedbuyersmarketplace.v1.model.SetReadyToServeRequest}
45054666 * @return the request
45064667 */
@@ -4524,7 +4685,10 @@ public class SetReadyToServe extends AuthorizedBuyersMarketplaceRequest<com.goog
45244685 * allowlist. If you choose to use this method, finalized deals belonging to the bidder and its
45254686 * child seats don't start serving until after you call `setReadyToServe`, and after the deals
45264687 * become active. For example, you can use this method to delay receiving bid requests until your
4527- * creative is ready. This method only applies to programmatic guaranteed deals.
4688+ * creative is ready. In addition, bidders can use the URL path
4689+ * "/v1/bidders/{accountId}/finalizedDeals/{dealId}" to set ready to serve for the finalized deals
4690+ * belong to itself, its child seats and all their clients. This method only applies to
4691+ * programmatic guaranteed deals.
45284692 *
45294693 * Create a request for the method "finalizedDeals.setReadyToServe".
45304694 *
@@ -4534,7 +4698,8 @@ public class SetReadyToServe extends AuthorizedBuyersMarketplaceRequest<com.goog
45344698 * rvices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
45354699 * after invoking the constructor. </p>
45364700 *
4537- * @param deal Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}`
4701+ * @param deal Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
4702+ * `bidders/{accountId}/finalizedDeals/{dealId}`
45384703 * @param content the {@link com.google.api.services.authorizedbuyersmarketplace.v1.model.SetReadyToServeRequest}
45394704 * @since 1.13
45404705 */
@@ -4603,17 +4768,24 @@ public SetReadyToServe setUploadProtocol(java.lang.String uploadProtocol) {
46034768 return (SetReadyToServe ) super .setUploadProtocol (uploadProtocol );
46044769 }
46054770
4606- /** Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` */
4771+ /**
4772+ * Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
4773+ * `bidders/{accountId}/finalizedDeals/{dealId}`
4774+ */
46074775 @ com .google .api .client .util .Key
46084776 private java .lang .String deal ;
46094777
4610- /** Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}`
4778+ /** Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
4779+ `bidders/{accountId}/finalizedDeals/{dealId}`
46114780 */
46124781 public java .lang .String getDeal () {
46134782 return deal ;
46144783 }
46154784
4616- /** Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` */
4785+ /**
4786+ * Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or
4787+ * `bidders/{accountId}/finalizedDeals/{dealId}`
4788+ */
46174789 public SetReadyToServe setDeal (java .lang .String deal ) {
46184790 if (!getSuppressPatternChecks ()) {
46194791 com .google .api .client .util .Preconditions .checkArgument (DEAL_PATTERN .matcher (deal ).matches (),
0 commit comments