Skip to content

Commit f583bad

Browse files
1 parent e29dcf6 commit f583bad

File tree

6 files changed

+147
-9
lines changed

6 files changed

+147
-9
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-rev20250506-2.0.0</version>
25+
<version>v1-rev20250804-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-rev20250506-2.0.0'
38+
implementation 'com.google.apis:google-api-services-walletobjects:v1-rev20250804-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,16 @@ public final class Image extends com.google.api.client.json.GenericJson {
4444
private java.lang.String kind;
4545

4646
/**
47-
* The URI for the image.
47+
* An ID for an already uploaded private image. Either this or source_uri should be set. Requests
48+
* setting both or neither will be rejected. Please contact support to use private images.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String privateImageId;
53+
54+
/**
55+
* A URI for the image. Either this or private_image_id should be set. Requests setting both or
56+
* neither will be rejected.
4857
* The value may be {@code null}.
4958
*/
5059
@com.google.api.client.util.Key
@@ -85,15 +94,36 @@ public Image setKind(java.lang.String kind) {
8594
}
8695

8796
/**
88-
* The URI for the image.
97+
* An ID for an already uploaded private image. Either this or source_uri should be set. Requests
98+
* setting both or neither will be rejected. Please contact support to use private images.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.String getPrivateImageId() {
102+
return privateImageId;
103+
}
104+
105+
/**
106+
* An ID for an already uploaded private image. Either this or source_uri should be set. Requests
107+
* setting both or neither will be rejected. Please contact support to use private images.
108+
* @param privateImageId privateImageId or {@code null} for none
109+
*/
110+
public Image setPrivateImageId(java.lang.String privateImageId) {
111+
this.privateImageId = privateImageId;
112+
return this;
113+
}
114+
115+
/**
116+
* A URI for the image. Either this or private_image_id should be set. Requests setting both or
117+
* neither will be rejected.
89118
* @return value or {@code null} for none
90119
*/
91120
public ImageUri getSourceUri() {
92121
return sourceUri;
93122
}
94123

95124
/**
96-
* The URI for the image.
125+
* A URI for the image. Either this or private_image_id should be set. Requests setting both or
126+
* neither will be rejected.
97127
* @param sourceUri sourceUri or {@code null} for none
98128
*/
99129
public Image setSourceUri(ImageUri sourceUri) {
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+
* Request to upload a private image to use in a 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 UploadPrivateImageRequest extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public UploadPrivateImageRequest set(String fieldName, Object value) {
34+
return (UploadPrivateImageRequest) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public UploadPrivateImageRequest clone() {
39+
return (UploadPrivateImageRequest) super.clone();
40+
}
41+
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* Response for uploading the private image.
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 UploadPrivateImageResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Unique ID of the uploaded image to be referenced later in Image.private_image_id.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String privateImageId;
38+
39+
/**
40+
* Unique ID of the uploaded image to be referenced later in Image.private_image_id.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getPrivateImageId() {
44+
return privateImageId;
45+
}
46+
47+
/**
48+
* Unique ID of the uploaded image to be referenced later in Image.private_image_id.
49+
* @param privateImageId privateImageId or {@code null} for none
50+
*/
51+
public UploadPrivateImageResponse setPrivateImageId(java.lang.String privateImageId) {
52+
this.privateImageId = privateImageId;
53+
return this;
54+
}
55+
56+
@Override
57+
public UploadPrivateImageResponse set(String fieldName, Object value) {
58+
return (UploadPrivateImageResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public UploadPrivateImageResponse clone() {
63+
return (UploadPrivateImageResponse) super.clone();
64+
}
65+
66+
}

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-rev20250506-2.0.0</version>
12-
<name>Google Wallet API v1-rev20250506-2.0.0</name>
11+
<version>v1-rev20250804-2.0.0</version>
12+
<name>Google Wallet API v1-rev20250804-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-rev20250506-2.0.0</version>
25+
<version>v1-rev20250804-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-rev20250506-2.0.0'
38+
implementation 'com.google.apis:google-api-services-walletobjects:v1-rev20250804-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)