Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-chromemanagement</artifactId>
<version>v1-rev20260601-2.0.0</version>
<version>v1-rev20260611-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-chromemanagement:v1-rev20260601-2.0.0'
implementation 'com.google.apis:google-api-services-chromemanagement:v1-rev20260611-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ public class ChromeManagementScopes {
/** See reports about devices and Chrome browsers managed within your organization. */
public static final String CHROME_MANAGEMENT_REPORTS_READONLY = "https://www.googleapis.com/auth/chrome.management.reports.readonly";

/** Turn Chrome Security Insights on and off and view the data it generates. */
public static final String CHROME_MANAGEMENT_SECURITYINSIGHTS = "https://www.googleapis.com/auth/chrome.management.securityinsights";

/** See Chrome Security Insights reports. */
public static final String CHROME_MANAGEMENT_SECURITYINSIGHTS_READONLY = "https://www.googleapis.com/auth/chrome.management.securityinsights.readonly";

/** See basic device and telemetry information collected from ChromeOS devices or users managed within your organization. */
public static final String CHROME_MANAGEMENT_TELEMETRY_READONLY = "https://www.googleapis.com/auth/chrome.management.telemetry.readonly";

Expand All @@ -49,6 +55,8 @@ public static java.util.Set<String> all() {
set.add(CHROME_MANAGEMENT_PROFILES);
set.add(CHROME_MANAGEMENT_PROFILES_READONLY);
set.add(CHROME_MANAGEMENT_REPORTS_READONLY);
set.add(CHROME_MANAGEMENT_SECURITYINSIGHTS);
set.add(CHROME_MANAGEMENT_SECURITYINSIGHTS_READONLY);
set.add(CHROME_MANAGEMENT_TELEMETRY_READONLY);
return java.util.Collections.unmodifiableSet(set);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.chromemanagement.v1.model;

/**
* A content transfers summary for a given breakdown dimension.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Chrome Management API. For a detailed explanation
* see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleChromeManagementVersionsV1ContentTransfersBreakdown extends com.google.api.client.json.GenericJson {

/**
* The content category of the content transfers.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String contentCategory;

/**
* The event domain of the content transfers.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String eventDomain;

/**
* The summary of content transfers for the breakdown dimension.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleChromeManagementVersionsV1ContentTransfersSummary summary;

/**
* The user that transferred the content.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String user;

/**
* The content category of the content transfers.
* @return value or {@code null} for none
*/
public java.lang.String getContentCategory() {
return contentCategory;
}

/**
* The content category of the content transfers.
* @param contentCategory contentCategory or {@code null} for none
*/
public GoogleChromeManagementVersionsV1ContentTransfersBreakdown setContentCategory(java.lang.String contentCategory) {
this.contentCategory = contentCategory;
return this;
}

/**
* The event domain of the content transfers.
* @return value or {@code null} for none
*/
public java.lang.String getEventDomain() {
return eventDomain;
}

/**
* The event domain of the content transfers.
* @param eventDomain eventDomain or {@code null} for none
*/
public GoogleChromeManagementVersionsV1ContentTransfersBreakdown setEventDomain(java.lang.String eventDomain) {
this.eventDomain = eventDomain;
return this;
}

/**
* The summary of content transfers for the breakdown dimension.
* @return value or {@code null} for none
*/
public GoogleChromeManagementVersionsV1ContentTransfersSummary getSummary() {
return summary;
}

/**
* The summary of content transfers for the breakdown dimension.
* @param summary summary or {@code null} for none
*/
public GoogleChromeManagementVersionsV1ContentTransfersBreakdown setSummary(GoogleChromeManagementVersionsV1ContentTransfersSummary summary) {
this.summary = summary;
return this;
}

/**
* The user that transferred the content.
* @return value or {@code null} for none
*/
public java.lang.String getUser() {
return user;
}

/**
* The user that transferred the content.
* @param user user or {@code null} for none
*/
public GoogleChromeManagementVersionsV1ContentTransfersBreakdown setUser(java.lang.String user) {
this.user = user;
return this;
}

@Override
public GoogleChromeManagementVersionsV1ContentTransfersBreakdown set(String fieldName, Object value) {
return (GoogleChromeManagementVersionsV1ContentTransfersBreakdown) super.set(fieldName, value);
}

@Override
public GoogleChromeManagementVersionsV1ContentTransfersBreakdown clone() {
return (GoogleChromeManagementVersionsV1ContentTransfersBreakdown) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.chromemanagement.v1.model;

/**
* Summary of content transfers for a given metric.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Chrome Management API. For a detailed explanation
* see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleChromeManagementVersionsV1ContentTransfersSummary extends com.google.api.client.json.GenericJson {

/**
* The count of the content transfers metric.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long count;

/**
* The type of content transfers metric.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String metric;

/**
* The count of the content transfers metric.
* @return value or {@code null} for none
*/
public java.lang.Long getCount() {
return count;
}

/**
* The count of the content transfers metric.
* @param count count or {@code null} for none
*/
public GoogleChromeManagementVersionsV1ContentTransfersSummary setCount(java.lang.Long count) {
this.count = count;
return this;
}

/**
* The type of content transfers metric.
* @return value or {@code null} for none
*/
public java.lang.String getMetric() {
return metric;
}

/**
* The type of content transfers metric.
* @param metric metric or {@code null} for none
*/
public GoogleChromeManagementVersionsV1ContentTransfersSummary setMetric(java.lang.String metric) {
this.metric = metric;
return this;
}

@Override
public GoogleChromeManagementVersionsV1ContentTransfersSummary set(String fieldName, Object value) {
return (GoogleChromeManagementVersionsV1ContentTransfersSummary) super.set(fieldName, value);
}

@Override
public GoogleChromeManagementVersionsV1ContentTransfersSummary clone() {
return (GoogleChromeManagementVersionsV1ContentTransfersSummary) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.chromemanagement.v1.model;

/**
* Response message for QueryContentTransfersBreakdowns.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Chrome Management API. For a detailed explanation
* see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse extends com.google.api.client.json.GenericJson {

/**
* The content transfer breakdowns from the specified insight.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleChromeManagementVersionsV1ContentTransfersBreakdown> contentTransfersBreakdowns;

static {
// hack to force ProGuard to consider GoogleChromeManagementVersionsV1ContentTransfersBreakdown used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(GoogleChromeManagementVersionsV1ContentTransfersBreakdown.class);
}

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextPageToken;

/**
* The content transfer breakdowns from the specified insight.
* @return value or {@code null} for none
*/
public java.util.List<GoogleChromeManagementVersionsV1ContentTransfersBreakdown> getContentTransfersBreakdowns() {
return contentTransfersBreakdowns;
}

/**
* The content transfer breakdowns from the specified insight.
* @param contentTransfersBreakdowns contentTransfersBreakdowns or {@code null} for none
*/
public GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse setContentTransfersBreakdowns(java.util.List<GoogleChromeManagementVersionsV1ContentTransfersBreakdown> contentTransfersBreakdowns) {
this.contentTransfersBreakdowns = contentTransfersBreakdowns;
return this;
}

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse setNextPageToken(java.lang.String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}

@Override
public GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse set(String fieldName, Object value) {
return (GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse) super.set(fieldName, value);
}

@Override
public GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse clone() {
return (GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse) super.clone();
}

}
Loading
Loading