Skip to content

Commit 9a093b6

Browse files
1 parent 7b5f04f commit 9a093b6

4 files changed

Lines changed: 58 additions & 6 deletions

File tree

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

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

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,13 @@ public final class Media extends com.google.api.client.json.GenericJson {
254254
@com.google.api.client.util.Key
255255
private java.lang.String sha256Hash;
256256

257+
/**
258+
* Scotty-provided SHA512 hash for an upload.
259+
* The value may be {@code null}.
260+
*/
261+
@com.google.api.client.util.Key
262+
private java.lang.String sha512Hash;
263+
257264
/**
258265
* Time at which the media data was last updated, in milliseconds since UNIX epoch
259266
* The value may be {@code null}.
@@ -1026,6 +1033,51 @@ public Media encodeSha256Hash(byte[] sha256Hash) {
10261033
return this;
10271034
}
10281035

1036+
/**
1037+
* Scotty-provided SHA512 hash for an upload.
1038+
* @see #decodeSha512Hash()
1039+
* @return value or {@code null} for none
1040+
*/
1041+
public java.lang.String getSha512Hash() {
1042+
return sha512Hash;
1043+
}
1044+
1045+
/**
1046+
* Scotty-provided SHA512 hash for an upload.
1047+
* @see #getSha512Hash()
1048+
* @return Base64 decoded value or {@code null} for none
1049+
*
1050+
* @since 1.14
1051+
*/
1052+
public byte[] decodeSha512Hash() {
1053+
return com.google.api.client.util.Base64.decodeBase64(sha512Hash);
1054+
}
1055+
1056+
/**
1057+
* Scotty-provided SHA512 hash for an upload.
1058+
* @see #encodeSha512Hash()
1059+
* @param sha512Hash sha512Hash or {@code null} for none
1060+
*/
1061+
public Media setSha512Hash(java.lang.String sha512Hash) {
1062+
this.sha512Hash = sha512Hash;
1063+
return this;
1064+
}
1065+
1066+
/**
1067+
* Scotty-provided SHA512 hash for an upload.
1068+
* @see #setSha512Hash()
1069+
*
1070+
* <p>
1071+
* The value is encoded Base64 or {@code null} for none.
1072+
* </p>
1073+
*
1074+
* @since 1.14
1075+
*/
1076+
public Media encodeSha512Hash(byte[] sha512Hash) {
1077+
this.sha512Hash = com.google.api.client.util.Base64.encodeBase64URLSafeString(sha512Hash);
1078+
return this;
1079+
}
1080+
10291081
/**
10301082
* Time at which the media data was last updated, in milliseconds since UNIX epoch
10311083
* @return value or {@code null} for none

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

0 commit comments

Comments
 (0)