Skip to content

Commit 64872d7

Browse files
chore: regenerate authorizedbuyersmarketplace client (googleapis#20520)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent a5ee5f0 commit 64872d7

File tree

5 files changed

+388
-31
lines changed

5 files changed

+388
-31
lines changed

clients/google-api-services-authorizedbuyersmarketplace/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-authorizedbuyersmarketplace</artifactId>
25-
<version>v1-rev20240417-2.0.0</version>
25+
<version>v1-rev20240418-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-authorizedbuyersmarketplace:v1-rev20240417-2.0.0'
38+
implementation 'com.google.apis:google-api-services-authorizedbuyersmarketplace:v1-rev20240418-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-authorizedbuyersmarketplace/v1/2.0.0/com/google/api/services/authorizedbuyersmarketplace/v1/AuthorizedBuyersMarketplace.java

Lines changed: 286 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,258 @@ public Bidders bidders() {
153153
*/
154154
public class Bidders {
155155

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+
}
156408
/**
157409
* An accessor for creating requests from the FinalizedDeals collection.
158410
*
@@ -639,15 +891,21 @@ public Get set(String parameterName, Object value) {
639891
}
640892
}
641893
/**
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.
643898
*
644899
* Create a request for the method "auctionPackages.list".
645900
*
646901
* This request holds the parameters needed by the authorizedbuyersmarketplace server. After
647902
* setting any optional parameters, call the {@link List#execute()} method to invoke the remote
648903
* operation.
649904
*
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}`.
651909
* @return the request
652910
*/
653911
public List list(java.lang.String parent) throws java.io.IOException {
@@ -664,7 +922,10 @@ public class List extends AuthorizedBuyersMarketplaceRequest<com.google.api.serv
664922
java.util.regex.Pattern.compile("^buyers/[^/]+$");
665923

666924
/**
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.
668929
*
669930
* Create a request for the method "auctionPackages.list".
670931
*
@@ -674,7 +935,10 @@ public class List extends AuthorizedBuyersMarketplaceRequest<com.google.api.serv
674935
* List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
675936
* called to initialize this instance immediately after invoking the constructor. </p>
676937
*
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}`.
678942
* @since 1.13
679943
*/
680944
protected List(java.lang.String parent) {
@@ -754,21 +1018,27 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
7541018

7551019
/**
7561020
* 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}`.
7581024
*/
7591025
@com.google.api.client.util.Key
7601026
private java.lang.String parent;
7611027

7621028
/** 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}`.
7641032
*/
7651033
public java.lang.String getParent() {
7661034
return parent;
7671035
}
7681036

7691037
/**
7701038
* 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}`.
7721042
*/
7731043
public List setParent(java.lang.String parent) {
7741044
if (!getSuppressPatternChecks()) {
@@ -781,28 +1051,25 @@ public List setParent(java.lang.String parent) {
7811051
}
7821052

7831053
/**
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
7881057
*/
7891058
@com.google.api.client.util.Key
7901059
private java.lang.String filter;
7911060

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
7961064
*/
7971065
public java.lang.String getFilter() {
7981066
return filter;
7991067
}
8001068

8011069
/**
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
8061073
*/
8071074
public List setFilter(java.lang.String filter) {
8081075
this.filter = filter;

0 commit comments

Comments
 (0)