Skip to content

Commit f9d9533

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

10 files changed

Lines changed: 572 additions & 12 deletions

File tree

‎clients/google-api-services-authorizedbuyersmarketplace/v1alpha/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>v1alpha-rev20260828-2.0.0</version>
25+
<version>v1alpha-rev20261020-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:v1alpha-rev20260828-2.0.0'
38+
implementation 'com.google.apis:google-api-services-authorizedbuyersmarketplace:v1alpha-rev20261020-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9225,6 +9225,186 @@ public List set(String parameterName, Object value) {
92259225
return (List) super.set(parameterName, value);
92269226
}
92279227
}
9228+
/**
9229+
* Searches for media planner accounts matching the given DSP seat ID. For curators, this will
9230+
* return all matching media planners that have accepted curator terms.
9231+
*
9232+
* Create a request for the method "mediaPlanners.search".
9233+
*
9234+
* This request holds the parameters needed by the authorizedbuyersmarketplace server. After
9235+
* setting any optional parameters, call the {@link Search#execute()} method to invoke the remote
9236+
* operation.
9237+
*
9238+
* @return the request
9239+
*/
9240+
public Search search() throws java.io.IOException {
9241+
Search result = new Search();
9242+
initialize(result);
9243+
return result;
9244+
}
9245+
9246+
public class Search extends AuthorizedBuyersMarketplaceRequest<com.google.api.services.authorizedbuyersmarketplace.v1alpha.model.SearchMediaPlannersResponse> {
9247+
9248+
private static final String REST_PATH = "v1alpha/mediaPlanners:search";
9249+
9250+
/**
9251+
* Searches for media planner accounts matching the given DSP seat ID. For curators, this will
9252+
* return all matching media planners that have accepted curator terms.
9253+
*
9254+
* Create a request for the method "mediaPlanners.search".
9255+
*
9256+
* This request holds the parameters needed by the the authorizedbuyersmarketplace server. After
9257+
* setting any optional parameters, call the {@link Search#execute()} method to invoke the remote
9258+
* operation. <p> {@link
9259+
* Search#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
9260+
* be called to initialize this instance immediately after invoking the constructor. </p>
9261+
*
9262+
* @since 1.13
9263+
*/
9264+
protected Search() {
9265+
super(AuthorizedBuyersMarketplace.this, "GET", REST_PATH, null, com.google.api.services.authorizedbuyersmarketplace.v1alpha.model.SearchMediaPlannersResponse.class);
9266+
}
9267+
9268+
@Override
9269+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
9270+
return super.executeUsingHead();
9271+
}
9272+
9273+
@Override
9274+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
9275+
return super.buildHttpRequestUsingHead();
9276+
}
9277+
9278+
@Override
9279+
public Search set$Xgafv(java.lang.String $Xgafv) {
9280+
return (Search) super.set$Xgafv($Xgafv);
9281+
}
9282+
9283+
@Override
9284+
public Search setAccessToken(java.lang.String accessToken) {
9285+
return (Search) super.setAccessToken(accessToken);
9286+
}
9287+
9288+
@Override
9289+
public Search setAlt(java.lang.String alt) {
9290+
return (Search) super.setAlt(alt);
9291+
}
9292+
9293+
@Override
9294+
public Search setCallback(java.lang.String callback) {
9295+
return (Search) super.setCallback(callback);
9296+
}
9297+
9298+
@Override
9299+
public Search setFields(java.lang.String fields) {
9300+
return (Search) super.setFields(fields);
9301+
}
9302+
9303+
@Override
9304+
public Search setKey(java.lang.String key) {
9305+
return (Search) super.setKey(key);
9306+
}
9307+
9308+
@Override
9309+
public Search setOauthToken(java.lang.String oauthToken) {
9310+
return (Search) super.setOauthToken(oauthToken);
9311+
}
9312+
9313+
@Override
9314+
public Search setPrettyPrint(java.lang.Boolean prettyPrint) {
9315+
return (Search) super.setPrettyPrint(prettyPrint);
9316+
}
9317+
9318+
@Override
9319+
public Search setQuotaUser(java.lang.String quotaUser) {
9320+
return (Search) super.setQuotaUser(quotaUser);
9321+
}
9322+
9323+
@Override
9324+
public Search setUploadType(java.lang.String uploadType) {
9325+
return (Search) super.setUploadType(uploadType);
9326+
}
9327+
9328+
@Override
9329+
public Search setUploadProtocol(java.lang.String uploadProtocol) {
9330+
return (Search) super.setUploadProtocol(uploadProtocol);
9331+
}
9332+
9333+
/**
9334+
* Required. The DSP seat ID to search for. The DSP seat ID is provided by the media planner.
9335+
*/
9336+
@com.google.api.client.util.Key
9337+
private java.lang.String dspSeatId;
9338+
9339+
/** Required. The DSP seat ID to search for. The DSP seat ID is provided by the media planner.
9340+
*/
9341+
public java.lang.String getDspSeatId() {
9342+
return dspSeatId;
9343+
}
9344+
9345+
/**
9346+
* Required. The DSP seat ID to search for. The DSP seat ID is provided by the media planner.
9347+
*/
9348+
public Search setDspSeatId(java.lang.String dspSeatId) {
9349+
this.dspSeatId = dspSeatId;
9350+
return this;
9351+
}
9352+
9353+
/**
9354+
* Optional. The maximum number of media planners to return. If unspecified, at most 100 media
9355+
* planners will be returned. The maximum value is 500; values above 500 will be coerced to
9356+
* 500.
9357+
*/
9358+
@com.google.api.client.util.Key
9359+
private java.lang.Integer pageSize;
9360+
9361+
/** Optional. The maximum number of media planners to return. If unspecified, at most 100 media
9362+
planners will be returned. The maximum value is 500; values above 500 will be coerced to 500.
9363+
*/
9364+
public java.lang.Integer getPageSize() {
9365+
return pageSize;
9366+
}
9367+
9368+
/**
9369+
* Optional. The maximum number of media planners to return. If unspecified, at most 100 media
9370+
* planners will be returned. The maximum value is 500; values above 500 will be coerced to
9371+
* 500.
9372+
*/
9373+
public Search setPageSize(java.lang.Integer pageSize) {
9374+
this.pageSize = pageSize;
9375+
return this;
9376+
}
9377+
9378+
/**
9379+
* Optional. A token identifying a page of results the server should return. This value is
9380+
* received from a previous `SearchMediaPlanners` call in
9381+
* `SearchMediaPlannersResponse.nextPageToken`.
9382+
*/
9383+
@com.google.api.client.util.Key
9384+
private java.lang.String pageToken;
9385+
9386+
/** Optional. A token identifying a page of results the server should return. This value is received
9387+
from a previous `SearchMediaPlanners` call in `SearchMediaPlannersResponse.nextPageToken`.
9388+
*/
9389+
public java.lang.String getPageToken() {
9390+
return pageToken;
9391+
}
9392+
9393+
/**
9394+
* Optional. A token identifying a page of results the server should return. This value is
9395+
* received from a previous `SearchMediaPlanners` call in
9396+
* `SearchMediaPlannersResponse.nextPageToken`.
9397+
*/
9398+
public Search setPageToken(java.lang.String pageToken) {
9399+
this.pageToken = pageToken;
9400+
return this;
9401+
}
9402+
9403+
@Override
9404+
public Search set(String parameterName, Object value) {
9405+
return (Search) super.set(parameterName, value);
9406+
}
9407+
}
92289408

92299409
}
92309410

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.authorizedbuyersmarketplace.v1alpha.model;
18+
19+
/**
20+
* A response containing media planner account information from a search.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Authorized Buyers Marketplace API. For a detailed
24+
* explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class SearchMediaPlannersResponse extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* List of media planners matching the search criteria.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<MediaPlanner> mediaPlanners;
39+
40+
static {
41+
// hack to force ProGuard to consider MediaPlanner used, since otherwise it would be stripped out
42+
// see https://github.com/google/google-api-java-client/issues/543
43+
com.google.api.client.util.Data.nullOf(MediaPlanner.class);
44+
}
45+
46+
/**
47+
* A token which can be passed to a subsequent call to the `SearchMediaPlanners` method to
48+
* retrieve the next page of results in SearchMediaPlannersRequest.pageToken.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String nextPageToken;
53+
54+
/**
55+
* List of media planners matching the search criteria.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.util.List<MediaPlanner> getMediaPlanners() {
59+
return mediaPlanners;
60+
}
61+
62+
/**
63+
* List of media planners matching the search criteria.
64+
* @param mediaPlanners mediaPlanners or {@code null} for none
65+
*/
66+
public SearchMediaPlannersResponse setMediaPlanners(java.util.List<MediaPlanner> mediaPlanners) {
67+
this.mediaPlanners = mediaPlanners;
68+
return this;
69+
}
70+
71+
/**
72+
* A token which can be passed to a subsequent call to the `SearchMediaPlanners` method to
73+
* retrieve the next page of results in SearchMediaPlannersRequest.pageToken.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getNextPageToken() {
77+
return nextPageToken;
78+
}
79+
80+
/**
81+
* A token which can be passed to a subsequent call to the `SearchMediaPlanners` method to
82+
* retrieve the next page of results in SearchMediaPlannersRequest.pageToken.
83+
* @param nextPageToken nextPageToken or {@code null} for none
84+
*/
85+
public SearchMediaPlannersResponse setNextPageToken(java.lang.String nextPageToken) {
86+
this.nextPageToken = nextPageToken;
87+
return this;
88+
}
89+
90+
@Override
91+
public SearchMediaPlannersResponse set(String fieldName, Object value) {
92+
return (SearchMediaPlannersResponse) super.set(fieldName, value);
93+
}
94+
95+
@Override
96+
public SearchMediaPlannersResponse clone() {
97+
return (SearchMediaPlannersResponse) super.clone();
98+
}
99+
100+
}

‎clients/google-api-services-authorizedbuyersmarketplace/v1alpha/2.0.0/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-authorizedbuyersmarketplace</artifactId>
11-
<version>v1alpha-rev20260828-2.0.0</version>
12-
<name>Authorized Buyers Marketplace API v1alpha-rev20260828-2.0.0</name>
11+
<version>v1alpha-rev20261020-2.0.0</version>
12+
<name>Authorized Buyers Marketplace API v1alpha-rev20261020-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

‎clients/google-api-services-authorizedbuyersmarketplace/v1alpha/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>v1alpha-rev20260828-2.0.0</version>
25+
<version>v1alpha-rev20261020-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:v1alpha-rev20260828-2.0.0'
38+
implementation 'com.google.apis:google-api-services-authorizedbuyersmarketplace:v1alpha-rev20261020-2.0.0'
3939
}
4040
```
4141

‎clients/google-api-services-authorizedbuyersmarketplace/v1beta/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>v1beta-rev20260828-2.0.0</version>
25+
<version>v1beta-rev20261020-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:v1beta-rev20260828-2.0.0'
38+
implementation 'com.google.apis:google-api-services-authorizedbuyersmarketplace:v1beta-rev20261020-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)