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-cloudscheduler</artifactId>
<version>v1-rev20260202-2.0.0</version>
<version>v1-rev20260522-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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".
*
Expand All @@ -485,10 +489,15 @@ public class List extends CloudSchedulerRequest<com.google.api.services.cloudsch
java.util.regex.Pattern.compile("^projects/[^/]+$");

/**
* 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".
*
Expand Down Expand Up @@ -597,22 +606,22 @@ public List setName(java.lang.String name) {
}

/**
* 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.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> 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<java.lang.String> 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<java.lang.String> extraLocationTypes) {
this.extraLocationTypes = extraLocationTypes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<String, java.lang.String> getHeaders() {
Expand All @@ -186,14 +190,16 @@ public java.util.Map<String, java.lang.String> 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<String, java.lang.String> headers) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<String, java.lang.String> getHeaders() {
Expand All @@ -179,16 +187,20 @@ public java.util.Map<String, java.lang.String> 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<String, java.lang.String> headers) {
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-cloudscheduler/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-cloudscheduler</artifactId>
<version>v1-rev20260202-2.0.0</version>
<name>Cloud Scheduler API v1-rev20260202-2.0.0</name>
<version>v1-rev20260522-2.0.0</version>
<name>Cloud Scheduler API v1-rev20260522-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Loading