@@ -153,6 +153,258 @@ public Bidders bidders() {
153
153
*/
154
154
public class Bidders {
155
155
156
+ /**
157
+ * An accessor for creating requests from the AuctionPackages collection.
158
+ *
159
+ * <p>The typical use is:</p>
160
+ * <pre>
161
+ * {@code AuthorizedBuyersMarketplace authorizedbuyersmarketplace = new AuthorizedBuyersMarketplace(...);}
162
+ * {@code AuthorizedBuyersMarketplace.AuctionPackages.List request = authorizedbuyersmarketplace.auctionPackages().list(parameters ...)}
163
+ * </pre>
164
+ *
165
+ * @return the resource collection
166
+ */
167
+ public AuctionPackages auctionPackages () {
168
+ return new AuctionPackages ();
169
+ }
170
+
171
+ /**
172
+ * The "auctionPackages" collection of methods.
173
+ */
174
+ public class AuctionPackages {
175
+
176
+ /**
177
+ * List the auction packages. Buyers can use the URL path "/v1/buyers/{accountId}/auctionPackages"
178
+ * to list auction packages for the current buyer and its clients. Bidders can use the URL path
179
+ * "/v1/bidders/{accountId}/auctionPackages" to list auction packages for the bidder, its media
180
+ * planners, its buyers, and all their clients.
181
+ *
182
+ * Create a request for the method "auctionPackages.list".
183
+ *
184
+ * This request holds the parameters needed by the authorizedbuyersmarketplace server. After
185
+ * setting any optional parameters, call the {@link List#execute()} method to invoke the remote
186
+ * operation.
187
+ *
188
+ * @param parent Required. Name of the parent buyer that can access the auction package. Format:
189
+ * `buyers/{accountId}`. When used with a bidder account, the auction packages that the
190
+ * bidder, its media planners, its buyers and clients are subscribed to will be listed, in
191
+ * the format `bidders/{accountId}`.
192
+ * @return the request
193
+ */
194
+ public List list (java .lang .String parent ) throws java .io .IOException {
195
+ List result = new List (parent );
196
+ initialize (result );
197
+ return result ;
198
+ }
199
+
200
+ public class List extends AuthorizedBuyersMarketplaceRequest <com .google .api .services .authorizedbuyersmarketplace .v1 .model .ListAuctionPackagesResponse > {
201
+
202
+ private static final String REST_PATH = "v1/{+parent}/auctionPackages" ;
203
+
204
+ private final java .util .regex .Pattern PARENT_PATTERN =
205
+ java .util .regex .Pattern .compile ("^bidders/[^/]+$" );
206
+
207
+ /**
208
+ * List the auction packages. Buyers can use the URL path "/v1/buyers/{accountId}/auctionPackages"
209
+ * to list auction packages for the current buyer and its clients. Bidders can use the URL path
210
+ * "/v1/bidders/{accountId}/auctionPackages" to list auction packages for the bidder, its media
211
+ * planners, its buyers, and all their clients.
212
+ *
213
+ * Create a request for the method "auctionPackages.list".
214
+ *
215
+ * This request holds the parameters needed by the the authorizedbuyersmarketplace server. After
216
+ * setting any optional parameters, call the {@link List#execute()} method to invoke the remote
217
+ * operation. <p> {@link
218
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
219
+ * called to initialize this instance immediately after invoking the constructor. </p>
220
+ *
221
+ * @param parent Required. Name of the parent buyer that can access the auction package. Format:
222
+ * `buyers/{accountId}`. When used with a bidder account, the auction packages that the
223
+ * bidder, its media planners, its buyers and clients are subscribed to will be listed, in
224
+ * the format `bidders/{accountId}`.
225
+ * @since 1.13
226
+ */
227
+ protected List (java .lang .String parent ) {
228
+ super (AuthorizedBuyersMarketplace .this , "GET" , REST_PATH , null , com .google .api .services .authorizedbuyersmarketplace .v1 .model .ListAuctionPackagesResponse .class );
229
+ this .parent = com .google .api .client .util .Preconditions .checkNotNull (parent , "Required parameter parent must be specified." );
230
+ if (!getSuppressPatternChecks ()) {
231
+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
232
+ "Parameter parent must conform to the pattern " +
233
+ "^bidders/[^/]+$" );
234
+ }
235
+ }
236
+
237
+ @ Override
238
+ public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
239
+ return super .executeUsingHead ();
240
+ }
241
+
242
+ @ Override
243
+ public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
244
+ return super .buildHttpRequestUsingHead ();
245
+ }
246
+
247
+ @ Override
248
+ public List set$Xgafv (java .lang .String $Xgafv ) {
249
+ return (List ) super .set$Xgafv ($Xgafv );
250
+ }
251
+
252
+ @ Override
253
+ public List setAccessToken (java .lang .String accessToken ) {
254
+ return (List ) super .setAccessToken (accessToken );
255
+ }
256
+
257
+ @ Override
258
+ public List setAlt (java .lang .String alt ) {
259
+ return (List ) super .setAlt (alt );
260
+ }
261
+
262
+ @ Override
263
+ public List setCallback (java .lang .String callback ) {
264
+ return (List ) super .setCallback (callback );
265
+ }
266
+
267
+ @ Override
268
+ public List setFields (java .lang .String fields ) {
269
+ return (List ) super .setFields (fields );
270
+ }
271
+
272
+ @ Override
273
+ public List setKey (java .lang .String key ) {
274
+ return (List ) super .setKey (key );
275
+ }
276
+
277
+ @ Override
278
+ public List setOauthToken (java .lang .String oauthToken ) {
279
+ return (List ) super .setOauthToken (oauthToken );
280
+ }
281
+
282
+ @ Override
283
+ public List setPrettyPrint (java .lang .Boolean prettyPrint ) {
284
+ return (List ) super .setPrettyPrint (prettyPrint );
285
+ }
286
+
287
+ @ Override
288
+ public List setQuotaUser (java .lang .String quotaUser ) {
289
+ return (List ) super .setQuotaUser (quotaUser );
290
+ }
291
+
292
+ @ Override
293
+ public List setUploadType (java .lang .String uploadType ) {
294
+ return (List ) super .setUploadType (uploadType );
295
+ }
296
+
297
+ @ Override
298
+ public List setUploadProtocol (java .lang .String uploadProtocol ) {
299
+ return (List ) super .setUploadProtocol (uploadProtocol );
300
+ }
301
+
302
+ /**
303
+ * Required. Name of the parent buyer that can access the auction package. Format:
304
+ * `buyers/{accountId}`. When used with a bidder account, the auction packages that the
305
+ * bidder, its media planners, its buyers and clients are subscribed to will be listed, in
306
+ * the format `bidders/{accountId}`.
307
+ */
308
+ @ com .google .api .client .util .Key
309
+ private java .lang .String parent ;
310
+
311
+ /** Required. Name of the parent buyer that can access the auction package. Format:
312
+ `buyers/{accountId}`. When used with a bidder account, the auction packages that the bidder, its
313
+ media planners, its buyers and clients are subscribed to will be listed, in the format
314
+ `bidders/{accountId}`.
315
+ */
316
+ public java .lang .String getParent () {
317
+ return parent ;
318
+ }
319
+
320
+ /**
321
+ * Required. Name of the parent buyer that can access the auction package. Format:
322
+ * `buyers/{accountId}`. When used with a bidder account, the auction packages that the
323
+ * bidder, its media planners, its buyers and clients are subscribed to will be listed, in
324
+ * the format `bidders/{accountId}`.
325
+ */
326
+ public List setParent (java .lang .String parent ) {
327
+ if (!getSuppressPatternChecks ()) {
328
+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
329
+ "Parameter parent must conform to the pattern " +
330
+ "^bidders/[^/]+$" );
331
+ }
332
+ this .parent = parent ;
333
+ return this ;
334
+ }
335
+
336
+ /**
337
+ * Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-
338
+ * buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns
339
+ * for filtering are: * displayName * createTime * updateTime * eligibleSeatIds
340
+ */
341
+ @ com .google .api .client .util .Key
342
+ private java .lang .String filter ;
343
+
344
+ /** Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-
345
+ buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns for
346
+ filtering are: * displayName * createTime * updateTime * eligibleSeatIds
347
+ */
348
+ public java .lang .String getFilter () {
349
+ return filter ;
350
+ }
351
+
352
+ /**
353
+ * Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-
354
+ * buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns
355
+ * for filtering are: * displayName * createTime * updateTime * eligibleSeatIds
356
+ */
357
+ public List setFilter (java .lang .String filter ) {
358
+ this .filter = filter ;
359
+ return this ;
360
+ }
361
+
362
+ /**
363
+ * Requested page size. The server may return fewer results than requested. Max allowed page
364
+ * size is 500.
365
+ */
366
+ @ com .google .api .client .util .Key
367
+ private java .lang .Integer pageSize ;
368
+
369
+ /** Requested page size. The server may return fewer results than requested. Max allowed page size is
370
+ 500.
371
+ */
372
+ public java .lang .Integer getPageSize () {
373
+ return pageSize ;
374
+ }
375
+
376
+ /**
377
+ * Requested page size. The server may return fewer results than requested. Max allowed page
378
+ * size is 500.
379
+ */
380
+ public List setPageSize (java .lang .Integer pageSize ) {
381
+ this .pageSize = pageSize ;
382
+ return this ;
383
+ }
384
+
385
+ /** The page token as returned. ListAuctionPackagesResponse.nextPageToken */
386
+ @ com .google .api .client .util .Key
387
+ private java .lang .String pageToken ;
388
+
389
+ /** The page token as returned. ListAuctionPackagesResponse.nextPageToken
390
+ */
391
+ public java .lang .String getPageToken () {
392
+ return pageToken ;
393
+ }
394
+
395
+ /** The page token as returned. ListAuctionPackagesResponse.nextPageToken */
396
+ public List setPageToken (java .lang .String pageToken ) {
397
+ this .pageToken = pageToken ;
398
+ return this ;
399
+ }
400
+
401
+ @ Override
402
+ public List set (String parameterName , Object value ) {
403
+ return (List ) super .set (parameterName , value );
404
+ }
405
+ }
406
+
407
+ }
156
408
/**
157
409
* An accessor for creating requests from the FinalizedDeals collection.
158
410
*
@@ -639,15 +891,21 @@ public Get set(String parameterName, Object value) {
639
891
}
640
892
}
641
893
/**
642
- * List the auction packages subscribed by a buyer and its clients.
894
+ * List the auction packages. Buyers can use the URL path "/v1/buyers/{accountId}/auctionPackages"
895
+ * to list auction packages for the current buyer and its clients. Bidders can use the URL path
896
+ * "/v1/bidders/{accountId}/auctionPackages" to list auction packages for the bidder, its media
897
+ * planners, its buyers, and all their clients.
643
898
*
644
899
* Create a request for the method "auctionPackages.list".
645
900
*
646
901
* This request holds the parameters needed by the authorizedbuyersmarketplace server. After
647
902
* setting any optional parameters, call the {@link List#execute()} method to invoke the remote
648
903
* operation.
649
904
*
650
- * @param parent Required. Name of the parent buyer that can access the auction package. Format: `buyers/{accountId}`
905
+ * @param parent Required. Name of the parent buyer that can access the auction package. Format:
906
+ * `buyers/{accountId}`. When used with a bidder account, the auction packages that the
907
+ * bidder, its media planners, its buyers and clients are subscribed to will be listed, in
908
+ * the format `bidders/{accountId}`.
651
909
* @return the request
652
910
*/
653
911
public List list (java .lang .String parent ) throws java .io .IOException {
@@ -664,7 +922,10 @@ public class List extends AuthorizedBuyersMarketplaceRequest<com.google.api.serv
664
922
java .util .regex .Pattern .compile ("^buyers/[^/]+$" );
665
923
666
924
/**
667
- * List the auction packages subscribed by a buyer and its clients.
925
+ * List the auction packages. Buyers can use the URL path "/v1/buyers/{accountId}/auctionPackages"
926
+ * to list auction packages for the current buyer and its clients. Bidders can use the URL path
927
+ * "/v1/bidders/{accountId}/auctionPackages" to list auction packages for the bidder, its media
928
+ * planners, its buyers, and all their clients.
668
929
*
669
930
* Create a request for the method "auctionPackages.list".
670
931
*
@@ -674,7 +935,10 @@ public class List extends AuthorizedBuyersMarketplaceRequest<com.google.api.serv
674
935
* List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
675
936
* called to initialize this instance immediately after invoking the constructor. </p>
676
937
*
677
- * @param parent Required. Name of the parent buyer that can access the auction package. Format: `buyers/{accountId}`
938
+ * @param parent Required. Name of the parent buyer that can access the auction package. Format:
939
+ * `buyers/{accountId}`. When used with a bidder account, the auction packages that the
940
+ * bidder, its media planners, its buyers and clients are subscribed to will be listed, in
941
+ * the format `bidders/{accountId}`.
678
942
* @since 1.13
679
943
*/
680
944
protected List (java .lang .String parent ) {
@@ -754,21 +1018,27 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
754
1018
755
1019
/**
756
1020
* Required. Name of the parent buyer that can access the auction package. Format:
757
- * `buyers/{accountId}`
1021
+ * `buyers/{accountId}`. When used with a bidder account, the auction packages that the
1022
+ * bidder, its media planners, its buyers and clients are subscribed to will be listed, in
1023
+ * the format `bidders/{accountId}`.
758
1024
*/
759
1025
@ com .google .api .client .util .Key
760
1026
private java .lang .String parent ;
761
1027
762
1028
/** Required. Name of the parent buyer that can access the auction package. Format:
763
- `buyers/{accountId}`
1029
+ `buyers/{accountId}`. When used with a bidder account, the auction packages that the bidder, its
1030
+ media planners, its buyers and clients are subscribed to will be listed, in the format
1031
+ `bidders/{accountId}`.
764
1032
*/
765
1033
public java .lang .String getParent () {
766
1034
return parent ;
767
1035
}
768
1036
769
1037
/**
770
1038
* Required. Name of the parent buyer that can access the auction package. Format:
771
- * `buyers/{accountId}`
1039
+ * `buyers/{accountId}`. When used with a bidder account, the auction packages that the
1040
+ * bidder, its media planners, its buyers and clients are subscribed to will be listed, in
1041
+ * the format `bidders/{accountId}`.
772
1042
*/
773
1043
public List setParent (java .lang .String parent ) {
774
1044
if (!getSuppressPatternChecks ()) {
@@ -781,28 +1051,25 @@ public List setParent(java.lang.String parent) {
781
1051
}
782
1052
783
1053
/**
784
- * Optional. Optional query string using the [Cloud API list filtering
785
- * syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Only
786
- * supported when parent is bidder. Supported columns for filtering are: * displayName *
787
- * createTime * updateTime * eligibleSeatIds
1054
+ * Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-
1055
+ * buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns
1056
+ * for filtering are: * displayName * createTime * updateTime * eligibleSeatIds
788
1057
*/
789
1058
@ com .google .api .client .util .Key
790
1059
private java .lang .String filter ;
791
1060
792
- /** Optional. Optional query string using the [Cloud API list filtering
793
- syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Only supported
794
- when parent is bidder. Supported columns for filtering are: * displayName * createTime * updateTime
795
- * eligibleSeatIds
1061
+ /** Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-
1062
+ buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns for
1063
+ filtering are: * displayName * createTime * updateTime * eligibleSeatIds
796
1064
*/
797
1065
public java .lang .String getFilter () {
798
1066
return filter ;
799
1067
}
800
1068
801
1069
/**
802
- * Optional. Optional query string using the [Cloud API list filtering
803
- * syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Only
804
- * supported when parent is bidder. Supported columns for filtering are: * displayName *
805
- * createTime * updateTime * eligibleSeatIds
1070
+ * Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-
1071
+ * buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns
1072
+ * for filtering are: * displayName * createTime * updateTime * eligibleSeatIds
806
1073
*/
807
1074
public List setFilter (java .lang .String filter ) {
808
1075
this .filter = filter ;
0 commit comments