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

Filter by extension

Filter by extension


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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ public final class Assignment extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String assignee;

/**
* Optional. Common Expression Language (CEL) condition that defines the matching criteria for
* this assignment. The condition must resolve to a boolean value. Supported variables will be
* added later.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Expr condition;

/**
* Optional. Deprecated: "Gemini in BigQuery" is now available by default for all BigQuery
* editions and should not be explicitly set. Controls if "Gemini in BigQuery"
Expand Down Expand Up @@ -66,6 +75,17 @@ public final class Assignment extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Optional. Specifies the priority precedence for this assignment. Used to resolve ambiguity when
* multiple assignments match a single job. Higher numerical values represent higher priority
* (e.g., 20 is higher than 10). If unspecified, it defaults to 0. Multiple assignments can share
* the same precedence, but it is recommended to use unique precedence values for assignments
* within the same assignee scope.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long precedence;

/**
* Optional. Represents the principal for this assignment. If not empty, jobs run by this
* principal will utilize the associated reservation. Otherwise, jobs will fall back to using the
Expand Down Expand Up @@ -118,6 +138,27 @@ public Assignment setAssignee(java.lang.String assignee) {
return this;
}

/**
* Optional. Common Expression Language (CEL) condition that defines the matching criteria for
* this assignment. The condition must resolve to a boolean value. Supported variables will be
* added later.
* @return value or {@code null} for none
*/
public Expr getCondition() {
return condition;
}

/**
* Optional. Common Expression Language (CEL) condition that defines the matching criteria for
* this assignment. The condition must resolve to a boolean value. Supported variables will be
* added later.
* @param condition condition or {@code null} for none
*/
public Assignment setCondition(Expr condition) {
this.condition = condition;
return this;
}

/**
* Optional. Deprecated: "Gemini in BigQuery" is now available by default for all BigQuery
* editions and should not be explicitly set. Controls if "Gemini in BigQuery"
Expand Down Expand Up @@ -181,6 +222,31 @@ public Assignment setName(java.lang.String name) {
return this;
}

/**
* Optional. Specifies the priority precedence for this assignment. Used to resolve ambiguity when
* multiple assignments match a single job. Higher numerical values represent higher priority
* (e.g., 20 is higher than 10). If unspecified, it defaults to 0. Multiple assignments can share
* the same precedence, but it is recommended to use unique precedence values for assignments
* within the same assignee scope.
* @return value or {@code null} for none
*/
public java.lang.Long getPrecedence() {
return precedence;
}

/**
* Optional. Specifies the priority precedence for this assignment. Used to resolve ambiguity when
* multiple assignments match a single job. Higher numerical values represent higher priority
* (e.g., 20 is higher than 10). If unspecified, it defaults to 0. Multiple assignments can share
* the same precedence, but it is recommended to use unique precedence values for assignments
* within the same assignee scope.
* @param precedence precedence or {@code null} for none
*/
public Assignment setPrecedence(java.lang.Long precedence) {
this.precedence = precedence;
return this;
}

/**
* Optional. Represents the principal for this assignment. If not empty, jobs run by this
* principal will utilize the associated reservation. Otherwise, jobs will fall back to using the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
@SuppressWarnings("javadoc")
public final class ReservationGroup extends com.google.api.client.json.GenericJson {

/**
* Output only. Creation time of the reservation group.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String creationTime;

/**
* Identifier. The resource name of the reservation group, e.g.,
* `projects/locations/reservationGroups/team1-prod`. The reservation_group_id must only contain
Expand All @@ -49,6 +56,32 @@ public final class ReservationGroup extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private java.lang.String parentGroup;

/**
* Output only. Last update time of the reservation group via a user operation. This timestamp is
* updated only when an update operation explicitly targets this reservation group directly. It is
* not updated when parent or child groups are created, updated, or deleted.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;

/**
* Output only. Creation time of the reservation group.
* @return value or {@code null} for none
*/
public String getCreationTime() {
return creationTime;
}

/**
* Output only. Creation time of the reservation group.
* @param creationTime creationTime or {@code null} for none
*/
public ReservationGroup setCreationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}

/**
* Identifier. The resource name of the reservation group, e.g.,
* `projects/locations/reservationGroups/team1-prod`. The reservation_group_id must only contain
Expand Down Expand Up @@ -93,6 +126,27 @@ public ReservationGroup setParentGroup(java.lang.String parentGroup) {
return this;
}

/**
* Output only. Last update time of the reservation group via a user operation. This timestamp is
* updated only when an update operation explicitly targets this reservation group directly. It is
* not updated when parent or child groups are created, updated, or deleted.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}

/**
* Output only. Last update time of the reservation group via a user operation. This timestamp is
* updated only when an update operation explicitly targets this reservation group directly. It is
* not updated when parent or child groups are created, updated, or deleted.
* @param updateTime updateTime or {@code null} for none
*/
public ReservationGroup setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}

@Override
public ReservationGroup set(String fieldName, Object value) {
return (ReservationGroup) super.set(fieldName, value);
Expand Down
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-bigqueryreservation</artifactId>
<version>v1-rev20260812-2.0.0</version>
<name>BigQuery Reservation API v1-rev20260812-2.0.0</name>
<version>v1-rev20260819-2.0.0</version>
<name>BigQuery Reservation API v1-rev20260819-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
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-bigqueryreservation</artifactId>
<version>v1-rev20260812-2.0.0</version>
<version>v1-rev20260819-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20260812-2.0.0'
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20260819-2.0.0'
}
```

Expand Down
Loading