Date: Tue, 9 Feb 2021 10:50:08 -0800
Subject: [PATCH 09/20] docs: generate sample code in the Java microgenerator
(#56)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/b5715173-fa09-4f29-8c69-530ae787b970/targets
- [ ] To automatically regenerate this PR, check this box.
PiperOrigin-RevId: 356341083
Source-Link: https://github.com/googleapis/googleapis/commit/8d8c008e56f1af31d57f75561e0f1848ffb29eeb
---
.../executions/v1beta/ExecutionsClient.java | 220 ++++++++++++++++++
.../executions/v1beta/package-info.java | 8 +
synth.metadata | 6 +-
3 files changed, 231 insertions(+), 3 deletions(-)
diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java
index 8cba1b50..f16883ee 100644
--- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java
+++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java
@@ -42,6 +42,14 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
*
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]");
+ * Execution execution = Execution.newBuilder().build();
+ * Execution response = executionsClient.createExecution(parent, execution);
+ * }
+ * }
+ *
* Note: close() needs to be called on the ExecutionsClient object to clean up resources such as
* threads. In the example above, try-with-resources is used, which automatically calls close().
*
@@ -146,6 +154,17 @@ public ExecutionsStub getStub() {
* returns executions of all workflow revisions. Returned executions are ordered by their start
* time (newest first).
*
+ *
Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]");
+ * for (Execution element : executionsClient.listExecutions(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
* @param parent Required. Name of the workflow for which the executions should be listed. Format:
* projects/{project}/locations/{location}/workflows/{workflow}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -164,6 +183,17 @@ public final ListExecutionsPagedResponse listExecutions(WorkflowName parent) {
* returns executions of all workflow revisions. Returned executions are ordered by their start
* time (newest first).
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * String parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString();
+ * for (Execution element : executionsClient.listExecutions(parent).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
* @param parent Required. Name of the workflow for which the executions should be listed. Format:
* projects/{project}/locations/{location}/workflows/{workflow}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -179,6 +209,22 @@ public final ListExecutionsPagedResponse listExecutions(String parent) {
* returns executions of all workflow revisions. Returned executions are ordered by their start
* time (newest first).
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * ListExecutionsRequest request =
+ * ListExecutionsRequest.newBuilder()
+ * .setParent(WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * for (Execution element : executionsClient.listExecutions(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -193,6 +239,23 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
* time (newest first).
*
* Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * ListExecutionsRequest request =
+ * ListExecutionsRequest.newBuilder()
+ * .setParent(WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .build();
+ * ApiFuture future =
+ * executionsClient.listExecutionsPagedCallable().futureCall(request);
+ * // Do something.
+ * for (Execution element : future.get().iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
*/
public final UnaryCallable
listExecutionsPagedCallable() {
@@ -206,6 +269,23 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
* time (newest first).
*
* Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * while (true) {
+ * ListExecutionsResponse response = executionsClient.listExecutionsCallable().call(request);
+ * for (Execution element : response.getResponsesList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
*/
public final UnaryCallable
listExecutionsCallable() {
@@ -216,6 +296,16 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
/**
* Creates a new execution using the latest revision of the given workflow.
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]");
+ * Execution execution = Execution.newBuilder().build();
+ * Execution response = executionsClient.createExecution(parent, execution);
+ * }
+ * }
+ *
* @param parent Required. Name of the workflow for which an execution should be created. Format:
* projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the
* workflow will be used.
@@ -235,6 +325,16 @@ public final Execution createExecution(WorkflowName parent, Execution execution)
/**
* Creates a new execution using the latest revision of the given workflow.
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * String parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString();
+ * Execution execution = Execution.newBuilder().build();
+ * Execution response = executionsClient.createExecution(parent, execution);
+ * }
+ * }
+ *
* @param parent Required. Name of the workflow for which an execution should be created. Format:
* projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the
* workflow will be used.
@@ -251,6 +351,19 @@ public final Execution createExecution(String parent, Execution execution) {
/**
* Creates a new execution using the latest revision of the given workflow.
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * CreateExecutionRequest request =
+ * CreateExecutionRequest.newBuilder()
+ * .setParent(WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString())
+ * .setExecution(Execution.newBuilder().build())
+ * .build();
+ * Execution response = executionsClient.createExecution(request);
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -263,6 +376,19 @@ public final Execution createExecution(CreateExecutionRequest request) {
* Creates a new execution using the latest revision of the given workflow.
*
* Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * CreateExecutionRequest request =
+ * CreateExecutionRequest.newBuilder()
+ * .setParent(WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString())
+ * .setExecution(Execution.newBuilder().build())
+ * .build();
+ * ApiFuture future = executionsClient.createExecutionCallable().futureCall(request);
+ * // Do something.
+ * Execution response = future.get();
+ * }
+ * }
*/
public final UnaryCallable createExecutionCallable() {
return stub.createExecutionCallable();
@@ -272,6 +398,15 @@ public final UnaryCallable createExecutionCal
/**
* Returns an execution of the given name.
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]");
+ * Execution response = executionsClient.getExecution(name);
+ * }
+ * }
+ *
* @param name Required. Name of the execution to be retrieved. Format:
* projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -286,6 +421,16 @@ public final Execution getExecution(ExecutionName name) {
/**
* Returns an execution of the given name.
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * String name =
+ * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString();
+ * Execution response = executionsClient.getExecution(name);
+ * }
+ * }
+ *
* @param name Required. Name of the execution to be retrieved. Format:
* projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -299,6 +444,20 @@ public final Execution getExecution(String name) {
/**
* Returns an execution of the given name.
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * GetExecutionRequest request =
+ * GetExecutionRequest.newBuilder()
+ * .setName(
+ * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]")
+ * .toString())
+ * .build();
+ * Execution response = executionsClient.getExecution(request);
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -311,6 +470,20 @@ public final Execution getExecution(GetExecutionRequest request) {
* Returns an execution of the given name.
*
* Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * GetExecutionRequest request =
+ * GetExecutionRequest.newBuilder()
+ * .setName(
+ * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]")
+ * .toString())
+ * .build();
+ * ApiFuture future = executionsClient.getExecutionCallable().futureCall(request);
+ * // Do something.
+ * Execution response = future.get();
+ * }
+ * }
*/
public final UnaryCallable getExecutionCallable() {
return stub.getExecutionCallable();
@@ -320,6 +493,15 @@ public final UnaryCallable getExecutionCallable(
/**
* Cancels an execution of the given name.
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]");
+ * Execution response = executionsClient.cancelExecution(name);
+ * }
+ * }
+ *
* @param name Required. Name of the execution to be cancelled. Format:
* projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -334,6 +516,16 @@ public final Execution cancelExecution(ExecutionName name) {
/**
* Cancels an execution of the given name.
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * String name =
+ * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString();
+ * Execution response = executionsClient.cancelExecution(name);
+ * }
+ * }
+ *
* @param name Required. Name of the execution to be cancelled. Format:
* projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -347,6 +539,20 @@ public final Execution cancelExecution(String name) {
/**
* Cancels an execution of the given name.
*
+ * Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * CancelExecutionRequest request =
+ * CancelExecutionRequest.newBuilder()
+ * .setName(
+ * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]")
+ * .toString())
+ * .build();
+ * Execution response = executionsClient.cancelExecution(request);
+ * }
+ * }
+ *
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -359,6 +565,20 @@ public final Execution cancelExecution(CancelExecutionRequest request) {
* Cancels an execution of the given name.
*
* Sample code:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * CancelExecutionRequest request =
+ * CancelExecutionRequest.newBuilder()
+ * .setName(
+ * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]")
+ * .toString())
+ * .build();
+ * ApiFuture future = executionsClient.cancelExecutionCallable().futureCall(request);
+ * // Do something.
+ * Execution response = future.get();
+ * }
+ * }
*/
public final UnaryCallable cancelExecutionCallable() {
return stub.cancelExecutionCallable();
diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java
index 5b9d78c2..91f91030 100644
--- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java
+++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java
@@ -23,6 +23,14 @@
* [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
*
* Sample for ExecutionsClient:
+ *
+ *
{@code
+ * try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]");
+ * Execution execution = Execution.newBuilder().build();
+ * Execution response = executionsClient.createExecution(parent, execution);
+ * }
+ * }
*/
@Generated("by gapic-generator-java")
package com.google.cloud.workflows.executions.v1beta;
diff --git a/synth.metadata b/synth.metadata
index a08f5457..f6f43544 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-workflow-executions.git",
- "sha": "7d56d439c72df1b3e9ee80d95b619c9607860ca4"
+ "sha": "d177e1d797b6793c913f1c7d5e5fa8bf91319041"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "91e206bcfeaf8948ea03fe3cb1b7616108496cd3",
- "internalRef": "350949863"
+ "sha": "8d8c008e56f1af31d57f75561e0f1848ffb29eeb",
+ "internalRef": "356341083"
}
},
{
From c2ef87d8d91c7c3654672a6fe9ba5a79e1c97df3 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 10 Feb 2021 09:02:15 -0800
Subject: [PATCH 10/20] build(java): update autorelease script (#57)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/3ed56491-ec66-4d43-9f98-af35b45c75fe/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/2414b817065726eae0bc525346c7e874f969369d
---
.github/workflows/auto-release.yaml | 4 ++--
synth.metadata | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml
index 76e6404b..7c8816a7 100644
--- a/.github/workflows/auto-release.yaml
+++ b/.github/workflows/auto-release.yaml
@@ -4,7 +4,7 @@ name: auto-release
jobs:
approve:
runs-on: ubuntu-latest
- if: contains(github.head_ref, 'release-v')
+ if: contains(github.head_ref, 'release-please')
steps:
- uses: actions/github-script@v3
with:
@@ -16,7 +16,7 @@ jobs:
return;
}
- // only approve PRs like "chore: release "
+ // only approve PRs like "chore(master): release "
if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) {
return;
}
diff --git a/synth.metadata b/synth.metadata
index f6f43544..ca36ed08 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-workflow-executions.git",
- "sha": "d177e1d797b6793c913f1c7d5e5fa8bf91319041"
+ "sha": "26bc136677c81c22030ce8efffc6c5387e99d8c9"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5"
+ "sha": "2414b817065726eae0bc525346c7e874f969369d"
}
}
],
From bbca11d5970abc40cec7c84fc678834974175ec7 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 16 Feb 2021 19:04:44 +0100
Subject: [PATCH 11/20] test(deps): update dependency junit:junit to v4.13.2
(#58)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [junit:junit](http://junit.org) ([source](https://togithub.com/junit-team/junit4)) | `4.13.1` -> `4.13.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-workflow-executions).
---
google-cloud-workflow-executions/pom.xml | 2 +-
samples/install-without-bom/pom.xml | 2 +-
samples/snapshot/pom.xml | 2 +-
samples/snippets/pom.xml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/google-cloud-workflow-executions/pom.xml b/google-cloud-workflow-executions/pom.xml
index 4f9ba046..2d654beb 100644
--- a/google-cloud-workflow-executions/pom.xml
+++ b/google-cloud-workflow-executions/pom.xml
@@ -64,7 +64,7 @@
junit
junit
test
- 4.13.1
+ 4.13.2
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 212a68d8..ac4ecd73 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
junit
junit
- 4.13.1
+ 4.13.2
test
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 8c97d97a..e73087a3 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
junit
junit
- 4.13.1
+ 4.13.2
test
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 43402865..f0e25113 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -34,7 +34,7 @@
junit
junit
- 4.13.1
+ 4.13.2
test
From 5339d81b3236a9b106090f27e6daa01eb33941a5 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 17 Feb 2021 08:58:19 -0800
Subject: [PATCH 12/20] chore: update gapic-generator-java to 0.0.20 (#59)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/ca0c8ac8-6f14-468f-80f2-67e8a2c09f54/targets
- [ ] To automatically regenerate this PR, check this box.
PiperOrigin-RevId: 357800868
Source-Link: https://github.com/googleapis/googleapis/commit/e8bc4471a88ac5f60defe3ed436f517174e59ba0
---
.../executions/v1beta/ExecutionsClient.java | 4 +++
.../v1beta/stub/GrpcExecutionsStub.java | 5 +++
.../executions/v1beta/MockExecutionsImpl.java | 32 ++++++++++++++++---
synth.metadata | 6 ++--
4 files changed, 40 insertions(+), 7 deletions(-)
diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java
index f16883ee..a7d0c877 100644
--- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java
+++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java
@@ -218,6 +218,7 @@ public final ListExecutionsPagedResponse listExecutions(String parent) {
* .setParent(WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
+ * .setView(ExecutionView.forNumber(0))
* .build();
* for (Execution element : executionsClient.listExecutions(request).iterateAll()) {
* // doThingsWith(element);
@@ -247,6 +248,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
* .setParent(WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
+ * .setView(ExecutionView.forNumber(0))
* .build();
* ApiFuture future =
* executionsClient.listExecutionsPagedCallable().futureCall(request);
@@ -453,6 +455,7 @@ public final Execution getExecution(String name) {
* .setName(
* ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]")
* .toString())
+ * .setView(ExecutionView.forNumber(0))
* .build();
* Execution response = executionsClient.getExecution(request);
* }
@@ -478,6 +481,7 @@ public final Execution getExecution(GetExecutionRequest request) {
* .setName(
* ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]")
* .toString())
+ * .setView(ExecutionView.forNumber(0))
* .build();
* ApiFuture future = executionsClient.getExecutionCallable().futureCall(request);
* // Do something.
diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java
index ff78bd57..d529d785 100644
--- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java
+++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java
@@ -220,23 +220,28 @@ public GrpcOperationsStub getOperationsStub() {
return operationsStub;
}
+ @Override
public UnaryCallable listExecutionsCallable() {
return listExecutionsCallable;
}
+ @Override
public UnaryCallable
listExecutionsPagedCallable() {
return listExecutionsPagedCallable;
}
+ @Override
public UnaryCallable createExecutionCallable() {
return createExecutionCallable;
}
+ @Override
public UnaryCallable getExecutionCallable() {
return getExecutionCallable;
}
+ @Override
public UnaryCallable cancelExecutionCallable() {
return cancelExecutionCallable;
}
diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java
index 99e85526..e2bee4c5 100644
--- a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java
+++ b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java
@@ -69,7 +69,13 @@ public void listExecutions(
} else if (response instanceof Exception) {
responseObserver.onError(((Exception) response));
} else {
- responseObserver.onError(new IllegalArgumentException("Unrecognized response type"));
+ responseObserver.onError(
+ new IllegalArgumentException(
+ String.format(
+ "Unrecognized response type %s for method ListExecutions, expected %s or %s",
+ response.getClass().getName(),
+ ListExecutionsResponse.class.getName(),
+ Exception.class.getName())));
}
}
@@ -84,7 +90,13 @@ public void createExecution(
} else if (response instanceof Exception) {
responseObserver.onError(((Exception) response));
} else {
- responseObserver.onError(new IllegalArgumentException("Unrecognized response type"));
+ responseObserver.onError(
+ new IllegalArgumentException(
+ String.format(
+ "Unrecognized response type %s for method CreateExecution, expected %s or %s",
+ response.getClass().getName(),
+ Execution.class.getName(),
+ Exception.class.getName())));
}
}
@@ -99,7 +111,13 @@ public void getExecution(
} else if (response instanceof Exception) {
responseObserver.onError(((Exception) response));
} else {
- responseObserver.onError(new IllegalArgumentException("Unrecognized response type"));
+ responseObserver.onError(
+ new IllegalArgumentException(
+ String.format(
+ "Unrecognized response type %s for method GetExecution, expected %s or %s",
+ response.getClass().getName(),
+ Execution.class.getName(),
+ Exception.class.getName())));
}
}
@@ -114,7 +132,13 @@ public void cancelExecution(
} else if (response instanceof Exception) {
responseObserver.onError(((Exception) response));
} else {
- responseObserver.onError(new IllegalArgumentException("Unrecognized response type"));
+ responseObserver.onError(
+ new IllegalArgumentException(
+ String.format(
+ "Unrecognized response type %s for method CancelExecution, expected %s or %s",
+ response.getClass().getName(),
+ Execution.class.getName(),
+ Exception.class.getName())));
}
}
}
diff --git a/synth.metadata b/synth.metadata
index ca36ed08..be7a88d6 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-workflow-executions.git",
- "sha": "26bc136677c81c22030ce8efffc6c5387e99d8c9"
+ "sha": "bbca11d5970abc40cec7c84fc678834974175ec7"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "8d8c008e56f1af31d57f75561e0f1848ffb29eeb",
- "internalRef": "356341083"
+ "sha": "e8bc4471a88ac5f60defe3ed436f517174e59ba0",
+ "internalRef": "357800868"
}
},
{
From 0a53bfd870f660a33b177a342d72a1f267481043 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 17 Feb 2021 12:10:06 -0800
Subject: [PATCH 13/20] ci: linkage monitor CI job to use build.sh (#60)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/ca0c8ac8-6f14-468f-80f2-67e8a2c09f54/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/f327d3b657a63ae4a8efd7f011a15eacae36b59c
---
.github/workflows/ci.yaml | 13 +++----------
synth.metadata | 2 +-
2 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 98a472e1..def8b3a2 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -55,17 +55,10 @@ jobs:
java-version: 8
- run: java -version
- name: Install artifacts to local Maven repository
- run: |
- source .kokoro/common.sh
- retry_with_backoff 3 10 \
- mvn install -B -V \
- -Dmaven.test.skip -DskipTests=true \
- -Dclirr.skip=true \
- -Denforcer.skip=true \
- -Dmaven.javadoc.skip=true \
- -Dgcloud.download.skip=true
+ run: .kokoro/build.sh
shell: bash
- - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
+ - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release)
+ uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
lint:
runs-on: ubuntu-latest
steps:
diff --git a/synth.metadata b/synth.metadata
index be7a88d6..6a310be8 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "2414b817065726eae0bc525346c7e874f969369d"
+ "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c"
}
}
],
From f22fdc28f8106ad638843aa099debeade937570a Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 18 Feb 2021 07:56:02 -0800
Subject: [PATCH 14/20] chore: update cloud-rad buckets (#61)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/9bcabedb-8f71-46f9-ba1f-3365fdc2ab4a/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/b416a7befcdbc42de41cf387dcf428f894fb812b
---
.kokoro/release/publish_javadoc.cfg | 4 ++--
.kokoro/release/publish_javadoc.sh | 2 +-
.kokoro/release/publish_javadoc11.cfg | 2 +-
.kokoro/release/publish_javadoc11.sh | 2 +-
synth.metadata | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg
index 06355e63..46349de9 100644
--- a/.kokoro/release/publish_javadoc.cfg
+++ b/.kokoro/release/publish_javadoc.cfg
@@ -7,10 +7,10 @@ env_vars: {
value: "docs-staging"
}
+# cloud-rad staging
env_vars: {
key: "STAGING_BUCKET_V2"
- value: "docs-staging-v2"
- # Production will be at: docs-staging-v2
+ value: "docs-staging-v2-staging"
}
env_vars: {
diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh
index 078bac08..c1a7d81c 100755
--- a/.kokoro/release/publish_javadoc.sh
+++ b/.kokoro/release/publish_javadoc.sh
@@ -71,7 +71,7 @@ python3 -m docuploader create-metadata \
--version ${VERSION} \
--language java
-# upload docs
+# upload docs to staging bucket
python3 -m docuploader upload . \
--credentials ${CREDENTIALS} \
--staging-bucket ${STAGING_BUCKET_V2}
diff --git a/.kokoro/release/publish_javadoc11.cfg b/.kokoro/release/publish_javadoc11.cfg
index a1f9c742..fa25c771 100644
--- a/.kokoro/release/publish_javadoc11.cfg
+++ b/.kokoro/release/publish_javadoc11.cfg
@@ -1,9 +1,9 @@
# Format: //devtools/kokoro/config/proto/build.proto
+# cloud-rad production
env_vars: {
key: "STAGING_BUCKET_V2"
value: "docs-staging-v2"
- # Production will be at: docs-staging-v2
}
# Configure the docker image for kokoro-trampoline
diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh
index 8fa4141b..5b3a8b5b 100755
--- a/.kokoro/release/publish_javadoc11.sh
+++ b/.kokoro/release/publish_javadoc11.sh
@@ -48,7 +48,7 @@ python3 -m docuploader create-metadata \
--version ${VERSION} \
--language java
-# upload yml
+# upload yml to production bucket
python3 -m docuploader upload . \
--credentials ${CREDENTIALS} \
--staging-bucket ${STAGING_BUCKET_V2} \
diff --git a/synth.metadata b/synth.metadata
index 6a310be8..88c9fc02 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-workflow-executions.git",
- "sha": "bbca11d5970abc40cec7c84fc678834974175ec7"
+ "sha": "0a53bfd870f660a33b177a342d72a1f267481043"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c"
+ "sha": "b416a7befcdbc42de41cf387dcf428f894fb812b"
}
}
],
From dd73cc9aca07ce0fb3547df8f1e373f39e8bb3e2 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 18 Feb 2021 16:42:21 -0800
Subject: [PATCH 15/20] build: skip Maven download logs (#62)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/1cfe249d-582a-46b2-92f3-d6f26802cf88/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/1aeca92e4a38f47134cb955f52ea76f84f09ff88
---
.kokoro/build.sh | 2 ++
synth.metadata | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index 38f4b561..c68e868c 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -60,6 +60,7 @@ javadoc)
;;
integration)
mvn -B ${INTEGRATION_TEST_ARGS} \
+ -ntp \
-Penable-integration-tests \
-DtrimStackTrace=false \
-Dclirr.skip=true \
@@ -81,6 +82,7 @@ samples)
pushd ${SAMPLES_DIR}
mvn -B \
-Penable-samples \
+ -ntp \
-DtrimStackTrace=false \
-Dclirr.skip=true \
-Denforcer.skip=true \
diff --git a/synth.metadata b/synth.metadata
index 88c9fc02..cd8289c3 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-workflow-executions.git",
- "sha": "0a53bfd870f660a33b177a342d72a1f267481043"
+ "sha": "f22fdc28f8106ad638843aa099debeade937570a"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "b416a7befcdbc42de41cf387dcf428f894fb812b"
+ "sha": "1aeca92e4a38f47134cb955f52ea76f84f09ff88"
}
}
],
From b0a3b7ca989f5720c2fe437f1527263a88155730 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Fri, 19 Feb 2021 07:48:07 -0800
Subject: [PATCH 16/20] build: reduce download junk in log files (#63)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/5ca314f8-bcdf-4d62-a0dc-4202f37e4401/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/6946fd71ae9215b0e7ae188f5057df765ee6d7d2
---
.kokoro/build.sh | 2 +-
.kokoro/dependencies.sh | 4 ++--
synth.metadata | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index c68e868c..45c8de7f 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -29,7 +29,7 @@ echo ${JOB_TYPE}
# attempt to install 3 times with exponential backoff (starting with 10 seconds)
retry_with_backoff 3 10 \
- mvn install -B -V \
+ mvn install -B -V -ntp \
-DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh
index c91e5a56..0fb8c843 100755
--- a/.kokoro/dependencies.sh
+++ b/.kokoro/dependencies.sh
@@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"
# this should run maven enforcer
retry_with_backoff 3 10 \
- mvn install -B -V \
+ mvn install -B -V -ntp \
-DskipTests=true \
-Dclirr.skip=true
@@ -86,4 +86,4 @@ then
else
msg "Errors found. See log statements above."
exit 1
-fi
\ No newline at end of file
+fi
diff --git a/synth.metadata b/synth.metadata
index cd8289c3..42b9c93b 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-workflow-executions.git",
- "sha": "f22fdc28f8106ad638843aa099debeade937570a"
+ "sha": "dd73cc9aca07ce0fb3547df8f1e373f39e8bb3e2"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "1aeca92e4a38f47134cb955f52ea76f84f09ff88"
+ "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2"
}
}
],
From 2e0ea20f17dc5cff6296b12cbc65ba07101b0cf7 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Fri, 19 Feb 2021 22:50:58 +0100
Subject: [PATCH 17/20] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v0.19.0 (#64)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.18.0` -> `0.19.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v0.19.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#0190-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0180v0190-2021-02-19)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.18.0...v0.19.0)
##### Bug Fixes
- update repo name ([#274](https://www.github.com/googleapis/java-shared-dependencies/issues/274)) ([4a98470](https://www.github.com/googleapis/java-shared-dependencies/commit/4a98470b7493c98137191b7bb3cabca23f98628f))
##### Dependencies
- downgrade opencensus version back to 0.28.0 ([#265](https://www.github.com/googleapis/java-shared-dependencies/issues/265)) ([f37025c](https://www.github.com/googleapis/java-shared-dependencies/commit/f37025c70f951b1e34904ee983815c0ed8ec4086))
- update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#254](https://www.github.com/googleapis/java-shared-dependencies/issues/254)) ([1b0b4a6](https://www.github.com/googleapis/java-shared-dependencies/commit/1b0b4a637cae0c22cd0336c527002025780317d5))
- update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#261](https://www.github.com/googleapis/java-shared-dependencies/issues/261)) ([1c0b7bd](https://www.github.com/googleapis/java-shared-dependencies/commit/1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706))
- update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#272](https://www.github.com/googleapis/java-shared-dependencies/issues/272)) ([44fd4c3](https://www.github.com/googleapis/java-shared-dependencies/commit/44fd4c3c6cae98bd514525f03462b830050828a8))
- update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#255](https://www.github.com/googleapis/java-shared-dependencies/issues/255)) ([6367023](https://www.github.com/googleapis/java-shared-dependencies/commit/63670233424e8f24c3924bba5e2cb6ca97525795))
- update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#253](https://www.github.com/googleapis/java-shared-dependencies/issues/253)) ([ad87c74](https://www.github.com/googleapis/java-shared-dependencies/commit/ad87c74d9d893726042156d65850806d92e79952))
- update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#278](https://www.github.com/googleapis/java-shared-dependencies/issues/278)) ([989efbd](https://www.github.com/googleapis/java-shared-dependencies/commit/989efbd29bcf4135f7abce49a697303df2cf1a60))
- update dependency io.grpc:grpc-bom to v1.35.0 ([#248](https://www.github.com/googleapis/java-shared-dependencies/issues/248)) ([7a28c6e](https://www.github.com/googleapis/java-shared-dependencies/commit/7a28c6e7053c181993b1288adcae56de89312113))
- update gax.version to v1.61.0 ([#277](https://www.github.com/googleapis/java-shared-dependencies/issues/277)) ([f1c3fb9](https://www.github.com/googleapis/java-shared-dependencies/commit/f1c3fb9295f2e1c130b9fc329faa60f4f8474ba6))
- update iam.version to v1.0.7 ([#252](https://www.github.com/googleapis/java-shared-dependencies/issues/252)) ([5cb3ed9](https://www.github.com/googleapis/java-shared-dependencies/commit/5cb3ed906537269cd7f8d9ccf4b065754b5f5b48))
- update iam.version to v1.0.8 ([#273](https://www.github.com/googleapis/java-shared-dependencies/issues/273)) ([4d5e7f7](https://www.github.com/googleapis/java-shared-dependencies/commit/4d5e7f720d847918b307a83c95cea10c244ba595))
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-workflow-executions).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 456bed51..c4ac13a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,7 +86,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 0.18.0
+ 0.19.0
pom
import
From b6e9bd5e1ddfc97e400acb04dd9eef19a98790ad Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Mon, 22 Feb 2021 09:02:17 -0800
Subject: [PATCH 18/20] chore: release gapic-generator-java v0.0.21 with
gapic_metadata.json support (#65)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/bc4407d7-80ed-4ebf-9617-ee3d61497796/targets
- [ ] To automatically regenerate this PR, check this box.
PiperOrigin-RevId: 358516065
Source-Link: https://github.com/googleapis/googleapis/commit/af8f71dae961ee036a0ac52a1965270149a6b2c9
---
.../executions/v1beta/gapic_metadata.json | 30 +++++++++++++++++++
synth.metadata | 7 +++--
2 files changed, 34 insertions(+), 3 deletions(-)
create mode 100644 google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json
diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json
new file mode 100644
index 00000000..5a35277d
--- /dev/null
+++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json
@@ -0,0 +1,30 @@
+{
+ "schema": "1.0",
+ "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
+ "language": "java",
+ "protoPackage": "google.cloud.workflows.executions.v1beta",
+ "libraryPackage": "com.google.cloud.workflows.executions.v1beta",
+ "services": {
+ "Executions": {
+ "clients": {
+ "grpc": {
+ "libraryClient": "ExecutionsClient",
+ "rpcs": {
+ "CancelExecution": {
+ "methods": ["cancelExecution", "cancelExecution", "cancelExecution", "cancelExecutionCallable"]
+ },
+ "CreateExecution": {
+ "methods": ["createExecution", "createExecution", "createExecution", "createExecutionCallable"]
+ },
+ "GetExecution": {
+ "methods": ["getExecution", "getExecution", "getExecution", "getExecutionCallable"]
+ },
+ "ListExecutions": {
+ "methods": ["listExecutions", "listExecutions", "listExecutions", "listExecutionsPagedCallable", "listExecutionsCallable"]
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/synth.metadata b/synth.metadata
index 42b9c93b..838df10d 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-workflow-executions.git",
- "sha": "dd73cc9aca07ce0fb3547df8f1e373f39e8bb3e2"
+ "sha": "2e0ea20f17dc5cff6296b12cbc65ba07101b0cf7"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "e8bc4471a88ac5f60defe3ed436f517174e59ba0",
- "internalRef": "357800868"
+ "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
+ "internalRef": "358516065"
}
},
{
@@ -103,6 +103,7 @@
"codecov.yaml",
"google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java",
"google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java",
+ "google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json",
"google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java",
"google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java",
"google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java",
From 144e3b0aac1a98425af29e7306c025a48d76294b Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 24 Feb 2021 22:54:04 +0100
Subject: [PATCH 19/20] chore(deps): update dependency
com.google.cloud:google-cloud-workflow-executions to v0.1.4 (#52)
---
samples/install-without-bom/pom.xml | 2 +-
samples/snippets/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index ac4ecd73..0cd78eea 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-workflow-executions
- 0.1.1
+ 0.1.4
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index f0e25113..da924e27 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-workflow-executions
- 0.1.1
+ 0.1.4
From d1103653af567b9b62e9ca9d00b66159eff2e7df Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Wed, 24 Feb 2021 23:08:07 +0000
Subject: [PATCH 20/20] chore(master): release 0.1.5 (#54)
:robot: I have created a release \*beep\* \*boop\*
---
### [0.1.5](https://www.github.com/googleapis/java-workflow-executions/compare/v0.1.4...v0.1.5) (2021-02-24)
### Bug Fixes
* update repo name ([#53](https://www.github.com/googleapis/java-workflow-executions/issues/53)) ([d177e1d](https://www.github.com/googleapis/java-workflow-executions/commit/d177e1d797b6793c913f1c7d5e5fa8bf91319041))
### Documentation
* generate sample code in the Java microgenerator ([#56](https://www.github.com/googleapis/java-workflow-executions/issues/56)) ([26bc136](https://www.github.com/googleapis/java-workflow-executions/commit/26bc136677c81c22030ce8efffc6c5387e99d8c9))
### Dependencies
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#64](https://www.github.com/googleapis/java-workflow-executions/issues/64)) ([2e0ea20](https://www.github.com/googleapis/java-workflow-executions/commit/2e0ea20f17dc5cff6296b12cbc65ba07101b0cf7))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 17 +++++++++++++++++
README.md | 4 ++--
google-cloud-workflow-executions-bom/pom.xml | 8 ++++----
google-cloud-workflow-executions/pom.xml | 4 ++--
.../pom.xml | 4 ++--
pom.xml | 8 ++++----
.../pom.xml | 4 ++--
samples/snapshot/pom.xml | 2 +-
versions.txt | 6 +++---
9 files changed, 37 insertions(+), 20 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 857b6e26..8154577e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,22 @@
# Changelog
+### [0.1.5](https://www.github.com/googleapis/java-workflow-executions/compare/v0.1.4...v0.1.5) (2021-02-24)
+
+
+### Bug Fixes
+
+* update repo name ([#53](https://www.github.com/googleapis/java-workflow-executions/issues/53)) ([d177e1d](https://www.github.com/googleapis/java-workflow-executions/commit/d177e1d797b6793c913f1c7d5e5fa8bf91319041))
+
+
+### Documentation
+
+* generate sample code in the Java microgenerator ([#56](https://www.github.com/googleapis/java-workflow-executions/issues/56)) ([26bc136](https://www.github.com/googleapis/java-workflow-executions/commit/26bc136677c81c22030ce8efffc6c5387e99d8c9))
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#64](https://www.github.com/googleapis/java-workflow-executions/issues/64)) ([2e0ea20](https://www.github.com/googleapis/java-workflow-executions/commit/2e0ea20f17dc5cff6296b12cbc65ba07101b0cf7))
+
### [0.1.4](https://www.github.com/googleapis/java-workflow-executions/compare/v0.1.3...v0.1.4) (2021-01-14)
diff --git a/README.md b/README.md
index 089b166a..432e9903 100644
--- a/README.md
+++ b/README.md
@@ -28,11 +28,11 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle, add this to your dependencies
```Groovy
-compile 'com.google.cloud:google-cloud-workflow-executions:0.1.4'
+compile 'com.google.cloud:google-cloud-workflow-executions:0.1.5'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "0.1.4"
+libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "0.1.5"
```
[//]: # ({x-version-update-end})
diff --git a/google-cloud-workflow-executions-bom/pom.xml b/google-cloud-workflow-executions-bom/pom.xml
index da4ad0c0..6e82e341 100644
--- a/google-cloud-workflow-executions-bom/pom.xml
+++ b/google-cloud-workflow-executions-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-workflow-executions-bom
- 0.1.5-SNAPSHOT
+ 0.1.5
pom
com.google.cloud
@@ -68,17 +68,17 @@
com.google.cloud
google-cloud-workflow-executions
- 0.1.5-SNAPSHOT
+ 0.1.5
com.google.api.grpc
proto-google-cloud-workflow-executions-v1beta
- 0.1.5-SNAPSHOT
+ 0.1.5
com.google.api.grpc
grpc-google-cloud-workflow-executions-v1beta
- 0.1.5-SNAPSHOT
+ 0.1.5
diff --git a/google-cloud-workflow-executions/pom.xml b/google-cloud-workflow-executions/pom.xml
index 2d654beb..22c3d4a6 100644
--- a/google-cloud-workflow-executions/pom.xml
+++ b/google-cloud-workflow-executions/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-workflow-executions
- 0.1.5-SNAPSHOT
+ 0.1.5
jar
Google Cloud Workflow Executions
https://github.com/googleapis/java-workflow-executions
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-workflow-executions-parent
- 0.1.5-SNAPSHOT
+ 0.1.5
google-cloud-workflow-executions
diff --git a/grpc-google-cloud-workflow-executions-v1beta/pom.xml b/grpc-google-cloud-workflow-executions-v1beta/pom.xml
index 01c9f4ee..69ea4508 100644
--- a/grpc-google-cloud-workflow-executions-v1beta/pom.xml
+++ b/grpc-google-cloud-workflow-executions-v1beta/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-workflow-executions-v1beta
- 0.1.5-SNAPSHOT
+ 0.1.5
grpc-google-cloud-workflow-executions-v1beta
GRPC library for google-cloud-workflow-executions
com.google.cloud
google-cloud-workflow-executions-parent
- 0.1.5-SNAPSHOT
+ 0.1.5
diff --git a/pom.xml b/pom.xml
index c4ac13a0..19bd08d2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-workflow-executions-parent
pom
- 0.1.5-SNAPSHOT
+ 0.1.5
Google Cloud Workflow Executions Parent
https://github.com/googleapis/java-
@@ -70,17 +70,17 @@
com.google.cloud
google-cloud-workflow-executions
- 0.1.5-SNAPSHOT
+ 0.1.5
com.google.api.grpc
proto-google-cloud-workflow-executions-v1beta
- 0.1.5-SNAPSHOT
+ 0.1.5
com.google.api.grpc
grpc-google-cloud-workflow-executions-v1beta
- 0.1.5-SNAPSHOT
+ 0.1.5
diff --git a/proto-google-cloud-workflow-executions-v1beta/pom.xml b/proto-google-cloud-workflow-executions-v1beta/pom.xml
index 7f19f0fd..0f6af9d6 100644
--- a/proto-google-cloud-workflow-executions-v1beta/pom.xml
+++ b/proto-google-cloud-workflow-executions-v1beta/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-workflow-executions-v1beta
- 0.1.5-SNAPSHOT
+ 0.1.5
proto-google-cloud-workflow-executions-v1beta
Proto library for google-cloud-workflow-executions
com.google.cloud
google-cloud-workflow-executions-parent
- 0.1.5-SNAPSHOT
+ 0.1.5
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index e73087a3..993e85da 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-workflow-executions
- 0.1.5-SNAPSHOT
+ 0.1.5
diff --git a/versions.txt b/versions.txt
index 26d6805b..b672c816 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-workflow-executions:0.1.4:0.1.5-SNAPSHOT
-proto-google-cloud-workflow-executions-v1beta:0.1.4:0.1.5-SNAPSHOT
-grpc-google-cloud-workflow-executions-v1beta:0.1.4:0.1.5-SNAPSHOT
\ No newline at end of file
+google-cloud-workflow-executions:0.1.5:0.1.5
+proto-google-cloud-workflow-executions-v1beta:0.1.5:0.1.5
+grpc-google-cloud-workflow-executions-v1beta:0.1.5:0.1.5
\ No newline at end of file