From 96e93cb98baa006b435f0ae057cd59cfc824f056 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 28 Jun 2022 04:16:24 +0000 Subject: [PATCH] fix: update gapic-generator-java with mock service generation fixes (#202) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../lifesciences/v2beta/WorkflowsServiceV2BetaClient.java | 1 + .../create/SyncCreateSetCredentialsProvider.java | 6 ++---- .../create/SyncCreateSetCredentialsProvider1.java | 6 ++---- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaClient.java b/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaClient.java index 1751fe32..fbb021bd 100644 --- a/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaClient.java +++ b/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaClient.java @@ -193,6 +193,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider.java index a6db70eb..3d589b42 100644 --- a/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider.java +++ b/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.lifesciences.v2beta.samples; -// [START -// lifesciences_v2beta_generated_workflowsservicev2betaclient_create_setcredentialsprovider_sync] +// [START lifesciences_v2beta_generated_workflowsservicev2betaclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient; import com.google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { WorkflowsServiceV2BetaClient.create(workflowsServiceV2BetaSettings); } } -// [END -// lifesciences_v2beta_generated_workflowsservicev2betaclient_create_setcredentialsprovider_sync] +// [END lifesciences_v2beta_generated_workflowsservicev2betaclient_create_setcredentialsprovider_sync] diff --git a/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider1.java index 7edbfb52..523e2197 100644 --- a/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider1.java +++ b/samples/snippets/generated/com/google/cloud/lifesciences/v2beta/workflowsservicev2betaclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.lifesciences.v2beta.samples; -// [START -// lifesciences_v2beta_generated_workflowsservicev2betaclient_create_setcredentialsprovider1_sync] +// [START lifesciences_v2beta_generated_workflowsservicev2betaclient_create_setcredentialsprovider1_sync] import com.google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient; import com.google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { WorkflowsServiceV2BetaClient.create(workflowsServiceV2BetaSettings); } } -// [END -// lifesciences_v2beta_generated_workflowsservicev2betaclient_create_setcredentialsprovider1_sync] +// [END lifesciences_v2beta_generated_workflowsservicev2betaclient_create_setcredentialsprovider1_sync]