From 93f4b87df8e2bee29de15eced29f58462cb14756 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 7 Jun 2026 18:45:20 -0700 Subject: [PATCH] chore: regenerate cloudscheduler client --- .../v1/2.0.0/README.md | 4 +- .../cloudscheduler/v1/CloudScheduler.java | 37 ++++++---- .../v1/model/AppEngineHttpTarget.java | 54 +++++++------- .../cloudscheduler/v1/model/HttpTarget.java | 72 +++++++++++-------- .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1beta1/2.0.0/README.md | 4 +- .../v1beta1/CloudScheduler.java | 37 ++++++---- .../v1beta1/model/AppEngineHttpTarget.java | 54 +++++++------- .../v1beta1/model/HttpTarget.java | 72 +++++++++++-------- .../v1beta1/2.0.0/pom.xml | 4 +- .../v1beta1/README.md | 4 +- 12 files changed, 202 insertions(+), 148 deletions(-) diff --git a/clients/google-api-services-cloudscheduler/v1/2.0.0/README.md b/clients/google-api-services-cloudscheduler/v1/2.0.0/README.md index 844fab0a769..ae264280404 100644 --- a/clients/google-api-services-cloudscheduler/v1/2.0.0/README.md +++ b/clients/google-api-services-cloudscheduler/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-cloudscheduler - v1-rev20260202-2.0.0 + v1-rev20260522-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-cloudscheduler:v1-rev20260202-2.0.0' + implementation 'com.google.apis:google-api-services-cloudscheduler:v1-rev20260522-2.0.0' } ``` diff --git a/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/CloudScheduler.java b/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/CloudScheduler.java index f5ed69e5345..b6496d86145 100644 --- a/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/CloudScheduler.java +++ b/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/CloudScheduler.java @@ -458,10 +458,14 @@ public GetCmekConfig set(String parameterName, Object value) { } } /** - * Lists information about the supported locations for this service. This method can be called in - * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project- - * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include - * public locations as well as private or other locations specifically visible to the project. + * Lists information about the supported locations for this service. This method lists locations + * based on the resource scope provided in the ListLocationsRequest.name field: * **Global + * locations**: If `name` is empty, the method lists the public locations available to all projects. + * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method + * lists locations visible to that specific project. This includes public, private, or other + * project-specific locations enabled for the project. For gRPC and client library implementations, + * the resource name is passed as the `name` field. For direct service calls, the resource name is + * incorporated into the request path based on the specific service implementation and version. * * Create a request for the method "locations.list". * @@ -485,10 +489,15 @@ public class List extends CloudSchedulerRequest extraLocationTypes; - /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented - otherwise. This is primarily for internal usage. + /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for + internal usage. */ public java.util.List getExtraLocationTypes() { return extraLocationTypes; } /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly - * documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily + * for internal usage. */ public List setExtraLocationTypes(java.util.List extraLocationTypes) { this.extraLocationTypes = extraLocationTypes; diff --git a/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/AppEngineHttpTarget.java b/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/AppEngineHttpTarget.java index 4c351be807c..93e4a24bd47 100644 --- a/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/AppEngineHttpTarget.java +++ b/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/AppEngineHttpTarget.java @@ -58,14 +58,16 @@ public final class AppEngineHttpTarget extends com.google.api.client.json.Generi * header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The headers below are output only. They cannot be set or overridden: * - * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use - * only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, - * which contain job-specific information, are also be sent to the job handler. + * RFC3339. Remains constant across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The headers below are + * output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud + * Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal + * use only. In addition, some App Engine headers, which contain job-specific information, are + * also be sent to the job handler. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -163,14 +165,16 @@ public AppEngineHttpTarget encodeBody(byte[] body) { * header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The headers below are output only. They cannot be set or overridden: * - * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use - * only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, - * which contain job-specific information, are also be sent to the job handler. + * RFC3339. Remains constant across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The headers below are + * output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud + * Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal + * use only. In addition, some App Engine headers, which contain job-specific information, are + * also be sent to the job handler. * @return value or {@code null} for none */ public java.util.Map getHeaders() { @@ -186,14 +190,16 @@ public java.util.Map getHeaders() { * header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The headers below are output only. They cannot be set or overridden: * - * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use - * only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, - * which contain job-specific information, are also be sent to the job handler. + * RFC3339. Remains constant across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The headers below are + * output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud + * Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal + * use only. In addition, some App Engine headers, which contain job-specific information, are + * also be sent to the job handler. * @param headers headers or {@code null} for none */ public AppEngineHttpTarget setHeaders(java.util.Map headers) { diff --git a/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/HttpTarget.java b/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/HttpTarget.java index 4bcff9d06b1..97d69b97f22 100644 --- a/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/HttpTarget.java +++ b/clients/google-api-services-cloudscheduler/v1/2.0.0/com/google/api/services/cloudscheduler/v1/model/HttpTarget.java @@ -48,16 +48,20 @@ public final class HttpTarget extends com.google.api.client.json.GenericJson { * that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A * partial list of headers that are ignored or replaced is below: * Host: This will be computed by * Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud - * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: - * Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: - * This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job - * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron - * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The total size of headers must be less than 80KB. + * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Used + * internally by Google. If present in an external user request, it is replaced by the internal + * header. * `X-AppEngine-*`: Used internally by Google. If present in an external user request, + * it is replaced by the internal header. * `X-CloudScheduler`: This header will be set to true. * + * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler- + * ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will + * contain the job schedule as an offset of UTC parsed according to RFC3339. Remains constant + * across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers + * must be less than 80KB. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -156,16 +160,20 @@ public HttpTarget encodeBody(byte[] body) { * that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A * partial list of headers that are ignored or replaced is below: * Host: This will be computed by * Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud - * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: - * Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: - * This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job - * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron - * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The total size of headers must be less than 80KB. + * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Used + * internally by Google. If present in an external user request, it is replaced by the internal + * header. * `X-AppEngine-*`: Used internally by Google. If present in an external user request, + * it is replaced by the internal header. * `X-CloudScheduler`: This header will be set to true. * + * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler- + * ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will + * contain the job schedule as an offset of UTC parsed according to RFC3339. Remains constant + * across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers + * must be less than 80KB. * @return value or {@code null} for none */ public java.util.Map getHeaders() { @@ -179,16 +187,20 @@ public java.util.Map getHeaders() { * that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A * partial list of headers that are ignored or replaced is below: * Host: This will be computed by * Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud - * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: - * Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: - * This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job - * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron - * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The total size of headers must be less than 80KB. + * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Used + * internally by Google. If present in an external user request, it is replaced by the internal + * header. * `X-AppEngine-*`: Used internally by Google. If present in an external user request, + * it is replaced by the internal header. * `X-CloudScheduler`: This header will be set to true. * + * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler- + * ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will + * contain the job schedule as an offset of UTC parsed according to RFC3339. Remains constant + * across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers + * must be less than 80KB. * @param headers headers or {@code null} for none */ public HttpTarget setHeaders(java.util.Map headers) { diff --git a/clients/google-api-services-cloudscheduler/v1/2.0.0/pom.xml b/clients/google-api-services-cloudscheduler/v1/2.0.0/pom.xml index e9b4121e1eb..81cdcb22780 100644 --- a/clients/google-api-services-cloudscheduler/v1/2.0.0/pom.xml +++ b/clients/google-api-services-cloudscheduler/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-cloudscheduler - v1-rev20260202-2.0.0 - Cloud Scheduler API v1-rev20260202-2.0.0 + v1-rev20260522-2.0.0 + Cloud Scheduler API v1-rev20260522-2.0.0 jar 2011 diff --git a/clients/google-api-services-cloudscheduler/v1/README.md b/clients/google-api-services-cloudscheduler/v1/README.md index 844fab0a769..ae264280404 100644 --- a/clients/google-api-services-cloudscheduler/v1/README.md +++ b/clients/google-api-services-cloudscheduler/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-cloudscheduler - v1-rev20260202-2.0.0 + v1-rev20260522-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-cloudscheduler:v1-rev20260202-2.0.0' + implementation 'com.google.apis:google-api-services-cloudscheduler:v1-rev20260522-2.0.0' } ``` diff --git a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/README.md b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/README.md index 52a96790902..335f41b0681 100644 --- a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-cloudscheduler - v1beta1-rev20260202-2.0.0 + v1beta1-rev20260522-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-cloudscheduler:v1beta1-rev20260202-2.0.0' + implementation 'com.google.apis:google-api-services-cloudscheduler:v1beta1-rev20260522-2.0.0' } ``` diff --git a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/CloudScheduler.java b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/CloudScheduler.java index aca48a55eca..a9efcac6ce4 100644 --- a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/CloudScheduler.java +++ b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/CloudScheduler.java @@ -312,10 +312,14 @@ public Get set(String parameterName, Object value) { } } /** - * Lists information about the supported locations for this service. This method can be called in - * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project- - * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include - * public locations as well as private or other locations specifically visible to the project. + * Lists information about the supported locations for this service. This method lists locations + * based on the resource scope provided in the ListLocationsRequest.name field: * **Global + * locations**: If `name` is empty, the method lists the public locations available to all projects. + * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method + * lists locations visible to that specific project. This includes public, private, or other + * project-specific locations enabled for the project. For gRPC and client library implementations, + * the resource name is passed as the `name` field. For direct service calls, the resource name is + * incorporated into the request path based on the specific service implementation and version. * * Create a request for the method "locations.list". * @@ -339,10 +343,15 @@ public class List extends CloudSchedulerRequest extraLocationTypes; - /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented - otherwise. This is primarily for internal usage. + /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for + internal usage. */ public java.util.List getExtraLocationTypes() { return extraLocationTypes; } /** - * Optional. Do not use this field. It is unsupported and is ignored unless explicitly - * documented otherwise. This is primarily for internal usage. + * Optional. Do not use this field unless explicitly documented otherwise. This is primarily + * for internal usage. */ public List setExtraLocationTypes(java.util.List extraLocationTypes) { this.extraLocationTypes = extraLocationTypes; diff --git a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/model/AppEngineHttpTarget.java b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/model/AppEngineHttpTarget.java index 8256904cb82..37475f5b7a9 100644 --- a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/model/AppEngineHttpTarget.java +++ b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/model/AppEngineHttpTarget.java @@ -58,14 +58,16 @@ public final class AppEngineHttpTarget extends com.google.api.client.json.Generi * header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The headers below are output only. They cannot be set or overridden: * - * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use - * only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, - * which contain job-specific information, are also be sent to the job handler. + * RFC3339. Remains constant across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The headers below are + * output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud + * Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal + * use only. In addition, some App Engine headers, which contain job-specific information, are + * also be sent to the job handler. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -163,14 +165,16 @@ public AppEngineHttpTarget encodeBody(byte[] body) { * header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The headers below are output only. They cannot be set or overridden: * - * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use - * only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, - * which contain job-specific information, are also be sent to the job handler. + * RFC3339. Remains constant across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The headers below are + * output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud + * Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal + * use only. In addition, some App Engine headers, which contain job-specific information, are + * also be sent to the job handler. * @return value or {@code null} for none */ public java.util.Map getHeaders() { @@ -186,14 +190,16 @@ public java.util.Map getHeaders() { * header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The headers below are output only. They cannot be set or overridden: * - * `Content-Length`: This is computed by Cloud Scheduler. * `X-Google-*`: For Google internal use - * only. * `X-AppEngine-*`: For Google internal use only. In addition, some App Engine headers, - * which contain job-specific information, are also be sent to the job handler. + * RFC3339. Remains constant across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The headers below are + * output only. They cannot be set or overridden: * `Content-Length`: This is computed by Cloud + * Scheduler. * `X-Google-*`: For Google internal use only. * `X-AppEngine-*`: For Google internal + * use only. In addition, some App Engine headers, which contain job-specific information, are + * also be sent to the job handler. * @param headers headers or {@code null} for none */ public AppEngineHttpTarget setHeaders(java.util.Map headers) { diff --git a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/model/HttpTarget.java b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/model/HttpTarget.java index 5d8b8401b13..a3494eb8953 100644 --- a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/model/HttpTarget.java +++ b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/com/google/api/services/cloudscheduler/v1beta1/model/HttpTarget.java @@ -48,16 +48,20 @@ public final class HttpTarget extends com.google.api.client.json.GenericJson { * that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A * partial list of headers that are ignored or replaced is below: * Host: This will be computed by * Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud - * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: - * Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: - * This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job - * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron - * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The total size of headers must be less than 80KB. + * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Used + * internally by Google. If present in an external user request, it is replaced by the internal + * header. * `X-AppEngine-*`: Used internally by Google. If present in an external user request, + * it is replaced by the internal header. * `X-CloudScheduler`: This header will be set to true. * + * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler- + * ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will + * contain the job schedule as an offset of UTC parsed according to RFC3339. Remains constant + * across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers + * must be less than 80KB. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -156,16 +160,20 @@ public HttpTarget encodeBody(byte[] body) { * that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A * partial list of headers that are ignored or replaced is below: * Host: This will be computed by * Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud - * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: - * Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: - * This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job - * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron - * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The total size of headers must be less than 80KB. + * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Used + * internally by Google. If present in an external user request, it is replaced by the internal + * header. * `X-AppEngine-*`: Used internally by Google. If present in an external user request, + * it is replaced by the internal header. * `X-CloudScheduler`: This header will be set to true. * + * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler- + * ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will + * contain the job schedule as an offset of UTC parsed according to RFC3339. Remains constant + * across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers + * must be less than 80KB. * @return value or {@code null} for none */ public java.util.Map getHeaders() { @@ -179,16 +187,20 @@ public java.util.Map getHeaders() { * that accompany the job's HTTP request. Some HTTP request headers are ignored or replaced. A * partial list of headers that are ignored or replaced is below: * Host: This will be computed by * Cloud Scheduler and derived from uri. * `Content-Length`: This will be computed by Cloud - * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: - * Google internal use only. * `X-AppEngine-*`: Google internal use only. * `X-CloudScheduler`: - * This header will be set to true. * `X-CloudScheduler-JobName`: This header will contain the job - * name. * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron - * format, this header will contain the job schedule as an offset of UTC parsed according to - * RFC3339. If the job has a body and the following headers are not set by the user, Cloud - * Scheduler sets default values: * `Content-Type`: This will be set to `"application/octet- - * stream"`. You can override this default by explicitly setting `Content-Type` to a particular - * media type when creating the job. For example, you can set `Content-Type` to - * `"application/json"`. The total size of headers must be less than 80KB. + * Scheduler. * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`. * `X-Google-*`: Used + * internally by Google. If present in an external user request, it is replaced by the internal + * header. * `X-AppEngine-*`: Used internally by Google. If present in an external user request, + * it is replaced by the internal header. * `X-CloudScheduler`: This header will be set to true. * + * `X-CloudScheduler-JobName`: This header will contain the job name. * `X-CloudScheduler- + * ScheduleTime`: For Cloud Scheduler jobs specified in the unix-cron format, this header will + * contain the job schedule as an offset of UTC parsed according to RFC3339. Remains constant + * across retries and can be used for [job request + * deduplication](https://docs.cloud.google.com/scheduler/docs/overview#job-deduplication). If the + * job has a body and the following headers are not set by the user, Cloud Scheduler sets default + * values: * `Content-Type`: This will be set to `"application/octet-stream"`. You can override + * this default by explicitly setting `Content-Type` to a particular media type when creating the + * job. For example, you can set `Content-Type` to `"application/json"`. The total size of headers + * must be less than 80KB. * @param headers headers or {@code null} for none */ public HttpTarget setHeaders(java.util.Map headers) { diff --git a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/pom.xml b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/pom.xml index 481f5f6f312..bca33528ef3 100644 --- a/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-cloudscheduler/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-cloudscheduler - v1beta1-rev20260202-2.0.0 - Cloud Scheduler API v1beta1-rev20260202-2.0.0 + v1beta1-rev20260522-2.0.0 + Cloud Scheduler API v1beta1-rev20260522-2.0.0 jar 2011 diff --git a/clients/google-api-services-cloudscheduler/v1beta1/README.md b/clients/google-api-services-cloudscheduler/v1beta1/README.md index 52a96790902..335f41b0681 100644 --- a/clients/google-api-services-cloudscheduler/v1beta1/README.md +++ b/clients/google-api-services-cloudscheduler/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-cloudscheduler - v1beta1-rev20260202-2.0.0 + v1beta1-rev20260522-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-cloudscheduler:v1beta1-rev20260202-2.0.0' + implementation 'com.google.apis:google-api-services-cloudscheduler:v1beta1-rev20260522-2.0.0' } ```