Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies

```Groovy
implementation platform('com.google.cloud:libraries-bom:25.3.0')
implementation platform('com.google.cloud:libraries-bom:25.4.0')

implementation 'com.google.cloud:google-cloud-scheduler'
```
If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-scheduler:2.1.23'
implementation 'com.google.cloud:google-cloud-scheduler:2.2.0'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.1.23"
libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.2.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.paging.AbstractFixedSizeCollection;
import com.google.api.gax.paging.AbstractPage;
Expand Down Expand Up @@ -125,7 +124,6 @@ public static final CloudSchedulerClient create(CloudSchedulerSettings settings)
* Constructs an instance of CloudSchedulerClient, using the given stub for making calls. This is
* for advanced usage - prefer using create(CloudSchedulerSettings).
*/
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final CloudSchedulerClient create(CloudSchedulerStub stub) {
return new CloudSchedulerClient(stub);
}
Expand All @@ -140,7 +138,6 @@ protected CloudSchedulerClient(CloudSchedulerSettings settings) throws IOExcepti
this.stub = ((CloudSchedulerStubSettings) settings.getStubSettings()).createStub();
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected CloudSchedulerClient(CloudSchedulerStub stub) {
this.settings = null;
this.stub = stub;
Expand All @@ -150,7 +147,6 @@ public final CloudSchedulerSettings getSettings() {
return settings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudSchedulerStub getStub() {
return stub;
}
Expand Down Expand Up @@ -283,7 +279,7 @@ public final UnaryCallable<ListJobsRequest, ListJobsPagedResponse> listJobsPaged
* .build();
* while (true) {
* ListJobsResponse response = cloudSchedulerClient.listJobsCallable().call(request);
* for (Job element : response.getResponsesList()) {
* for (Job element : response.getJobsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ public UnaryCallSettings<RunJobRequest, Job> runJobSettings() {
return runJobSettings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudSchedulerStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ public static final CloudSchedulerClient create(CloudSchedulerSettings settings)
* Constructs an instance of CloudSchedulerClient, using the given stub for making calls. This is
* for advanced usage - prefer using create(CloudSchedulerSettings).
*/
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final CloudSchedulerClient create(CloudSchedulerStub stub) {
return new CloudSchedulerClient(stub);
}
Expand All @@ -141,7 +140,6 @@ protected CloudSchedulerClient(CloudSchedulerSettings settings) throws IOExcepti
this.stub = ((CloudSchedulerStubSettings) settings.getStubSettings()).createStub();
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected CloudSchedulerClient(CloudSchedulerStub stub) {
this.settings = null;
this.stub = stub;
Expand All @@ -151,7 +149,6 @@ public final CloudSchedulerSettings getSettings() {
return settings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudSchedulerStub getStub() {
return stub;
}
Expand Down Expand Up @@ -284,7 +281,7 @@ public final UnaryCallable<ListJobsRequest, ListJobsPagedResponse> listJobsPaged
* .build();
* while (true) {
* ListJobsResponse response = cloudSchedulerClient.listJobsCallable().call(request);
* for (Job element : response.getResponsesList()) {
* for (Job element : response.getJobsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ public UnaryCallSettings<RunJobRequest, Job> runJobSettings() {
return runJobSettings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudSchedulerStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
Expand Down