Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 4 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 @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-workflow-executions</artifactId>
<version>2.1.7</version>
<version>2.2.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-workflow-executions:2.1.7'
implementation 'com.google.cloud:google-cloud-workflow-executions:2.2.0'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.1.7"
libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "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 @@ -123,7 +122,6 @@ public static final ExecutionsClient create(ExecutionsSettings settings) throws
* Constructs an instance of ExecutionsClient, using the given stub for making calls. This is for
* advanced usage - prefer using create(ExecutionsSettings).
*/
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final ExecutionsClient create(ExecutionsStub stub) {
return new ExecutionsClient(stub);
}
Expand All @@ -137,7 +135,6 @@ protected ExecutionsClient(ExecutionsSettings settings) throws IOException {
this.stub = ((ExecutionsStubSettings) settings.getStubSettings()).createStub();
}

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

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public ExecutionsStub getStub() {
return stub;
}
Expand Down Expand Up @@ -297,7 +293,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
* .build();
* while (true) {
* ListExecutionsResponse response = executionsClient.listExecutionsCallable().call(request);
* for (Execution element : response.getResponsesList()) {
* for (Execution element : response.getExecutionsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ public UnaryCallSettings<CancelExecutionRequest, Execution> cancelExecutionSetti
return cancelExecutionSettings;
}

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

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected ExecutionsClient(ExecutionsStub stub) {
this.settings = null;
this.stub = stub;
Expand All @@ -148,7 +146,6 @@ public final ExecutionsSettings getSettings() {
return settings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public ExecutionsStub getStub() {
return stub;
}
Expand Down Expand Up @@ -298,7 +295,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
* .build();
* while (true) {
* ListExecutionsResponse response = executionsClient.listExecutionsCallable().call(request);
* for (Execution element : response.getResponsesList()) {
* for (Execution element : response.getExecutionsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ public UnaryCallSettings<CancelExecutionRequest, Execution> cancelExecutionSetti
return cancelExecutionSettings;
}

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