Skip to content

Commit f3288b1

Browse files
1 parent 4c9db4d commit f3288b1

File tree

8 files changed

+365
-12
lines changed

8 files changed

+365
-12
lines changed

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

clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/ChromeManagement.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2721,15 +2721,15 @@ public CountInstalledApps setCustomer(java.lang.String customer) {
27212721
* Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations
27222722
* are not supported in this filter. Supported filter fields: * app_name * app_type *
27232723
* install_type * number_of_permissions * total_install_count * latest_profile_active_date *
2724-
* permission_name * app_id * manifest_versions
2724+
* permission_name * app_id * manifest_versions * risk_score
27252725
*/
27262726
@com.google.api.client.util.Key
27272727
private java.lang.String filter;
27282728

27292729
/** Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not
27302730
supported in this filter. Supported filter fields: * app_name * app_type * install_type *
27312731
number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id
2732-
* manifest_versions
2732+
* manifest_versions * risk_score
27332733
*/
27342734
public java.lang.String getFilter() {
27352735
return filter;
@@ -2739,7 +2739,7 @@ public java.lang.String getFilter() {
27392739
* Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations
27402740
* are not supported in this filter. Supported filter fields: * app_name * app_type *
27412741
* install_type * number_of_permissions * total_install_count * latest_profile_active_date *
2742-
* permission_name * app_id * manifest_versions
2742+
* permission_name * app_id * manifest_versions * risk_score
27432743
*/
27442744
public CountInstalledApps setFilter(java.lang.String filter) {
27452745
this.filter = filter;
@@ -2748,21 +2748,23 @@ public CountInstalledApps setFilter(java.lang.String filter) {
27482748

27492749
/**
27502750
* Field used to order results. Supported order by fields: * app_name * app_type *
2751-
* install_type * number_of_permissions * total_install_count * app_id * manifest_versions
2751+
* install_type * number_of_permissions * total_install_count * app_id * manifest_versions *
2752+
* risk_score
27522753
*/
27532754
@com.google.api.client.util.Key
27542755
private java.lang.String orderBy;
27552756

27562757
/** Field used to order results. Supported order by fields: * app_name * app_type * install_type *
2757-
number_of_permissions * total_install_count * app_id * manifest_versions
2758+
number_of_permissions * total_install_count * app_id * manifest_versions * risk_score
27582759
*/
27592760
public java.lang.String getOrderBy() {
27602761
return orderBy;
27612762
}
27622763

27632764
/**
27642765
* Field used to order results. Supported order by fields: * app_name * app_type *
2765-
* install_type * number_of_permissions * total_install_count * app_id * manifest_versions
2766+
* install_type * number_of_permissions * total_install_count * app_id * manifest_versions *
2767+
* risk_score
27662768
*/
27672769
public CountInstalledApps setOrderBy(java.lang.String orderBy) {
27682770
this.orderBy = orderBy;

clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1InstalledApp.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ public final class GoogleChromeManagementV1InstalledApp extends com.google.api.c
109109
@com.google.api.client.util.Key
110110
private java.util.List<java.lang.String> permissions;
111111

112+
/**
113+
* Output only. If available, the risk assessment data about this extension.
114+
* The value may be {@code null}.
115+
*/
116+
@com.google.api.client.util.Key
117+
private GoogleChromeManagementV1RiskAssessmentData riskAssessment;
118+
112119
/**
113120
* Output only. Unique identifier of the app. For Chrome apps and extensions, the 32-character id
114121
* (e.g. ehoadneljpdggcbbknedodolkkjodefl). For Android apps, the package name (e.g.
@@ -300,6 +307,23 @@ public GoogleChromeManagementV1InstalledApp setPermissions(java.util.List<java.l
300307
return this;
301308
}
302309

310+
/**
311+
* Output only. If available, the risk assessment data about this extension.
312+
* @return value or {@code null} for none
313+
*/
314+
public GoogleChromeManagementV1RiskAssessmentData getRiskAssessment() {
315+
return riskAssessment;
316+
}
317+
318+
/**
319+
* Output only. If available, the risk assessment data about this extension.
320+
* @param riskAssessment riskAssessment or {@code null} for none
321+
*/
322+
public GoogleChromeManagementV1InstalledApp setRiskAssessment(GoogleChromeManagementV1RiskAssessmentData riskAssessment) {
323+
this.riskAssessment = riskAssessment;
324+
return this;
325+
}
326+
303327
@Override
304328
public GoogleChromeManagementV1InstalledApp set(String fieldName, Object value) {
305329
return (GoogleChromeManagementV1InstalledApp) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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.chromemanagement.v1.model;
18+
19+
/**
20+
* Risk assessment for a Chrome extension.
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 Chrome Management API. For a detailed explanation
24+
* 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 GoogleChromeManagementV1RiskAssessment extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Risk assessment for the extension. Currently, this is a numerical value, and higher values
35+
* denote higher risk.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String assessment;
40+
41+
/**
42+
* A URL that a user can navigate to for more information about the risk assessment.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String detailsUrl;
47+
48+
/**
49+
* The version of the extension that this assessment applies to.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String version;
54+
55+
/**
56+
* Risk assessment for the extension. Currently, this is a numerical value, and higher values
57+
* denote higher risk.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getAssessment() {
61+
return assessment;
62+
}
63+
64+
/**
65+
* Risk assessment for the extension. Currently, this is a numerical value, and higher values
66+
* denote higher risk.
67+
* @param assessment assessment or {@code null} for none
68+
*/
69+
public GoogleChromeManagementV1RiskAssessment setAssessment(java.lang.String assessment) {
70+
this.assessment = assessment;
71+
return this;
72+
}
73+
74+
/**
75+
* A URL that a user can navigate to for more information about the risk assessment.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getDetailsUrl() {
79+
return detailsUrl;
80+
}
81+
82+
/**
83+
* A URL that a user can navigate to for more information about the risk assessment.
84+
* @param detailsUrl detailsUrl or {@code null} for none
85+
*/
86+
public GoogleChromeManagementV1RiskAssessment setDetailsUrl(java.lang.String detailsUrl) {
87+
this.detailsUrl = detailsUrl;
88+
return this;
89+
}
90+
91+
/**
92+
* The version of the extension that this assessment applies to.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.String getVersion() {
96+
return version;
97+
}
98+
99+
/**
100+
* The version of the extension that this assessment applies to.
101+
* @param version version or {@code null} for none
102+
*/
103+
public GoogleChromeManagementV1RiskAssessment setVersion(java.lang.String version) {
104+
this.version = version;
105+
return this;
106+
}
107+
108+
@Override
109+
public GoogleChromeManagementV1RiskAssessment set(String fieldName, Object value) {
110+
return (GoogleChromeManagementV1RiskAssessment) super.set(fieldName, value);
111+
}
112+
113+
@Override
114+
public GoogleChromeManagementV1RiskAssessment clone() {
115+
return (GoogleChromeManagementV1RiskAssessment) super.clone();
116+
}
117+
118+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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.chromemanagement.v1.model;
18+
19+
/**
20+
* Risk assessment data about an extension/app.
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 Chrome Management API. For a detailed explanation
24+
* 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 GoogleChromeManagementV1RiskAssessmentData extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Individual risk assessments.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<GoogleChromeManagementV1RiskAssessmentEntry> entries;
39+
40+
/**
41+
* Overall assessed risk level across all entries. This will be the highest risk level from all
42+
* entries.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String overallRiskLevel;
47+
48+
/**
49+
* Individual risk assessments.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.util.List<GoogleChromeManagementV1RiskAssessmentEntry> getEntries() {
53+
return entries;
54+
}
55+
56+
/**
57+
* Individual risk assessments.
58+
* @param entries entries or {@code null} for none
59+
*/
60+
public GoogleChromeManagementV1RiskAssessmentData setEntries(java.util.List<GoogleChromeManagementV1RiskAssessmentEntry> entries) {
61+
this.entries = entries;
62+
return this;
63+
}
64+
65+
/**
66+
* Overall assessed risk level across all entries. This will be the highest risk level from all
67+
* entries.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getOverallRiskLevel() {
71+
return overallRiskLevel;
72+
}
73+
74+
/**
75+
* Overall assessed risk level across all entries. This will be the highest risk level from all
76+
* entries.
77+
* @param overallRiskLevel overallRiskLevel or {@code null} for none
78+
*/
79+
public GoogleChromeManagementV1RiskAssessmentData setOverallRiskLevel(java.lang.String overallRiskLevel) {
80+
this.overallRiskLevel = overallRiskLevel;
81+
return this;
82+
}
83+
84+
@Override
85+
public GoogleChromeManagementV1RiskAssessmentData set(String fieldName, Object value) {
86+
return (GoogleChromeManagementV1RiskAssessmentData) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public GoogleChromeManagementV1RiskAssessmentData clone() {
91+
return (GoogleChromeManagementV1RiskAssessmentData) super.clone();
92+
}
93+
94+
}

0 commit comments

Comments
 (0)