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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-deepreview/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-deepreview</artifactId>
<version>v1-rev20261028-2.9.2</version>
<version>v1-rev20261030-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-deepreview:v1-rev20261028-2.9.2'
implementation 'com.google.apis:google-api-services-deepreview:v1-rev20261030-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,9 @@ public Delete set(String parameterName, Object value) {
}
/**
* Estimates what a review of a document would cost on the caller's Gemini API key. The estimate
* comes from what past reviews with the same model and depth cost, adjusted to this document's size
* and repriced at the Gemini API's current list prices. It covers one review attempt that runs to
* completion, and doesn't include retries after errors.
* comes from what past reviews with the same model, depth, and thinking level cost, adjusted to
* this document's size and repriced at the Gemini API's current list prices. It covers one review
* attempt that runs to completion, and doesn't include retries after errors.
*
* Create a request for the method "documents.estimateReviewCost".
*
Expand All @@ -355,9 +355,9 @@ public class EstimateReviewCost extends DeepReviewRequest<com.google.api.service

/**
* Estimates what a review of a document would cost on the caller's Gemini API key. The estimate
* comes from what past reviews with the same model and depth cost, adjusted to this document's
* size and repriced at the Gemini API's current list prices. It covers one review attempt that
* runs to completion, and doesn't include retries after errors.
* comes from what past reviews with the same model, depth, and thinking level cost, adjusted to
* this document's size and repriced at the Gemini API's current list prices. It covers one review
* attempt that runs to completion, and doesn't include retries after errors.
*
* Create a request for the method "documents.estimateReviewCost".
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ public final class DeepReviewRunConfig extends com.google.api.client.json.Generi
@com.google.api.client.util.Key
private java.lang.String model;

/**
* Optional. Reasoning effort level for model calls in the review pipeline. Defaults to
* `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`.
* Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling
* `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String thinkingLevel;

/**
* Optional. Review execution topology profile to use.
* The value may be {@code null}.
Expand Down Expand Up @@ -131,6 +141,29 @@ public DeepReviewRunConfig setModel(java.lang.String model) {
return this;
}

/**
* Optional. Reasoning effort level for model calls in the review pipeline. Defaults to
* `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`.
* Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling
* `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`.
* @return value or {@code null} for none
*/
public java.lang.String getThinkingLevel() {
return thinkingLevel;
}

/**
* Optional. Reasoning effort level for model calls in the review pipeline. Defaults to
* `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`.
* Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling
* `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`.
* @param thinkingLevel thinkingLevel or {@code null} for none
*/
public DeepReviewRunConfig setThinkingLevel(java.lang.String thinkingLevel) {
this.thinkingLevel = thinkingLevel;
return this;
}

/**
* Optional. Review execution topology profile to use.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

/**
* Response message for estimating what a review would cost. When the cost can't be estimated, for
* example because too few past reviews used the same model and depth, the costs are unset and
* `past_review_count` is 0.
* example because too few past reviews used the same model, depth, and thinking level, the costs
* are unset and `past_review_count` is 0.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Deep Review API. For a detailed explanation see:
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-deepreview/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-deepreview</artifactId>
<version>v1-rev20261028-2.9.2</version>
<name>Deep Review API v1-rev20261028-2.9.2</name>
<version>v1-rev20261030-2.9.2</version>
<name>Deep Review API v1-rev20261030-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-deepreview/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-deepreview</artifactId>
<version>v1-rev20261028-2.9.2</version>
<version>v1-rev20261030-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-deepreview:v1-rev20261028-2.9.2'
implementation 'com.google.apis:google-api-services-deepreview:v1-rev20261030-2.9.2'
}
```

Expand Down
Loading