Skip to content

Commit 8528695

Browse files
1 parent e6b2c8f commit 8528695

File tree

5 files changed

+104
-6
lines changed

5 files changed

+104
-6
lines changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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.playintegrity.v1.model;
18+
19+
/**
20+
* Contains information about the device for which the integrity token was generated, e.g. Android
21+
* SDK version.
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 Play Integrity API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class DeviceAttributes extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Android SDK version of the device, as defined in the public Android documentation:
36+
* https://developer.android.com/reference/android/os/Build.VERSION_CODES. It won't be set if a
37+
* necessary requirement was missed. For example DeviceIntegrity did not meet the minimum bar.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.Integer sdkVersion;
42+
43+
/**
44+
* Android SDK version of the device, as defined in the public Android documentation:
45+
* https://developer.android.com/reference/android/os/Build.VERSION_CODES. It won't be set if a
46+
* necessary requirement was missed. For example DeviceIntegrity did not meet the minimum bar.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.lang.Integer getSdkVersion() {
50+
return sdkVersion;
51+
}
52+
53+
/**
54+
* Android SDK version of the device, as defined in the public Android documentation:
55+
* https://developer.android.com/reference/android/os/Build.VERSION_CODES. It won't be set if a
56+
* necessary requirement was missed. For example DeviceIntegrity did not meet the minimum bar.
57+
* @param sdkVersion sdkVersion or {@code null} for none
58+
*/
59+
public DeviceAttributes setSdkVersion(java.lang.Integer sdkVersion) {
60+
this.sdkVersion = sdkVersion;
61+
return this;
62+
}
63+
64+
@Override
65+
public DeviceAttributes set(String fieldName, Object value) {
66+
return (DeviceAttributes) super.set(fieldName, value);
67+
}
68+
69+
@Override
70+
public DeviceAttributes clone() {
71+
return (DeviceAttributes) super.clone();
72+
}
73+
74+
}

clients/google-api-services-playintegrity/v1/2.0.0/com/google/api/services/playintegrity/v1/model/DeviceIntegrity.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class DeviceIntegrity extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Attributes of the device where the integrity token was generated.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private DeviceAttributes deviceAttributes;
39+
3340
/**
3441
* Details about the device recall bits set by the developer.
3542
* The value may be {@code null}.
@@ -51,6 +58,23 @@ public final class DeviceIntegrity extends com.google.api.client.json.GenericJso
5158
@com.google.api.client.util.Key
5259
private RecentDeviceActivity recentDeviceActivity;
5360

61+
/**
62+
* Attributes of the device where the integrity token was generated.
63+
* @return value or {@code null} for none
64+
*/
65+
public DeviceAttributes getDeviceAttributes() {
66+
return deviceAttributes;
67+
}
68+
69+
/**
70+
* Attributes of the device where the integrity token was generated.
71+
* @param deviceAttributes deviceAttributes or {@code null} for none
72+
*/
73+
public DeviceIntegrity setDeviceAttributes(DeviceAttributes deviceAttributes) {
74+
this.deviceAttributes = deviceAttributes;
75+
return this;
76+
}
77+
5478
/**
5579
* Details about the device recall bits set by the developer.
5680
* @return value or {@code null} for none

clients/google-api-services-playintegrity/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-playintegrity</artifactId>
11-
<version>v1-rev20240813-2.0.0</version>
12-
<name>Google Play Integrity API v1-rev20240813-2.0.0</name>
11+
<version>v1-rev20241119-2.0.0</version>
12+
<name>Google Play Integrity API v1-rev20241119-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)