From 339261eb487122461946395b92c8514ca565fc3d Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 9 Sep 2026 18:12:57 -0700 Subject: [PATCH] chore: regenerate chromemanagement client --- .../v1/2.0.0/README.md | 4 +- .../chromemanagement/v1/ChromeManagement.java | 795 ++++++++++++++++++ ...gementV1FindSaasUsageBrowsersResponse.java | 115 +++ ...gementV1FindSaasUsageProfilesResponse.java | 118 +++ ...agementV1FindSaasUsageReportsResponse.java | 118 +++ ...gleChromeManagementV1SaasUsageBrowser.java | 211 +++++ ...omeManagementV1SaasUsageProfileReport.java | 211 +++++ ...ogleChromeManagementV1SaasUsageReport.java | 403 +++++++++ ...SaasUsageReportContentTransferDetails.java | 67 ++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- 11 files changed, 2044 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageBrowsersResponse.java create mode 100644 clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageProfilesResponse.java create mode 100644 clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageReportsResponse.java create mode 100644 clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageBrowser.java create mode 100644 clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageProfileReport.java create mode 100644 clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageReport.java create mode 100644 clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageReportContentTransferDetails.java diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/README.md b/clients/google-api-services-chromemanagement/v1/2.0.0/README.md index 3e7f1bc68d0..1b703b2a5ca 100644 --- a/clients/google-api-services-chromemanagement/v1/2.0.0/README.md +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-chromemanagement - v1-rev20260715-2.0.0 + v1-rev20260907-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-chromemanagement:v1-rev20260715-2.0.0' + implementation 'com.google.apis:google-api-services-chromemanagement:v1-rev20260907-2.0.0' } ``` diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/ChromeManagement.java b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/ChromeManagement.java index a9c9e66a6a9..99cd76216de 100644 --- a/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/ChromeManagement.java +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/ChromeManagement.java @@ -9217,6 +9217,801 @@ public FindInstalledAppProfiles set(String parameterName, Object value) { return (FindInstalledAppProfiles) super.set(parameterName, value); } } + /** + * Find SaaS usage reports of a customer based on the given search and sorting criteria. + * + * Create a request for the method "reports.findSaasUsage". + * + * This request holds the parameters needed by the chromemanagement server. After setting any + * optional parameters, call the {@link FindSaasUsage#execute()} method to invoke the remote + * operation. + * + * @param customer Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + * @return the request + */ + public FindSaasUsage findSaasUsage(java.lang.String customer) throws java.io.IOException { + FindSaasUsage result = new FindSaasUsage(customer); + initialize(result); + return result; + } + + public class FindSaasUsage extends ChromeManagementRequest { + + private static final String REST_PATH = "v1/{+customer}/reports:findSaasUsage"; + + private final java.util.regex.Pattern CUSTOMER_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+$"); + + /** + * Find SaaS usage reports of a customer based on the given search and sorting criteria. + * + * Create a request for the method "reports.findSaasUsage". + * + * This request holds the parameters needed by the the chromemanagement server. After setting any + * optional parameters, call the {@link FindSaasUsage#execute()} method to invoke the remote + * operation.

{@link FindSaasUsage#initialize(com.google.api.client.googleapis.services.Abstra + * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking + * the constructor.

+ * + * @param customer Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + * @since 1.13 + */ + protected FindSaasUsage(java.lang.String customer) { + super(ChromeManagement.this, "GET", REST_PATH, null, com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementV1FindSaasUsageReportsResponse.class); + this.customer = com.google.api.client.util.Preconditions.checkNotNull(customer, "Required parameter customer must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_PATTERN.matcher(customer).matches(), + "Parameter customer must conform to the pattern " + + "^customers/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public FindSaasUsage set$Xgafv(java.lang.String $Xgafv) { + return (FindSaasUsage) super.set$Xgafv($Xgafv); + } + + @Override + public FindSaasUsage setAccessToken(java.lang.String accessToken) { + return (FindSaasUsage) super.setAccessToken(accessToken); + } + + @Override + public FindSaasUsage setAlt(java.lang.String alt) { + return (FindSaasUsage) super.setAlt(alt); + } + + @Override + public FindSaasUsage setCallback(java.lang.String callback) { + return (FindSaasUsage) super.setCallback(callback); + } + + @Override + public FindSaasUsage setFields(java.lang.String fields) { + return (FindSaasUsage) super.setFields(fields); + } + + @Override + public FindSaasUsage setKey(java.lang.String key) { + return (FindSaasUsage) super.setKey(key); + } + + @Override + public FindSaasUsage setOauthToken(java.lang.String oauthToken) { + return (FindSaasUsage) super.setOauthToken(oauthToken); + } + + @Override + public FindSaasUsage setPrettyPrint(java.lang.Boolean prettyPrint) { + return (FindSaasUsage) super.setPrettyPrint(prettyPrint); + } + + @Override + public FindSaasUsage setQuotaUser(java.lang.String quotaUser) { + return (FindSaasUsage) super.setQuotaUser(quotaUser); + } + + @Override + public FindSaasUsage setUploadType(java.lang.String uploadType) { + return (FindSaasUsage) super.setUploadType(uploadType); + } + + @Override + public FindSaasUsage setUploadProtocol(java.lang.String uploadProtocol) { + return (FindSaasUsage) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + */ + public FindSaasUsage setCustomer(java.lang.String customer) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_PATTERN.matcher(customer).matches(), + "Parameter customer must conform to the pattern " + + "^customers/[^/]+$"); + } + this.customer = customer; + return this; + } + + /** + * Optional. The filter expression to narrow down the SaaS reports to return. Supported + * operators are: =, !=, <, <=, >, >=, :. Logical operators AND, OR, and NOT are supported. + * Supported fields: * app * org_unit_id * first_navigation_time * last_navigation_time * + * category * organization * founded_year * headquarters * primary_domain * domains * + * encryption_protocols * visits_count * distinct_users_count * distinct_browsers_count * + * content_transfer_count Example: `(first_navigation_time < "2026-01-31T00:00:00Z" AND + * last_navigation_time > "2026-01-01T00:00:00Z") AND visits_count > 100` + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. The filter expression to narrow down the SaaS reports to return. Supported operators are: + =, !=, <, <=, >, >=, :. Logical operators AND, OR, and NOT are supported. Supported fields: * app * + org_unit_id * first_navigation_time * last_navigation_time * category * organization * founded_year + * headquarters * primary_domain * domains * encryption_protocols * visits_count * + distinct_users_count * distinct_browsers_count * content_transfer_count Example: + `(first_navigation_time < "2026-01-31T00:00:00Z" AND last_navigation_time > "2026-01-01T00:00:00Z") + AND visits_count > 100` + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. The filter expression to narrow down the SaaS reports to return. Supported + * operators are: =, !=, <, <=, >, >=, :. Logical operators AND, OR, and NOT are supported. + * Supported fields: * app * org_unit_id * first_navigation_time * last_navigation_time * + * category * organization * founded_year * headquarters * primary_domain * domains * + * encryption_protocols * visits_count * distinct_users_count * distinct_browsers_count * + * content_transfer_count Example: `(first_navigation_time < "2026-01-31T00:00:00Z" AND + * last_navigation_time > "2026-01-01T00:00:00Z") AND visits_count > 100` + */ + public FindSaasUsage setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. The order by expression to sort the SaaS reports. Supported fields: * app * + * category * organization * founded_year * headquarters * primary_domain * visits_count * + * distinct_users_count * distinct_browsers_count * content_transfer_count Default order is + * ascending. To specify descending order for a field, append " desc". Example: + * `visits_count desc` + */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. The order by expression to sort the SaaS reports. Supported fields: * app * category * + organization * founded_year * headquarters * primary_domain * visits_count * distinct_users_count * + distinct_browsers_count * content_transfer_count Default order is ascending. To specify descending + order for a field, append " desc". Example: `visits_count desc` + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** + * Optional. The order by expression to sort the SaaS reports. Supported fields: * app * + * category * organization * founded_year * headquarters * primary_domain * visits_count * + * distinct_users_count * distinct_browsers_count * content_transfer_count Default order is + * ascending. To specify descending order for a field, append " desc". Example: + * `visits_count desc` + */ + public FindSaasUsage setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. The maximum number of reports to return. The service may return fewer than this + * value. If unspecified, at most 100 reports will be returned. The maximum value is 200; + * values above 200 will be coerced to 200. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of reports to return. The service may return fewer than this value. If + unspecified, at most 100 reports will be returned. The maximum value is 200; values above 200 will + be coerced to 200. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of reports to return. The service may return fewer than this + * value. If unspecified, at most 100 reports will be returned. The maximum value is 200; + * values above 200 will be coerced to 200. + */ + public FindSaasUsage setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `FindSaasUsageReports` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters provided to + * `FindSaasUsageReports` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `FindSaasUsageReports` call. Provide this to + retrieve the subsequent page. When paginating, all other parameters provided to + `FindSaasUsageReports` must match the call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `FindSaasUsageReports` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters provided to + * `FindSaasUsageReports` must match the call that provided the page token. + */ + public FindSaasUsage setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public FindSaasUsage set(String parameterName, Object value) { + return (FindSaasUsage) super.set(parameterName, value); + } + } + /** + * Find SaaS usage reports of a customer grouped by browsers based on the given search and sorting + * criteria. + * + * Create a request for the method "reports.findSaasUsageBrowsers". + * + * This request holds the parameters needed by the chromemanagement server. After setting any + * optional parameters, call the {@link FindSaasUsageBrowsers#execute()} method to invoke the remote + * operation. + * + * @param customer Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + * @return the request + */ + public FindSaasUsageBrowsers findSaasUsageBrowsers(java.lang.String customer) throws java.io.IOException { + FindSaasUsageBrowsers result = new FindSaasUsageBrowsers(customer); + initialize(result); + return result; + } + + public class FindSaasUsageBrowsers extends ChromeManagementRequest { + + private static final String REST_PATH = "v1/{+customer}/reports:findSaasUsageBrowsers"; + + private final java.util.regex.Pattern CUSTOMER_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+$"); + + /** + * Find SaaS usage reports of a customer grouped by browsers based on the given search and sorting + * criteria. + * + * Create a request for the method "reports.findSaasUsageBrowsers". + * + * This request holds the parameters needed by the the chromemanagement server. After setting any + * optional parameters, call the {@link FindSaasUsageBrowsers#execute()} method to invoke the + * remote operation.

{@link FindSaasUsageBrowsers#initialize(com.google.api.client.googleapis. + * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customer Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + * @since 1.13 + */ + protected FindSaasUsageBrowsers(java.lang.String customer) { + super(ChromeManagement.this, "GET", REST_PATH, null, com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementV1FindSaasUsageBrowsersResponse.class); + this.customer = com.google.api.client.util.Preconditions.checkNotNull(customer, "Required parameter customer must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_PATTERN.matcher(customer).matches(), + "Parameter customer must conform to the pattern " + + "^customers/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public FindSaasUsageBrowsers set$Xgafv(java.lang.String $Xgafv) { + return (FindSaasUsageBrowsers) super.set$Xgafv($Xgafv); + } + + @Override + public FindSaasUsageBrowsers setAccessToken(java.lang.String accessToken) { + return (FindSaasUsageBrowsers) super.setAccessToken(accessToken); + } + + @Override + public FindSaasUsageBrowsers setAlt(java.lang.String alt) { + return (FindSaasUsageBrowsers) super.setAlt(alt); + } + + @Override + public FindSaasUsageBrowsers setCallback(java.lang.String callback) { + return (FindSaasUsageBrowsers) super.setCallback(callback); + } + + @Override + public FindSaasUsageBrowsers setFields(java.lang.String fields) { + return (FindSaasUsageBrowsers) super.setFields(fields); + } + + @Override + public FindSaasUsageBrowsers setKey(java.lang.String key) { + return (FindSaasUsageBrowsers) super.setKey(key); + } + + @Override + public FindSaasUsageBrowsers setOauthToken(java.lang.String oauthToken) { + return (FindSaasUsageBrowsers) super.setOauthToken(oauthToken); + } + + @Override + public FindSaasUsageBrowsers setPrettyPrint(java.lang.Boolean prettyPrint) { + return (FindSaasUsageBrowsers) super.setPrettyPrint(prettyPrint); + } + + @Override + public FindSaasUsageBrowsers setQuotaUser(java.lang.String quotaUser) { + return (FindSaasUsageBrowsers) super.setQuotaUser(quotaUser); + } + + @Override + public FindSaasUsageBrowsers setUploadType(java.lang.String uploadType) { + return (FindSaasUsageBrowsers) super.setUploadType(uploadType); + } + + @Override + public FindSaasUsageBrowsers setUploadProtocol(java.lang.String uploadProtocol) { + return (FindSaasUsageBrowsers) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + */ + public FindSaasUsageBrowsers setCustomer(java.lang.String customer) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_PATTERN.matcher(customer).matches(), + "Parameter customer must conform to the pattern " + + "^customers/[^/]+$"); + } + this.customer = customer; + return this; + } + + /** Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`). */ + @com.google.api.client.util.Key + private java.lang.String app; + + /** Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`). + */ + public java.lang.String getApp() { + return app; + } + + /** Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`). */ + public FindSaasUsageBrowsers setApp(java.lang.String app) { + this.app = app; + return this; + } + + /** + * Optional. The filter expression to narrow down the SaaS browser reports to return. + * Supported operators are: =, !=, <, <=, >, >=, :. Logical operators AND, OR, and NOT are + * supported. Supported fields: * machine * os_platform * first_navigation_time * + * last_navigation_time * org_unit_id + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. The filter expression to narrow down the SaaS browser reports to return. Supported + operators are: =, !=, <, <=, >, >=, :. Logical operators AND, OR, and NOT are supported. Supported + fields: * machine * os_platform * first_navigation_time * last_navigation_time * org_unit_id + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. The filter expression to narrow down the SaaS browser reports to return. + * Supported operators are: =, !=, <, <=, >, >=, :. Logical operators AND, OR, and NOT are + * supported. Supported fields: * machine * os_platform * first_navigation_time * + * last_navigation_time * org_unit_id + */ + public FindSaasUsageBrowsers setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. The order by expression to sort the SaaS browser reports. Supported fields: * + * machine * os_platform * first_navigation_time * last_navigation_time Default order is + * ascending. To specify descending order for a field, append " desc". + */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. The order by expression to sort the SaaS browser reports. Supported fields: * machine * + os_platform * first_navigation_time * last_navigation_time Default order is ascending. To specify + descending order for a field, append " desc". + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** + * Optional. The order by expression to sort the SaaS browser reports. Supported fields: * + * machine * os_platform * first_navigation_time * last_navigation_time Default order is + * ascending. To specify descending order for a field, append " desc". + */ + public FindSaasUsageBrowsers setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. The maximum number of browsers to return. The service may return fewer than + * this value. If unspecified, at most 100 browsers will be returned. The maximum value is + * 200; values above 200 will be coerced to 200. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of browsers to return. The service may return fewer than this value. + If unspecified, at most 100 browsers will be returned. The maximum value is 200; values above 200 + will be coerced to 200. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of browsers to return. The service may return fewer than + * this value. If unspecified, at most 100 browsers will be returned. The maximum value is + * 200; values above 200 will be coerced to 200. + */ + public FindSaasUsageBrowsers setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `FindSaasUsageBrowsers` call. Provide + * this to retrieve the subsequent page. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `FindSaasUsageBrowsers` call. Provide this to + retrieve the subsequent page. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `FindSaasUsageBrowsers` call. Provide + * this to retrieve the subsequent page. + */ + public FindSaasUsageBrowsers setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public FindSaasUsageBrowsers set(String parameterName, Object value) { + return (FindSaasUsageBrowsers) super.set(parameterName, value); + } + } + /** + * Find SaaS usage reports of a customer grouped by profiles based on the given search and sorting + * criteria. + * + * Create a request for the method "reports.findSaasUsageProfiles". + * + * This request holds the parameters needed by the chromemanagement server. After setting any + * optional parameters, call the {@link FindSaasUsageProfiles#execute()} method to invoke the remote + * operation. + * + * @param customer Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + * @return the request + */ + public FindSaasUsageProfiles findSaasUsageProfiles(java.lang.String customer) throws java.io.IOException { + FindSaasUsageProfiles result = new FindSaasUsageProfiles(customer); + initialize(result); + return result; + } + + public class FindSaasUsageProfiles extends ChromeManagementRequest { + + private static final String REST_PATH = "v1/{+customer}/reports:findSaasUsageProfiles"; + + private final java.util.regex.Pattern CUSTOMER_PATTERN = + java.util.regex.Pattern.compile("^customers/[^/]+$"); + + /** + * Find SaaS usage reports of a customer grouped by profiles based on the given search and sorting + * criteria. + * + * Create a request for the method "reports.findSaasUsageProfiles". + * + * This request holds the parameters needed by the the chromemanagement server. After setting any + * optional parameters, call the {@link FindSaasUsageProfiles#execute()} method to invoke the + * remote operation.

{@link FindSaasUsageProfiles#initialize(com.google.api.client.googleapis. + * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param customer Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + * @since 1.13 + */ + protected FindSaasUsageProfiles(java.lang.String customer) { + super(ChromeManagement.this, "GET", REST_PATH, null, com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementV1FindSaasUsageProfilesResponse.class); + this.customer = com.google.api.client.util.Preconditions.checkNotNull(customer, "Required parameter customer must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_PATTERN.matcher(customer).matches(), + "Parameter customer must conform to the pattern " + + "^customers/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public FindSaasUsageProfiles set$Xgafv(java.lang.String $Xgafv) { + return (FindSaasUsageProfiles) super.set$Xgafv($Xgafv); + } + + @Override + public FindSaasUsageProfiles setAccessToken(java.lang.String accessToken) { + return (FindSaasUsageProfiles) super.setAccessToken(accessToken); + } + + @Override + public FindSaasUsageProfiles setAlt(java.lang.String alt) { + return (FindSaasUsageProfiles) super.setAlt(alt); + } + + @Override + public FindSaasUsageProfiles setCallback(java.lang.String callback) { + return (FindSaasUsageProfiles) super.setCallback(callback); + } + + @Override + public FindSaasUsageProfiles setFields(java.lang.String fields) { + return (FindSaasUsageProfiles) super.setFields(fields); + } + + @Override + public FindSaasUsageProfiles setKey(java.lang.String key) { + return (FindSaasUsageProfiles) super.setKey(key); + } + + @Override + public FindSaasUsageProfiles setOauthToken(java.lang.String oauthToken) { + return (FindSaasUsageProfiles) super.setOauthToken(oauthToken); + } + + @Override + public FindSaasUsageProfiles setPrettyPrint(java.lang.Boolean prettyPrint) { + return (FindSaasUsageProfiles) super.setPrettyPrint(prettyPrint); + } + + @Override + public FindSaasUsageProfiles setQuotaUser(java.lang.String quotaUser) { + return (FindSaasUsageProfiles) super.setQuotaUser(quotaUser); + } + + @Override + public FindSaasUsageProfiles setUploadType(java.lang.String uploadType) { + return (FindSaasUsageProfiles) super.setUploadType(uploadType); + } + + @Override + public FindSaasUsageProfiles setUploadProtocol(java.lang.String uploadProtocol) { + return (FindSaasUsageProfiles) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + */ + @com.google.api.client.util.Key + private java.lang.String customer; + + /** Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + */ + public java.lang.String getCustomer() { + return customer; + } + + /** + * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer". + */ + public FindSaasUsageProfiles setCustomer(java.lang.String customer) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(CUSTOMER_PATTERN.matcher(customer).matches(), + "Parameter customer must conform to the pattern " + + "^customers/[^/]+$"); + } + this.customer = customer; + return this; + } + + /** Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`). */ + @com.google.api.client.util.Key + private java.lang.String app; + + /** Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`). + */ + public java.lang.String getApp() { + return app; + } + + /** Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`). */ + public FindSaasUsageProfiles setApp(java.lang.String app) { + this.app = app; + return this; + } + + /** + * Optional. The filter expression to narrow down the SaaS profile reports to return. + * Supported operators are: =, !=, <, <=, >, >=, :. Logical operators AND, OR, and NOT are + * supported. Supported fields: * email * org_unit_id * os_platform * first_navigation_time + * * last_navigation_time + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. The filter expression to narrow down the SaaS profile reports to return. Supported + operators are: =, !=, <, <=, >, >=, :. Logical operators AND, OR, and NOT are supported. Supported + fields: * email * org_unit_id * os_platform * first_navigation_time * last_navigation_time + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. The filter expression to narrow down the SaaS profile reports to return. + * Supported operators are: =, !=, <, <=, >, >=, :. Logical operators AND, OR, and NOT are + * supported. Supported fields: * email * org_unit_id * os_platform * first_navigation_time + * * last_navigation_time + */ + public FindSaasUsageProfiles setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. The order by expression to sort the SaaS profile reports. Supported fields: * + * email * os_platform * first_navigation_time * last_navigation_time Default order is + * ascending. To specify descending order for a field, append " desc". + */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. The order by expression to sort the SaaS profile reports. Supported fields: * email * + os_platform * first_navigation_time * last_navigation_time Default order is ascending. To specify + descending order for a field, append " desc". + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** + * Optional. The order by expression to sort the SaaS profile reports. Supported fields: * + * email * os_platform * first_navigation_time * last_navigation_time Default order is + * ascending. To specify descending order for a field, append " desc". + */ + public FindSaasUsageProfiles setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. The maximum number of reports to return. The service may return fewer than this + * value. If unspecified, at most 100 reports will be returned. The maximum value is 200; + * values above 200 will be coerced to 200. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of reports to return. The service may return fewer than this value. If + unspecified, at most 100 reports will be returned. The maximum value is 200; values above 200 will + be coerced to 200. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of reports to return. The service may return fewer than this + * value. If unspecified, at most 100 reports will be returned. The maximum value is 200; + * values above 200 will be coerced to 200. + */ + public FindSaasUsageProfiles setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `FindSaasUsageProfiles` call. Provide + * this to retrieve the subsequent page. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `FindSaasUsageProfiles` call. Provide this to + retrieve the subsequent page. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `FindSaasUsageProfiles` call. Provide + * this to retrieve the subsequent page. + */ + public FindSaasUsageProfiles setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public FindSaasUsageProfiles set(String parameterName, Object value) { + return (FindSaasUsageProfiles) super.set(parameterName, value); + } + } } /** diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageBrowsersResponse.java b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageBrowsersResponse.java new file mode 100644 index 00000000000..a1e5b62bb50 --- /dev/null +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageBrowsersResponse.java @@ -0,0 +1,115 @@ +/* + * 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 to `FindSaasUsageBrowsers` method. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleChromeManagementV1FindSaasUsageBrowsersResponse extends com.google.api.client.json.GenericJson { + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of SaaS usage browser reports. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List saasUsageBrowsers; + + /** + * Total number of SaaS usage browser reports that match the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalSize; + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * @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. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleChromeManagementV1FindSaasUsageBrowsersResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of SaaS usage browser reports. + * @return value or {@code null} for none + */ + public java.util.List getSaasUsageBrowsers() { + return saasUsageBrowsers; + } + + /** + * The list of SaaS usage browser reports. + * @param saasUsageBrowsers saasUsageBrowsers or {@code null} for none + */ + public GoogleChromeManagementV1FindSaasUsageBrowsersResponse setSaasUsageBrowsers(java.util.List saasUsageBrowsers) { + this.saasUsageBrowsers = saasUsageBrowsers; + return this; + } + + /** + * Total number of SaaS usage browser reports that match the request. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalSize() { + return totalSize; + } + + /** + * Total number of SaaS usage browser reports that match the request. + * @param totalSize totalSize or {@code null} for none + */ + public GoogleChromeManagementV1FindSaasUsageBrowsersResponse setTotalSize(java.lang.Long totalSize) { + this.totalSize = totalSize; + return this; + } + + @Override + public GoogleChromeManagementV1FindSaasUsageBrowsersResponse set(String fieldName, Object value) { + return (GoogleChromeManagementV1FindSaasUsageBrowsersResponse) super.set(fieldName, value); + } + + @Override + public GoogleChromeManagementV1FindSaasUsageBrowsersResponse clone() { + return (GoogleChromeManagementV1FindSaasUsageBrowsersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageProfilesResponse.java b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageProfilesResponse.java new file mode 100644 index 00000000000..51485b1a84b --- /dev/null +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageProfilesResponse.java @@ -0,0 +1,118 @@ +/* + * 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 to `FindSaasUsageProfiles` method. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleChromeManagementV1FindSaasUsageProfilesResponse extends com.google.api.client.json.GenericJson { + + /** + * 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 list of SaaS usage profile reports. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List profileReports; + + /** + * Total number of SaaS usage profile reports that match the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalSize; + + /** + * 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 GoogleChromeManagementV1FindSaasUsageProfilesResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of SaaS usage profile reports. + * @return value or {@code null} for none + */ + public java.util.List getProfileReports() { + return profileReports; + } + + /** + * The list of SaaS usage profile reports. + * @param profileReports profileReports or {@code null} for none + */ + public GoogleChromeManagementV1FindSaasUsageProfilesResponse setProfileReports(java.util.List profileReports) { + this.profileReports = profileReports; + return this; + } + + /** + * Total number of SaaS usage profile reports that match the request. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalSize() { + return totalSize; + } + + /** + * Total number of SaaS usage profile reports that match the request. + * @param totalSize totalSize or {@code null} for none + */ + public GoogleChromeManagementV1FindSaasUsageProfilesResponse setTotalSize(java.lang.Long totalSize) { + this.totalSize = totalSize; + return this; + } + + @Override + public GoogleChromeManagementV1FindSaasUsageProfilesResponse set(String fieldName, Object value) { + return (GoogleChromeManagementV1FindSaasUsageProfilesResponse) super.set(fieldName, value); + } + + @Override + public GoogleChromeManagementV1FindSaasUsageProfilesResponse clone() { + return (GoogleChromeManagementV1FindSaasUsageProfilesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageReportsResponse.java b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageReportsResponse.java new file mode 100644 index 00000000000..d6bfe8bdb1c --- /dev/null +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1FindSaasUsageReportsResponse.java @@ -0,0 +1,118 @@ +/* + * 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 to `FindSaasUsage` method. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleChromeManagementV1FindSaasUsageReportsResponse extends com.google.api.client.json.GenericJson { + + /** + * 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 list of SaaS usage reports. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List saasReports; + + /** + * Total number of SaaS usage reports that match the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long totalSize; + + /** + * 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 GoogleChromeManagementV1FindSaasUsageReportsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of SaaS usage reports. + * @return value or {@code null} for none + */ + public java.util.List getSaasReports() { + return saasReports; + } + + /** + * The list of SaaS usage reports. + * @param saasReports saasReports or {@code null} for none + */ + public GoogleChromeManagementV1FindSaasUsageReportsResponse setSaasReports(java.util.List saasReports) { + this.saasReports = saasReports; + return this; + } + + /** + * Total number of SaaS usage reports that match the request. + * @return value or {@code null} for none + */ + public java.lang.Long getTotalSize() { + return totalSize; + } + + /** + * Total number of SaaS usage reports that match the request. + * @param totalSize totalSize or {@code null} for none + */ + public GoogleChromeManagementV1FindSaasUsageReportsResponse setTotalSize(java.lang.Long totalSize) { + this.totalSize = totalSize; + return this; + } + + @Override + public GoogleChromeManagementV1FindSaasUsageReportsResponse set(String fieldName, Object value) { + return (GoogleChromeManagementV1FindSaasUsageReportsResponse) super.set(fieldName, value); + } + + @Override + public GoogleChromeManagementV1FindSaasUsageReportsResponse clone() { + return (GoogleChromeManagementV1FindSaasUsageReportsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageBrowser.java b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageBrowser.java new file mode 100644 index 00000000000..69ce4617333 --- /dev/null +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageBrowser.java @@ -0,0 +1,211 @@ +/* + * 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; + +/** + * Details of a SaaS usage browser. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleChromeManagementV1SaasUsageBrowser extends com.google.api.client.json.GenericJson { + + /** + * Output only. The device permanent ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String devicePermanentId; + + /** + * Output only. The timestamp when the application was first navigated to by this browser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String firstNavigationTime; + + /** + * Output only. The timestamp when the application was last navigated to by this browser. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastNavigationTime; + + /** + * Output only. The machine name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String machine; + + /** + * Output only. The ID of the organizational unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String orgUnitId; + + /** + * Output only. The OS platform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String osPlatform; + + /** + * Output only. The OS version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String osVersion; + + /** + * Output only. The device permanent ID. + * @return value or {@code null} for none + */ + public java.lang.String getDevicePermanentId() { + return devicePermanentId; + } + + /** + * Output only. The device permanent ID. + * @param devicePermanentId devicePermanentId or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageBrowser setDevicePermanentId(java.lang.String devicePermanentId) { + this.devicePermanentId = devicePermanentId; + return this; + } + + /** + * Output only. The timestamp when the application was first navigated to by this browser. + * @return value or {@code null} for none + */ + public String getFirstNavigationTime() { + return firstNavigationTime; + } + + /** + * Output only. The timestamp when the application was first navigated to by this browser. + * @param firstNavigationTime firstNavigationTime or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageBrowser setFirstNavigationTime(String firstNavigationTime) { + this.firstNavigationTime = firstNavigationTime; + return this; + } + + /** + * Output only. The timestamp when the application was last navigated to by this browser. + * @return value or {@code null} for none + */ + public String getLastNavigationTime() { + return lastNavigationTime; + } + + /** + * Output only. The timestamp when the application was last navigated to by this browser. + * @param lastNavigationTime lastNavigationTime or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageBrowser setLastNavigationTime(String lastNavigationTime) { + this.lastNavigationTime = lastNavigationTime; + return this; + } + + /** + * Output only. The machine name. + * @return value or {@code null} for none + */ + public java.lang.String getMachine() { + return machine; + } + + /** + * Output only. The machine name. + * @param machine machine or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageBrowser setMachine(java.lang.String machine) { + this.machine = machine; + return this; + } + + /** + * Output only. The ID of the organizational unit. + * @return value or {@code null} for none + */ + public java.lang.String getOrgUnitId() { + return orgUnitId; + } + + /** + * Output only. The ID of the organizational unit. + * @param orgUnitId orgUnitId or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageBrowser setOrgUnitId(java.lang.String orgUnitId) { + this.orgUnitId = orgUnitId; + return this; + } + + /** + * Output only. The OS platform. + * @return value or {@code null} for none + */ + public java.lang.String getOsPlatform() { + return osPlatform; + } + + /** + * Output only. The OS platform. + * @param osPlatform osPlatform or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageBrowser setOsPlatform(java.lang.String osPlatform) { + this.osPlatform = osPlatform; + return this; + } + + /** + * Output only. The OS version. + * @return value or {@code null} for none + */ + public java.lang.String getOsVersion() { + return osVersion; + } + + /** + * Output only. The OS version. + * @param osVersion osVersion or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageBrowser setOsVersion(java.lang.String osVersion) { + this.osVersion = osVersion; + return this; + } + + @Override + public GoogleChromeManagementV1SaasUsageBrowser set(String fieldName, Object value) { + return (GoogleChromeManagementV1SaasUsageBrowser) super.set(fieldName, value); + } + + @Override + public GoogleChromeManagementV1SaasUsageBrowser clone() { + return (GoogleChromeManagementV1SaasUsageBrowser) super.clone(); + } + +} diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageProfileReport.java b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageProfileReport.java new file mode 100644 index 00000000000..70ebbf6923a --- /dev/null +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageProfileReport.java @@ -0,0 +1,211 @@ +/* + * 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; + +/** + * Represents a single SaaS report entry grouped by profile. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleChromeManagementV1SaasUsageProfileReport extends com.google.api.client.json.GenericJson { + + /** + * Output only. The email of the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String email; + + /** + * Output only. The timestamp when the application was first navigated to by this profile. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String firstNavigationTime; + + /** + * Output only. The timestamp when the application was last navigated to by this profile. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastNavigationTime; + + /** + * Output only. The ID of the organizational unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String orgUnitId; + + /** + * Output only. The OS platform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String osPlatform; + + /** + * Output only. The OS version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String osVersion; + + /** + * Output only. The permanent ID of the profile. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String profilePermanentId; + + /** + * Output only. The email of the user. + * @return value or {@code null} for none + */ + public java.lang.String getEmail() { + return email; + } + + /** + * Output only. The email of the user. + * @param email email or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageProfileReport setEmail(java.lang.String email) { + this.email = email; + return this; + } + + /** + * Output only. The timestamp when the application was first navigated to by this profile. + * @return value or {@code null} for none + */ + public String getFirstNavigationTime() { + return firstNavigationTime; + } + + /** + * Output only. The timestamp when the application was first navigated to by this profile. + * @param firstNavigationTime firstNavigationTime or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageProfileReport setFirstNavigationTime(String firstNavigationTime) { + this.firstNavigationTime = firstNavigationTime; + return this; + } + + /** + * Output only. The timestamp when the application was last navigated to by this profile. + * @return value or {@code null} for none + */ + public String getLastNavigationTime() { + return lastNavigationTime; + } + + /** + * Output only. The timestamp when the application was last navigated to by this profile. + * @param lastNavigationTime lastNavigationTime or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageProfileReport setLastNavigationTime(String lastNavigationTime) { + this.lastNavigationTime = lastNavigationTime; + return this; + } + + /** + * Output only. The ID of the organizational unit. + * @return value or {@code null} for none + */ + public java.lang.String getOrgUnitId() { + return orgUnitId; + } + + /** + * Output only. The ID of the organizational unit. + * @param orgUnitId orgUnitId or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageProfileReport setOrgUnitId(java.lang.String orgUnitId) { + this.orgUnitId = orgUnitId; + return this; + } + + /** + * Output only. The OS platform. + * @return value or {@code null} for none + */ + public java.lang.String getOsPlatform() { + return osPlatform; + } + + /** + * Output only. The OS platform. + * @param osPlatform osPlatform or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageProfileReport setOsPlatform(java.lang.String osPlatform) { + this.osPlatform = osPlatform; + return this; + } + + /** + * Output only. The OS version. + * @return value or {@code null} for none + */ + public java.lang.String getOsVersion() { + return osVersion; + } + + /** + * Output only. The OS version. + * @param osVersion osVersion or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageProfileReport setOsVersion(java.lang.String osVersion) { + this.osVersion = osVersion; + return this; + } + + /** + * Output only. The permanent ID of the profile. + * @return value or {@code null} for none + */ + public java.lang.String getProfilePermanentId() { + return profilePermanentId; + } + + /** + * Output only. The permanent ID of the profile. + * @param profilePermanentId profilePermanentId or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageProfileReport setProfilePermanentId(java.lang.String profilePermanentId) { + this.profilePermanentId = profilePermanentId; + return this; + } + + @Override + public GoogleChromeManagementV1SaasUsageProfileReport set(String fieldName, Object value) { + return (GoogleChromeManagementV1SaasUsageProfileReport) super.set(fieldName, value); + } + + @Override + public GoogleChromeManagementV1SaasUsageProfileReport clone() { + return (GoogleChromeManagementV1SaasUsageProfileReport) super.clone(); + } + +} diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageReport.java b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageReport.java new file mode 100644 index 00000000000..44997be19e3 --- /dev/null +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageReport.java @@ -0,0 +1,403 @@ +/* + * 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; + +/** + * Represents a single SaaS report entry. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleChromeManagementV1SaasUsageReport extends com.google.api.client.json.GenericJson { + + /** + * Output only. The name of the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String app; + + /** + * Output only. The category of the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String category; + + /** + * Output only. Provides information about content transfer events, if available. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleChromeManagementV1SaasUsageReportContentTransferDetails contentTransferDetails; + + /** + * Output only. Number of distinct browsers that visited the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long distinctBrowsersCount; + + /** + * Output only. Number of distinct users who visited the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long distinctUsersCount; + + /** + * Output only. A list of domains and subdomains associated with the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List domains; + + /** + * Output only. A list of encryption protocols used to access the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List encryptionProtocols; + + /** + * Output only. The timestamp when the application was first navigated to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String firstNavigationTime; + + /** + * Output only. The year the organization was founded. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer foundedYear; + + /** + * Output only. The headquarters location of the organization. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String headquarters; + + /** + * Output only. The timestamp when the application was last navigated to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastNavigationTime; + + /** + * Output only. The ID of the organizational unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String orgUnitId; + + /** + * Output only. The organization that develops the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String organization; + + /** + * Output only. The primary domain of the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryDomain; + + /** + * Output only. Total number of visits to the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long visitsCount; + + /** + * Output only. The name of the application. + * @return value or {@code null} for none + */ + public java.lang.String getApp() { + return app; + } + + /** + * Output only. The name of the application. + * @param app app or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setApp(java.lang.String app) { + this.app = app; + return this; + } + + /** + * Output only. The category of the application. + * @return value or {@code null} for none + */ + public java.lang.String getCategory() { + return category; + } + + /** + * Output only. The category of the application. + * @param category category or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setCategory(java.lang.String category) { + this.category = category; + return this; + } + + /** + * Output only. Provides information about content transfer events, if available. + * @return value or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReportContentTransferDetails getContentTransferDetails() { + return contentTransferDetails; + } + + /** + * Output only. Provides information about content transfer events, if available. + * @param contentTransferDetails contentTransferDetails or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setContentTransferDetails(GoogleChromeManagementV1SaasUsageReportContentTransferDetails contentTransferDetails) { + this.contentTransferDetails = contentTransferDetails; + return this; + } + + /** + * Output only. Number of distinct browsers that visited the application. + * @return value or {@code null} for none + */ + public java.lang.Long getDistinctBrowsersCount() { + return distinctBrowsersCount; + } + + /** + * Output only. Number of distinct browsers that visited the application. + * @param distinctBrowsersCount distinctBrowsersCount or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setDistinctBrowsersCount(java.lang.Long distinctBrowsersCount) { + this.distinctBrowsersCount = distinctBrowsersCount; + return this; + } + + /** + * Output only. Number of distinct users who visited the application. + * @return value or {@code null} for none + */ + public java.lang.Long getDistinctUsersCount() { + return distinctUsersCount; + } + + /** + * Output only. Number of distinct users who visited the application. + * @param distinctUsersCount distinctUsersCount or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setDistinctUsersCount(java.lang.Long distinctUsersCount) { + this.distinctUsersCount = distinctUsersCount; + return this; + } + + /** + * Output only. A list of domains and subdomains associated with the application. + * @return value or {@code null} for none + */ + public java.util.List getDomains() { + return domains; + } + + /** + * Output only. A list of domains and subdomains associated with the application. + * @param domains domains or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setDomains(java.util.List domains) { + this.domains = domains; + return this; + } + + /** + * Output only. A list of encryption protocols used to access the application. + * @return value or {@code null} for none + */ + public java.util.List getEncryptionProtocols() { + return encryptionProtocols; + } + + /** + * Output only. A list of encryption protocols used to access the application. + * @param encryptionProtocols encryptionProtocols or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setEncryptionProtocols(java.util.List encryptionProtocols) { + this.encryptionProtocols = encryptionProtocols; + return this; + } + + /** + * Output only. The timestamp when the application was first navigated to. + * @return value or {@code null} for none + */ + public String getFirstNavigationTime() { + return firstNavigationTime; + } + + /** + * Output only. The timestamp when the application was first navigated to. + * @param firstNavigationTime firstNavigationTime or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setFirstNavigationTime(String firstNavigationTime) { + this.firstNavigationTime = firstNavigationTime; + return this; + } + + /** + * Output only. The year the organization was founded. + * @return value or {@code null} for none + */ + public java.lang.Integer getFoundedYear() { + return foundedYear; + } + + /** + * Output only. The year the organization was founded. + * @param foundedYear foundedYear or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setFoundedYear(java.lang.Integer foundedYear) { + this.foundedYear = foundedYear; + return this; + } + + /** + * Output only. The headquarters location of the organization. + * @return value or {@code null} for none + */ + public java.lang.String getHeadquarters() { + return headquarters; + } + + /** + * Output only. The headquarters location of the organization. + * @param headquarters headquarters or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setHeadquarters(java.lang.String headquarters) { + this.headquarters = headquarters; + return this; + } + + /** + * Output only. The timestamp when the application was last navigated to. + * @return value or {@code null} for none + */ + public String getLastNavigationTime() { + return lastNavigationTime; + } + + /** + * Output only. The timestamp when the application was last navigated to. + * @param lastNavigationTime lastNavigationTime or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setLastNavigationTime(String lastNavigationTime) { + this.lastNavigationTime = lastNavigationTime; + return this; + } + + /** + * Output only. The ID of the organizational unit. + * @return value or {@code null} for none + */ + public java.lang.String getOrgUnitId() { + return orgUnitId; + } + + /** + * Output only. The ID of the organizational unit. + * @param orgUnitId orgUnitId or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setOrgUnitId(java.lang.String orgUnitId) { + this.orgUnitId = orgUnitId; + return this; + } + + /** + * Output only. The organization that develops the application. + * @return value or {@code null} for none + */ + public java.lang.String getOrganization() { + return organization; + } + + /** + * Output only. The organization that develops the application. + * @param organization organization or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setOrganization(java.lang.String organization) { + this.organization = organization; + return this; + } + + /** + * Output only. The primary domain of the application. + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryDomain() { + return primaryDomain; + } + + /** + * Output only. The primary domain of the application. + * @param primaryDomain primaryDomain or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setPrimaryDomain(java.lang.String primaryDomain) { + this.primaryDomain = primaryDomain; + return this; + } + + /** + * Output only. Total number of visits to the application. + * @return value or {@code null} for none + */ + public java.lang.Long getVisitsCount() { + return visitsCount; + } + + /** + * Output only. Total number of visits to the application. + * @param visitsCount visitsCount or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReport setVisitsCount(java.lang.Long visitsCount) { + this.visitsCount = visitsCount; + return this; + } + + @Override + public GoogleChromeManagementV1SaasUsageReport set(String fieldName, Object value) { + return (GoogleChromeManagementV1SaasUsageReport) super.set(fieldName, value); + } + + @Override + public GoogleChromeManagementV1SaasUsageReport clone() { + return (GoogleChromeManagementV1SaasUsageReport) super.clone(); + } + +} diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageReportContentTransferDetails.java b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageReportContentTransferDetails.java new file mode 100644 index 00000000000..9cd618698d1 --- /dev/null +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/com/google/api/services/chromemanagement/v1/model/GoogleChromeManagementV1SaasUsageReportContentTransferDetails.java @@ -0,0 +1,67 @@ +/* + * 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; + +/** + * Provides information about content transfer events, if available. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleChromeManagementV1SaasUsageReportContentTransferDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. Total number of content transfers associated with the application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long contentTransferCount; + + /** + * Output only. Total number of content transfers associated with the application. + * @return value or {@code null} for none + */ + public java.lang.Long getContentTransferCount() { + return contentTransferCount; + } + + /** + * Output only. Total number of content transfers associated with the application. + * @param contentTransferCount contentTransferCount or {@code null} for none + */ + public GoogleChromeManagementV1SaasUsageReportContentTransferDetails setContentTransferCount(java.lang.Long contentTransferCount) { + this.contentTransferCount = contentTransferCount; + return this; + } + + @Override + public GoogleChromeManagementV1SaasUsageReportContentTransferDetails set(String fieldName, Object value) { + return (GoogleChromeManagementV1SaasUsageReportContentTransferDetails) super.set(fieldName, value); + } + + @Override + public GoogleChromeManagementV1SaasUsageReportContentTransferDetails clone() { + return (GoogleChromeManagementV1SaasUsageReportContentTransferDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-chromemanagement/v1/2.0.0/pom.xml b/clients/google-api-services-chromemanagement/v1/2.0.0/pom.xml index 7f0f3dc0578..e7032317318 100644 --- a/clients/google-api-services-chromemanagement/v1/2.0.0/pom.xml +++ b/clients/google-api-services-chromemanagement/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-chromemanagement - v1-rev20260715-2.0.0 - Chrome Management API v1-rev20260715-2.0.0 + v1-rev20260907-2.0.0 + Chrome Management API v1-rev20260907-2.0.0 jar 2011 diff --git a/clients/google-api-services-chromemanagement/v1/README.md b/clients/google-api-services-chromemanagement/v1/README.md index 3e7f1bc68d0..1b703b2a5ca 100644 --- a/clients/google-api-services-chromemanagement/v1/README.md +++ b/clients/google-api-services-chromemanagement/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-chromemanagement - v1-rev20260715-2.0.0 + v1-rev20260907-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-chromemanagement:v1-rev20260715-2.0.0' + implementation 'com.google.apis:google-api-services-chromemanagement:v1-rev20260907-2.0.0' } ```