Skip to content

Commit b0e56ac

Browse files
1 parent 600a6be commit b0e56ac

File tree

6 files changed

+347
-6
lines changed

6 files changed

+347
-6
lines changed

clients/google-api-services-walletobjects/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-walletobjects</artifactId>
25-
<version>v1-rev20241203-2.0.0</version>
25+
<version>v1-rev20250204-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-walletobjects:v1-rev20241203-2.0.0'
38+
implementation 'com.google.apis:google-api-services-walletobjects:v1-rev20250204-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-walletobjects/v1/2.0.0/com/google/api/services/walletobjects/Walletobjects.java

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13865,6 +13865,172 @@ public Update set(String parameterName, Object value) {
1386513865

1386613866
}
1386713867

13868+
/**
13869+
* An accessor for creating requests from the WalletobjectsOperations collection.
13870+
*
13871+
* <p>The typical use is:</p>
13872+
* <pre>
13873+
* {@code Walletobjects walletobjects = new Walletobjects(...);}
13874+
* {@code Walletobjects.WalletobjectsOperations.List request = walletobjects.walletobjects().list(parameters ...)}
13875+
* </pre>
13876+
*
13877+
* @return the resource collection
13878+
*/
13879+
public WalletobjectsOperations walletobjects() {
13880+
return new WalletobjectsOperations();
13881+
}
13882+
13883+
/**
13884+
* The "walletobjects" collection of methods.
13885+
*/
13886+
public class WalletobjectsOperations {
13887+
13888+
/**
13889+
* An accessor for creating requests from the V1 collection.
13890+
*
13891+
* <p>The typical use is:</p>
13892+
* <pre>
13893+
* {@code Walletobjects walletobjects = new Walletobjects(...);}
13894+
* {@code Walletobjects.V1.List request = walletobjects.v1().list(parameters ...)}
13895+
* </pre>
13896+
*
13897+
* @return the resource collection
13898+
*/
13899+
public V1 v1() {
13900+
return new V1();
13901+
}
13902+
13903+
/**
13904+
* The "v1" collection of methods.
13905+
*/
13906+
public class V1 {
13907+
13908+
/**
13909+
* An accessor for creating requests from the PrivateContent collection.
13910+
*
13911+
* <p>The typical use is:</p>
13912+
* <pre>
13913+
* {@code Walletobjects walletobjects = new Walletobjects(...);}
13914+
* {@code Walletobjects.PrivateContent.List request = walletobjects.privateContent().list(parameters ...)}
13915+
* </pre>
13916+
*
13917+
* @return the resource collection
13918+
*/
13919+
public PrivateContent privateContent() {
13920+
return new PrivateContent();
13921+
}
13922+
13923+
/**
13924+
* The "privateContent" collection of methods.
13925+
*/
13926+
public class PrivateContent {
13927+
13928+
/**
13929+
* Provide Google with information about awaiting private pass update. This will allow Google to
13930+
* provide the update notification to the device that currently holds this pass.
13931+
*
13932+
* Create a request for the method "privateContent.setPassUpdateNotice".
13933+
*
13934+
* This request holds the parameters needed by the walletobjects server. After setting any optional
13935+
* parameters, call the {@link SetPassUpdateNotice#execute()} method to invoke the remote operation.
13936+
*
13937+
* @param content the {@link com.google.api.services.walletobjects.model.SetPassUpdateNoticeRequest}
13938+
* @return the request
13939+
*/
13940+
public SetPassUpdateNotice setPassUpdateNotice(com.google.api.services.walletobjects.model.SetPassUpdateNoticeRequest content) throws java.io.IOException {
13941+
SetPassUpdateNotice result = new SetPassUpdateNotice(content);
13942+
initialize(result);
13943+
return result;
13944+
}
13945+
13946+
public class SetPassUpdateNotice extends WalletobjectsRequest<com.google.api.services.walletobjects.model.SetPassUpdateNoticeResponse> {
13947+
13948+
private static final String REST_PATH = "walletobjects/v1/privateContent/setPassUpdateNotice";
13949+
13950+
/**
13951+
* Provide Google with information about awaiting private pass update. This will allow Google to
13952+
* provide the update notification to the device that currently holds this pass.
13953+
*
13954+
* Create a request for the method "privateContent.setPassUpdateNotice".
13955+
*
13956+
* This request holds the parameters needed by the the walletobjects server. After setting any
13957+
* optional parameters, call the {@link SetPassUpdateNotice#execute()} method to invoke the remote
13958+
* operation. <p> {@link SetPassUpdateNotice#initialize(com.google.api.client.googleapis.services.
13959+
* AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
13960+
* invoking the constructor. </p>
13961+
*
13962+
* @param content the {@link com.google.api.services.walletobjects.model.SetPassUpdateNoticeRequest}
13963+
* @since 1.13
13964+
*/
13965+
protected SetPassUpdateNotice(com.google.api.services.walletobjects.model.SetPassUpdateNoticeRequest content) {
13966+
super(Walletobjects.this, "POST", REST_PATH, content, com.google.api.services.walletobjects.model.SetPassUpdateNoticeResponse.class);
13967+
}
13968+
13969+
@Override
13970+
public SetPassUpdateNotice set$Xgafv(java.lang.String $Xgafv) {
13971+
return (SetPassUpdateNotice) super.set$Xgafv($Xgafv);
13972+
}
13973+
13974+
@Override
13975+
public SetPassUpdateNotice setAccessToken(java.lang.String accessToken) {
13976+
return (SetPassUpdateNotice) super.setAccessToken(accessToken);
13977+
}
13978+
13979+
@Override
13980+
public SetPassUpdateNotice setAlt(java.lang.String alt) {
13981+
return (SetPassUpdateNotice) super.setAlt(alt);
13982+
}
13983+
13984+
@Override
13985+
public SetPassUpdateNotice setCallback(java.lang.String callback) {
13986+
return (SetPassUpdateNotice) super.setCallback(callback);
13987+
}
13988+
13989+
@Override
13990+
public SetPassUpdateNotice setFields(java.lang.String fields) {
13991+
return (SetPassUpdateNotice) super.setFields(fields);
13992+
}
13993+
13994+
@Override
13995+
public SetPassUpdateNotice setKey(java.lang.String key) {
13996+
return (SetPassUpdateNotice) super.setKey(key);
13997+
}
13998+
13999+
@Override
14000+
public SetPassUpdateNotice setOauthToken(java.lang.String oauthToken) {
14001+
return (SetPassUpdateNotice) super.setOauthToken(oauthToken);
14002+
}
14003+
14004+
@Override
14005+
public SetPassUpdateNotice setPrettyPrint(java.lang.Boolean prettyPrint) {
14006+
return (SetPassUpdateNotice) super.setPrettyPrint(prettyPrint);
14007+
}
14008+
14009+
@Override
14010+
public SetPassUpdateNotice setQuotaUser(java.lang.String quotaUser) {
14011+
return (SetPassUpdateNotice) super.setQuotaUser(quotaUser);
14012+
}
14013+
14014+
@Override
14015+
public SetPassUpdateNotice setUploadType(java.lang.String uploadType) {
14016+
return (SetPassUpdateNotice) super.setUploadType(uploadType);
14017+
}
14018+
14019+
@Override
14020+
public SetPassUpdateNotice setUploadProtocol(java.lang.String uploadProtocol) {
14021+
return (SetPassUpdateNotice) super.setUploadProtocol(uploadProtocol);
14022+
}
14023+
14024+
@Override
14025+
public SetPassUpdateNotice set(String parameterName, Object value) {
14026+
return (SetPassUpdateNotice) super.set(parameterName, value);
14027+
}
14028+
}
14029+
14030+
}
14031+
}
14032+
}
14033+
1386814034
/**
1386914035
* Builder for {@link Walletobjects}.
1387014036
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
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.walletobjects.model;
18+
19+
/**
20+
* Request to send a private pass update notice information to Google, so that devices can then
21+
* fetch the notice prompting the user to update a pass.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Google Wallet API. For a detailed 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 SetPassUpdateNoticeRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. A fully qualified identifier of the pass that the issuer wants to notify the pass
35+
* holder(s) about. Formatted as .
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String externalPassId;
40+
41+
/**
42+
* Required. The issuer endpoint URI the pass holder needs to follow in order to receive an
43+
* updated pass JWT. It can not contain any sensitive information. The endpoint needs to
44+
* authenticate the user before giving the user the updated JWT. Example update URI
45+
* https://someissuer.com/update/passId=someExternalPassId
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String updateUri;
50+
51+
/**
52+
* Required. The JWT signature of the updated pass that the issuer wants to notify Google about.
53+
* Only devices that report a different JWT signature than this JWT signature will receive the
54+
* update notification.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String updatedPassJwtSignature;
59+
60+
/**
61+
* Required. A fully qualified identifier of the pass that the issuer wants to notify the pass
62+
* holder(s) about. Formatted as .
63+
* @return value or {@code null} for none
64+
*/
65+
public java.lang.String getExternalPassId() {
66+
return externalPassId;
67+
}
68+
69+
/**
70+
* Required. A fully qualified identifier of the pass that the issuer wants to notify the pass
71+
* holder(s) about. Formatted as .
72+
* @param externalPassId externalPassId or {@code null} for none
73+
*/
74+
public SetPassUpdateNoticeRequest setExternalPassId(java.lang.String externalPassId) {
75+
this.externalPassId = externalPassId;
76+
return this;
77+
}
78+
79+
/**
80+
* Required. The issuer endpoint URI the pass holder needs to follow in order to receive an
81+
* updated pass JWT. It can not contain any sensitive information. The endpoint needs to
82+
* authenticate the user before giving the user the updated JWT. Example update URI
83+
* https://someissuer.com/update/passId=someExternalPassId
84+
* @return value or {@code null} for none
85+
*/
86+
public java.lang.String getUpdateUri() {
87+
return updateUri;
88+
}
89+
90+
/**
91+
* Required. The issuer endpoint URI the pass holder needs to follow in order to receive an
92+
* updated pass JWT. It can not contain any sensitive information. The endpoint needs to
93+
* authenticate the user before giving the user the updated JWT. Example update URI
94+
* https://someissuer.com/update/passId=someExternalPassId
95+
* @param updateUri updateUri or {@code null} for none
96+
*/
97+
public SetPassUpdateNoticeRequest setUpdateUri(java.lang.String updateUri) {
98+
this.updateUri = updateUri;
99+
return this;
100+
}
101+
102+
/**
103+
* Required. The JWT signature of the updated pass that the issuer wants to notify Google about.
104+
* Only devices that report a different JWT signature than this JWT signature will receive the
105+
* update notification.
106+
* @return value or {@code null} for none
107+
*/
108+
public java.lang.String getUpdatedPassJwtSignature() {
109+
return updatedPassJwtSignature;
110+
}
111+
112+
/**
113+
* Required. The JWT signature of the updated pass that the issuer wants to notify Google about.
114+
* Only devices that report a different JWT signature than this JWT signature will receive the
115+
* update notification.
116+
* @param updatedPassJwtSignature updatedPassJwtSignature or {@code null} for none
117+
*/
118+
public SetPassUpdateNoticeRequest setUpdatedPassJwtSignature(java.lang.String updatedPassJwtSignature) {
119+
this.updatedPassJwtSignature = updatedPassJwtSignature;
120+
return this;
121+
}
122+
123+
@Override
124+
public SetPassUpdateNoticeRequest set(String fieldName, Object value) {
125+
return (SetPassUpdateNoticeRequest) super.set(fieldName, value);
126+
}
127+
128+
@Override
129+
public SetPassUpdateNoticeRequest clone() {
130+
return (SetPassUpdateNoticeRequest) super.clone();
131+
}
132+
133+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.walletobjects.model;
18+
19+
/**
20+
* A response to a request to notify Google of an awaiting update to a private pass.
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 Google Wallet API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class SetPassUpdateNoticeResponse extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public SetPassUpdateNoticeResponse set(String fieldName, Object value) {
34+
return (SetPassUpdateNoticeResponse) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public SetPassUpdateNoticeResponse clone() {
39+
return (SetPassUpdateNoticeResponse) super.clone();
40+
}
41+
42+
}

clients/google-api-services-walletobjects/v1/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-walletobjects</artifactId>
11-
<version>v1-rev20241203-2.0.0</version>
12-
<name>Google Wallet API v1-rev20241203-2.0.0</name>
11+
<version>v1-rev20250204-2.0.0</version>
12+
<name>Google Wallet API v1-rev20250204-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-walletobjects/v1/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-walletobjects</artifactId>
25-
<version>v1-rev20241203-2.0.0</version>
25+
<version>v1-rev20250204-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-walletobjects:v1-rev20241203-2.0.0'
38+
implementation 'com.google.apis:google-api-services-walletobjects:v1-rev20250204-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)