Skip to content

Commit 5dc884a

Browse files
1 parent 9aabba7 commit 5dc884a

File tree

16 files changed

+1640
-206
lines changed

16 files changed

+1640
-206
lines changed

clients/google-api-services-cloudscheduler/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-cloudscheduler</artifactId>
25-
<version>v1-rev20250925-2.0.0</version>
25+
<version>v1-rev20251022-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-cloudscheduler:v1-rev20250925-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudscheduler:v1-rev20251022-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/CloudScheduler.java

Lines changed: 343 additions & 37 deletions
Large diffs are not rendered by default.
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
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.cloudscheduler.v1.model;
18+
19+
/**
20+
* Describes the project/location configuration of Cloud Scheduler Resources.
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 Cloud Scheduler API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class CmekConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Resource name of the Cloud KMS key, of the form
34+
* `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will
35+
* be used to encrypt Jobs in the region. Setting this as blank will turn off CMEK encryption.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String kmsKeyName;
40+
41+
/**
42+
* Identifier. The config resource name which includes the project and location and must end in
43+
* 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String name;
48+
49+
/**
50+
* Optional. Resource name of the Cloud KMS key, of the form
51+
* `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will
52+
* be used to encrypt Jobs in the region. Setting this as blank will turn off CMEK encryption.
53+
* @return value or {@code null} for none
54+
*/
55+
public java.lang.String getKmsKeyName() {
56+
return kmsKeyName;
57+
}
58+
59+
/**
60+
* Optional. Resource name of the Cloud KMS key, of the form
61+
* `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will
62+
* be used to encrypt Jobs in the region. Setting this as blank will turn off CMEK encryption.
63+
* @param kmsKeyName kmsKeyName or {@code null} for none
64+
*/
65+
public CmekConfig setKmsKeyName(java.lang.String kmsKeyName) {
66+
this.kmsKeyName = kmsKeyName;
67+
return this;
68+
}
69+
70+
/**
71+
* Identifier. The config resource name which includes the project and location and must end in
72+
* 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getName() {
76+
return name;
77+
}
78+
79+
/**
80+
* Identifier. The config resource name which includes the project and location and must end in
81+
* 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`
82+
* @param name name or {@code null} for none
83+
*/
84+
public CmekConfig setName(java.lang.String name) {
85+
this.name = name;
86+
return this;
87+
}
88+
89+
@Override
90+
public CmekConfig set(String fieldName, Object value) {
91+
return (CmekConfig) super.set(fieldName, value);
92+
}
93+
94+
@Override
95+
public CmekConfig clone() {
96+
return (CmekConfig) super.clone();
97+
}
98+
99+
}

clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/Job.java

Lines changed: 54 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,13 @@ public final class Job extends com.google.api.client.json.GenericJson {
7878
* Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For
7979
* example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID` can contain
8080
* letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more
81-
* information, see [Identifying projects](https://cloud.google.com/resource-
82-
* manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical
83-
* ID for the job's location. The list of available locations can be obtained by calling
84-
* ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID`
85-
* can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The
86-
* maximum length is 500 characters.
81+
* information, see [Identifying projects](/resource-manager/docs/creating-managing-
82+
* projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the job's location. The
83+
* list of available locations can be obtained by calling
84+
* [locations.list](/scheduler/docs/reference/rest/v1/projects.locations/list). For more
85+
* information, see [Cloud Scheduler locations](/scheduler/docs/locations). * `JOB_ID` can contain
86+
* only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length
87+
* is 500 characters.
8788
* The value may be {@code null}.
8889
*/
8990
@com.google.api.client.util.Key
@@ -114,17 +115,17 @@ public final class Job extends com.google.api.client.json.GenericJson {
114115
* Required, except when used with UpdateJob. Describes the schedule on which the job will be
115116
* executed. The schedule can be either of the following types: *
116117
* [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like
117-
* [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general
118-
* rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud
119-
* Scheduler will never allow two simultaneously outstanding executions. For example, this implies
120-
* that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until
121-
* 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be
122-
* delayed if the previous execution has not ended when its scheduled time occurs. If retry_count
123-
* > 0 and a job attempt fails, the job will be tried a total of retry_count times, with
124-
* exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt
125-
* will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next
126-
* scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running
127-
* according to schedule after the failure.
118+
* [schedule](/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1`
119+
* of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two
120+
* simultaneously outstanding executions. For example, this implies that if the `n+1`th execution
121+
* is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution
122+
* will not start until `16:15`. A scheduled start time will be delayed if the previous execution
123+
* has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the
124+
* job will be tried a total of retry_count times, with exponential backoff, until the next
125+
* scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails.
126+
* Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting
127+
* retry_count to 0 does not prevent failed jobs from running according to schedule after the
128+
* failure.
128129
* The value may be {@code null}.
129130
*/
130131
@com.google.api.client.util.Key
@@ -279,12 +280,13 @@ public Job setLastAttemptTime(String lastAttemptTime) {
279280
* Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For
280281
* example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID` can contain
281282
* letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more
282-
* information, see [Identifying projects](https://cloud.google.com/resource-
283-
* manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical
284-
* ID for the job's location. The list of available locations can be obtained by calling
285-
* ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID`
286-
* can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The
287-
* maximum length is 500 characters.
283+
* information, see [Identifying projects](/resource-manager/docs/creating-managing-
284+
* projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the job's location. The
285+
* list of available locations can be obtained by calling
286+
* [locations.list](/scheduler/docs/reference/rest/v1/projects.locations/list). For more
287+
* information, see [Cloud Scheduler locations](/scheduler/docs/locations). * `JOB_ID` can contain
288+
* only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length
289+
* is 500 characters.
288290
* @return value or {@code null} for none
289291
*/
290292
public java.lang.String getName() {
@@ -295,12 +297,13 @@ public java.lang.String getName() {
295297
* Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For
296298
* example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID` can contain
297299
* letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more
298-
* information, see [Identifying projects](https://cloud.google.com/resource-
299-
* manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical
300-
* ID for the job's location. The list of available locations can be obtained by calling
301-
* ListLocations. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID`
302-
* can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The
303-
* maximum length is 500 characters.
300+
* information, see [Identifying projects](/resource-manager/docs/creating-managing-
301+
* projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the job's location. The
302+
* list of available locations can be obtained by calling
303+
* [locations.list](/scheduler/docs/reference/rest/v1/projects.locations/list). For more
304+
* information, see [Cloud Scheduler locations](/scheduler/docs/locations). * `JOB_ID` can contain
305+
* only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length
306+
* is 500 characters.
304307
* @param name name or {@code null} for none
305308
*/
306309
public Job setName(java.lang.String name) {
@@ -363,17 +366,17 @@ public Job setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
363366
* Required, except when used with UpdateJob. Describes the schedule on which the job will be
364367
* executed. The schedule can be either of the following types: *
365368
* [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like
366-
* [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general
367-
* rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud
368-
* Scheduler will never allow two simultaneously outstanding executions. For example, this implies
369-
* that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until
370-
* 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be
371-
* delayed if the previous execution has not ended when its scheduled time occurs. If retry_count
372-
* > 0 and a job attempt fails, the job will be tried a total of retry_count times, with
373-
* exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt
374-
* will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next
375-
* scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running
376-
* according to schedule after the failure.
369+
* [schedule](/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1`
370+
* of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two
371+
* simultaneously outstanding executions. For example, this implies that if the `n+1`th execution
372+
* is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution
373+
* will not start until `16:15`. A scheduled start time will be delayed if the previous execution
374+
* has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the
375+
* job will be tried a total of retry_count times, with exponential backoff, until the next
376+
* scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails.
377+
* Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting
378+
* retry_count to 0 does not prevent failed jobs from running according to schedule after the
379+
* failure.
377380
* @return value or {@code null} for none
378381
*/
379382
public java.lang.String getSchedule() {
@@ -384,17 +387,17 @@ public java.lang.String getSchedule() {
384387
* Required, except when used with UpdateJob. Describes the schedule on which the job will be
385388
* executed. The schedule can be either of the following types: *
386389
* [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like
387-
* [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general
388-
* rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud
389-
* Scheduler will never allow two simultaneously outstanding executions. For example, this implies
390-
* that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until
391-
* 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be
392-
* delayed if the previous execution has not ended when its scheduled time occurs. If retry_count
393-
* > 0 and a job attempt fails, the job will be tried a total of retry_count times, with
394-
* exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt
395-
* will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next
396-
* scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running
397-
* according to schedule after the failure.
390+
* [schedule](/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1`
391+
* of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two
392+
* simultaneously outstanding executions. For example, this implies that if the `n+1`th execution
393+
* is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution
394+
* will not start until `16:15`. A scheduled start time will be delayed if the previous execution
395+
* has not ended when its scheduled time occurs. If retry_count > 0 and a job attempt fails, the
396+
* job will be tried a total of retry_count times, with exponential backoff, until the next
397+
* scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails.
398+
* Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting
399+
* retry_count to 0 does not prevent failed jobs from running according to schedule after the
400+
* failure.
398401
* @param schedule schedule or {@code null} for none
399402
*/
400403
public Job setSchedule(java.lang.String schedule) {

clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/RetryConfig.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
/**
2020
* Settings that determine the retry behavior. For more information, see [Retry
21-
* jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs). By default, if a job does
22-
* not complete successfully (meaning that an acknowledgement is not received from the handler, then
23-
* it will be retried with exponential backoff according to the settings in RetryConfig.
21+
* jobs](/scheduler/docs/configuring/retry-jobs). By default, if a job does not complete
22+
* successfully (meaning that an acknowledgement is not received from the handler, then it will be
23+
* retried with exponential backoff according to the settings in RetryConfig.
2424
*
2525
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2626
* transmitted over HTTP when working with the Cloud Scheduler API. For a detailed explanation see:
@@ -44,8 +44,8 @@ public final class RetryConfig extends com.google.api.client.json.GenericJson {
4444
* The time between retries will double `max_doublings` times. A job's retry interval starts at
4545
* min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally
4646
* retries at intervals of max_backoff_duration up to retry_count times. For examples, see [Retry
47-
* jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs#max-doublings). The
48-
* default value of this field is 5.
47+
* jobs](/scheduler/docs/configuring/retry-jobs#max-doublings). The default value of this field is
48+
* 5.
4949
* The value may be {@code null}.
5050
*/
5151
@com.google.api.client.util.Key
@@ -107,8 +107,8 @@ public RetryConfig setMaxBackoffDuration(String maxBackoffDuration) {
107107
* The time between retries will double `max_doublings` times. A job's retry interval starts at
108108
* min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally
109109
* retries at intervals of max_backoff_duration up to retry_count times. For examples, see [Retry
110-
* jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs#max-doublings). The
111-
* default value of this field is 5.
110+
* jobs](/scheduler/docs/configuring/retry-jobs#max-doublings). The default value of this field is
111+
* 5.
112112
* @return value or {@code null} for none
113113
*/
114114
public java.lang.Integer getMaxDoublings() {
@@ -119,8 +119,8 @@ public java.lang.Integer getMaxDoublings() {
119119
* The time between retries will double `max_doublings` times. A job's retry interval starts at
120120
* min_backoff_duration, then doubles `max_doublings` times, then increases linearly, and finally
121121
* retries at intervals of max_backoff_duration up to retry_count times. For examples, see [Retry
122-
* jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs#max-doublings). The
123-
* default value of this field is 5.
122+
* jobs](/scheduler/docs/configuring/retry-jobs#max-doublings). The default value of this field is
123+
* 5.
124124
* @param maxDoublings maxDoublings or {@code null} for none
125125
*/
126126
public RetryConfig setMaxDoublings(java.lang.Integer maxDoublings) {

clients/google-api-services-cloudscheduler/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-cloudscheduler</artifactId>
11-
<version>v1-rev20250925-2.0.0</version>
12-
<name>Cloud Scheduler API v1-rev20250925-2.0.0</name>
11+
<version>v1-rev20251022-2.0.0</version>
12+
<name>Cloud Scheduler API v1-rev20251022-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)