From 9a638e4b1d6951baac9691350dadbba378dfb563 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 31 Oct 2026 18:00:13 -0700 Subject: [PATCH] chore: regenerate chromewebstore client --- .../v2/2.0.0/README.md | 4 +- .../chromewebstore/v2/Chromewebstore.java | 932 ++++++++++++++++++ .../chromewebstore/v2/model/AuthorInfo.java | 66 ++ .../chromewebstore/v2/model/Date.java | 123 +++ .../v2/model/FetchItemReviewsResponse.java | 93 ++ .../chromewebstore/v2/model/MetricRow.java | 114 +++ .../chromewebstore/v2/model/MetricValue.java | 114 +++ .../v2/model/QueryItemMetricsResponse.java | 99 ++ .../v2/model/RatingSummary.java | 261 +++++ .../chromewebstore/v2/model/Review.java | 186 ++++ .../v2/model/RollbackItemRequest.java | 153 +++ .../v2/model/RollbackItemResponse.java | 42 + .../v2/2.0.0/pom.xml | 4 +- .../v2/README.md | 4 +- 14 files changed, 2189 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/AuthorInfo.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Date.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/FetchItemReviewsResponse.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/MetricRow.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/MetricValue.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/QueryItemMetricsResponse.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RatingSummary.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Review.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RollbackItemRequest.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RollbackItemResponse.java diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/README.md b/clients/google-api-services-chromewebstore/v2/2.0.0/README.md index 281830b2332..2f370cfe519 100644 --- a/clients/google-api-services-chromewebstore/v2/2.0.0/README.md +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-chromewebstore - v2-rev20260924-2.9.2 + v2-rev20261030-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20260924-2.9.2' + implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20261030-2.9.2' } ``` diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/Chromewebstore.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/Chromewebstore.java index c19748fdcc9..5b448c111a1 100644 --- a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/Chromewebstore.java +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/Chromewebstore.java @@ -532,6 +532,262 @@ public CancelSubmission set(String parameterName, Object value) { return (CancelSubmission) super.set(parameterName, value); } } + /** + * Fetch user reviews for an item. + * + * Create a request for the method "items.fetchReviews". + * + * This request holds the parameters needed by the chromewebstore server. After setting any + * optional parameters, call the {@link FetchReviews#execute()} method to invoke the remote + * operation. + * + * @param name Required. The item resource name whose reviews are being fetched. Format: + * publishers/{publisher_id}/items/{item_id} + * @return the request + */ + public FetchReviews fetchReviews(java.lang.String name) throws java.io.IOException { + FetchReviews result = new FetchReviews(name); + initialize(result); + return result; + } + + public class FetchReviews extends ChromewebstoreRequest { + + private static final String REST_PATH = "v2/{+name}:fetchReviews"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^publishers/[^/]+/items/[^/]+$"); + + /** + * Fetch user reviews for an item. + * + * Create a request for the method "items.fetchReviews". + * + * This request holds the parameters needed by the the chromewebstore server. After setting any + * optional parameters, call the {@link FetchReviews#execute()} method to invoke the remote + * operation.

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

+ * + * @param name Required. The item resource name whose reviews are being fetched. Format: + * publishers/{publisher_id}/items/{item_id} + * @since 1.13 + */ + protected FetchReviews(java.lang.String name) { + super(Chromewebstore.this, "GET", REST_PATH, null, com.google.api.services.chromewebstore.v2.model.FetchItemReviewsResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^publishers/[^/]+/items/[^/]+$"); + } + } + + @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 FetchReviews set$Xgafv(java.lang.String $Xgafv) { + return (FetchReviews) super.set$Xgafv($Xgafv); + } + + @Override + public FetchReviews setAccessToken(java.lang.String accessToken) { + return (FetchReviews) super.setAccessToken(accessToken); + } + + @Override + public FetchReviews setAlt(java.lang.String alt) { + return (FetchReviews) super.setAlt(alt); + } + + @Override + public FetchReviews setCallback(java.lang.String callback) { + return (FetchReviews) super.setCallback(callback); + } + + @Override + public FetchReviews setFields(java.lang.String fields) { + return (FetchReviews) super.setFields(fields); + } + + @Override + public FetchReviews setKey(java.lang.String key) { + return (FetchReviews) super.setKey(key); + } + + @Override + public FetchReviews setOauthToken(java.lang.String oauthToken) { + return (FetchReviews) super.setOauthToken(oauthToken); + } + + @Override + public FetchReviews setPrettyPrint(java.lang.Boolean prettyPrint) { + return (FetchReviews) super.setPrettyPrint(prettyPrint); + } + + @Override + public FetchReviews setQuotaUser(java.lang.String quotaUser) { + return (FetchReviews) super.setQuotaUser(quotaUser); + } + + @Override + public FetchReviews setUploadType(java.lang.String uploadType) { + return (FetchReviews) super.setUploadType(uploadType); + } + + @Override + public FetchReviews setUploadProtocol(java.lang.String uploadProtocol) { + return (FetchReviews) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The item resource name whose reviews are being fetched. Format: + * publishers/{publisher_id}/items/{item_id} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The item resource name whose reviews are being fetched. Format: + publishers/{publisher_id}/items/{item_id} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The item resource name whose reviews are being fetched. Format: + * publishers/{publisher_id}/items/{item_id} + */ + public FetchReviews setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^publishers/[^/]+/items/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. A filter to apply to the reviews. Only equality comparison on rating is + * supported, e.g. `rating = 5`. + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. A filter to apply to the reviews. Only equality comparison on rating is supported, e.g. + `rating = 5`. + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. A filter to apply to the reviews. Only equality comparison on rating is + * supported, e.g. `rating = 5`. + */ + public FetchReviews setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. An optional comma-separated list of fields by which to sort the results. The + * default sort order is ascending (`asc`). Supported fields are: - `rating`: Supported + * orders are `asc` (default) and `desc`. - `create_time`: Only `desc` (most recent first) + * is supported; `desc` must be explicitly specified since the default is `asc`. Example: + * `rating desc`, `create_time desc`, or `rating desc, create_time desc`. + */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. An optional comma-separated list of fields by which to sort the results. The default sort + order is ascending (`asc`). Supported fields are: - `rating`: Supported orders are `asc` (default) + and `desc`. - `create_time`: Only `desc` (most recent first) is supported; `desc` must be + explicitly specified since the default is `asc`. Example: `rating desc`, `create_time desc`, or + `rating desc, create_time desc`. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** + * Optional. An optional comma-separated list of fields by which to sort the results. The + * default sort order is ascending (`asc`). Supported fields are: - `rating`: Supported + * orders are `asc` (default) and `desc`. - `create_time`: Only `desc` (most recent first) + * is supported; `desc` must be explicitly specified since the default is `asc`. Example: + * `rating desc`, `create_time desc`, or `rating desc, create_time desc`. + */ + public FetchReviews setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. The maximum number of reviews to return. The service may return fewer than this + * value. If unspecified, at most 50 reviews 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 reviews to return. The service may return fewer than this value. If + unspecified, at most 50 reviews 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 reviews to return. The service may return fewer than this + * value. If unspecified, at most 50 reviews will be returned. The maximum value is 200; + * values above 200 will be coerced to 200. + */ + public FetchReviews setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `FetchItemReviews` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided to + * `FetchItemReviews` 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 `FetchItemReviews` call. Provide this to retrieve + the subsequent page. When paginating, all other parameters provided to `FetchItemReviews` must + match the call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `FetchItemReviews` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided to + * `FetchItemReviews` must match the call that provided the page token. + */ + public FetchReviews setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public FetchReviews set(String parameterName, Object value) { + return (FetchReviews) super.set(parameterName, value); + } + } /** * Fetch the status of an item. * @@ -681,6 +937,155 @@ public FetchStatus set(String parameterName, Object value) { return (FetchStatus) super.set(parameterName, value); } } + /** + * Gets the RatingSummary for the publishers item. + * + * Create a request for the method "items.getRatingSummary". + * + * This request holds the parameters needed by the chromewebstore server. After setting any + * optional parameters, call the {@link GetRatingSummary#execute()} method to invoke the remote + * operation. + * + * @param name Required. The name of the rating summary to retrieve. Format: + * publishers/{publisher}/items/{item}/ratingSummary + * @return the request + */ + public GetRatingSummary getRatingSummary(java.lang.String name) throws java.io.IOException { + GetRatingSummary result = new GetRatingSummary(name); + initialize(result); + return result; + } + + public class GetRatingSummary extends ChromewebstoreRequest { + + private static final String REST_PATH = "v2/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^publishers/[^/]+/items/[^/]+/ratingSummary$"); + + /** + * Gets the RatingSummary for the publishers item. + * + * Create a request for the method "items.getRatingSummary". + * + * This request holds the parameters needed by the the chromewebstore server. After setting any + * optional parameters, call the {@link GetRatingSummary#execute()} method to invoke the remote + * operation.

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

+ * + * @param name Required. The name of the rating summary to retrieve. Format: + * publishers/{publisher}/items/{item}/ratingSummary + * @since 1.13 + */ + protected GetRatingSummary(java.lang.String name) { + super(Chromewebstore.this, "GET", REST_PATH, null, com.google.api.services.chromewebstore.v2.model.RatingSummary.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^publishers/[^/]+/items/[^/]+/ratingSummary$"); + } + } + + @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 GetRatingSummary set$Xgafv(java.lang.String $Xgafv) { + return (GetRatingSummary) super.set$Xgafv($Xgafv); + } + + @Override + public GetRatingSummary setAccessToken(java.lang.String accessToken) { + return (GetRatingSummary) super.setAccessToken(accessToken); + } + + @Override + public GetRatingSummary setAlt(java.lang.String alt) { + return (GetRatingSummary) super.setAlt(alt); + } + + @Override + public GetRatingSummary setCallback(java.lang.String callback) { + return (GetRatingSummary) super.setCallback(callback); + } + + @Override + public GetRatingSummary setFields(java.lang.String fields) { + return (GetRatingSummary) super.setFields(fields); + } + + @Override + public GetRatingSummary setKey(java.lang.String key) { + return (GetRatingSummary) super.setKey(key); + } + + @Override + public GetRatingSummary setOauthToken(java.lang.String oauthToken) { + return (GetRatingSummary) super.setOauthToken(oauthToken); + } + + @Override + public GetRatingSummary setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GetRatingSummary) super.setPrettyPrint(prettyPrint); + } + + @Override + public GetRatingSummary setQuotaUser(java.lang.String quotaUser) { + return (GetRatingSummary) super.setQuotaUser(quotaUser); + } + + @Override + public GetRatingSummary setUploadType(java.lang.String uploadType) { + return (GetRatingSummary) super.setUploadType(uploadType); + } + + @Override + public GetRatingSummary setUploadProtocol(java.lang.String uploadProtocol) { + return (GetRatingSummary) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the rating summary to retrieve. Format: + * publishers/{publisher}/items/{item}/ratingSummary + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the rating summary to retrieve. Format: + publishers/{publisher}/items/{item}/ratingSummary + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the rating summary to retrieve. Format: + * publishers/{publisher}/items/{item}/ratingSummary + */ + public GetRatingSummary setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^publishers/[^/]+/items/[^/]+/ratingSummary$"); + } + this.name = name; + return this; + } + + @Override + public GetRatingSummary set(String parameterName, Object value) { + return (GetRatingSummary) super.set(parameterName, value); + } + } /** * Submit the item to be published in the store. The item will be submitted for review unless * `skip_review` is set to true, or the item is staged from a previous submission with @@ -816,6 +1221,533 @@ public Publish set(String parameterName, Object value) { return (Publish) super.set(parameterName, value); } } + /** + * Query the metrics for an item. + * + * Create a request for the method "items.queryMetrics". + * + * This request holds the parameters needed by the chromewebstore server. After setting any + * optional parameters, call the {@link QueryMetrics#execute()} method to invoke the remote + * operation. + * + * @param name Required. The name of the item to query the metrics for. Format: publishers/{publisher}/items/{item} + * @return the request + */ + public QueryMetrics queryMetrics(java.lang.String name) throws java.io.IOException { + QueryMetrics result = new QueryMetrics(name); + initialize(result); + return result; + } + + public class QueryMetrics extends ChromewebstoreRequest { + + private static final String REST_PATH = "v2/{+name}:queryMetrics"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^publishers/[^/]+/items/[^/]+$"); + + /** + * Query the metrics for an item. + * + * Create a request for the method "items.queryMetrics". + * + * This request holds the parameters needed by the the chromewebstore server. After setting any + * optional parameters, call the {@link QueryMetrics#execute()} method to invoke the remote + * operation.

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

+ * + * @param name Required. The name of the item to query the metrics for. Format: publishers/{publisher}/items/{item} + * @since 1.13 + */ + protected QueryMetrics(java.lang.String name) { + super(Chromewebstore.this, "GET", REST_PATH, null, com.google.api.services.chromewebstore.v2.model.QueryItemMetricsResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^publishers/[^/]+/items/[^/]+$"); + } + } + + @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 QueryMetrics set$Xgafv(java.lang.String $Xgafv) { + return (QueryMetrics) super.set$Xgafv($Xgafv); + } + + @Override + public QueryMetrics setAccessToken(java.lang.String accessToken) { + return (QueryMetrics) super.setAccessToken(accessToken); + } + + @Override + public QueryMetrics setAlt(java.lang.String alt) { + return (QueryMetrics) super.setAlt(alt); + } + + @Override + public QueryMetrics setCallback(java.lang.String callback) { + return (QueryMetrics) super.setCallback(callback); + } + + @Override + public QueryMetrics setFields(java.lang.String fields) { + return (QueryMetrics) super.setFields(fields); + } + + @Override + public QueryMetrics setKey(java.lang.String key) { + return (QueryMetrics) super.setKey(key); + } + + @Override + public QueryMetrics setOauthToken(java.lang.String oauthToken) { + return (QueryMetrics) super.setOauthToken(oauthToken); + } + + @Override + public QueryMetrics setPrettyPrint(java.lang.Boolean prettyPrint) { + return (QueryMetrics) super.setPrettyPrint(prettyPrint); + } + + @Override + public QueryMetrics setQuotaUser(java.lang.String quotaUser) { + return (QueryMetrics) super.setQuotaUser(quotaUser); + } + + @Override + public QueryMetrics setUploadType(java.lang.String uploadType) { + return (QueryMetrics) super.setUploadType(uploadType); + } + + @Override + public QueryMetrics setUploadProtocol(java.lang.String uploadProtocol) { + return (QueryMetrics) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the item to query the metrics for. Format: + * publishers/{publisher}/items/{item} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the item to query the metrics for. Format: + publishers/{publisher}/items/{item} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the item to query the metrics for. Format: + * publishers/{publisher}/items/{item} + */ + public QueryMetrics setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^publishers/[^/]+/items/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. Dimensions to slice the metrics by. At most one dimension can be specified. + * **Supported dimensions:** - os: The operating system of the user. - app-version: The + * version of the item. - country: The country of the user. - install-source: The source of + * the install. - install-type: The type of install (from webstore, inline, or other). - + * language: The language of the user. - enabled: If the item is enabled or disabled. - utm- + * campaign: The UTM campaign of the user. - utm-content: The UTM content of the user. - + * utm-medium: The UTM medium of the user. - utm-source: The UTM source of the user. - utm- + * term: The UTM term of the user. + */ + @com.google.api.client.util.Key + private java.util.List dimensions; + + /** Optional. Dimensions to slice the metrics by. At most one dimension can be specified. **Supported + dimensions:** - os: The operating system of the user. - app-version: The version of the item. - + country: The country of the user. - install-source: The source of the install. - install-type: The + type of install (from webstore, inline, or other). - language: The language of the user. - enabled: + If the item is enabled or disabled. - utm-campaign: The UTM campaign of the user. - utm-content: + The UTM content of the user. - utm-medium: The UTM medium of the user. - utm-source: The UTM source + of the user. - utm-term: The UTM term of the user. + */ + public java.util.List getDimensions() { + return dimensions; + } + + /** + * Optional. Dimensions to slice the metrics by. At most one dimension can be specified. + * **Supported dimensions:** - os: The operating system of the user. - app-version: The + * version of the item. - country: The country of the user. - install-source: The source of + * the install. - install-type: The type of install (from webstore, inline, or other). - + * language: The language of the user. - enabled: If the item is enabled or disabled. - utm- + * campaign: The UTM campaign of the user. - utm-content: The UTM content of the user. - + * utm-medium: The UTM medium of the user. - utm-source: The UTM source of the user. - utm- + * term: The UTM term of the user. + */ + public QueryMetrics setDimensions(java.util.List dimensions) { + this.dimensions = dimensions; + return this; + } + + /** + * Required. The metrics to query the metric set for. **Supported metrics:** - installs: + * Count of item installs. - installs-7d: Count of item installs in the last 7 days. - + * uninstalls: Count of item uninstalls. - users: Count of daily active users of the item. - + * users-7d: Count of 7-day active users of the item. - impressions: Count of item + * impressions across the entire store front. - page-views: Count of individual views of the + * item's detail page. + */ + @com.google.api.client.util.Key + private java.util.List metrics; + + /** Required. The metrics to query the metric set for. **Supported metrics:** - installs: Count of item + installs. - installs-7d: Count of item installs in the last 7 days. - uninstalls: Count of item + uninstalls. - users: Count of daily active users of the item. - users-7d: Count of 7-day active + users of the item. - impressions: Count of item impressions across the entire store front. - page- + views: Count of individual views of the item's detail page. + */ + public java.util.List getMetrics() { + return metrics; + } + + /** + * Required. The metrics to query the metric set for. **Supported metrics:** - installs: + * Count of item installs. - installs-7d: Count of item installs in the last 7 days. - + * uninstalls: Count of item uninstalls. - users: Count of daily active users of the item. - + * users-7d: Count of 7-day active users of the item. - impressions: Count of item + * impressions across the entire store front. - page-views: Count of individual views of the + * item's detail page. + */ + public QueryMetrics setMetrics(java.util.List metrics) { + this.metrics = metrics; + return this; + } + + /** + * Optional. The maximum number of rows to return. If unspecified, at most 100 rows will be + * returned. The maximum value is 1000; Values above 1000 will be coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of rows to return. If unspecified, at most 100 rows will be returned. + The maximum value is 1000; Values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of rows to return. If unspecified, at most 100 rows will be + * returned. The maximum value is 1000; Values above 1000 will be coerced to 1000. + */ + public QueryMetrics setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to the request 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 call. Provide this to retrieve the subsequent + page. When paginating, all other parameters provided to the request must match the call that + provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to the request must match + * the call that provided the page token. + */ + public QueryMetrics setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a + * year by itself or a year and month where the day isn't significant. + */ + @com.google.api.client.util.Key("timeSpec.firstDate.day") + private java.lang.Integer timeSpecFirstDateDay; + + /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by + itself or a year and month where the day isn't significant. + */ + public java.lang.Integer getTimeSpecFirstDateDay() { + return timeSpecFirstDateDay; + } + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a + * year by itself or a year and month where the day isn't significant. + */ + public QueryMetrics setTimeSpecFirstDateDay(java.lang.Integer timeSpecFirstDateDay) { + this.timeSpecFirstDateDay = timeSpecFirstDateDay; + return this; + } + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + */ + @com.google.api.client.util.Key("timeSpec.firstDate.month") + private java.lang.Integer timeSpecFirstDateMonth; + + /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + */ + public java.lang.Integer getTimeSpecFirstDateMonth() { + return timeSpecFirstDateMonth; + } + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + */ + public QueryMetrics setTimeSpecFirstDateMonth(java.lang.Integer timeSpecFirstDateMonth) { + this.timeSpecFirstDateMonth = timeSpecFirstDateMonth; + return this; + } + + /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ + @com.google.api.client.util.Key("timeSpec.firstDate.year") + private java.lang.Integer timeSpecFirstDateYear; + + /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + */ + public java.lang.Integer getTimeSpecFirstDateYear() { + return timeSpecFirstDateYear; + } + + /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ + public QueryMetrics setTimeSpecFirstDateYear(java.lang.Integer timeSpecFirstDateYear) { + this.timeSpecFirstDateYear = timeSpecFirstDateYear; + return this; + } + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a + * year by itself or a year and month where the day isn't significant. + */ + @com.google.api.client.util.Key("timeSpec.lastDate.day") + private java.lang.Integer timeSpecLastDateDay; + + /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by + itself or a year and month where the day isn't significant. + */ + public java.lang.Integer getTimeSpecLastDateDay() { + return timeSpecLastDateDay; + } + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a + * year by itself or a year and month where the day isn't significant. + */ + public QueryMetrics setTimeSpecLastDateDay(java.lang.Integer timeSpecLastDateDay) { + this.timeSpecLastDateDay = timeSpecLastDateDay; + return this; + } + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + */ + @com.google.api.client.util.Key("timeSpec.lastDate.month") + private java.lang.Integer timeSpecLastDateMonth; + + /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + */ + public java.lang.Integer getTimeSpecLastDateMonth() { + return timeSpecLastDateMonth; + } + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + */ + public QueryMetrics setTimeSpecLastDateMonth(java.lang.Integer timeSpecLastDateMonth) { + this.timeSpecLastDateMonth = timeSpecLastDateMonth; + return this; + } + + /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ + @com.google.api.client.util.Key("timeSpec.lastDate.year") + private java.lang.Integer timeSpecLastDateYear; + + /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + */ + public java.lang.Integer getTimeSpecLastDateYear() { + return timeSpecLastDateYear; + } + + /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ + public QueryMetrics setTimeSpecLastDateYear(java.lang.Integer timeSpecLastDateYear) { + this.timeSpecLastDateYear = timeSpecLastDateYear; + return this; + } + + @Override + public QueryMetrics set(String parameterName, Object value) { + return (QueryMetrics) super.set(parameterName, value); + } + } + /** + * Rolls back an item's published CRX package to a specified previously published CRX package and + * publishes it to all users. + * + * Create a request for the method "items.rollback". + * + * This request holds the parameters needed by the chromewebstore server. After setting any + * optional parameters, call the {@link Rollback#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the item to rollback in the form `publishers/{publisherId}/items/{itemId}` + * @param content the {@link com.google.api.services.chromewebstore.v2.model.RollbackItemRequest} + * @return the request + */ + public Rollback rollback(java.lang.String name, com.google.api.services.chromewebstore.v2.model.RollbackItemRequest content) throws java.io.IOException { + Rollback result = new Rollback(name, content); + initialize(result); + return result; + } + + public class Rollback extends ChromewebstoreRequest { + + private static final String REST_PATH = "v2/{+name}:rollback"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^publishers/[^/]+/items/[^/]+$"); + + /** + * Rolls back an item's published CRX package to a specified previously published CRX package and + * publishes it to all users. + * + * Create a request for the method "items.rollback". + * + * This request holds the parameters needed by the the chromewebstore server. After setting any + * optional parameters, call the {@link Rollback#execute()} method to invoke the remote operation. + *

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

+ * + * @param name Required. Name of the item to rollback in the form `publishers/{publisherId}/items/{itemId}` + * @param content the {@link com.google.api.services.chromewebstore.v2.model.RollbackItemRequest} + * @since 1.13 + */ + protected Rollback(java.lang.String name, com.google.api.services.chromewebstore.v2.model.RollbackItemRequest content) { + super(Chromewebstore.this, "POST", REST_PATH, content, com.google.api.services.chromewebstore.v2.model.RollbackItemResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^publishers/[^/]+/items/[^/]+$"); + } + } + + @Override + public Rollback set$Xgafv(java.lang.String $Xgafv) { + return (Rollback) super.set$Xgafv($Xgafv); + } + + @Override + public Rollback setAccessToken(java.lang.String accessToken) { + return (Rollback) super.setAccessToken(accessToken); + } + + @Override + public Rollback setAlt(java.lang.String alt) { + return (Rollback) super.setAlt(alt); + } + + @Override + public Rollback setCallback(java.lang.String callback) { + return (Rollback) super.setCallback(callback); + } + + @Override + public Rollback setFields(java.lang.String fields) { + return (Rollback) super.setFields(fields); + } + + @Override + public Rollback setKey(java.lang.String key) { + return (Rollback) super.setKey(key); + } + + @Override + public Rollback setOauthToken(java.lang.String oauthToken) { + return (Rollback) super.setOauthToken(oauthToken); + } + + @Override + public Rollback setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Rollback) super.setPrettyPrint(prettyPrint); + } + + @Override + public Rollback setQuotaUser(java.lang.String quotaUser) { + return (Rollback) super.setQuotaUser(quotaUser); + } + + @Override + public Rollback setUploadType(java.lang.String uploadType) { + return (Rollback) super.setUploadType(uploadType); + } + + @Override + public Rollback setUploadProtocol(java.lang.String uploadProtocol) { + return (Rollback) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the item to rollback in the form + * `publishers/{publisherId}/items/{itemId}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the item to rollback in the form `publishers/{publisherId}/items/{itemId}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the item to rollback in the form + * `publishers/{publisherId}/items/{itemId}` + */ + public Rollback setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^publishers/[^/]+/items/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Rollback set(String parameterName, Object value) { + return (Rollback) super.set(parameterName, value); + } + } /** * Set a higher target deploy percentage for the item's published revision. This will be updated * without the item being submitted for review. This is only available to items with over 10,000 diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/AuthorInfo.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/AuthorInfo.java new file mode 100644 index 00000000000..719b06f9382 --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/AuthorInfo.java @@ -0,0 +1,66 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Info on the author of the review. + * + *

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 Web Store 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 AuthorInfo extends com.google.api.client.json.GenericJson { + + /** + * Display name for the author. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Display name for the author. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Display name for the author. + * @param displayName displayName or {@code null} for none + */ + public AuthorInfo setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + @Override + public AuthorInfo set(String fieldName, Object value) { + return (AuthorInfo) super.set(fieldName, value); + } + + @Override + public AuthorInfo clone() { + return (AuthorInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Date.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Date.java new file mode 100644 index 00000000000..40589843ef3 --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Date.java @@ -0,0 +1,123 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Represents a whole or partial calendar date, such as a birthday. The time of day and time zone + * are either specified elsewhere or are insignificant. The date is relative to the Gregorian + * Calendar. This can represent one of the following: * A full date, with non-zero year, month, and + * day values. * A month and day, with a zero year (for example, an anniversary). * A year on its + * own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit + * card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * + * google.protobuf.Timestamp + * + *

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 Web Store 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 Date extends com.google.api.client.json.GenericJson { + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year + * by itself or a year and month where the day isn't significant. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer day; + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer month; + + /** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer year; + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year + * by itself or a year and month where the day isn't significant. + * @return value or {@code null} for none + */ + public java.lang.Integer getDay() { + return day; + } + + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year + * by itself or a year and month where the day isn't significant. + * @param day day or {@code null} for none + */ + public Date setDay(java.lang.Integer day) { + this.day = day; + return this; + } + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + * @return value or {@code null} for none + */ + public java.lang.Integer getMonth() { + return month; + } + + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + * @param month month or {@code null} for none + */ + public Date setMonth(java.lang.Integer month) { + this.month = month; + return this; + } + + /** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + * @return value or {@code null} for none + */ + public java.lang.Integer getYear() { + return year; + } + + /** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + * @param year year or {@code null} for none + */ + public Date setYear(java.lang.Integer year) { + this.year = year; + return this; + } + + @Override + public Date set(String fieldName, Object value) { + return (Date) super.set(fieldName, value); + } + + @Override + public Date clone() { + return (Date) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/FetchItemReviewsResponse.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/FetchItemReviewsResponse.java new file mode 100644 index 00000000000..94bb72e6c9a --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/FetchItemReviewsResponse.java @@ -0,0 +1,93 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Response message for FetchItemReviews. + * + *

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 Web Store 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 FetchItemReviewsResponse extends com.google.api.client.json.GenericJson { + + /** + * A token that 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 reviews. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List reviews; + + /** + * A token that 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 that 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 FetchItemReviewsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of reviews. + * @return value or {@code null} for none + */ + public java.util.List getReviews() { + return reviews; + } + + /** + * The list of reviews. + * @param reviews reviews or {@code null} for none + */ + public FetchItemReviewsResponse setReviews(java.util.List reviews) { + this.reviews = reviews; + return this; + } + + @Override + public FetchItemReviewsResponse set(String fieldName, Object value) { + return (FetchItemReviewsResponse) super.set(fieldName, value); + } + + @Override + public FetchItemReviewsResponse clone() { + return (FetchItemReviewsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/MetricRow.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/MetricRow.java new file mode 100644 index 00000000000..a87dedbe309 --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/MetricRow.java @@ -0,0 +1,114 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * A single row of metrics and dimension values. + * + *

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 Web Store 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 MetricRow extends com.google.api.client.json.GenericJson { + + /** + * The date of the record. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Date date; + + /** + * Dimension value columns for the row. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List dimensionValues; + + /** + * Metric columns for the row. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List metricValues; + + /** + * The date of the record. + * @return value or {@code null} for none + */ + public Date getDate() { + return date; + } + + /** + * The date of the record. + * @param date date or {@code null} for none + */ + public MetricRow setDate(Date date) { + this.date = date; + return this; + } + + /** + * Dimension value columns for the row. + * @return value or {@code null} for none + */ + public java.util.List getDimensionValues() { + return dimensionValues; + } + + /** + * Dimension value columns for the row. + * @param dimensionValues dimensionValues or {@code null} for none + */ + public MetricRow setDimensionValues(java.util.List dimensionValues) { + this.dimensionValues = dimensionValues; + return this; + } + + /** + * Metric columns for the row. + * @return value or {@code null} for none + */ + public java.util.List getMetricValues() { + return metricValues; + } + + /** + * Metric columns for the row. + * @param metricValues metricValues or {@code null} for none + */ + public MetricRow setMetricValues(java.util.List metricValues) { + this.metricValues = metricValues; + return this; + } + + @Override + public MetricRow set(String fieldName, Object value) { + return (MetricRow) super.set(fieldName, value); + } + + @Override + public MetricRow clone() { + return (MetricRow) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/MetricValue.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/MetricValue.java new file mode 100644 index 00000000000..270c0c702c7 --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/MetricValue.java @@ -0,0 +1,114 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Represents the value of a single metric + * + *

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 Web Store 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 MetricValue extends com.google.api.client.json.GenericJson { + + /** + * The name of the metric + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String metric; + + /** + * The unique user count associated with the metric (if applicable). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long uniqueUserCount; + + /** + * The value of the metric. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long value; + + /** + * The name of the metric + * @return value or {@code null} for none + */ + public java.lang.String getMetric() { + return metric; + } + + /** + * The name of the metric + * @param metric metric or {@code null} for none + */ + public MetricValue setMetric(java.lang.String metric) { + this.metric = metric; + return this; + } + + /** + * The unique user count associated with the metric (if applicable). + * @return value or {@code null} for none + */ + public java.lang.Long getUniqueUserCount() { + return uniqueUserCount; + } + + /** + * The unique user count associated with the metric (if applicable). + * @param uniqueUserCount uniqueUserCount or {@code null} for none + */ + public MetricValue setUniqueUserCount(java.lang.Long uniqueUserCount) { + this.uniqueUserCount = uniqueUserCount; + return this; + } + + /** + * The value of the metric. + * @return value or {@code null} for none + */ + public java.lang.Long getValue() { + return value; + } + + /** + * The value of the metric. + * @param value value or {@code null} for none + */ + public MetricValue setValue(java.lang.Long value) { + this.value = value; + return this; + } + + @Override + public MetricValue set(String fieldName, Object value) { + return (MetricValue) super.set(fieldName, value); + } + + @Override + public MetricValue clone() { + return (MetricValue) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/QueryItemMetricsResponse.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/QueryItemMetricsResponse.java new file mode 100644 index 00000000000..88edbf445fb --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/QueryItemMetricsResponse.java @@ -0,0 +1,99 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Response message for QueryItemMetrics. + * + *

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 Web Store 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 QueryItemMetricsResponse extends com.google.api.client.json.GenericJson { + + /** + * The metric rows. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List metricRows; + + static { + // hack to force ProGuard to consider MetricRow 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(MetricRow.class); + } + + /** + * A token that 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 metric rows. + * @return value or {@code null} for none + */ + public java.util.List getMetricRows() { + return metricRows; + } + + /** + * The metric rows. + * @param metricRows metricRows or {@code null} for none + */ + public QueryItemMetricsResponse setMetricRows(java.util.List metricRows) { + this.metricRows = metricRows; + return this; + } + + /** + * A token that 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 that 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 QueryItemMetricsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public QueryItemMetricsResponse set(String fieldName, Object value) { + return (QueryItemMetricsResponse) super.set(fieldName, value); + } + + @Override + public QueryItemMetricsResponse clone() { + return (QueryItemMetricsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RatingSummary.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RatingSummary.java new file mode 100644 index 00000000000..a4ab65fb3fb --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RatingSummary.java @@ -0,0 +1,261 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Singleton resource for the rating summary of an item. + * + *

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 Web Store 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 RatingSummary extends com.google.api.client.json.GenericJson { + + /** + * The number of five star ratings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long fiveStarRatingCount; + + /** + * The number of four star ratings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long fourStarRatingCount; + + /** + * Identifier. Item rating summary resource name Format: + * publishers/{publisher}/items/{item}/ratingSummary + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The number of ratings with a non-empty review text. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long nonEmptyReviewCount; + + /** + * The number of one star ratings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long oneStarRatingCount; + + /** + * The rating of the item as shown on the store page, expressed as a double between 1 and 5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double rating; + + /** + * The total number of ratings for the item. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long ratingCount; + + /** + * The number of three star ratings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long threeStarRatingCount; + + /** + * The number of two star ratings. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long twoStarRatingCount; + + /** + * The number of five star ratings. + * @return value or {@code null} for none + */ + public java.lang.Long getFiveStarRatingCount() { + return fiveStarRatingCount; + } + + /** + * The number of five star ratings. + * @param fiveStarRatingCount fiveStarRatingCount or {@code null} for none + */ + public RatingSummary setFiveStarRatingCount(java.lang.Long fiveStarRatingCount) { + this.fiveStarRatingCount = fiveStarRatingCount; + return this; + } + + /** + * The number of four star ratings. + * @return value or {@code null} for none + */ + public java.lang.Long getFourStarRatingCount() { + return fourStarRatingCount; + } + + /** + * The number of four star ratings. + * @param fourStarRatingCount fourStarRatingCount or {@code null} for none + */ + public RatingSummary setFourStarRatingCount(java.lang.Long fourStarRatingCount) { + this.fourStarRatingCount = fourStarRatingCount; + return this; + } + + /** + * Identifier. Item rating summary resource name Format: + * publishers/{publisher}/items/{item}/ratingSummary + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Item rating summary resource name Format: + * publishers/{publisher}/items/{item}/ratingSummary + * @param name name or {@code null} for none + */ + public RatingSummary setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * The number of ratings with a non-empty review text. + * @return value or {@code null} for none + */ + public java.lang.Long getNonEmptyReviewCount() { + return nonEmptyReviewCount; + } + + /** + * The number of ratings with a non-empty review text. + * @param nonEmptyReviewCount nonEmptyReviewCount or {@code null} for none + */ + public RatingSummary setNonEmptyReviewCount(java.lang.Long nonEmptyReviewCount) { + this.nonEmptyReviewCount = nonEmptyReviewCount; + return this; + } + + /** + * The number of one star ratings. + * @return value or {@code null} for none + */ + public java.lang.Long getOneStarRatingCount() { + return oneStarRatingCount; + } + + /** + * The number of one star ratings. + * @param oneStarRatingCount oneStarRatingCount or {@code null} for none + */ + public RatingSummary setOneStarRatingCount(java.lang.Long oneStarRatingCount) { + this.oneStarRatingCount = oneStarRatingCount; + return this; + } + + /** + * The rating of the item as shown on the store page, expressed as a double between 1 and 5. + * @return value or {@code null} for none + */ + public java.lang.Double getRating() { + return rating; + } + + /** + * The rating of the item as shown on the store page, expressed as a double between 1 and 5. + * @param rating rating or {@code null} for none + */ + public RatingSummary setRating(java.lang.Double rating) { + this.rating = rating; + return this; + } + + /** + * The total number of ratings for the item. + * @return value or {@code null} for none + */ + public java.lang.Long getRatingCount() { + return ratingCount; + } + + /** + * The total number of ratings for the item. + * @param ratingCount ratingCount or {@code null} for none + */ + public RatingSummary setRatingCount(java.lang.Long ratingCount) { + this.ratingCount = ratingCount; + return this; + } + + /** + * The number of three star ratings. + * @return value or {@code null} for none + */ + public java.lang.Long getThreeStarRatingCount() { + return threeStarRatingCount; + } + + /** + * The number of three star ratings. + * @param threeStarRatingCount threeStarRatingCount or {@code null} for none + */ + public RatingSummary setThreeStarRatingCount(java.lang.Long threeStarRatingCount) { + this.threeStarRatingCount = threeStarRatingCount; + return this; + } + + /** + * The number of two star ratings. + * @return value or {@code null} for none + */ + public java.lang.Long getTwoStarRatingCount() { + return twoStarRatingCount; + } + + /** + * The number of two star ratings. + * @param twoStarRatingCount twoStarRatingCount or {@code null} for none + */ + public RatingSummary setTwoStarRatingCount(java.lang.Long twoStarRatingCount) { + this.twoStarRatingCount = twoStarRatingCount; + return this; + } + + @Override + public RatingSummary set(String fieldName, Object value) { + return (RatingSummary) super.set(fieldName, value); + } + + @Override + public RatingSummary clone() { + return (RatingSummary) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Review.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Review.java new file mode 100644 index 00000000000..a36a3f854e2 --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Review.java @@ -0,0 +1,186 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * A review written by a user to rate an item in the Chrome Web Store. + * + *

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 Web Store 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 Review extends com.google.api.client.json.GenericJson { + + /** + * Info on the author of the review. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AuthorInfo authorInfo; + + /** + * Content of the review. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String comment; + + /** + * Output only. When the review was posted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Output only. The item that this review evaluates. Format: publishers/{publisher}/items/{item} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String item; + + /** + * Identifier. Review resource name. Format: reviews/{reviewId} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Rating of the item, between 1 and 5. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer rating; + + /** + * Info on the author of the review. + * @return value or {@code null} for none + */ + public AuthorInfo getAuthorInfo() { + return authorInfo; + } + + /** + * Info on the author of the review. + * @param authorInfo authorInfo or {@code null} for none + */ + public Review setAuthorInfo(AuthorInfo authorInfo) { + this.authorInfo = authorInfo; + return this; + } + + /** + * Content of the review. + * @return value or {@code null} for none + */ + public java.lang.String getComment() { + return comment; + } + + /** + * Content of the review. + * @param comment comment or {@code null} for none + */ + public Review setComment(java.lang.String comment) { + this.comment = comment; + return this; + } + + /** + * Output only. When the review was posted. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. When the review was posted. + * @param createTime createTime or {@code null} for none + */ + public Review setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Output only. The item that this review evaluates. Format: publishers/{publisher}/items/{item} + * @return value or {@code null} for none + */ + public java.lang.String getItem() { + return item; + } + + /** + * Output only. The item that this review evaluates. Format: publishers/{publisher}/items/{item} + * @param item item or {@code null} for none + */ + public Review setItem(java.lang.String item) { + this.item = item; + return this; + } + + /** + * Identifier. Review resource name. Format: reviews/{reviewId} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Review resource name. Format: reviews/{reviewId} + * @param name name or {@code null} for none + */ + public Review setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Rating of the item, between 1 and 5. + * @return value or {@code null} for none + */ + public java.lang.Integer getRating() { + return rating; + } + + /** + * Rating of the item, between 1 and 5. + * @param rating rating or {@code null} for none + */ + public Review setRating(java.lang.Integer rating) { + this.rating = rating; + return this; + } + + @Override + public Review set(String fieldName, Object value) { + return (Review) super.set(fieldName, value); + } + + @Override + public Review clone() { + return (Review) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RollbackItemRequest.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RollbackItemRequest.java new file mode 100644 index 00000000000..a58fad7bf1e --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RollbackItemRequest.java @@ -0,0 +1,153 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Request message for RollbackItem. + * + *

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 Web Store 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 RollbackItemRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The new version to assign to the package being rolled back to. This effectively + * "rolls forward" the previous package by giving it a higher version number than the currently- + * published package. E.g. if the current published version is 1.1, the new version could be 1.1.1 + * or 1.2 but not 1.0. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String newVersion; + + /** + * Required. The reason for the rollback that will be used for internal auditing and developer + * dashboard visibility. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String rollbackReason; + + /** + * Required. The target previously published CRX version to roll back to. If unset, defaults to + * the last published CRX version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetCrxVersion; + + /** + * Optional. If set, validate and dry run the request but do not actually initiate the rollback + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + + /** + * Required. The new version to assign to the package being rolled back to. This effectively + * "rolls forward" the previous package by giving it a higher version number than the currently- + * published package. E.g. if the current published version is 1.1, the new version could be 1.1.1 + * or 1.2 but not 1.0. + * @return value or {@code null} for none + */ + public java.lang.String getNewVersion() { + return newVersion; + } + + /** + * Required. The new version to assign to the package being rolled back to. This effectively + * "rolls forward" the previous package by giving it a higher version number than the currently- + * published package. E.g. if the current published version is 1.1, the new version could be 1.1.1 + * or 1.2 but not 1.0. + * @param newVersion newVersion or {@code null} for none + */ + public RollbackItemRequest setNewVersion(java.lang.String newVersion) { + this.newVersion = newVersion; + return this; + } + + /** + * Required. The reason for the rollback that will be used for internal auditing and developer + * dashboard visibility. + * @return value or {@code null} for none + */ + public java.lang.String getRollbackReason() { + return rollbackReason; + } + + /** + * Required. The reason for the rollback that will be used for internal auditing and developer + * dashboard visibility. + * @param rollbackReason rollbackReason or {@code null} for none + */ + public RollbackItemRequest setRollbackReason(java.lang.String rollbackReason) { + this.rollbackReason = rollbackReason; + return this; + } + + /** + * Required. The target previously published CRX version to roll back to. If unset, defaults to + * the last published CRX version. + * @return value or {@code null} for none + */ + public java.lang.String getTargetCrxVersion() { + return targetCrxVersion; + } + + /** + * Required. The target previously published CRX version to roll back to. If unset, defaults to + * the last published CRX version. + * @param targetCrxVersion targetCrxVersion or {@code null} for none + */ + public RollbackItemRequest setTargetCrxVersion(java.lang.String targetCrxVersion) { + this.targetCrxVersion = targetCrxVersion; + return this; + } + + /** + * Optional. If set, validate and dry run the request but do not actually initiate the rollback + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * Optional. If set, validate and dry run the request but do not actually initiate the rollback + * @param validateOnly validateOnly or {@code null} for none + */ + public RollbackItemRequest setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + + @Override + public RollbackItemRequest set(String fieldName, Object value) { + return (RollbackItemRequest) super.set(fieldName, value); + } + + @Override + public RollbackItemRequest clone() { + return (RollbackItemRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RollbackItemResponse.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RollbackItemResponse.java new file mode 100644 index 00000000000..f5962661cfd --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/RollbackItemResponse.java @@ -0,0 +1,42 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Response message for `RollbackItem`. + * + *

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 Web Store 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 RollbackItemResponse extends com.google.api.client.json.GenericJson { + + @Override + public RollbackItemResponse set(String fieldName, Object value) { + return (RollbackItemResponse) super.set(fieldName, value); + } + + @Override + public RollbackItemResponse clone() { + return (RollbackItemResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml b/clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml index 83a5cd3b80c..21fa33506d7 100644 --- a/clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-chromewebstore - v2-rev20260924-2.9.2 - Chrome Web Store API v2-rev20260924-2.9.2 + v2-rev20261030-2.9.2 + Chrome Web Store API v2-rev20261030-2.9.2 jar 2011 diff --git a/clients/google-api-services-chromewebstore/v2/README.md b/clients/google-api-services-chromewebstore/v2/README.md index 281830b2332..2f370cfe519 100644 --- a/clients/google-api-services-chromewebstore/v2/README.md +++ b/clients/google-api-services-chromewebstore/v2/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-chromewebstore - v2-rev20260924-2.9.2 + v2-rev20261030-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20260924-2.9.2' + implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20261030-2.9.2' } ```