Skip to content

Commit c69732a

Browse files
1 parent aaf4751 commit c69732a

File tree

6 files changed

+172
-6
lines changed

6 files changed

+172
-6
lines changed

clients/google-api-services-bigqueryreservation/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-bigqueryreservation</artifactId>
25-
<version>v1-rev20250907-2.0.0</version>
25+
<version>v1-rev20251009-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20250907-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20251009-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-bigqueryreservation/v1/2.0.0/com/google/api/services/bigqueryreservation/v1/model/Assignment.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ public final class Assignment extends com.google.api.client.json.GenericJson {
6868
@com.google.api.client.util.Key
6969
private java.lang.String name;
7070

71+
/**
72+
* Optional. The scheduling policy to use for jobs and queries of this assignee when running under
73+
* the associated reservation. The scheduling policy controls how the reservation's resources are
74+
* distributed. This overrides the default scheduling policy specified on the reservation. This
75+
* feature is not yet generally available.
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private SchedulingPolicy schedulingPolicy;
80+
7181
/**
7282
* Output only. State of the assignment.
7383
* The value may be {@code null}.
@@ -161,6 +171,29 @@ public Assignment setName(java.lang.String name) {
161171
return this;
162172
}
163173

174+
/**
175+
* Optional. The scheduling policy to use for jobs and queries of this assignee when running under
176+
* the associated reservation. The scheduling policy controls how the reservation's resources are
177+
* distributed. This overrides the default scheduling policy specified on the reservation. This
178+
* feature is not yet generally available.
179+
* @return value or {@code null} for none
180+
*/
181+
public SchedulingPolicy getSchedulingPolicy() {
182+
return schedulingPolicy;
183+
}
184+
185+
/**
186+
* Optional. The scheduling policy to use for jobs and queries of this assignee when running under
187+
* the associated reservation. The scheduling policy controls how the reservation's resources are
188+
* distributed. This overrides the default scheduling policy specified on the reservation. This
189+
* feature is not yet generally available.
190+
* @param schedulingPolicy schedulingPolicy or {@code null} for none
191+
*/
192+
public Assignment setSchedulingPolicy(SchedulingPolicy schedulingPolicy) {
193+
this.schedulingPolicy = schedulingPolicy;
194+
return this;
195+
}
196+
164197
/**
165198
* Output only. State of the assignment.
166199
* @return value or {@code null} for none

clients/google-api-services-bigqueryreservation/v1/2.0.0/com/google/api/services/bigqueryreservation/v1/model/Reservation.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,15 @@ public final class Reservation extends com.google.api.client.json.GenericJson {
180180
@com.google.api.client.util.Key
181181
private java.lang.String scalingMode;
182182

183+
/**
184+
* Optional. The scheduling policy to use for jobs and queries running under this reservation. The
185+
* scheduling policy controls how the reservation's resources are distributed. This feature is not
186+
* yet generally available.
187+
* The value may be {@code null}.
188+
*/
189+
@com.google.api.client.util.Key
190+
private SchedulingPolicy schedulingPolicy;
191+
183192
/**
184193
* Optional. The current location of the reservation's secondary replica. This field is only set
185194
* for reservations using the managed disaster recovery feature. Users can set this in create
@@ -554,6 +563,27 @@ public Reservation setScalingMode(java.lang.String scalingMode) {
554563
return this;
555564
}
556565

566+
/**
567+
* Optional. The scheduling policy to use for jobs and queries running under this reservation. The
568+
* scheduling policy controls how the reservation's resources are distributed. This feature is not
569+
* yet generally available.
570+
* @return value or {@code null} for none
571+
*/
572+
public SchedulingPolicy getSchedulingPolicy() {
573+
return schedulingPolicy;
574+
}
575+
576+
/**
577+
* Optional. The scheduling policy to use for jobs and queries running under this reservation. The
578+
* scheduling policy controls how the reservation's resources are distributed. This feature is not
579+
* yet generally available.
580+
* @param schedulingPolicy schedulingPolicy or {@code null} for none
581+
*/
582+
public Reservation setSchedulingPolicy(SchedulingPolicy schedulingPolicy) {
583+
this.schedulingPolicy = schedulingPolicy;
584+
return this;
585+
}
586+
557587
/**
558588
* Optional. The current location of the reservation's secondary replica. This field is only set
559589
* for reservations using the managed disaster recovery feature. Users can set this in create
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.bigqueryreservation.v1.model;
18+
19+
/**
20+
* The scheduling policy controls how a reservation's resources are distributed.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the BigQuery Reservation API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class SchedulingPolicy extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs
35+
* running for any particular project within it to the given value. This feature is not yet
36+
* generally available.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
40+
private java.lang.Long concurrency;
41+
42+
/**
43+
* Optional. If present and > 0, the reservation will attempt to limit the slot consumption of
44+
* queries running for any particular project within it to the given value. This feature is not
45+
* yet generally available.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
49+
private java.lang.Long maxSlots;
50+
51+
/**
52+
* Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs
53+
* running for any particular project within it to the given value. This feature is not yet
54+
* generally available.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.Long getConcurrency() {
58+
return concurrency;
59+
}
60+
61+
/**
62+
* Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs
63+
* running for any particular project within it to the given value. This feature is not yet
64+
* generally available.
65+
* @param concurrency concurrency or {@code null} for none
66+
*/
67+
public SchedulingPolicy setConcurrency(java.lang.Long concurrency) {
68+
this.concurrency = concurrency;
69+
return this;
70+
}
71+
72+
/**
73+
* Optional. If present and > 0, the reservation will attempt to limit the slot consumption of
74+
* queries running for any particular project within it to the given value. This feature is not
75+
* yet generally available.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.Long getMaxSlots() {
79+
return maxSlots;
80+
}
81+
82+
/**
83+
* Optional. If present and > 0, the reservation will attempt to limit the slot consumption of
84+
* queries running for any particular project within it to the given value. This feature is not
85+
* yet generally available.
86+
* @param maxSlots maxSlots or {@code null} for none
87+
*/
88+
public SchedulingPolicy setMaxSlots(java.lang.Long maxSlots) {
89+
this.maxSlots = maxSlots;
90+
return this;
91+
}
92+
93+
@Override
94+
public SchedulingPolicy set(String fieldName, Object value) {
95+
return (SchedulingPolicy) super.set(fieldName, value);
96+
}
97+
98+
@Override
99+
public SchedulingPolicy clone() {
100+
return (SchedulingPolicy) super.clone();
101+
}
102+
103+
}

clients/google-api-services-bigqueryreservation/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-bigqueryreservation</artifactId>
11-
<version>v1-rev20250907-2.0.0</version>
12-
<name>BigQuery Reservation API v1-rev20250907-2.0.0</name>
11+
<version>v1-rev20251009-2.0.0</version>
12+
<name>BigQuery Reservation API v1-rev20251009-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-bigqueryreservation/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-bigqueryreservation</artifactId>
25-
<version>v1-rev20250907-2.0.0</version>
25+
<version>v1-rev20251009-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20250907-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20251009-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)