From 8c3f081e07b2f80ef941a9cd09de191fe3907f77 Mon Sep 17 00:00:00 2001 From: Alice Li Date: Mon, 17 Oct 2022 15:51:11 -0400 Subject: [PATCH 1/3] updating unit files and tests --- ...iceClientCallableMethodSampleComposer.java | 20 +++++++----- .../ServiceClientHeaderSampleComposer.java | 7 +++-- .../ServiceClientMethodSampleComposer.java | 13 +++++--- .../gapic/composer/utils/ClassNames.java | 10 ++++++ .../api/generator/gapic/model/RegionTag.java | 5 +-- .../bookshopclient/AsyncGetBook.golden | 4 +-- .../SyncCreateSetCredentialsProvider.golden | 4 +-- .../SyncCreateSetEndpoint.golden | 4 +-- .../samples/bookshopclient/SyncGetBook.golden | 4 +-- .../SyncGetBookIntListbook.golden | 4 +-- .../SyncGetBookStringListbook.golden | 4 +-- .../AsyncFastFibonacci.golden | 4 +-- .../AsyncSlowFibonacci.golden | 4 +-- .../SyncCreateSetCredentialsProvider.golden | 4 +-- .../SyncCreateSetEndpoint.golden | 4 +-- .../SyncFastFibonacci.golden | 4 +-- .../SyncSlowFibonacci.golden | 4 +-- .../samples/echoclient/AsyncBlock.golden | 4 +-- .../samples/echoclient/AsyncChat.golden | 4 +-- .../samples/echoclient/AsyncChatAgain.golden | 4 +-- .../samples/echoclient/AsyncCollect.golden | 4 +-- .../echoclient/AsyncCollideName.golden | 4 +-- .../samples/echoclient/AsyncEcho.golden | 4 +-- .../samples/echoclient/AsyncExpand.golden | 4 +-- .../echoclient/AsyncPagedExpand.golden | 4 +-- .../echoclient/AsyncPagedExpandPaged.golden | 4 +-- .../echoclient/AsyncSimplePagedExpand.golden | 4 +-- .../AsyncSimplePagedExpandPaged.golden | 4 +-- .../samples/echoclient/AsyncWait.golden | 4 +-- .../samples/echoclient/AsyncWaitLRO.golden | 4 +-- .../samples/echoclient/SyncBlock.golden | 4 +-- .../samples/echoclient/SyncCollideName.golden | 4 +-- .../SyncCreateSetCredentialsProvider.golden | 4 +-- .../echoclient/SyncCreateSetEndpoint.golden | 4 +-- .../samples/echoclient/SyncEcho.golden | 4 +-- .../echoclient/SyncEchoFoobarname.golden | 4 +-- .../samples/echoclient/SyncEchoNoargs.golden | 4 +-- .../echoclient/SyncEchoResourcename.golden | 4 +-- .../samples/echoclient/SyncEchoStatus.golden | 4 +-- .../samples/echoclient/SyncEchoString.golden | 4 +-- .../samples/echoclient/SyncEchoString1.golden | 4 +-- .../samples/echoclient/SyncEchoString2.golden | 4 +-- .../echoclient/SyncEchoStringSeverity.golden | 4 +-- .../samples/echoclient/SyncPagedExpand.golden | 4 +-- .../echoclient/SyncSimplePagedExpand.golden | 4 +-- .../SyncSimplePagedExpandNoargs.golden | 4 +-- .../samples/echoclient/SyncWait.golden | 4 +-- .../echoclient/SyncWaitDuration.golden | 4 +-- .../echoclient/SyncWaitTimestamp.golden | 4 +-- .../identityclient/AsyncCreateUser.golden | 4 +-- .../identityclient/AsyncDeleteUser.golden | 4 +-- .../identityclient/AsyncGetUser.golden | 4 +-- .../identityclient/AsyncListUsers.golden | 4 +-- .../identityclient/AsyncListUsersPaged.golden | 4 +-- .../identityclient/AsyncUpdateUser.golden | 4 +-- .../SyncCreateSetCredentialsProvider.golden | 4 +-- .../SyncCreateSetEndpoint.golden | 4 +-- .../identityclient/SyncCreateUser.golden | 4 +-- .../SyncCreateUserStringStringString.golden | 4 +-- ...gStringStringIntStringBooleanDouble.golden | 4 +-- ...ngStringIntStringStringStringString.golden | 4 +-- .../identityclient/SyncDeleteUser.golden | 4 +-- .../SyncDeleteUserString.golden | 4 +-- .../SyncDeleteUserUsername.golden | 4 +-- .../samples/identityclient/SyncGetUser.golden | 4 +-- .../identityclient/SyncGetUserString.golden | 4 +-- .../identityclient/SyncGetUserUsername.golden | 4 +-- .../identityclient/SyncListUsers.golden | 4 +-- .../identityclient/SyncUpdateUser.golden | 4 +-- .../messagingclient/AsyncConnect.golden | 4 +-- .../messagingclient/AsyncCreateBlurb.golden | 4 +-- .../messagingclient/AsyncCreateRoom.golden | 4 +-- .../messagingclient/AsyncDeleteBlurb.golden | 4 +-- .../messagingclient/AsyncDeleteRoom.golden | 4 +-- .../messagingclient/AsyncGetBlurb.golden | 4 +-- .../messagingclient/AsyncGetRoom.golden | 4 +-- .../messagingclient/AsyncListBlurbs.golden | 4 +-- .../AsyncListBlurbsPaged.golden | 4 +-- .../messagingclient/AsyncListRooms.golden | 4 +-- .../AsyncListRoomsPaged.golden | 4 +-- .../messagingclient/AsyncSearchBlurbs.golden | 4 +-- .../AsyncSearchBlurbsLRO.golden | 4 +-- .../messagingclient/AsyncSendBlurbs.golden | 4 +-- .../messagingclient/AsyncStreamBlurbs.golden | 4 +-- .../messagingclient/AsyncUpdateBlurb.golden | 4 +-- .../messagingclient/AsyncUpdateRoom.golden | 4 +-- .../messagingclient/SyncCreateBlurb.golden | 4 +-- ...yncCreateBlurbProfilenameBytestring.golden | 4 +-- .../SyncCreateBlurbProfilenameString.golden | 4 +-- .../SyncCreateBlurbRoomnameBytestring.golden | 4 +-- .../SyncCreateBlurbRoomnameString.golden | 4 +-- .../SyncCreateBlurbStringBytestring.golden | 4 +-- .../SyncCreateBlurbStringString.golden | 4 +-- .../messagingclient/SyncCreateRoom.golden | 4 +-- .../SyncCreateRoomStringString.golden | 4 +-- .../SyncCreateSetCredentialsProvider.golden | 4 +-- .../SyncCreateSetEndpoint.golden | 4 +-- .../messagingclient/SyncDeleteBlurb.golden | 4 +-- .../SyncDeleteBlurbBlurbname.golden | 4 +-- .../SyncDeleteBlurbString.golden | 4 +-- .../messagingclient/SyncDeleteRoom.golden | 4 +-- .../SyncDeleteRoomRoomname.golden | 4 +-- .../SyncDeleteRoomString.golden | 4 +-- .../messagingclient/SyncGetBlurb.golden | 4 +-- .../SyncGetBlurbBlurbname.golden | 4 +-- .../messagingclient/SyncGetBlurbString.golden | 4 +-- .../messagingclient/SyncGetRoom.golden | 4 +-- .../SyncGetRoomRoomname.golden | 4 +-- .../messagingclient/SyncGetRoomString.golden | 4 +-- .../messagingclient/SyncListBlurbs.golden | 4 +-- .../SyncListBlurbsProfilename.golden | 4 +-- .../SyncListBlurbsRoomname.golden | 4 +-- .../SyncListBlurbsString.golden | 4 +-- .../messagingclient/SyncListRooms.golden | 4 +-- .../messagingclient/SyncSearchBlurbs.golden | 4 +-- .../SyncSearchBlurbsString.golden | 4 +-- .../messagingclient/SyncUpdateBlurb.golden | 4 +-- .../messagingclient/SyncUpdateRoom.golden | 4 +-- .../samples/servicesettings/SyncEcho.golden | 4 +-- .../servicesettings/SyncFastFibonacci.golden | 4 +-- .../stub/SyncCreateTopic.golden | 4 +-- .../servicesettings/stub/SyncDeleteLog.golden | 4 +-- .../servicesettings/stub/SyncEcho.golden | 4 +-- .../stub/SyncFastFibonacci.golden | 4 +-- .../samplecode/SampleCodeWriterTest.java | 4 +-- .../samplecode/SampleComposerTest.java | 16 +++++----- .../gapic/composer/utils/ClassNamesTest.java | 31 +++++++++++++++++++ .../generator/gapic/model/RegionTagTest.java | 8 ++--- 128 files changed, 322 insertions(+), 268 deletions(-) create mode 100644 src/test/java/com/google/api/generator/gapic/composer/utils/ClassNamesTest.java diff --git a/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientCallableMethodSampleComposer.java b/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientCallableMethodSampleComposer.java index ae1ad2bbb7..07bdcd29a7 100644 --- a/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientCallableMethodSampleComposer.java +++ b/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientCallableMethodSampleComposer.java @@ -42,6 +42,7 @@ import com.google.api.generator.engine.ast.VariableExpr; import com.google.api.generator.engine.ast.WhileStatement; import com.google.api.generator.gapic.composer.defaultvalue.DefaultValueComposer; +import com.google.api.generator.gapic.composer.utils.ClassNames; import com.google.api.generator.gapic.model.Field; import com.google.api.generator.gapic.model.Message; import com.google.api.generator.gapic.model.Method; @@ -124,7 +125,8 @@ private static Sample composeUnaryOrLroCallableSample( RegionTag regionTag = RegionTag.builder() - .setServiceName(clientVarExpr.variable().identifier().name()) + .setServiceName( + ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) .setRpcName(method.name()) .setIsAsynchronous(true) .build(); @@ -278,7 +280,8 @@ private static Sample composePagedCallableSample( RegionTag regionTag = RegionTag.builder() - .setServiceName(clientVarExpr.variable().identifier().name()) + .setServiceName( + ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) .setRpcName(method.name()) .setOverloadDisambiguation("Paged") .setIsAsynchronous(true) @@ -394,7 +397,7 @@ public static Sample composeLroCallableMethod( RegionTag regionTag = RegionTag.builder() - .setServiceName(clientType.reference().name()) + .setServiceName(ClassNames.getPureServiceName(clientType.reference().name())) .setRpcName(method.name()) .setIsAsynchronous(true) .setOverloadDisambiguation("LRO") @@ -531,7 +534,7 @@ public static Sample composePagedCallableMethod( RegionTag regionTag = RegionTag.builder() - .setServiceName(clientType.reference().name()) + .setServiceName(ClassNames.getPureServiceName(clientType.reference().name())) .setRpcName(method.name()) .setIsAsynchronous(true) .build(); @@ -717,7 +720,8 @@ private static Sample composeStreamServerSample( RegionTag regionTag = RegionTag.builder() - .setServiceName(clientVarExpr.variable().identifier().name()) + .setServiceName( + ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) .setRpcName(method.name()) .setIsAsynchronous(true) .build(); @@ -796,7 +800,8 @@ private static Sample composeStreamBidiSample( RegionTag regionTag = RegionTag.builder() - .setServiceName(clientVarExpr.variable().identifier().name()) + .setServiceName( + ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) .setRpcName(method.name()) .setIsAsynchronous(true) .build(); @@ -928,7 +933,8 @@ private static Sample composeStreamClientSample( RegionTag regionTag = RegionTag.builder() - .setServiceName(clientVarExpr.variable().identifier().name()) + .setServiceName( + ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) .setRpcName(method.name()) .setIsAsynchronous(true) .build(); diff --git a/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientHeaderSampleComposer.java b/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientHeaderSampleComposer.java index 6c3389b865..2c00498e4f 100644 --- a/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientHeaderSampleComposer.java +++ b/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientHeaderSampleComposer.java @@ -27,6 +27,7 @@ import com.google.api.generator.engine.ast.Variable; import com.google.api.generator.engine.ast.VariableExpr; import com.google.api.generator.gapic.composer.defaultvalue.DefaultValueComposer; +import com.google.api.generator.gapic.composer.utils.ClassNames; import com.google.api.generator.gapic.model.HttpBindings; import com.google.api.generator.gapic.model.Message; import com.google.api.generator.gapic.model.Method; @@ -206,7 +207,7 @@ public static Sample composeSetCredentialsSample(TypeNode clientType, TypeNode s ExprStatement.withExpr(initSettingsVarExpr), ExprStatement.withExpr(initClientVarExpr)); RegionTag regionTag = RegionTag.builder() - .setServiceName(clientName) + .setServiceName(ClassNames.getPureServiceName(clientName)) .setRpcName(rpcName) .setOverloadDisambiguation("setCredentialsProvider") .build(); @@ -273,7 +274,7 @@ public static Sample composeSetEndpointSample(TypeNode clientType, TypeNode sett .build(); RegionTag regionTag = RegionTag.builder() - .setServiceName(clientName) + .setServiceName(ClassNames.getPureServiceName(clientName)) .setRpcName(rpcName) .setOverloadDisambiguation("setEndpoint") .build(); @@ -346,7 +347,7 @@ public static Sample composeTransportSample( ExprStatement.withExpr(initSettingsVarExpr), ExprStatement.withExpr(initClientVarExpr)); RegionTag regionTag = RegionTag.builder() - .setServiceName(clientName) + .setServiceName(ClassNames.getPureServiceName(clientName)) .setRpcName(rpcName) .setOverloadDisambiguation("setCredentialsProvider") .build(); diff --git a/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientMethodSampleComposer.java b/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientMethodSampleComposer.java index f93383c729..5a45173595 100644 --- a/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientMethodSampleComposer.java +++ b/src/main/java/com/google/api/generator/gapic/composer/samplecode/ServiceClientMethodSampleComposer.java @@ -27,6 +27,7 @@ import com.google.api.generator.engine.ast.Variable; import com.google.api.generator.engine.ast.VariableExpr; import com.google.api.generator.gapic.composer.defaultvalue.DefaultValueComposer; +import com.google.api.generator.gapic.composer.utils.ClassNames; import com.google.api.generator.gapic.model.Field; import com.google.api.generator.gapic.model.Message; import com.google.api.generator.gapic.model.Method; @@ -57,7 +58,8 @@ public static Sample composeEmptyServiceSample(TypeNode clientType) { RegionTag regionTag = RegionTag.builder() - .setServiceName(clientVarExpr.variable().identifier().name()) + .setServiceName( + ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) .setRpcName("emtpy") .build(); @@ -169,7 +171,8 @@ static Sample composeSample( RegionTag regionTag = RegionTag.builder() - .setServiceName(clientVarExpr.variable().identifier().name()) + .setServiceName( + ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) .setRpcName(method.name()) .setOverloadDisambiguation( SampleComposerUtil.createOverloadDisambiguation(rpcMethodArgVarExprs)) @@ -243,7 +246,8 @@ static Sample composePagedSample( RegionTag regionTag = RegionTag.builder() - .setServiceName(clientVarExpr.variable().identifier().name()) + .setServiceName( + ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) .setRpcName(method.name()) .setOverloadDisambiguation( SampleComposerUtil.createOverloadDisambiguation(rpcMethodArgVarExprs)) @@ -293,7 +297,8 @@ static Sample composeLroSample( } RegionTag regionTag = RegionTag.builder() - .setServiceName(clientVarExpr.variable().identifier().name()) + .setServiceName( + ClassNames.getPureServiceName(clientVarExpr.variable().identifier().name())) .setRpcName(method.name()) .setOverloadDisambiguation( SampleComposerUtil.createOverloadDisambiguation(rpcMethodArgVarExprs)) diff --git a/src/main/java/com/google/api/generator/gapic/composer/utils/ClassNames.java b/src/main/java/com/google/api/generator/gapic/composer/utils/ClassNames.java index c0b717fc0a..ed4f6f4305 100644 --- a/src/main/java/com/google/api/generator/gapic/composer/utils/ClassNames.java +++ b/src/main/java/com/google/api/generator/gapic/composer/utils/ClassNames.java @@ -15,6 +15,8 @@ package com.google.api.generator.gapic.composer.utils; import com.google.api.generator.gapic.model.Service; +import com.google.common.base.Splitter; +import com.google.common.collect.Iterables; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; @@ -25,6 +27,7 @@ public class ClassNames { private static final String MOCK_SERVICE_CLASS_NAME_PATTERN = "Mock%s"; private static final String MOCK_SERVICE_IMPL_CLASS_NAME_PATTERN = "Mock%sImpl"; private static final String SERVICE_CLIENT_CLASS_NAME_PATTERN = "%sClient"; + private static final String SERVICE_REGION_TAG_NAME_PATTERN = "%s"; private static final String SERVICE_CLIENT_TEST_CLASS_NAME_PATTERN = "%sClientTest"; private static final String SERVICE_CLIENT_TRANSPORT_TEST_CLASS_NAME_PATTERN = "%sClient%sTest"; private static final String SERVICE_SETTINGS_CLASS_NAME_PATTERN = "%sSettings"; @@ -120,4 +123,11 @@ private static String monolithBackwardsCompatibleName(String rawServiceName) { ? rawServiceName.replace("IAM", "Iam") : rawServiceName; } + + // For region tags, the service name should not include `Client` in the name + public static String getPureServiceName(String serviceClassName) { + return String.format( + SERVICE_REGION_TAG_NAME_PATTERN, + Iterables.getFirst(Splitter.on("Client").split(serviceClassName), serviceClassName)); + } } diff --git a/src/main/java/com/google/api/generator/gapic/model/RegionTag.java b/src/main/java/com/google/api/generator/gapic/model/RegionTag.java index 29bb98eeef..e4643de654 100644 --- a/src/main/java/com/google/api/generator/gapic/model/RegionTag.java +++ b/src/main/java/com/google/api/generator/gapic/model/RegionTag.java @@ -138,7 +138,8 @@ public String generate() { if (!apiVersion().isEmpty()) { rt = rt + apiVersion() + "_"; } - rt = rt + "generated_" + serviceName() + "_" + rpcName(); + rt = rt.toLowerCase() + "generated_" + serviceName() + "_" + rpcName(); + // TODO: @alicejli overloadDisambiguation will need to be updated to match other languages if (!overloadDisambiguation().isEmpty()) { rt = rt + "_" + overloadDisambiguation(); } @@ -148,7 +149,7 @@ public String generate() { rt = rt + "_sync"; } - return rt.toLowerCase(); + return rt; } public static CommentStatement generateTag( diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/AsyncGetBook.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/AsyncGetBook.golden index a11e0c5ad1..87236a1311 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/AsyncGetBook.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/AsyncGetBook.golden @@ -16,7 +16,7 @@ package com.google.bookshop.v1beta1.samples; -// [START goldensample_generated_bookshopclient_getbook_async] +// [START goldensample_generated_Bookshop_GetBook_async] import com.google.api.core.ApiFuture; import com.google.bookshop.v1beta1.Book; import com.google.bookshop.v1beta1.BookshopClient; @@ -48,4 +48,4 @@ public class AsyncGetBook { } } } -// [END goldensample_generated_bookshopclient_getbook_async] +// [END goldensample_generated_Bookshop_GetBook_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetCredentialsProvider.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetCredentialsProvider.golden index c34c8e5ace..346f1125da 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetCredentialsProvider.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetCredentialsProvider.golden @@ -16,7 +16,7 @@ package com.google.bookshop.v1beta1.samples; -// [START goldensample_generated_bookshopclient_create_setcredentialsprovider_sync] +// [START goldensample_generated_Bookshop_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.bookshop.v1beta1.BookshopClient; import com.google.bookshop.v1beta1.BookshopSettings; @@ -41,4 +41,4 @@ public class SyncCreateSetCredentialsProvider { BookshopClient bookshopClient = BookshopClient.create(bookshopSettings); } } -// [END goldensample_generated_bookshopclient_create_setcredentialsprovider_sync] +// [END goldensample_generated_Bookshop_Create_SetCredentialsProvider_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetEndpoint.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetEndpoint.golden index 5ab576b5ab..43cd64aa7c 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetEndpoint.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncCreateSetEndpoint.golden @@ -16,7 +16,7 @@ package com.google.bookshop.v1beta1.samples; -// [START goldensample_generated_bookshopclient_create_setendpoint_sync] +// [START goldensample_generated_Bookshop_Create_SetEndpoint_sync] import com.google.bookshop.v1beta1.BookshopClient; import com.google.bookshop.v1beta1.BookshopSettings; import com.google.bookshop.v1beta1.myEndpoint; @@ -38,4 +38,4 @@ public class SyncCreateSetEndpoint { BookshopClient bookshopClient = BookshopClient.create(bookshopSettings); } } -// [END goldensample_generated_bookshopclient_create_setendpoint_sync] +// [END goldensample_generated_Bookshop_Create_SetEndpoint_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBook.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBook.golden index 9bcbe39862..bd89a8fc05 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBook.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBook.golden @@ -16,7 +16,7 @@ package com.google.bookshop.v1beta1.samples; -// [START goldensample_generated_bookshopclient_getbook_sync] +// [START goldensample_generated_Bookshop_GetBook_sync] import com.google.bookshop.v1beta1.Book; import com.google.bookshop.v1beta1.BookshopClient; import com.google.bookshop.v1beta1.GetBookRequest; @@ -45,4 +45,4 @@ public class SyncGetBook { } } } -// [END goldensample_generated_bookshopclient_getbook_sync] +// [END goldensample_generated_Bookshop_GetBook_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookIntListbook.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookIntListbook.golden index 698f2a1138..31c6a24d01 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookIntListbook.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookIntListbook.golden @@ -16,7 +16,7 @@ package com.google.bookshop.v1beta1.samples; -// [START goldensample_generated_bookshopclient_getbook_intlistbook_sync] +// [START goldensample_generated_Bookshop_GetBook_IntListbook_sync] import com.google.bookshop.v1beta1.Book; import com.google.bookshop.v1beta1.BookshopClient; import java.util.ArrayList; @@ -41,4 +41,4 @@ public class SyncGetBookIntListbook { } } } -// [END goldensample_generated_bookshopclient_getbook_intlistbook_sync] +// [END goldensample_generated_Bookshop_GetBook_IntListbook_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookStringListbook.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookStringListbook.golden index c893608c2e..f2d3903e1b 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookStringListbook.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/bookshopclient/SyncGetBookStringListbook.golden @@ -16,7 +16,7 @@ package com.google.bookshop.v1beta1.samples; -// [START goldensample_generated_bookshopclient_getbook_stringlistbook_sync] +// [START goldensample_generated_Bookshop_GetBook_StringListbook_sync] import com.google.bookshop.v1beta1.Book; import com.google.bookshop.v1beta1.BookshopClient; import java.util.ArrayList; @@ -41,4 +41,4 @@ public class SyncGetBookStringListbook { } } } -// [END goldensample_generated_bookshopclient_getbook_stringlistbook_sync] +// [END goldensample_generated_Bookshop_GetBook_StringListbook_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncFastFibonacci.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncFastFibonacci.golden index c47156c7d9..ea0ae6c62d 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncFastFibonacci.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncFastFibonacci.golden @@ -16,7 +16,7 @@ package com.google.testdata.v1.samples; -// [START goldensample_generated_deprecatedserviceclient_fastfibonacci_async] +// [START goldensample_generated_DeprecatedService_FastFibonacci_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.testdata.v1.DeprecatedServiceClient; @@ -42,4 +42,4 @@ public class AsyncFastFibonacci { } } } -// [END goldensample_generated_deprecatedserviceclient_fastfibonacci_async] +// [END goldensample_generated_DeprecatedService_FastFibonacci_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncSlowFibonacci.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncSlowFibonacci.golden index fdb781354b..3e4f69d714 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncSlowFibonacci.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/AsyncSlowFibonacci.golden @@ -16,7 +16,7 @@ package com.google.testdata.v1.samples; -// [START goldensample_generated_deprecatedserviceclient_slowfibonacci_async] +// [START goldensample_generated_DeprecatedService_SlowFibonacci_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.testdata.v1.DeprecatedServiceClient; @@ -42,4 +42,4 @@ public class AsyncSlowFibonacci { } } } -// [END goldensample_generated_deprecatedserviceclient_slowfibonacci_async] +// [END goldensample_generated_DeprecatedService_SlowFibonacci_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetCredentialsProvider.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetCredentialsProvider.golden index 2d9e73b891..34f20df610 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetCredentialsProvider.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetCredentialsProvider.golden @@ -16,7 +16,7 @@ package com.google.testdata.v1.samples; -// [START goldensample_generated_deprecatedserviceclient_create_setcredentialsprovider_sync] +// [START goldensample_generated_DeprecatedService_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.testdata.v1.DeprecatedServiceClient; import com.google.testdata.v1.DeprecatedServiceSettings; @@ -42,4 +42,4 @@ public class SyncCreateSetCredentialsProvider { DeprecatedServiceClient.create(deprecatedServiceSettings); } } -// [END goldensample_generated_deprecatedserviceclient_create_setcredentialsprovider_sync] +// [END goldensample_generated_DeprecatedService_Create_SetCredentialsProvider_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetEndpoint.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetEndpoint.golden index 24400c927b..8d5f08f8af 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetEndpoint.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncCreateSetEndpoint.golden @@ -16,7 +16,7 @@ package com.google.testdata.v1.samples; -// [START goldensample_generated_deprecatedserviceclient_create_setendpoint_sync] +// [START goldensample_generated_DeprecatedService_Create_SetEndpoint_sync] import com.google.testdata.v1.DeprecatedServiceClient; import com.google.testdata.v1.DeprecatedServiceSettings; import com.google.testdata.v1.myEndpoint; @@ -39,4 +39,4 @@ public class SyncCreateSetEndpoint { DeprecatedServiceClient.create(deprecatedServiceSettings); } } -// [END goldensample_generated_deprecatedserviceclient_create_setendpoint_sync] +// [END goldensample_generated_DeprecatedService_Create_SetEndpoint_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncFastFibonacci.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncFastFibonacci.golden index e05200321d..e067991442 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncFastFibonacci.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncFastFibonacci.golden @@ -16,7 +16,7 @@ package com.google.testdata.v1.samples; -// [START goldensample_generated_deprecatedserviceclient_fastfibonacci_sync] +// [START goldensample_generated_DeprecatedService_FastFibonacci_sync] import com.google.protobuf.Empty; import com.google.testdata.v1.DeprecatedServiceClient; import com.google.testdata.v1.FibonacciRequest; @@ -39,4 +39,4 @@ public class SyncFastFibonacci { } } } -// [END goldensample_generated_deprecatedserviceclient_fastfibonacci_sync] +// [END goldensample_generated_DeprecatedService_FastFibonacci_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncSlowFibonacci.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncSlowFibonacci.golden index d9f5432437..a6dfe7ece4 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncSlowFibonacci.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/deprecatedserviceclient/SyncSlowFibonacci.golden @@ -16,7 +16,7 @@ package com.google.testdata.v1.samples; -// [START goldensample_generated_deprecatedserviceclient_slowfibonacci_sync] +// [START goldensample_generated_DeprecatedService_SlowFibonacci_sync] import com.google.protobuf.Empty; import com.google.testdata.v1.DeprecatedServiceClient; import com.google.testdata.v1.FibonacciRequest; @@ -39,4 +39,4 @@ public class SyncSlowFibonacci { } } } -// [END goldensample_generated_deprecatedserviceclient_slowfibonacci_sync] +// [END goldensample_generated_DeprecatedService_SlowFibonacci_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncBlock.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncBlock.golden index c62c2f43d8..fcb7690270 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncBlock.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncBlock.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_block_async] +// [START goldensample_generated_Echo_Block_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.BlockRequest; import com.google.showcase.v1beta1.BlockResponse; @@ -42,4 +42,4 @@ public class AsyncBlock { } } } -// [END goldensample_generated_echoclient_block_async] +// [END goldensample_generated_Echo_Block_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChat.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChat.golden index 8b359c46f5..2ef5f41da6 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChat.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChat.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_chat_async] +// [START goldensample_generated_Echo_Chat_async] import com.google.api.gax.rpc.BidiStream; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoRequest; @@ -53,4 +53,4 @@ public class AsyncChat { } } } -// [END goldensample_generated_echoclient_chat_async] +// [END goldensample_generated_Echo_Chat_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChatAgain.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChatAgain.golden index 90331b833e..4e8eaa63f4 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChatAgain.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncChatAgain.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_chatagain_async] +// [START goldensample_generated_Echo_ChatAgain_async] import com.google.api.gax.rpc.BidiStream; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoRequest; @@ -53,4 +53,4 @@ public class AsyncChatAgain { } } } -// [END goldensample_generated_echoclient_chatagain_async] +// [END goldensample_generated_Echo_ChatAgain_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollect.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollect.golden index d51c9aeae2..b2ff87a8c4 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollect.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollect.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_collect_async] +// [START goldensample_generated_Echo_Collect_async] import com.google.api.gax.rpc.ApiStreamObserver; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoRequest; @@ -68,4 +68,4 @@ public class AsyncCollect { } } } -// [END goldensample_generated_echoclient_collect_async] +// [END goldensample_generated_Echo_Collect_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollideName.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollideName.golden index a2886c0001..8a13eb4386 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollideName.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncCollideName.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_collidename_async] +// [START goldensample_generated_Echo_CollideName_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoRequest; @@ -51,4 +51,4 @@ public class AsyncCollideName { } } } -// [END goldensample_generated_echoclient_collidename_async] +// [END goldensample_generated_Echo_CollideName_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncEcho.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncEcho.golden index 4ee2bc4cd1..1188e05d7e 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncEcho.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncEcho.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_async] +// [START goldensample_generated_Echo_Echo_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoRequest; @@ -51,4 +51,4 @@ public class AsyncEcho { } } } -// [END goldensample_generated_echoclient_echo_async] +// [END goldensample_generated_Echo_Echo_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncExpand.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncExpand.golden index 51d367798c..3d804cf625 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncExpand.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncExpand.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_expand_async] +// [START goldensample_generated_Echo_Expand_async] import com.google.api.gax.rpc.ServerStream; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -44,4 +44,4 @@ public class AsyncExpand { } } } -// [END goldensample_generated_echoclient_expand_async] +// [END goldensample_generated_Echo_Expand_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpand.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpand.golden index 0e8b197ad3..653f0c2489 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpand.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpand.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_pagedexpand_async] +// [START goldensample_generated_Echo_PagedExpand_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -49,4 +49,4 @@ public class AsyncPagedExpand { } } } -// [END goldensample_generated_echoclient_pagedexpand_async] +// [END goldensample_generated_Echo_PagedExpand_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpandPaged.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpandPaged.golden index 0ae0cab7d6..854477fe8f 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpandPaged.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncPagedExpandPaged.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_pagedexpand_paged_async] +// [START goldensample_generated_Echo_PagedExpand_Paged_async] import com.google.common.base.Strings; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -57,4 +57,4 @@ public class AsyncPagedExpandPaged { } } } -// [END goldensample_generated_echoclient_pagedexpand_paged_async] +// [END goldensample_generated_Echo_PagedExpand_Paged_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpand.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpand.golden index e944abb1a3..d0decc78d6 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpand.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpand.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_simplepagedexpand_async] +// [START goldensample_generated_Echo_SimplePagedExpand_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -50,4 +50,4 @@ public class AsyncSimplePagedExpand { } } } -// [END goldensample_generated_echoclient_simplepagedexpand_async] +// [END goldensample_generated_Echo_SimplePagedExpand_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpandPaged.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpandPaged.golden index 058295f62e..0ab1bb2620 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpandPaged.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncSimplePagedExpandPaged.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_simplepagedexpand_paged_async] +// [START goldensample_generated_Echo_SimplePagedExpand_Paged_async] import com.google.common.base.Strings; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -57,4 +57,4 @@ public class AsyncSimplePagedExpandPaged { } } } -// [END goldensample_generated_echoclient_simplepagedexpand_paged_async] +// [END goldensample_generated_Echo_SimplePagedExpand_Paged_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWait.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWait.golden index 0bb588d43a..b433d3de7b 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWait.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWait.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_wait_async] +// [START goldensample_generated_Echo_Wait_async] import com.google.api.core.ApiFuture; import com.google.longrunning.Operation; import com.google.showcase.v1beta1.EchoClient; @@ -42,4 +42,4 @@ public class AsyncWait { } } } -// [END goldensample_generated_echoclient_wait_async] +// [END goldensample_generated_Echo_Wait_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWaitLRO.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWaitLRO.golden index 205131670a..ee7219e6a5 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWaitLRO.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/AsyncWaitLRO.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_wait_lro_async] +// [START goldensample_generated_Echo_Wait_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.WaitMetadata; @@ -44,4 +44,4 @@ public class AsyncWaitLRO { } } } -// [END goldensample_generated_echoclient_wait_lro_async] +// [END goldensample_generated_Echo_Wait_LRO_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncBlock.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncBlock.golden index f77e29adf9..49083f06a5 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncBlock.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncBlock.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_block_sync] +// [START goldensample_generated_Echo_Block_sync] import com.google.showcase.v1beta1.BlockRequest; import com.google.showcase.v1beta1.BlockResponse; import com.google.showcase.v1beta1.EchoClient; @@ -39,4 +39,4 @@ public class SyncBlock { } } } -// [END goldensample_generated_echoclient_block_sync] +// [END goldensample_generated_Echo_Block_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCollideName.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCollideName.golden index 5d412efe85..f54228fe7b 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCollideName.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCollideName.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_collidename_sync] +// [START goldensample_generated_Echo_CollideName_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoRequest; import com.google.showcase.v1beta1.Foobar; @@ -48,4 +48,4 @@ public class SyncCollideName { } } } -// [END goldensample_generated_echoclient_collidename_sync] +// [END goldensample_generated_Echo_CollideName_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetCredentialsProvider.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetCredentialsProvider.golden index fbcaeceee3..137d71af02 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetCredentialsProvider.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetCredentialsProvider.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_create_setcredentialsprovider_sync] +// [START goldensample_generated_Echo_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoSettings; @@ -41,4 +41,4 @@ public class SyncCreateSetCredentialsProvider { EchoClient echoClient = EchoClient.create(echoSettings); } } -// [END goldensample_generated_echoclient_create_setcredentialsprovider_sync] +// [END goldensample_generated_Echo_Create_SetCredentialsProvider_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetEndpoint.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetEndpoint.golden index 7e5bdd85c8..b6a2ea7d5b 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetEndpoint.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncCreateSetEndpoint.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_create_setendpoint_sync] +// [START goldensample_generated_Echo_Create_SetEndpoint_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoSettings; import com.google.showcase.v1beta1.myEndpoint; @@ -37,4 +37,4 @@ public class SyncCreateSetEndpoint { EchoClient echoClient = EchoClient.create(echoSettings); } } -// [END goldensample_generated_echoclient_create_setendpoint_sync] +// [END goldensample_generated_Echo_Create_SetEndpoint_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEcho.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEcho.golden index 404cd05a88..c17dbf2e4a 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEcho.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEcho.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_sync] +// [START goldensample_generated_Echo_Echo_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoRequest; import com.google.showcase.v1beta1.EchoResponse; @@ -48,4 +48,4 @@ public class SyncEcho { } } } -// [END goldensample_generated_echoclient_echo_sync] +// [END goldensample_generated_Echo_Echo_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoFoobarname.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoFoobarname.golden index 99d0105b4d..dd60585688 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoFoobarname.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoFoobarname.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_foobarname_sync] +// [START goldensample_generated_Echo_Echo_Foobarname_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; import com.google.showcase.v1beta1.FoobarName; @@ -39,4 +39,4 @@ public class SyncEchoFoobarname { } } } -// [END goldensample_generated_echoclient_echo_foobarname_sync] +// [END goldensample_generated_Echo_Echo_Foobarname_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoNoargs.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoNoargs.golden index 1939f2941f..7876817dac 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoNoargs.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoNoargs.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_noargs_sync] +// [START goldensample_generated_Echo_Echo_Noargs_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -37,4 +37,4 @@ public class SyncEchoNoargs { } } } -// [END goldensample_generated_echoclient_echo_noargs_sync] +// [END goldensample_generated_Echo_Echo_Noargs_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoResourcename.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoResourcename.golden index a6bff404df..8f06e73ae8 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoResourcename.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoResourcename.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_resourcename_sync] +// [START goldensample_generated_Echo_Echo_Resourcename_sync] import com.google.api.resourcenames.ResourceName; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -40,4 +40,4 @@ public class SyncEchoResourcename { } } } -// [END goldensample_generated_echoclient_echo_resourcename_sync] +// [END goldensample_generated_Echo_Echo_Resourcename_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStatus.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStatus.golden index b9471f8203..292f2fd990 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStatus.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStatus.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_status_sync] +// [START goldensample_generated_Echo_Echo_Status_sync] import com.google.rpc.Status; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -39,4 +39,4 @@ public class SyncEchoStatus { } } } -// [END goldensample_generated_echoclient_echo_status_sync] +// [END goldensample_generated_Echo_Echo_Status_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString.golden index bb9c0bc308..32f664871e 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_string_sync] +// [START goldensample_generated_Echo_Echo_String_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -38,4 +38,4 @@ public class SyncEchoString { } } } -// [END goldensample_generated_echoclient_echo_string_sync] +// [END goldensample_generated_Echo_Echo_String_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString1.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString1.golden index 8bc3c4036c..96630803f2 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString1.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString1.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_string1_sync] +// [START goldensample_generated_Echo_Echo_String1_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; import com.google.showcase.v1beta1.FoobarName; @@ -39,4 +39,4 @@ public class SyncEchoString1 { } } } -// [END goldensample_generated_echoclient_echo_string1_sync] +// [END goldensample_generated_Echo_Echo_String1_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString2.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString2.golden index 268b1c769e..eccc2e54f9 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString2.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoString2.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_string2_sync] +// [START goldensample_generated_Echo_Echo_String2_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; import com.google.showcase.v1beta1.FoobarName; @@ -39,4 +39,4 @@ public class SyncEchoString2 { } } } -// [END goldensample_generated_echoclient_echo_string2_sync] +// [END goldensample_generated_Echo_Echo_String2_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStringSeverity.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStringSeverity.golden index 5a62b9f4ad..966053a99d 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStringSeverity.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncEchoStringSeverity.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_echo_stringseverity_sync] +// [START goldensample_generated_Echo_Echo_StringSeverity_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; import com.google.showcase.v1beta1.Severity; @@ -40,4 +40,4 @@ public class SyncEchoStringSeverity { } } } -// [END goldensample_generated_echoclient_echo_stringseverity_sync] +// [END goldensample_generated_Echo_Echo_StringSeverity_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncPagedExpand.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncPagedExpand.golden index 4ae90f53cc..b30d626699 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncPagedExpand.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncPagedExpand.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_pagedexpand_sync] +// [START goldensample_generated_Echo_PagedExpand_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; import com.google.showcase.v1beta1.PagedExpandRequest; @@ -46,4 +46,4 @@ public class SyncPagedExpand { } } } -// [END goldensample_generated_echoclient_pagedexpand_sync] +// [END goldensample_generated_Echo_PagedExpand_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpand.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpand.golden index 11bc4352c5..ba9caf6133 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpand.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpand.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_simplepagedexpand_sync] +// [START goldensample_generated_Echo_SimplePagedExpand_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; import com.google.showcase.v1beta1.PagedExpandRequest; @@ -46,4 +46,4 @@ public class SyncSimplePagedExpand { } } } -// [END goldensample_generated_echoclient_simplepagedexpand_sync] +// [END goldensample_generated_Echo_SimplePagedExpand_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpandNoargs.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpandNoargs.golden index 40ef059d89..050f9b3d74 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpandNoargs.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncSimplePagedExpandNoargs.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_simplepagedexpand_noargs_sync] +// [START goldensample_generated_Echo_SimplePagedExpand_Noargs_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.EchoResponse; @@ -39,4 +39,4 @@ public class SyncSimplePagedExpandNoargs { } } } -// [END goldensample_generated_echoclient_simplepagedexpand_noargs_sync] +// [END goldensample_generated_Echo_SimplePagedExpand_Noargs_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWait.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWait.golden index 07679a60e1..426785177c 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWait.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWait.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_wait_sync] +// [START goldensample_generated_Echo_Wait_sync] import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.WaitRequest; import com.google.showcase.v1beta1.WaitResponse; @@ -39,4 +39,4 @@ public class SyncWait { } } } -// [END goldensample_generated_echoclient_wait_sync] +// [END goldensample_generated_Echo_Wait_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitDuration.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitDuration.golden index 9bec9d30ef..c045e0e3ec 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitDuration.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitDuration.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_wait_duration_sync] +// [START goldensample_generated_Echo_Wait_Duration_sync] import com.google.protobuf.Duration; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.WaitResponse; @@ -39,4 +39,4 @@ public class SyncWaitDuration { } } } -// [END goldensample_generated_echoclient_wait_duration_sync] +// [END goldensample_generated_Echo_Wait_Duration_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitTimestamp.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitTimestamp.golden index 58e6f3464c..c4cfdca153 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitTimestamp.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/echoclient/SyncWaitTimestamp.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echoclient_wait_timestamp_sync] +// [START goldensample_generated_Echo_Wait_Timestamp_sync] import com.google.protobuf.Timestamp; import com.google.showcase.v1beta1.EchoClient; import com.google.showcase.v1beta1.WaitResponse; @@ -39,4 +39,4 @@ public class SyncWaitTimestamp { } } } -// [END goldensample_generated_echoclient_wait_timestamp_sync] +// [END goldensample_generated_Echo_Wait_Timestamp_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncCreateUser.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncCreateUser.golden index 5746bce725..42b3f90307 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncCreateUser.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncCreateUser.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_createuser_async] +// [START goldensample_generated_Identity_CreateUser_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.CreateUserRequest; import com.google.showcase.v1beta1.IdentityClient; @@ -47,4 +47,4 @@ public class AsyncCreateUser { } } } -// [END goldensample_generated_identityclient_createuser_async] +// [END goldensample_generated_Identity_CreateUser_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncDeleteUser.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncDeleteUser.golden index e2a2d79316..09d4bf8625 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncDeleteUser.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncDeleteUser.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_deleteuser_async] +// [START goldensample_generated_Identity_DeleteUser_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.showcase.v1beta1.DeleteUserRequest; @@ -44,4 +44,4 @@ public class AsyncDeleteUser { } } } -// [END goldensample_generated_identityclient_deleteuser_async] +// [END goldensample_generated_Identity_DeleteUser_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncGetUser.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncGetUser.golden index fe848f43d2..ab82342d69 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncGetUser.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncGetUser.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_getuser_async] +// [START goldensample_generated_Identity_GetUser_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.GetUserRequest; import com.google.showcase.v1beta1.IdentityClient; @@ -44,4 +44,4 @@ public class AsyncGetUser { } } } -// [END goldensample_generated_identityclient_getuser_async] +// [END goldensample_generated_Identity_GetUser_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsers.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsers.golden index a5aa944c8f..07b5e7b761 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsers.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsers.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_listusers_async] +// [START goldensample_generated_Identity_ListUsers_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.ListUsersRequest; @@ -48,4 +48,4 @@ public class AsyncListUsers { } } } -// [END goldensample_generated_identityclient_listusers_async] +// [END goldensample_generated_Identity_ListUsers_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsersPaged.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsersPaged.golden index 9b7cafa65d..2dd52c01a9 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsersPaged.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncListUsersPaged.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_listusers_paged_async] +// [START goldensample_generated_Identity_ListUsers_Paged_async] import com.google.common.base.Strings; import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.ListUsersRequest; @@ -56,4 +56,4 @@ public class AsyncListUsersPaged { } } } -// [END goldensample_generated_identityclient_listusers_paged_async] +// [END goldensample_generated_Identity_ListUsers_Paged_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncUpdateUser.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncUpdateUser.golden index be44912297..6a77b3f29d 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncUpdateUser.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/AsyncUpdateUser.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_updateuser_async] +// [START goldensample_generated_Identity_UpdateUser_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.UpdateUserRequest; @@ -43,4 +43,4 @@ public class AsyncUpdateUser { } } } -// [END goldensample_generated_identityclient_updateuser_async] +// [END goldensample_generated_Identity_UpdateUser_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetCredentialsProvider.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetCredentialsProvider.golden index f859c452de..170fb27fb1 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetCredentialsProvider.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetCredentialsProvider.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_create_setcredentialsprovider_sync] +// [START goldensample_generated_Identity_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.IdentitySettings; @@ -41,4 +41,4 @@ public class SyncCreateSetCredentialsProvider { IdentityClient identityClient = IdentityClient.create(identitySettings); } } -// [END goldensample_generated_identityclient_create_setcredentialsprovider_sync] +// [END goldensample_generated_Identity_Create_SetCredentialsProvider_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetEndpoint.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetEndpoint.golden index 015f9dfcd7..33dd94a49b 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetEndpoint.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateSetEndpoint.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_create_setendpoint_sync] +// [START goldensample_generated_Identity_Create_SetEndpoint_sync] import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.IdentitySettings; import com.google.showcase.v1beta1.myEndpoint; @@ -38,4 +38,4 @@ public class SyncCreateSetEndpoint { IdentityClient identityClient = IdentityClient.create(identitySettings); } } -// [END goldensample_generated_identityclient_create_setendpoint_sync] +// [END goldensample_generated_Identity_Create_SetEndpoint_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUser.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUser.golden index 7d8c03e141..7fb81d997e 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUser.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUser.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_createuser_sync] +// [START goldensample_generated_Identity_CreateUser_sync] import com.google.showcase.v1beta1.CreateUserRequest; import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.User; @@ -44,4 +44,4 @@ public class SyncCreateUser { } } } -// [END goldensample_generated_identityclient_createuser_sync] +// [END goldensample_generated_Identity_CreateUser_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringString.golden index d8b266a31a..39feaa06d3 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_createuser_stringstringstring_sync] +// [START goldensample_generated_Identity_CreateUser_StringStringString_sync] import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.User; import com.google.showcase.v1beta1.UserName; @@ -41,4 +41,4 @@ public class SyncCreateUserStringStringString { } } } -// [END goldensample_generated_identityclient_createuser_stringstringstring_sync] +// [END goldensample_generated_Identity_CreateUser_StringStringString_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringIntStringBooleanDouble.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringIntStringBooleanDouble.golden index 6556a596f1..338a1262a2 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringIntStringBooleanDouble.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringIntStringBooleanDouble.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_createuser_stringstringstringintstringbooleandouble_sync] +// [START goldensample_generated_Identity_CreateUser_StringStringStringIntStringBooleanDouble_sync] import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.User; import com.google.showcase.v1beta1.UserName; @@ -47,4 +47,4 @@ public class SyncCreateUserStringStringStringIntStringBooleanDouble { } } } -// [END goldensample_generated_identityclient_createuser_stringstringstringintstringbooleandouble_sync] +// [END goldensample_generated_Identity_CreateUser_StringStringStringIntStringBooleanDouble_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringStringStringIntStringStringStringString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringStringStringIntStringStringStringString.golden index ac1a283fd2..e56b757fe6 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringStringStringIntStringStringStringString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncCreateUserStringStringStringStringStringIntStringStringStringString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_createuser_stringstringstringstringstringintstringstringstringstring_sync] +// [START goldensample_generated_Identity_CreateUser_StringStringStringStringStringIntStringStringStringString_sync] import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.User; import com.google.showcase.v1beta1.UserName; @@ -60,4 +60,4 @@ public class SyncCreateUserStringStringStringStringStringIntStringStringStringSt } } } -// [END goldensample_generated_identityclient_createuser_stringstringstringstringstringintstringstringstringstring_sync] +// [END goldensample_generated_Identity_CreateUser_StringStringStringStringStringIntStringStringStringString_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUser.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUser.golden index 53c45c3cbb..1142599cce 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUser.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUser.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_deleteuser_sync] +// [START goldensample_generated_Identity_DeleteUser_sync] import com.google.protobuf.Empty; import com.google.showcase.v1beta1.DeleteUserRequest; import com.google.showcase.v1beta1.IdentityClient; @@ -41,4 +41,4 @@ public class SyncDeleteUser { } } } -// [END goldensample_generated_identityclient_deleteuser_sync] +// [END goldensample_generated_Identity_DeleteUser_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserString.golden index eece238c02..a809efb619 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_deleteuser_string_sync] +// [START goldensample_generated_Identity_DeleteUser_String_sync] import com.google.protobuf.Empty; import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.UserName; @@ -39,4 +39,4 @@ public class SyncDeleteUserString { } } } -// [END goldensample_generated_identityclient_deleteuser_string_sync] +// [END goldensample_generated_Identity_DeleteUser_String_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserUsername.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserUsername.golden index b5be27d6ef..742b1e748c 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserUsername.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncDeleteUserUsername.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_deleteuser_username_sync] +// [START goldensample_generated_Identity_DeleteUser_Username_sync] import com.google.protobuf.Empty; import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.UserName; @@ -39,4 +39,4 @@ public class SyncDeleteUserUsername { } } } -// [END goldensample_generated_identityclient_deleteuser_username_sync] +// [END goldensample_generated_Identity_DeleteUser_Username_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUser.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUser.golden index b1365f3b99..e3bf802301 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUser.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUser.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_getuser_sync] +// [START goldensample_generated_Identity_GetUser_sync] import com.google.showcase.v1beta1.GetUserRequest; import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.User; @@ -41,4 +41,4 @@ public class SyncGetUser { } } } -// [END goldensample_generated_identityclient_getuser_sync] +// [END goldensample_generated_Identity_GetUser_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserString.golden index 44a6a17256..73c4cf2bba 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_getuser_string_sync] +// [START goldensample_generated_Identity_GetUser_String_sync] import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.User; import com.google.showcase.v1beta1.UserName; @@ -39,4 +39,4 @@ public class SyncGetUserString { } } } -// [END goldensample_generated_identityclient_getuser_string_sync] +// [END goldensample_generated_Identity_GetUser_String_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserUsername.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserUsername.golden index 409787850e..4af40f648d 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserUsername.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncGetUserUsername.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_getuser_username_sync] +// [START goldensample_generated_Identity_GetUser_Username_sync] import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.User; import com.google.showcase.v1beta1.UserName; @@ -39,4 +39,4 @@ public class SyncGetUserUsername { } } } -// [END goldensample_generated_identityclient_getuser_username_sync] +// [END goldensample_generated_Identity_GetUser_Username_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncListUsers.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncListUsers.golden index 1fa89b2cf7..d111584331 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncListUsers.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncListUsers.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_listusers_sync] +// [START goldensample_generated_Identity_ListUsers_sync] import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.ListUsersRequest; import com.google.showcase.v1beta1.User; @@ -45,4 +45,4 @@ public class SyncListUsers { } } } -// [END goldensample_generated_identityclient_listusers_sync] +// [END goldensample_generated_Identity_ListUsers_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncUpdateUser.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncUpdateUser.golden index 919953f762..beca349fe1 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncUpdateUser.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/identityclient/SyncUpdateUser.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_identityclient_updateuser_sync] +// [START goldensample_generated_Identity_UpdateUser_sync] import com.google.showcase.v1beta1.IdentityClient; import com.google.showcase.v1beta1.UpdateUserRequest; import com.google.showcase.v1beta1.User; @@ -40,4 +40,4 @@ public class SyncUpdateUser { } } } -// [END goldensample_generated_identityclient_updateuser_sync] +// [END goldensample_generated_Identity_UpdateUser_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncConnect.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncConnect.golden index 7c844cce85..1527fbf21c 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncConnect.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncConnect.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_connect_async] +// [START goldensample_generated_Messaging_Connect_async] import com.google.api.gax.rpc.BidiStream; import com.google.showcase.v1beta1.ConnectRequest; import com.google.showcase.v1beta1.MessagingClient; @@ -45,4 +45,4 @@ public class AsyncConnect { } } } -// [END goldensample_generated_messagingclient_connect_async] +// [END goldensample_generated_Messaging_Connect_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateBlurb.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateBlurb.golden index f015b74a58..7d4dedad14 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateBlurb.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateBlurb.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createblurb_async] +// [START goldensample_generated_Messaging_CreateBlurb_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.CreateBlurbRequest; @@ -47,4 +47,4 @@ public class AsyncCreateBlurb { } } } -// [END goldensample_generated_messagingclient_createblurb_async] +// [END goldensample_generated_Messaging_CreateBlurb_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateRoom.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateRoom.golden index e0dc0aedac..0b97e48893 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateRoom.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncCreateRoom.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createroom_async] +// [START goldensample_generated_Messaging_CreateRoom_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.CreateRoomRequest; import com.google.showcase.v1beta1.MessagingClient; @@ -43,4 +43,4 @@ public class AsyncCreateRoom { } } } -// [END goldensample_generated_messagingclient_createroom_async] +// [END goldensample_generated_Messaging_CreateRoom_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteBlurb.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteBlurb.golden index 8eabcc893a..541b576c49 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteBlurb.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteBlurb.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_deleteblurb_async] +// [START goldensample_generated_Messaging_DeleteBlurb_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.showcase.v1beta1.BlurbName; @@ -46,4 +46,4 @@ public class AsyncDeleteBlurb { } } } -// [END goldensample_generated_messagingclient_deleteblurb_async] +// [END goldensample_generated_Messaging_DeleteBlurb_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteRoom.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteRoom.golden index ebe5be44c2..a848b99195 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteRoom.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncDeleteRoom.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_deleteroom_async] +// [START goldensample_generated_Messaging_DeleteRoom_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.showcase.v1beta1.DeleteRoomRequest; @@ -44,4 +44,4 @@ public class AsyncDeleteRoom { } } } -// [END goldensample_generated_messagingclient_deleteroom_async] +// [END goldensample_generated_Messaging_DeleteRoom_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetBlurb.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetBlurb.golden index 627465df2d..91561164d4 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetBlurb.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetBlurb.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_getblurb_async] +// [START goldensample_generated_Messaging_GetBlurb_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.BlurbName; @@ -46,4 +46,4 @@ public class AsyncGetBlurb { } } } -// [END goldensample_generated_messagingclient_getblurb_async] +// [END goldensample_generated_Messaging_GetBlurb_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetRoom.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetRoom.golden index caa0b727de..e18adcb4fe 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetRoom.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncGetRoom.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_getroom_async] +// [START goldensample_generated_Messaging_GetRoom_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.GetRoomRequest; import com.google.showcase.v1beta1.MessagingClient; @@ -44,4 +44,4 @@ public class AsyncGetRoom { } } } -// [END goldensample_generated_messagingclient_getroom_async] +// [END goldensample_generated_Messaging_GetRoom_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbs.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbs.golden index 1f2eb73d9d..f61cbee5ec 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbs.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbs.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_listblurbs_async] +// [START goldensample_generated_Messaging_ListBlurbs_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.ListBlurbsRequest; @@ -50,4 +50,4 @@ public class AsyncListBlurbs { } } } -// [END goldensample_generated_messagingclient_listblurbs_async] +// [END goldensample_generated_Messaging_ListBlurbs_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbsPaged.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbsPaged.golden index 37928394c7..261b3be58b 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbsPaged.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListBlurbsPaged.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_listblurbs_paged_async] +// [START goldensample_generated_Messaging_ListBlurbs_Paged_async] import com.google.common.base.Strings; import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.ListBlurbsRequest; @@ -58,4 +58,4 @@ public class AsyncListBlurbsPaged { } } } -// [END goldensample_generated_messagingclient_listblurbs_paged_async] +// [END goldensample_generated_Messaging_ListBlurbs_Paged_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRooms.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRooms.golden index a658df0fae..0fa5c5dd31 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRooms.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRooms.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_listrooms_async] +// [START goldensample_generated_Messaging_ListRooms_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.ListRoomsRequest; import com.google.showcase.v1beta1.MessagingClient; @@ -48,4 +48,4 @@ public class AsyncListRooms { } } } -// [END goldensample_generated_messagingclient_listrooms_async] +// [END goldensample_generated_Messaging_ListRooms_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRoomsPaged.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRoomsPaged.golden index 58686d44a7..83a9c04205 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRoomsPaged.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncListRoomsPaged.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_listrooms_paged_async] +// [START goldensample_generated_Messaging_ListRooms_Paged_async] import com.google.common.base.Strings; import com.google.showcase.v1beta1.ListRoomsRequest; import com.google.showcase.v1beta1.ListRoomsResponse; @@ -56,4 +56,4 @@ public class AsyncListRoomsPaged { } } } -// [END goldensample_generated_messagingclient_listrooms_paged_async] +// [END goldensample_generated_Messaging_ListRooms_Paged_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbs.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbs.golden index 6161b2e104..a492728b11 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbs.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbs.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_searchblurbs_async] +// [START goldensample_generated_Messaging_SearchBlurbs_async] import com.google.api.core.ApiFuture; import com.google.longrunning.Operation; import com.google.showcase.v1beta1.MessagingClient; @@ -49,4 +49,4 @@ public class AsyncSearchBlurbs { } } } -// [END goldensample_generated_messagingclient_searchblurbs_async] +// [END goldensample_generated_Messaging_SearchBlurbs_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbsLRO.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbsLRO.golden index 73dac257ea..c4db52aceb 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbsLRO.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSearchBlurbsLRO.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_searchblurbs_lro_async] +// [START goldensample_generated_Messaging_SearchBlurbs_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.ProfileName; @@ -51,4 +51,4 @@ public class AsyncSearchBlurbsLRO { } } } -// [END goldensample_generated_messagingclient_searchblurbs_lro_async] +// [END goldensample_generated_Messaging_SearchBlurbs_LRO_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSendBlurbs.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSendBlurbs.golden index 6f608c23dc..9275afa82b 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSendBlurbs.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncSendBlurbs.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_sendblurbs_async] +// [START goldensample_generated_Messaging_SendBlurbs_async] import com.google.api.gax.rpc.ApiStreamObserver; import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.CreateBlurbRequest; @@ -65,4 +65,4 @@ public class AsyncSendBlurbs { } } } -// [END goldensample_generated_messagingclient_sendblurbs_async] +// [END goldensample_generated_Messaging_SendBlurbs_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncStreamBlurbs.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncStreamBlurbs.golden index 6588736a1d..eeefc7952e 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncStreamBlurbs.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncStreamBlurbs.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_streamblurbs_async] +// [START goldensample_generated_Messaging_StreamBlurbs_async] import com.google.api.gax.rpc.ServerStream; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.ProfileName; @@ -46,4 +46,4 @@ public class AsyncStreamBlurbs { } } } -// [END goldensample_generated_messagingclient_streamblurbs_async] +// [END goldensample_generated_Messaging_StreamBlurbs_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateBlurb.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateBlurb.golden index c7e73b8638..f7b197c194 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateBlurb.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateBlurb.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_updateblurb_async] +// [START goldensample_generated_Messaging_UpdateBlurb_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; @@ -43,4 +43,4 @@ public class AsyncUpdateBlurb { } } } -// [END goldensample_generated_messagingclient_updateblurb_async] +// [END goldensample_generated_Messaging_UpdateBlurb_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateRoom.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateRoom.golden index c8bc11c5ba..7bdf9bed17 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateRoom.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/AsyncUpdateRoom.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_updateroom_async] +// [START goldensample_generated_Messaging_UpdateRoom_async] import com.google.api.core.ApiFuture; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.Room; @@ -43,4 +43,4 @@ public class AsyncUpdateRoom { } } } -// [END goldensample_generated_messagingclient_updateroom_async] +// [END goldensample_generated_Messaging_UpdateRoom_async] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurb.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurb.golden index 00fb6d9940..57d0f0c180 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurb.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurb.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createblurb_sync] +// [START goldensample_generated_Messaging_CreateBlurb_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.CreateBlurbRequest; import com.google.showcase.v1beta1.MessagingClient; @@ -44,4 +44,4 @@ public class SyncCreateBlurb { } } } -// [END goldensample_generated_messagingclient_createblurb_sync] +// [END goldensample_generated_Messaging_CreateBlurb_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameBytestring.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameBytestring.golden index f9d342accf..ab5a62701c 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameBytestring.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameBytestring.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createblurb_profilenamebytestring_sync] +// [START goldensample_generated_Messaging_CreateBlurb_ProfilenameBytestring_sync] import com.google.protobuf.ByteString; import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; @@ -41,4 +41,4 @@ public class SyncCreateBlurbProfilenameBytestring { } } } -// [END goldensample_generated_messagingclient_createblurb_profilenamebytestring_sync] +// [END goldensample_generated_Messaging_CreateBlurb_ProfilenameBytestring_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameString.golden index f165c7ef76..a7efb77b5d 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbProfilenameString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createblurb_profilenamestring_sync] +// [START goldensample_generated_Messaging_CreateBlurb_ProfilenameString_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.ProfileName; @@ -40,4 +40,4 @@ public class SyncCreateBlurbProfilenameString { } } } -// [END goldensample_generated_messagingclient_createblurb_profilenamestring_sync] +// [END goldensample_generated_Messaging_CreateBlurb_ProfilenameString_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameBytestring.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameBytestring.golden index 2818243a50..143145ac95 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameBytestring.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameBytestring.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createblurb_roomnamebytestring_sync] +// [START goldensample_generated_Messaging_CreateBlurb_RoomnameBytestring_sync] import com.google.protobuf.ByteString; import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; @@ -41,4 +41,4 @@ public class SyncCreateBlurbRoomnameBytestring { } } } -// [END goldensample_generated_messagingclient_createblurb_roomnamebytestring_sync] +// [END goldensample_generated_Messaging_CreateBlurb_RoomnameBytestring_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameString.golden index f05bd4f87b..8b7d8c6bbf 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbRoomnameString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createblurb_roomnamestring_sync] +// [START goldensample_generated_Messaging_CreateBlurb_RoomnameString_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.RoomName; @@ -40,4 +40,4 @@ public class SyncCreateBlurbRoomnameString { } } } -// [END goldensample_generated_messagingclient_createblurb_roomnamestring_sync] +// [END goldensample_generated_Messaging_CreateBlurb_RoomnameString_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringBytestring.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringBytestring.golden index 3e630a4b15..08e2fc9a9b 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringBytestring.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringBytestring.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createblurb_stringbytestring_sync] +// [START goldensample_generated_Messaging_CreateBlurb_StringBytestring_sync] import com.google.protobuf.ByteString; import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; @@ -41,4 +41,4 @@ public class SyncCreateBlurbStringBytestring { } } } -// [END goldensample_generated_messagingclient_createblurb_stringbytestring_sync] +// [END goldensample_generated_Messaging_CreateBlurb_StringBytestring_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringString.golden index 562d27535a..f77ae6eb0f 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateBlurbStringString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createblurb_stringstring_sync] +// [START goldensample_generated_Messaging_CreateBlurb_StringString_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.ProfileName; @@ -40,4 +40,4 @@ public class SyncCreateBlurbStringString { } } } -// [END goldensample_generated_messagingclient_createblurb_stringstring_sync] +// [END goldensample_generated_Messaging_CreateBlurb_StringString_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoom.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoom.golden index 57b517225b..f1ac7b0bf8 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoom.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoom.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createroom_sync] +// [START goldensample_generated_Messaging_CreateRoom_sync] import com.google.showcase.v1beta1.CreateRoomRequest; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.Room; @@ -40,4 +40,4 @@ public class SyncCreateRoom { } } } -// [END goldensample_generated_messagingclient_createroom_sync] +// [END goldensample_generated_Messaging_CreateRoom_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoomStringString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoomStringString.golden index ebcc0cc72d..05a335d704 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoomStringString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateRoomStringString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_createroom_stringstring_sync] +// [START goldensample_generated_Messaging_CreateRoom_StringString_sync] import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.Room; @@ -39,4 +39,4 @@ public class SyncCreateRoomStringString { } } } -// [END goldensample_generated_messagingclient_createroom_stringstring_sync] +// [END goldensample_generated_Messaging_CreateRoom_StringString_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetCredentialsProvider.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetCredentialsProvider.golden index ae4425a5e1..2707298f00 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetCredentialsProvider.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetCredentialsProvider.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_create_setcredentialsprovider_sync] +// [START goldensample_generated_Messaging_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.MessagingSettings; @@ -41,4 +41,4 @@ public class SyncCreateSetCredentialsProvider { MessagingClient messagingClient = MessagingClient.create(messagingSettings); } } -// [END goldensample_generated_messagingclient_create_setcredentialsprovider_sync] +// [END goldensample_generated_Messaging_Create_SetCredentialsProvider_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetEndpoint.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetEndpoint.golden index 8bc4e45e0b..53141d54ff 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetEndpoint.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncCreateSetEndpoint.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_create_setendpoint_sync] +// [START goldensample_generated_Messaging_Create_SetEndpoint_sync] import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.MessagingSettings; import com.google.showcase.v1beta1.myEndpoint; @@ -38,4 +38,4 @@ public class SyncCreateSetEndpoint { MessagingClient messagingClient = MessagingClient.create(messagingSettings); } } -// [END goldensample_generated_messagingclient_create_setendpoint_sync] +// [END goldensample_generated_Messaging_Create_SetEndpoint_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurb.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurb.golden index c641dd9272..16d8a41623 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurb.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurb.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_deleteblurb_sync] +// [START goldensample_generated_Messaging_DeleteBlurb_sync] import com.google.protobuf.Empty; import com.google.showcase.v1beta1.BlurbName; import com.google.showcase.v1beta1.DeleteBlurbRequest; @@ -43,4 +43,4 @@ public class SyncDeleteBlurb { } } } -// [END goldensample_generated_messagingclient_deleteblurb_sync] +// [END goldensample_generated_Messaging_DeleteBlurb_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbBlurbname.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbBlurbname.golden index f6a585d8be..752875d995 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbBlurbname.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbBlurbname.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_deleteblurb_blurbname_sync] +// [START goldensample_generated_Messaging_DeleteBlurb_Blurbname_sync] import com.google.protobuf.Empty; import com.google.showcase.v1beta1.BlurbName; import com.google.showcase.v1beta1.MessagingClient; @@ -39,4 +39,4 @@ public class SyncDeleteBlurbBlurbname { } } } -// [END goldensample_generated_messagingclient_deleteblurb_blurbname_sync] +// [END goldensample_generated_Messaging_DeleteBlurb_Blurbname_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbString.golden index 16378885d7..c52c8d070f 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteBlurbString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_deleteblurb_string_sync] +// [START goldensample_generated_Messaging_DeleteBlurb_String_sync] import com.google.protobuf.Empty; import com.google.showcase.v1beta1.BlurbName; import com.google.showcase.v1beta1.MessagingClient; @@ -40,4 +40,4 @@ public class SyncDeleteBlurbString { } } } -// [END goldensample_generated_messagingclient_deleteblurb_string_sync] +// [END goldensample_generated_Messaging_DeleteBlurb_String_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoom.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoom.golden index 23baa1c773..621d024d15 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoom.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoom.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_deleteroom_sync] +// [START goldensample_generated_Messaging_DeleteRoom_sync] import com.google.protobuf.Empty; import com.google.showcase.v1beta1.DeleteRoomRequest; import com.google.showcase.v1beta1.MessagingClient; @@ -41,4 +41,4 @@ public class SyncDeleteRoom { } } } -// [END goldensample_generated_messagingclient_deleteroom_sync] +// [END goldensample_generated_Messaging_DeleteRoom_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomRoomname.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomRoomname.golden index 91d32081b9..bd203c1483 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomRoomname.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomRoomname.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_deleteroom_roomname_sync] +// [START goldensample_generated_Messaging_DeleteRoom_Roomname_sync] import com.google.protobuf.Empty; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.RoomName; @@ -39,4 +39,4 @@ public class SyncDeleteRoomRoomname { } } } -// [END goldensample_generated_messagingclient_deleteroom_roomname_sync] +// [END goldensample_generated_Messaging_DeleteRoom_Roomname_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomString.golden index b9e4c5883d..d65c2b43dd 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncDeleteRoomString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_deleteroom_string_sync] +// [START goldensample_generated_Messaging_DeleteRoom_String_sync] import com.google.protobuf.Empty; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.RoomName; @@ -39,4 +39,4 @@ public class SyncDeleteRoomString { } } } -// [END goldensample_generated_messagingclient_deleteroom_string_sync] +// [END goldensample_generated_Messaging_DeleteRoom_String_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurb.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurb.golden index 0983642a83..16570a645d 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurb.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurb.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_getblurb_sync] +// [START goldensample_generated_Messaging_GetBlurb_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.BlurbName; import com.google.showcase.v1beta1.GetBlurbRequest; @@ -43,4 +43,4 @@ public class SyncGetBlurb { } } } -// [END goldensample_generated_messagingclient_getblurb_sync] +// [END goldensample_generated_Messaging_GetBlurb_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbBlurbname.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbBlurbname.golden index cf2f6fbacb..012a36a6da 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbBlurbname.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbBlurbname.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_getblurb_blurbname_sync] +// [START goldensample_generated_Messaging_GetBlurb_Blurbname_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.BlurbName; import com.google.showcase.v1beta1.MessagingClient; @@ -39,4 +39,4 @@ public class SyncGetBlurbBlurbname { } } } -// [END goldensample_generated_messagingclient_getblurb_blurbname_sync] +// [END goldensample_generated_Messaging_GetBlurb_Blurbname_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbString.golden index f82f4e7bc1..ec7957a5d6 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetBlurbString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_getblurb_string_sync] +// [START goldensample_generated_Messaging_GetBlurb_String_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.BlurbName; import com.google.showcase.v1beta1.MessagingClient; @@ -40,4 +40,4 @@ public class SyncGetBlurbString { } } } -// [END goldensample_generated_messagingclient_getblurb_string_sync] +// [END goldensample_generated_Messaging_GetBlurb_String_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoom.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoom.golden index 78b7d13b61..12aef664c1 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoom.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoom.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_getroom_sync] +// [START goldensample_generated_Messaging_GetRoom_sync] import com.google.showcase.v1beta1.GetRoomRequest; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.Room; @@ -41,4 +41,4 @@ public class SyncGetRoom { } } } -// [END goldensample_generated_messagingclient_getroom_sync] +// [END goldensample_generated_Messaging_GetRoom_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomRoomname.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomRoomname.golden index 56da552417..b732876cb2 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomRoomname.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomRoomname.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_getroom_roomname_sync] +// [START goldensample_generated_Messaging_GetRoom_Roomname_sync] import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.Room; import com.google.showcase.v1beta1.RoomName; @@ -39,4 +39,4 @@ public class SyncGetRoomRoomname { } } } -// [END goldensample_generated_messagingclient_getroom_roomname_sync] +// [END goldensample_generated_Messaging_GetRoom_Roomname_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomString.golden index f35f28cc90..ce6113ed1a 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncGetRoomString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_getroom_string_sync] +// [START goldensample_generated_Messaging_GetRoom_String_sync] import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.Room; import com.google.showcase.v1beta1.RoomName; @@ -39,4 +39,4 @@ public class SyncGetRoomString { } } } -// [END goldensample_generated_messagingclient_getroom_string_sync] +// [END goldensample_generated_Messaging_GetRoom_String_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbs.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbs.golden index cfc50e8565..af34fdbf29 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbs.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbs.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_listblurbs_sync] +// [START goldensample_generated_Messaging_ListBlurbs_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.ListBlurbsRequest; import com.google.showcase.v1beta1.MessagingClient; @@ -47,4 +47,4 @@ public class SyncListBlurbs { } } } -// [END goldensample_generated_messagingclient_listblurbs_sync] +// [END goldensample_generated_Messaging_ListBlurbs_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsProfilename.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsProfilename.golden index dfd515f13f..ce95287fb5 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsProfilename.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsProfilename.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_listblurbs_profilename_sync] +// [START goldensample_generated_Messaging_ListBlurbs_Profilename_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.ProfileName; @@ -41,4 +41,4 @@ public class SyncListBlurbsProfilename { } } } -// [END goldensample_generated_messagingclient_listblurbs_profilename_sync] +// [END goldensample_generated_Messaging_ListBlurbs_Profilename_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsRoomname.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsRoomname.golden index 0272c5ea93..f3bac1b2b5 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsRoomname.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsRoomname.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_listblurbs_roomname_sync] +// [START goldensample_generated_Messaging_ListBlurbs_Roomname_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.RoomName; @@ -41,4 +41,4 @@ public class SyncListBlurbsRoomname { } } } -// [END goldensample_generated_messagingclient_listblurbs_roomname_sync] +// [END goldensample_generated_Messaging_ListBlurbs_Roomname_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsString.golden index 67d02e0c28..89f24d8d1b 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListBlurbsString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_listblurbs_string_sync] +// [START goldensample_generated_Messaging_ListBlurbs_String_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.ProfileName; @@ -41,4 +41,4 @@ public class SyncListBlurbsString { } } } -// [END goldensample_generated_messagingclient_listblurbs_string_sync] +// [END goldensample_generated_Messaging_ListBlurbs_String_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListRooms.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListRooms.golden index 780a3fd213..0318e80856 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListRooms.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncListRooms.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_listrooms_sync] +// [START goldensample_generated_Messaging_ListRooms_sync] import com.google.showcase.v1beta1.ListRoomsRequest; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.Room; @@ -45,4 +45,4 @@ public class SyncListRooms { } } } -// [END goldensample_generated_messagingclient_listrooms_sync] +// [END goldensample_generated_Messaging_ListRooms_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbs.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbs.golden index 76bd8b75b6..09e3843acc 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbs.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbs.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_searchblurbs_sync] +// [START goldensample_generated_Messaging_SearchBlurbs_sync] import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.ProfileName; import com.google.showcase.v1beta1.SearchBlurbsRequest; @@ -46,4 +46,4 @@ public class SyncSearchBlurbs { } } } -// [END goldensample_generated_messagingclient_searchblurbs_sync] +// [END goldensample_generated_Messaging_SearchBlurbs_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbsString.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbsString.golden index 6ba0ae6e5a..2fbae35501 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbsString.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncSearchBlurbsString.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_searchblurbs_string_sync] +// [START goldensample_generated_Messaging_SearchBlurbs_String_sync] import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.SearchBlurbsResponse; @@ -38,4 +38,4 @@ public class SyncSearchBlurbsString { } } } -// [END goldensample_generated_messagingclient_searchblurbs_string_sync] +// [END goldensample_generated_Messaging_SearchBlurbs_String_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateBlurb.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateBlurb.golden index eeaaa911d0..cc949cd2e2 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateBlurb.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateBlurb.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_updateblurb_sync] +// [START goldensample_generated_Messaging_UpdateBlurb_sync] import com.google.showcase.v1beta1.Blurb; import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.UpdateBlurbRequest; @@ -40,4 +40,4 @@ public class SyncUpdateBlurb { } } } -// [END goldensample_generated_messagingclient_updateblurb_sync] +// [END goldensample_generated_Messaging_UpdateBlurb_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateRoom.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateRoom.golden index 7999de51dc..f532f73957 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateRoom.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/messagingclient/SyncUpdateRoom.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_messagingclient_updateroom_sync] +// [START goldensample_generated_Messaging_UpdateRoom_sync] import com.google.showcase.v1beta1.MessagingClient; import com.google.showcase.v1beta1.Room; import com.google.showcase.v1beta1.UpdateRoomRequest; @@ -40,4 +40,4 @@ public class SyncUpdateRoom { } } } -// [END goldensample_generated_messagingclient_updateroom_sync] +// [END goldensample_generated_Messaging_UpdateRoom_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncEcho.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncEcho.golden index 9cbdba2f24..5d031b7c77 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncEcho.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncEcho.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.samples; -// [START goldensample_generated_echosettings_echo_sync] +// [START goldensample_generated_EchoSettings_Echo_sync] import com.google.showcase.v1beta1.EchoSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public class SyncEcho { EchoSettings echoSettings = echoSettingsBuilder.build(); } } -// [END goldensample_generated_echosettings_echo_sync] +// [END goldensample_generated_EchoSettings_Echo_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncFastFibonacci.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncFastFibonacci.golden index 325533a9b8..90cd534cee 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncFastFibonacci.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/SyncFastFibonacci.golden @@ -16,7 +16,7 @@ package com.google.testdata.v1.samples; -// [START goldensample_generated_deprecatedservicesettings_fastfibonacci_sync] +// [START goldensample_generated_DeprecatedServiceSettings_FastFibonacci_sync] import com.google.testdata.v1.DeprecatedServiceSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public class SyncFastFibonacci { DeprecatedServiceSettings deprecatedServiceSettings = deprecatedServiceSettingsBuilder.build(); } } -// [END goldensample_generated_deprecatedservicesettings_fastfibonacci_sync] +// [END goldensample_generated_DeprecatedServiceSettings_FastFibonacci_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncCreateTopic.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncCreateTopic.golden index 0d33be22fe..7417d5b42e 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncCreateTopic.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncCreateTopic.golden @@ -16,7 +16,7 @@ package com.google.pubsub.v1.stub.samples; -// [START goldensample_generated_publisherstubsettings_createtopic_sync] +// [START goldensample_generated_PublisherStubSettings_CreateTopic_sync] import com.google.pubsub.v1.stub.PublisherStubSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public class SyncCreateTopic { PublisherStubSettings publisherSettings = publisherSettingsBuilder.build(); } } -// [END goldensample_generated_publisherstubsettings_createtopic_sync] +// [END goldensample_generated_PublisherStubSettings_CreateTopic_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncDeleteLog.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncDeleteLog.golden index bc1c42a9fd..a72b00ae23 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncDeleteLog.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncDeleteLog.golden @@ -16,7 +16,7 @@ package com.google.logging.v2.stub.samples; -// [START goldensample_generated_loggingservicev2stubsettings_deletelog_sync] +// [START goldensample_generated_LoggingServiceV2StubSettings_DeleteLog_sync] import com.google.logging.v2.stub.LoggingServiceV2StubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public class SyncDeleteLog { LoggingServiceV2StubSettings loggingServiceV2Settings = loggingServiceV2SettingsBuilder.build(); } } -// [END goldensample_generated_loggingservicev2stubsettings_deletelog_sync] +// [END goldensample_generated_LoggingServiceV2StubSettings_DeleteLog_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncEcho.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncEcho.golden index 7a97d3f41b..968fb98297 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncEcho.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncEcho.golden @@ -16,7 +16,7 @@ package com.google.showcase.v1beta1.stub.samples; -// [START goldensample_generated_echostubsettings_echo_sync] +// [START goldensample_generated_EchoStubSettings_Echo_sync] import com.google.showcase.v1beta1.stub.EchoStubSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public class SyncEcho { EchoStubSettings echoSettings = echoSettingsBuilder.build(); } } -// [END goldensample_generated_echostubsettings_echo_sync] +// [END goldensample_generated_EchoStubSettings_Echo_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncFastFibonacci.golden b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncFastFibonacci.golden index 47814df155..042d351178 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncFastFibonacci.golden +++ b/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/samples/servicesettings/stub/SyncFastFibonacci.golden @@ -16,7 +16,7 @@ package com.google.testdata.v1.stub.samples; -// [START goldensample_generated_deprecatedservicestubsettings_fastfibonacci_sync] +// [START goldensample_generated_DeprecatedServiceStubSettings_FastFibonacci_sync] import com.google.testdata.v1.stub.DeprecatedServiceStubSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public class SyncFastFibonacci { deprecatedServiceSettingsBuilder.build(); } } -// [END goldensample_generated_deprecatedservicestubsettings_fastfibonacci_sync] +// [END goldensample_generated_DeprecatedServiceStubSettings_FastFibonacci_sync] diff --git a/src/test/java/com/google/api/generator/gapic/composer/samplecode/SampleCodeWriterTest.java b/src/test/java/com/google/api/generator/gapic/composer/samplecode/SampleCodeWriterTest.java index 679b7684a8..d34c2d6714 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/samplecode/SampleCodeWriterTest.java +++ b/src/test/java/com/google/api/generator/gapic/composer/samplecode/SampleCodeWriterTest.java @@ -132,7 +132,7 @@ public void writeExecutableSample() { "\n", "package com.google.samples;\n", "\n", - "// [START testing_v1_generated_samples_write_executablesample_sync]\n", + "// [START testing_v1_generated_Samples_Write_ExecutableSample_sync]\n", "import com.google.api.gax.rpc.ClientSettings;\n", "\n", "public class SyncWriteExecutableSample {\n", @@ -153,7 +153,7 @@ public void writeExecutableSample() { " }\n", " }\n", "}\n", - "// [END testing_v1_generated_samples_write_executablesample_sync]\n"); + "// [END testing_v1_generated_Samples_Write_ExecutableSample_sync]\n"); Assert.assertEquals(expected, result); } diff --git a/src/test/java/com/google/api/generator/gapic/composer/samplecode/SampleComposerTest.java b/src/test/java/com/google/api/generator/gapic/composer/samplecode/SampleComposerTest.java index 99aea60849..726166861d 100644 --- a/src/test/java/com/google/api/generator/gapic/composer/samplecode/SampleComposerTest.java +++ b/src/test/java/com/google/api/generator/gapic/composer/samplecode/SampleComposerTest.java @@ -75,7 +75,7 @@ public void createExecutableSampleEmptyStatementSample() { LineFormatter.lines( "package com.google.example;\n", "\n", - "// [START apiname_generated_echo_createexecutablesample_emptystatementsample_sync]\n", + "// [START apiname_generated_Echo_CreateExecutableSample_EmptyStatementSample_sync]\n", "public class SyncCreateExecutableSampleEmptyStatementSample {\n", "\n", " public static void main(String[] args) throws Exception {\n", @@ -90,7 +90,7 @@ public void createExecutableSampleEmptyStatementSample() { " // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library\n", " }\n", "}\n", - "// [END apiname_generated_echo_createexecutablesample_emptystatementsample_sync]\n"); + "// [END apiname_generated_Echo_CreateExecutableSample_EmptyStatementSample_sync]\n"); assertEquals(expected, sampleResult); } @@ -114,7 +114,7 @@ public void createExecutableSampleMethodArgsNoVar() { LineFormatter.lines( "package com.google.example;\n", "\n", - "// [START apiname_generated_echo_createexecutablesample_methodargsnovar_sync]\n", + "// [START apiname_generated_Echo_CreateExecutableSample_MethodArgsNoVar_sync]\n", "public class SyncCreateExecutableSampleMethodArgsNoVar {\n", "\n", " public static void main(String[] args) throws Exception {\n", @@ -130,7 +130,7 @@ public void createExecutableSampleMethodArgsNoVar() { " System.out.println(\"Testing CreateExecutableSampleMethodArgsNoVar\");\n", " }\n", "}\n", - "// [END apiname_generated_echo_createexecutablesample_methodargsnovar_sync]\n"); + "// [END apiname_generated_Echo_CreateExecutableSample_MethodArgsNoVar_sync]\n"); assertEquals(expected, sampleResult); } @@ -162,7 +162,7 @@ public void createExecutableSampleMethod() { LineFormatter.lines( "package com.google.example;\n", "\n", - "// [START apiname_generated_echo_createexecutablesample_sync]\n", + "// [START apiname_generated_Echo_CreateExecutableSample_sync]\n", "public class SyncCreateExecutableSample {\n", "\n", " public static void main(String[] args) throws Exception {\n", @@ -179,7 +179,7 @@ public void createExecutableSampleMethod() { " System.out.println(content);\n", " }\n", "}\n", - "// [END apiname_generated_echo_createexecutablesample_sync]\n"); + "// [END apiname_generated_Echo_CreateExecutableSample_sync]\n"); assertEquals(expected, sampleResult); } @@ -248,7 +248,7 @@ public void createExecutableSampleMethodMultipleStatements() { LineFormatter.lines( "package com.google.example;\n", "\n", - "// [START apiname_generated_echo_createexecutablesample_methodmultiplestatements_sync]\n", + "// [START apiname_generated_Echo_CreateExecutableSample_MethodMultipleStatements_sync]\n", "public class SyncCreateExecutableSampleMethodMultipleStatements {\n", "\n", " public static void main(String[] args) throws Exception {\n", @@ -270,7 +270,7 @@ public void createExecutableSampleMethodMultipleStatements() { " System.out.println(thing.response());\n", " }\n", "}\n", - "// [END apiname_generated_echo_createexecutablesample_methodmultiplestatements_sync]\n"); + "// [END apiname_generated_Echo_CreateExecutableSample_MethodMultipleStatements_sync]\n"); assertEquals(expected, sampleResult); } diff --git a/src/test/java/com/google/api/generator/gapic/composer/utils/ClassNamesTest.java b/src/test/java/com/google/api/generator/gapic/composer/utils/ClassNamesTest.java new file mode 100644 index 0000000000..b393a5bed3 --- /dev/null +++ b/src/test/java/com/google/api/generator/gapic/composer/utils/ClassNamesTest.java @@ -0,0 +1,31 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package com.google.api.generator.gapic.composer.utils; + +import org.junit.Assert; +import org.junit.Test; + +public class ClassNamesTest { + @Test + public void getPureServiceName_returnsServiceName() { + Assert.assertEquals(ClassNames.getPureServiceName("EchoClient"), "Echo"); + Assert.assertEquals(ClassNames.getPureServiceName("Echo"), "Echo"); + Assert.assertEquals(ClassNames.getPureServiceName(""), ""); + Assert.assertEquals(ClassNames.getPureServiceName("ClientEcho"), ""); + Assert.assertEquals(ClassNames.getPureServiceName("echoclient"), "echoclient"); + Assert.assertEquals(ClassNames.getPureServiceName("echoClient"), "echo"); + Assert.assertEquals(ClassNames.getPureServiceName("echoServiceClient"), "echoService"); + } +} diff --git a/src/test/java/com/google/api/generator/gapic/model/RegionTagTest.java b/src/test/java/com/google/api/generator/gapic/model/RegionTagTest.java index a45d206de9..e3a96fbd21 100644 --- a/src/test/java/com/google/api/generator/gapic/model/RegionTagTest.java +++ b/src/test/java/com/google/api/generator/gapic/model/RegionTagTest.java @@ -104,7 +104,7 @@ public void generateRegionTagsValidMissingFields() { .build(); String result = regionTag.generate(); - String expected = "shortname_generated_servicename_rpcname_sync"; + String expected = "shortname_generated_ServiceName_RpcName_sync"; Assert.assertEquals(expected, result); } @@ -121,7 +121,7 @@ public void generateRegionTagsAllFields() { .build(); String result = regionTag.generate(); - String expected = "shortname_v1_generated_servicename_rpcname_disambiguation_async"; + String expected = "shortname_v1_generated_ServiceName_RpcName_Disambiguation_async"; Assert.assertEquals(expected, result); } @@ -143,8 +143,8 @@ public void generateRegionTagTag() { regionTag.generateTag(RegionTag.RegionTagRegion.END, regionTag.generate()))); String expected = LineFormatter.lines( - "// [START shortname_v1_generated_servicename_rpcname_disambiguation_sync]\n", - "// [END shortname_v1_generated_servicename_rpcname_disambiguation_sync]"); + "// [START shortname_v1_generated_ServiceName_RpcName_Disambiguation_sync]\n", + "// [END shortname_v1_generated_ServiceName_RpcName_Disambiguation_sync]"); Assert.assertEquals(expected, result); } } From f9aebebc75d7ac0bfe06f491e4bb88e4b9ec1ee6 Mon Sep 17 00:00:00 2001 From: Alice Li Date: Mon, 17 Oct 2022 16:16:43 -0400 Subject: [PATCH 2/3] update integration tests --- .../analyzeiampolicy/AsyncAnalyzeIamPolicy.java | 4 ++-- .../analyzeiampolicy/SyncAnalyzeIamPolicy.java | 4 ++-- .../AsyncAnalyzeIamPolicyLongrunning.java | 4 ++-- .../AsyncAnalyzeIamPolicyLongrunningLRO.java | 4 ++-- .../SyncAnalyzeIamPolicyLongrunning.java | 4 ++-- .../analyzemove/AsyncAnalyzeMove.java | 4 ++-- .../analyzemove/SyncAnalyzeMove.java | 4 ++-- .../batchgetassetshistory/AsyncBatchGetAssetsHistory.java | 4 ++-- .../batchgetassetshistory/SyncBatchGetAssetsHistory.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createfeed/AsyncCreateFeed.java | 4 ++-- .../createfeed/SyncCreateFeed.java | 4 ++-- .../createfeed/SyncCreateFeedString.java | 4 ++-- .../deletefeed/AsyncDeleteFeed.java | 4 ++-- .../deletefeed/SyncDeleteFeed.java | 4 ++-- .../deletefeed/SyncDeleteFeedFeedname.java | 4 ++-- .../deletefeed/SyncDeleteFeedString.java | 4 ++-- .../exportassets/AsyncExportAssets.java | 4 ++-- .../exportassets/AsyncExportAssetsLRO.java | 4 ++-- .../exportassets/SyncExportAssets.java | 4 ++-- .../getfeed/AsyncGetFeed.java | 4 ++-- .../getfeed/SyncGetFeed.java | 4 ++-- .../getfeed/SyncGetFeedFeedname.java | 4 ++-- .../getfeed/SyncGetFeedString.java | 4 ++-- .../listassets/AsyncListAssets.java | 4 ++-- .../listassets/AsyncListAssetsPaged.java | 4 ++-- .../listassets/SyncListAssets.java | 4 ++-- .../listassets/SyncListAssetsResourcename.java | 4 ++-- .../listassets/SyncListAssetsString.java | 4 ++-- .../listfeeds/AsyncListFeeds.java | 4 ++-- .../listfeeds/SyncListFeeds.java | 4 ++-- .../listfeeds/SyncListFeedsString.java | 4 ++-- .../searchalliampolicies/AsyncSearchAllIamPolicies.java | 4 ++-- .../searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java | 4 ++-- .../searchalliampolicies/SyncSearchAllIamPolicies.java | 4 ++-- .../SyncSearchAllIamPoliciesStringString.java | 4 ++-- .../searchallresources/AsyncSearchAllResources.java | 4 ++-- .../searchallresources/AsyncSearchAllResourcesPaged.java | 4 ++-- .../searchallresources/SyncSearchAllResources.java | 4 ++-- .../SyncSearchAllResourcesStringStringListstring.java | 4 ++-- .../updatefeed/AsyncUpdateFeed.java | 4 ++-- .../updatefeed/SyncUpdateFeed.java | 4 ++-- .../updatefeed/SyncUpdateFeedFeed.java | 4 ++-- .../batchgetassetshistory/SyncBatchGetAssetsHistory.java | 4 ++-- .../batchgetassetshistory/SyncBatchGetAssetsHistory.java | 4 ++-- .../checkandmutaterow/AsyncCheckAndMutateRow.java | 4 ++-- .../checkandmutaterow/SyncCheckAndMutateRow.java | 4 ++-- ...eRowStringBytestringRowfilterListmutationListmutation.java | 4 ++-- ...ringBytestringRowfilterListmutationListmutationString.java | 4 ++-- ...wTablenameBytestringRowfilterListmutationListmutation.java | 4 ++-- ...nameBytestringRowfilterListmutationListmutationString.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../mutaterow/AsyncMutateRow.java | 4 ++-- .../mutaterow/SyncMutateRow.java | 4 ++-- .../mutaterow/SyncMutateRowStringBytestringListmutation.java | 4 ++-- .../SyncMutateRowStringBytestringListmutationString.java | 4 ++-- .../SyncMutateRowTablenameBytestringListmutation.java | 4 ++-- .../SyncMutateRowTablenameBytestringListmutationString.java | 4 ++-- .../mutaterows/AsyncMutateRows.java | 4 ++-- .../readmodifywriterow/AsyncReadModifyWriteRow.java | 4 ++-- .../readmodifywriterow/SyncReadModifyWriteRow.java | 4 ++-- ...ModifyWriteRowStringBytestringListreadmodifywriterule.java | 4 ++-- ...WriteRowStringBytestringListreadmodifywriteruleString.java | 4 ++-- ...ifyWriteRowTablenameBytestringListreadmodifywriterule.java | 4 ++-- ...teRowTablenameBytestringListreadmodifywriteruleString.java | 4 ++-- .../readrows/AsyncReadRows.java | 4 ++-- .../samplerowkeys/AsyncSampleRowKeys.java | 4 ++-- .../v2/basebigtabledatasettings/mutaterow/SyncMutateRow.java | 4 ++-- .../v2/stub/bigtablestubsettings/mutaterow/SyncMutateRow.java | 4 ++-- .../aggregatedlist/AsyncAggregatedList.java | 4 ++-- .../aggregatedlist/AsyncAggregatedListPaged.java | 4 ++-- .../aggregatedlist/SyncAggregatedList.java | 4 ++-- .../aggregatedlist/SyncAggregatedListString.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../{addressesclient => addresses}/delete/AsyncDelete.java | 4 ++-- .../{addressesclient => addresses}/delete/AsyncDeleteLRO.java | 4 ++-- .../{addressesclient => addresses}/delete/SyncDelete.java | 4 ++-- .../delete/SyncDeleteStringStringString.java | 4 ++-- .../{addressesclient => addresses}/insert/AsyncInsert.java | 4 ++-- .../{addressesclient => addresses}/insert/AsyncInsertLRO.java | 4 ++-- .../{addressesclient => addresses}/insert/SyncInsert.java | 4 ++-- .../insert/SyncInsertStringStringAddress.java | 4 ++-- .../{addressesclient => addresses}/list/AsyncList.java | 4 ++-- .../{addressesclient => addresses}/list/AsyncListPaged.java | 4 ++-- .../v1small/{addressesclient => addresses}/list/SyncList.java | 4 ++-- .../list/SyncListStringStringString.java | 4 ++-- .../addressessettings/aggregatedlist/SyncAggregatedList.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../get/AsyncGet.java | 4 ++-- .../get/SyncGet.java | 4 ++-- .../get/SyncGetStringStringString.java | 4 ++-- .../wait/AsyncWait.java | 4 ++-- .../wait/SyncWait.java | 4 ++-- .../wait/SyncWaitStringStringString.java | 4 ++-- .../compute/v1small/regionoperationssettings/get/SyncGet.java | 4 ++-- .../aggregatedlist/SyncAggregatedList.java | 4 ++-- .../stub/regionoperationsstubsettings/get/SyncGet.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../generateaccesstoken/AsyncGenerateAccessToken.java | 4 ++-- .../generateaccesstoken/SyncGenerateAccessToken.java | 4 ++-- ...ssTokenServiceaccountnameListstringListstringDuration.java | 4 ++-- ...GenerateAccessTokenStringListstringListstringDuration.java | 4 ++-- .../generateidtoken/AsyncGenerateIdToken.java | 4 ++-- .../generateidtoken/SyncGenerateIdToken.java | 4 ++-- ...erateIdTokenServiceaccountnameListstringStringBoolean.java | 4 ++-- .../SyncGenerateIdTokenStringListstringStringBoolean.java | 4 ++-- .../signblob/AsyncSignBlob.java | 4 ++-- .../signblob/SyncSignBlob.java | 4 ++-- .../SyncSignBlobServiceaccountnameListstringBytestring.java | 4 ++-- .../signblob/SyncSignBlobStringListstringBytestring.java | 4 ++-- .../signjwt/AsyncSignJwt.java | 4 ++-- .../signjwt/SyncSignJwt.java | 4 ++-- .../SyncSignJwtServiceaccountnameListstringString.java | 4 ++-- .../signjwt/SyncSignJwtStringListstringString.java | 4 ++-- .../generateaccesstoken/SyncGenerateAccessToken.java | 4 ++-- .../generateaccesstoken/SyncGenerateAccessToken.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../getiampolicy/AsyncGetIamPolicy.java | 4 ++-- .../getiampolicy/SyncGetIamPolicy.java | 4 ++-- .../setiampolicy/AsyncSetIamPolicy.java | 4 ++-- .../setiampolicy/SyncSetIamPolicy.java | 4 ++-- .../testiampermissions/AsyncTestIamPermissions.java | 4 ++-- .../testiampermissions/SyncTestIamPermissions.java | 4 ++-- .../v1/iampolicysettings/setiampolicy/SyncSetIamPolicy.java | 4 ++-- .../iampolicystubsettings/setiampolicy/SyncSetIamPolicy.java | 4 ++-- .../asymmetricdecrypt/AsyncAsymmetricDecrypt.java | 4 ++-- .../asymmetricdecrypt/SyncAsymmetricDecrypt.java | 4 ++-- .../SyncAsymmetricDecryptCryptokeyversionnameBytestring.java | 4 ++-- .../SyncAsymmetricDecryptStringBytestring.java | 4 ++-- .../asymmetricsign/AsyncAsymmetricSign.java | 4 ++-- .../asymmetricsign/SyncAsymmetricSign.java | 4 ++-- .../SyncAsymmetricSignCryptokeyversionnameDigest.java | 4 ++-- .../asymmetricsign/SyncAsymmetricSignStringDigest.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createcryptokey/AsyncCreateCryptoKey.java | 4 ++-- .../createcryptokey/SyncCreateCryptoKey.java | 4 ++-- .../SyncCreateCryptoKeyKeyringnameStringCryptokey.java | 4 ++-- .../SyncCreateCryptoKeyStringStringCryptokey.java | 4 ++-- .../createcryptokeyversion/AsyncCreateCryptoKeyVersion.java | 4 ++-- .../createcryptokeyversion/SyncCreateCryptoKeyVersion.java | 4 ++-- ...ncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java | 4 ++-- .../SyncCreateCryptoKeyVersionStringCryptokeyversion.java | 4 ++-- .../createimportjob/AsyncCreateImportJob.java | 4 ++-- .../createimportjob/SyncCreateImportJob.java | 4 ++-- .../SyncCreateImportJobKeyringnameStringImportjob.java | 4 ++-- .../SyncCreateImportJobStringStringImportjob.java | 4 ++-- .../createkeyring/AsyncCreateKeyRing.java | 4 ++-- .../createkeyring/SyncCreateKeyRing.java | 4 ++-- .../SyncCreateKeyRingLocationnameStringKeyring.java | 4 ++-- .../createkeyring/SyncCreateKeyRingStringStringKeyring.java | 4 ++-- .../decrypt/AsyncDecrypt.java | 4 ++-- .../decrypt/SyncDecrypt.java | 4 ++-- .../decrypt/SyncDecryptCryptokeynameBytestring.java | 4 ++-- .../decrypt/SyncDecryptStringBytestring.java | 4 ++-- .../destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java | 4 ++-- .../destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java | 4 ++-- .../SyncDestroyCryptoKeyVersionCryptokeyversionname.java | 4 ++-- .../SyncDestroyCryptoKeyVersionString.java | 4 ++-- .../encrypt/AsyncEncrypt.java | 4 ++-- .../encrypt/SyncEncrypt.java | 4 ++-- .../encrypt/SyncEncryptResourcenameBytestring.java | 4 ++-- .../encrypt/SyncEncryptStringBytestring.java | 4 ++-- .../getcryptokey/AsyncGetCryptoKey.java | 4 ++-- .../getcryptokey/SyncGetCryptoKey.java | 4 ++-- .../getcryptokey/SyncGetCryptoKeyCryptokeyname.java | 4 ++-- .../getcryptokey/SyncGetCryptoKeyString.java | 4 ++-- .../getcryptokeyversion/AsyncGetCryptoKeyVersion.java | 4 ++-- .../getcryptokeyversion/SyncGetCryptoKeyVersion.java | 4 ++-- .../SyncGetCryptoKeyVersionCryptokeyversionname.java | 4 ++-- .../getcryptokeyversion/SyncGetCryptoKeyVersionString.java | 4 ++-- .../getiampolicy/AsyncGetIamPolicy.java | 4 ++-- .../getiampolicy/SyncGetIamPolicy.java | 4 ++-- .../getimportjob/AsyncGetImportJob.java | 4 ++-- .../getimportjob/SyncGetImportJob.java | 4 ++-- .../getimportjob/SyncGetImportJobImportjobname.java | 4 ++-- .../getimportjob/SyncGetImportJobString.java | 4 ++-- .../getkeyring/AsyncGetKeyRing.java | 4 ++-- .../getkeyring/SyncGetKeyRing.java | 4 ++-- .../getkeyring/SyncGetKeyRingKeyringname.java | 4 ++-- .../getkeyring/SyncGetKeyRingString.java | 4 ++-- .../getlocation/AsyncGetLocation.java | 4 ++-- .../getlocation/SyncGetLocation.java | 4 ++-- .../getpublickey/AsyncGetPublicKey.java | 4 ++-- .../getpublickey/SyncGetPublicKey.java | 4 ++-- .../getpublickey/SyncGetPublicKeyCryptokeyversionname.java | 4 ++-- .../getpublickey/SyncGetPublicKeyString.java | 4 ++-- .../importcryptokeyversion/AsyncImportCryptoKeyVersion.java | 4 ++-- .../importcryptokeyversion/SyncImportCryptoKeyVersion.java | 4 ++-- .../listcryptokeys/AsyncListCryptoKeys.java | 4 ++-- .../listcryptokeys/AsyncListCryptoKeysPaged.java | 4 ++-- .../listcryptokeys/SyncListCryptoKeys.java | 4 ++-- .../listcryptokeys/SyncListCryptoKeysKeyringname.java | 4 ++-- .../listcryptokeys/SyncListCryptoKeysString.java | 4 ++-- .../listcryptokeyversions/AsyncListCryptoKeyVersions.java | 4 ++-- .../AsyncListCryptoKeyVersionsPaged.java | 4 ++-- .../listcryptokeyversions/SyncListCryptoKeyVersions.java | 4 ++-- .../SyncListCryptoKeyVersionsCryptokeyname.java | 4 ++-- .../SyncListCryptoKeyVersionsString.java | 4 ++-- .../listimportjobs/AsyncListImportJobs.java | 4 ++-- .../listimportjobs/AsyncListImportJobsPaged.java | 4 ++-- .../listimportjobs/SyncListImportJobs.java | 4 ++-- .../listimportjobs/SyncListImportJobsKeyringname.java | 4 ++-- .../listimportjobs/SyncListImportJobsString.java | 4 ++-- .../listkeyrings/AsyncListKeyRings.java | 4 ++-- .../listkeyrings/AsyncListKeyRingsPaged.java | 4 ++-- .../listkeyrings/SyncListKeyRings.java | 4 ++-- .../listkeyrings/SyncListKeyRingsLocationname.java | 4 ++-- .../listkeyrings/SyncListKeyRingsString.java | 4 ++-- .../listlocations/AsyncListLocations.java | 4 ++-- .../listlocations/AsyncListLocationsPaged.java | 4 ++-- .../listlocations/SyncListLocations.java | 4 ++-- .../restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java | 4 ++-- .../restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java | 4 ++-- .../SyncRestoreCryptoKeyVersionCryptokeyversionname.java | 4 ++-- .../SyncRestoreCryptoKeyVersionString.java | 4 ++-- .../testiampermissions/AsyncTestIamPermissions.java | 4 ++-- .../testiampermissions/SyncTestIamPermissions.java | 4 ++-- .../updatecryptokey/AsyncUpdateCryptoKey.java | 4 ++-- .../updatecryptokey/SyncUpdateCryptoKey.java | 4 ++-- .../SyncUpdateCryptoKeyCryptokeyFieldmask.java | 4 ++-- .../AsyncUpdateCryptoKeyPrimaryVersion.java | 4 ++-- .../SyncUpdateCryptoKeyPrimaryVersion.java | 4 ++-- .../SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java | 4 ++-- .../SyncUpdateCryptoKeyPrimaryVersionStringString.java | 4 ++-- .../updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java | 4 ++-- .../updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java | 4 ++-- .../SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java | 4 ++-- .../getkeyring/SyncGetKeyRing.java | 4 ++-- .../getkeyring/SyncGetKeyRing.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createbook/AsyncCreateBook.java | 4 ++-- .../createbook/SyncCreateBook.java | 4 ++-- .../createbook/SyncCreateBookShelfnameBook.java | 4 ++-- .../createbook/SyncCreateBookStringBook.java | 4 ++-- .../createshelf/AsyncCreateShelf.java | 4 ++-- .../createshelf/SyncCreateShelf.java | 4 ++-- .../createshelf/SyncCreateShelfShelf.java | 4 ++-- .../deletebook/AsyncDeleteBook.java | 4 ++-- .../deletebook/SyncDeleteBook.java | 4 ++-- .../deletebook/SyncDeleteBookBookname.java | 4 ++-- .../deletebook/SyncDeleteBookString.java | 4 ++-- .../deleteshelf/AsyncDeleteShelf.java | 4 ++-- .../deleteshelf/SyncDeleteShelf.java | 4 ++-- .../deleteshelf/SyncDeleteShelfShelfname.java | 4 ++-- .../deleteshelf/SyncDeleteShelfString.java | 4 ++-- .../getbook/AsyncGetBook.java | 4 ++-- .../getbook/SyncGetBook.java | 4 ++-- .../getbook/SyncGetBookBookname.java | 4 ++-- .../getbook/SyncGetBookString.java | 4 ++-- .../getshelf/AsyncGetShelf.java | 4 ++-- .../getshelf/SyncGetShelf.java | 4 ++-- .../getshelf/SyncGetShelfShelfname.java | 4 ++-- .../getshelf/SyncGetShelfString.java | 4 ++-- .../listbooks/AsyncListBooks.java | 4 ++-- .../listbooks/AsyncListBooksPaged.java | 4 ++-- .../listbooks/SyncListBooks.java | 4 ++-- .../listbooks/SyncListBooksShelfname.java | 4 ++-- .../listbooks/SyncListBooksString.java | 4 ++-- .../listshelves/AsyncListShelves.java | 4 ++-- .../listshelves/AsyncListShelvesPaged.java | 4 ++-- .../listshelves/SyncListShelves.java | 4 ++-- .../mergeshelves/AsyncMergeShelves.java | 4 ++-- .../mergeshelves/SyncMergeShelves.java | 4 ++-- .../mergeshelves/SyncMergeShelvesShelfnameShelfname.java | 4 ++-- .../mergeshelves/SyncMergeShelvesShelfnameString.java | 4 ++-- .../mergeshelves/SyncMergeShelvesStringShelfname.java | 4 ++-- .../mergeshelves/SyncMergeShelvesStringString.java | 4 ++-- .../movebook/AsyncMoveBook.java | 4 ++-- .../movebook/SyncMoveBook.java | 4 ++-- .../movebook/SyncMoveBookBooknameShelfname.java | 4 ++-- .../movebook/SyncMoveBookBooknameString.java | 4 ++-- .../movebook/SyncMoveBookStringShelfname.java | 4 ++-- .../movebook/SyncMoveBookStringString.java | 4 ++-- .../updatebook/AsyncUpdateBook.java | 4 ++-- .../updatebook/SyncUpdateBook.java | 4 ++-- .../updatebook/SyncUpdateBookBookFieldmask.java | 4 ++-- .../libraryservicesettings/createshelf/SyncCreateShelf.java | 4 ++-- .../createshelf/SyncCreateShelf.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createbucket/AsyncCreateBucket.java | 4 ++-- .../createbucket/SyncCreateBucket.java | 4 ++-- .../createexclusion/AsyncCreateExclusion.java | 4 ++-- .../createexclusion/SyncCreateExclusion.java | 4 ++-- .../SyncCreateExclusionBillingaccountnameLogexclusion.java | 4 ++-- .../SyncCreateExclusionFoldernameLogexclusion.java | 4 ++-- .../SyncCreateExclusionOrganizationnameLogexclusion.java | 4 ++-- .../SyncCreateExclusionProjectnameLogexclusion.java | 4 ++-- .../SyncCreateExclusionStringLogexclusion.java | 4 ++-- .../{configclient => config}/createsink/AsyncCreateSink.java | 4 ++-- .../{configclient => config}/createsink/SyncCreateSink.java | 4 ++-- .../createsink/SyncCreateSinkBillingaccountnameLogsink.java | 4 ++-- .../createsink/SyncCreateSinkFoldernameLogsink.java | 4 ++-- .../createsink/SyncCreateSinkOrganizationnameLogsink.java | 4 ++-- .../createsink/SyncCreateSinkProjectnameLogsink.java | 4 ++-- .../createsink/SyncCreateSinkStringLogsink.java | 4 ++-- .../{configclient => config}/createview/AsyncCreateView.java | 4 ++-- .../{configclient => config}/createview/SyncCreateView.java | 4 ++-- .../deletebucket/AsyncDeleteBucket.java | 4 ++-- .../deletebucket/SyncDeleteBucket.java | 4 ++-- .../deleteexclusion/AsyncDeleteExclusion.java | 4 ++-- .../deleteexclusion/SyncDeleteExclusion.java | 4 ++-- .../deleteexclusion/SyncDeleteExclusionLogexclusionname.java | 4 ++-- .../deleteexclusion/SyncDeleteExclusionString.java | 4 ++-- .../{configclient => config}/deletesink/AsyncDeleteSink.java | 4 ++-- .../{configclient => config}/deletesink/SyncDeleteSink.java | 4 ++-- .../deletesink/SyncDeleteSinkLogsinkname.java | 4 ++-- .../deletesink/SyncDeleteSinkString.java | 4 ++-- .../{configclient => config}/deleteview/AsyncDeleteView.java | 4 ++-- .../{configclient => config}/deleteview/SyncDeleteView.java | 4 ++-- .../v2/{configclient => config}/getbucket/AsyncGetBucket.java | 4 ++-- .../v2/{configclient => config}/getbucket/SyncGetBucket.java | 4 ++-- .../getcmeksettings/AsyncGetCmekSettings.java | 4 ++-- .../getcmeksettings/SyncGetCmekSettings.java | 4 ++-- .../getexclusion/AsyncGetExclusion.java | 4 ++-- .../getexclusion/SyncGetExclusion.java | 4 ++-- .../getexclusion/SyncGetExclusionLogexclusionname.java | 4 ++-- .../getexclusion/SyncGetExclusionString.java | 4 ++-- .../v2/{configclient => config}/getsink/AsyncGetSink.java | 4 ++-- .../v2/{configclient => config}/getsink/SyncGetSink.java | 4 ++-- .../getsink/SyncGetSinkLogsinkname.java | 4 ++-- .../{configclient => config}/getsink/SyncGetSinkString.java | 4 ++-- .../v2/{configclient => config}/getview/AsyncGetView.java | 4 ++-- .../v2/{configclient => config}/getview/SyncGetView.java | 4 ++-- .../listbuckets/AsyncListBuckets.java | 4 ++-- .../listbuckets/AsyncListBucketsPaged.java | 4 ++-- .../{configclient => config}/listbuckets/SyncListBuckets.java | 4 ++-- .../SyncListBucketsBillingaccountlocationname.java | 4 ++-- .../listbuckets/SyncListBucketsFolderlocationname.java | 4 ++-- .../listbuckets/SyncListBucketsLocationname.java | 4 ++-- .../listbuckets/SyncListBucketsOrganizationlocationname.java | 4 ++-- .../listbuckets/SyncListBucketsString.java | 4 ++-- .../listexclusions/AsyncListExclusions.java | 4 ++-- .../listexclusions/AsyncListExclusionsPaged.java | 4 ++-- .../listexclusions/SyncListExclusions.java | 4 ++-- .../listexclusions/SyncListExclusionsBillingaccountname.java | 4 ++-- .../listexclusions/SyncListExclusionsFoldername.java | 4 ++-- .../listexclusions/SyncListExclusionsOrganizationname.java | 4 ++-- .../listexclusions/SyncListExclusionsProjectname.java | 4 ++-- .../listexclusions/SyncListExclusionsString.java | 4 ++-- .../v2/{configclient => config}/listsinks/AsyncListSinks.java | 4 ++-- .../listsinks/AsyncListSinksPaged.java | 4 ++-- .../v2/{configclient => config}/listsinks/SyncListSinks.java | 4 ++-- .../listsinks/SyncListSinksBillingaccountname.java | 4 ++-- .../listsinks/SyncListSinksFoldername.java | 4 ++-- .../listsinks/SyncListSinksOrganizationname.java | 4 ++-- .../listsinks/SyncListSinksProjectname.java | 4 ++-- .../listsinks/SyncListSinksString.java | 4 ++-- .../v2/{configclient => config}/listviews/AsyncListViews.java | 4 ++-- .../listviews/AsyncListViewsPaged.java | 4 ++-- .../v2/{configclient => config}/listviews/SyncListViews.java | 4 ++-- .../listviews/SyncListViewsString.java | 4 ++-- .../undeletebucket/AsyncUndeleteBucket.java | 4 ++-- .../undeletebucket/SyncUndeleteBucket.java | 4 ++-- .../updatebucket/AsyncUpdateBucket.java | 4 ++-- .../updatebucket/SyncUpdateBucket.java | 4 ++-- .../updatecmeksettings/AsyncUpdateCmekSettings.java | 4 ++-- .../updatecmeksettings/SyncUpdateCmekSettings.java | 4 ++-- .../updateexclusion/AsyncUpdateExclusion.java | 4 ++-- .../updateexclusion/SyncUpdateExclusion.java | 4 ++-- ...cUpdateExclusionLogexclusionnameLogexclusionFieldmask.java | 4 ++-- .../SyncUpdateExclusionStringLogexclusionFieldmask.java | 4 ++-- .../{configclient => config}/updatesink/AsyncUpdateSink.java | 4 ++-- .../{configclient => config}/updatesink/SyncUpdateSink.java | 4 ++-- .../updatesink/SyncUpdateSinkLogsinknameLogsink.java | 4 ++-- .../updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java | 4 ++-- .../updatesink/SyncUpdateSinkStringLogsink.java | 4 ++-- .../updatesink/SyncUpdateSinkStringLogsinkFieldmask.java | 4 ++-- .../{configclient => config}/updateview/AsyncUpdateView.java | 4 ++-- .../{configclient => config}/updateview/SyncUpdateView.java | 4 ++-- .../logging/v2/configsettings/getbucket/SyncGetBucket.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../{loggingclient => logging}/deletelog/AsyncDeleteLog.java | 4 ++-- .../{loggingclient => logging}/deletelog/SyncDeleteLog.java | 4 ++-- .../deletelog/SyncDeleteLogLogname.java | 4 ++-- .../deletelog/SyncDeleteLogString.java | 4 ++-- .../listlogentries/AsyncListLogEntries.java | 4 ++-- .../listlogentries/AsyncListLogEntriesPaged.java | 4 ++-- .../listlogentries/SyncListLogEntries.java | 4 ++-- .../SyncListLogEntriesListstringStringString.java | 4 ++-- .../v2/{loggingclient => logging}/listlogs/AsyncListLogs.java | 4 ++-- .../listlogs/AsyncListLogsPaged.java | 4 ++-- .../v2/{loggingclient => logging}/listlogs/SyncListLogs.java | 4 ++-- .../listlogs/SyncListLogsBillingaccountname.java | 4 ++-- .../listlogs/SyncListLogsFoldername.java | 4 ++-- .../listlogs/SyncListLogsOrganizationname.java | 4 ++-- .../listlogs/SyncListLogsProjectname.java | 4 ++-- .../listlogs/SyncListLogsString.java | 4 ++-- .../AsyncListMonitoredResourceDescriptors.java | 4 ++-- .../AsyncListMonitoredResourceDescriptorsPaged.java | 4 ++-- .../SyncListMonitoredResourceDescriptors.java | 4 ++-- .../taillogentries/AsyncTailLogEntries.java | 4 ++-- .../writelogentries/AsyncWriteLogEntries.java | 4 ++-- .../writelogentries/SyncWriteLogEntries.java | 4 ++-- ...esLognameMonitoredresourceMapstringstringListlogentry.java | 4 ++-- ...iesStringMonitoredresourceMapstringstringListlogentry.java | 4 ++-- .../logging/v2/loggingsettings/deletelog/SyncDeleteLog.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createlogmetric/AsyncCreateLogMetric.java | 4 ++-- .../createlogmetric/SyncCreateLogMetric.java | 4 ++-- .../SyncCreateLogMetricProjectnameLogmetric.java | 4 ++-- .../createlogmetric/SyncCreateLogMetricStringLogmetric.java | 4 ++-- .../deletelogmetric/AsyncDeleteLogMetric.java | 4 ++-- .../deletelogmetric/SyncDeleteLogMetric.java | 4 ++-- .../deletelogmetric/SyncDeleteLogMetricLogmetricname.java | 4 ++-- .../deletelogmetric/SyncDeleteLogMetricString.java | 4 ++-- .../getlogmetric/AsyncGetLogMetric.java | 4 ++-- .../getlogmetric/SyncGetLogMetric.java | 4 ++-- .../getlogmetric/SyncGetLogMetricLogmetricname.java | 4 ++-- .../getlogmetric/SyncGetLogMetricString.java | 4 ++-- .../listlogmetrics/AsyncListLogMetrics.java | 4 ++-- .../listlogmetrics/AsyncListLogMetricsPaged.java | 4 ++-- .../listlogmetrics/SyncListLogMetrics.java | 4 ++-- .../listlogmetrics/SyncListLogMetricsProjectname.java | 4 ++-- .../listlogmetrics/SyncListLogMetricsString.java | 4 ++-- .../updatelogmetric/AsyncUpdateLogMetric.java | 4 ++-- .../updatelogmetric/SyncUpdateLogMetric.java | 4 ++-- .../SyncUpdateLogMetricLogmetricnameLogmetric.java | 4 ++-- .../updatelogmetric/SyncUpdateLogMetricStringLogmetric.java | 4 ++-- .../v2/metricssettings/getlogmetric/SyncGetLogMetric.java | 4 ++-- .../configservicev2stubsettings/getbucket/SyncGetBucket.java | 4 ++-- .../loggingservicev2stubsettings/deletelog/SyncDeleteLog.java | 4 ++-- .../getlogmetric/SyncGetLogMetric.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createschema/AsyncCreateSchema.java | 4 ++-- .../createschema/SyncCreateSchema.java | 4 ++-- .../createschema/SyncCreateSchemaProjectnameSchemaString.java | 4 ++-- .../createschema/SyncCreateSchemaStringSchemaString.java | 4 ++-- .../deleteschema/AsyncDeleteSchema.java | 4 ++-- .../deleteschema/SyncDeleteSchema.java | 4 ++-- .../deleteschema/SyncDeleteSchemaSchemaname.java | 4 ++-- .../deleteschema/SyncDeleteSchemaString.java | 4 ++-- .../getiampolicy/AsyncGetIamPolicy.java | 4 ++-- .../getiampolicy/SyncGetIamPolicy.java | 4 ++-- .../getschema/AsyncGetSchema.java | 4 ++-- .../getschema/SyncGetSchema.java | 4 ++-- .../getschema/SyncGetSchemaSchemaname.java | 4 ++-- .../getschema/SyncGetSchemaString.java | 4 ++-- .../listschemas/AsyncListSchemas.java | 4 ++-- .../listschemas/AsyncListSchemasPaged.java | 4 ++-- .../listschemas/SyncListSchemas.java | 4 ++-- .../listschemas/SyncListSchemasProjectname.java | 4 ++-- .../listschemas/SyncListSchemasString.java | 4 ++-- .../setiampolicy/AsyncSetIamPolicy.java | 4 ++-- .../setiampolicy/SyncSetIamPolicy.java | 4 ++-- .../testiampermissions/AsyncTestIamPermissions.java | 4 ++-- .../testiampermissions/SyncTestIamPermissions.java | 4 ++-- .../validatemessage/AsyncValidateMessage.java | 4 ++-- .../validatemessage/SyncValidateMessage.java | 4 ++-- .../validateschema/AsyncValidateSchema.java | 4 ++-- .../validateschema/SyncValidateSchema.java | 4 ++-- .../validateschema/SyncValidateSchemaProjectnameSchema.java | 4 ++-- .../validateschema/SyncValidateSchemaStringSchema.java | 4 ++-- .../schemaservicesettings/createschema/SyncCreateSchema.java | 4 ++-- .../publisherstubsettings/createtopic/SyncCreateTopic.java | 4 ++-- .../createschema/SyncCreateSchema.java | 4 ++-- .../createsubscription/SyncCreateSubscription.java | 4 ++-- .../acknowledge/AsyncAcknowledge.java | 4 ++-- .../acknowledge/SyncAcknowledge.java | 4 ++-- .../acknowledge/SyncAcknowledgeStringListstring.java | 4 ++-- .../SyncAcknowledgeSubscriptionnameListstring.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createsnapshot/AsyncCreateSnapshot.java | 4 ++-- .../createsnapshot/SyncCreateSnapshot.java | 4 ++-- .../createsnapshot/SyncCreateSnapshotSnapshotnameString.java | 4 ++-- .../SyncCreateSnapshotSnapshotnameSubscriptionname.java | 4 ++-- .../createsnapshot/SyncCreateSnapshotStringString.java | 4 ++-- .../SyncCreateSnapshotStringSubscriptionname.java | 4 ++-- .../createsubscription/AsyncCreateSubscription.java | 4 ++-- .../createsubscription/SyncCreateSubscription.java | 4 ++-- .../SyncCreateSubscriptionStringStringPushconfigInt.java | 4 ++-- .../SyncCreateSubscriptionStringTopicnamePushconfigInt.java | 4 ++-- ...CreateSubscriptionSubscriptionnameStringPushconfigInt.java | 4 ++-- ...ateSubscriptionSubscriptionnameTopicnamePushconfigInt.java | 4 ++-- .../deletesnapshot/AsyncDeleteSnapshot.java | 4 ++-- .../deletesnapshot/SyncDeleteSnapshot.java | 4 ++-- .../deletesnapshot/SyncDeleteSnapshotSnapshotname.java | 4 ++-- .../deletesnapshot/SyncDeleteSnapshotString.java | 4 ++-- .../deletesubscription/AsyncDeleteSubscription.java | 4 ++-- .../deletesubscription/SyncDeleteSubscription.java | 4 ++-- .../deletesubscription/SyncDeleteSubscriptionString.java | 4 ++-- .../SyncDeleteSubscriptionSubscriptionname.java | 4 ++-- .../getiampolicy/AsyncGetIamPolicy.java | 4 ++-- .../getiampolicy/SyncGetIamPolicy.java | 4 ++-- .../getsnapshot/AsyncGetSnapshot.java | 4 ++-- .../getsnapshot/SyncGetSnapshot.java | 4 ++-- .../getsnapshot/SyncGetSnapshotSnapshotname.java | 4 ++-- .../getsnapshot/SyncGetSnapshotString.java | 4 ++-- .../getsubscription/AsyncGetSubscription.java | 4 ++-- .../getsubscription/SyncGetSubscription.java | 4 ++-- .../getsubscription/SyncGetSubscriptionString.java | 4 ++-- .../getsubscription/SyncGetSubscriptionSubscriptionname.java | 4 ++-- .../listsnapshots/AsyncListSnapshots.java | 4 ++-- .../listsnapshots/AsyncListSnapshotsPaged.java | 4 ++-- .../listsnapshots/SyncListSnapshots.java | 4 ++-- .../listsnapshots/SyncListSnapshotsProjectname.java | 4 ++-- .../listsnapshots/SyncListSnapshotsString.java | 4 ++-- .../listsubscriptions/AsyncListSubscriptions.java | 4 ++-- .../listsubscriptions/AsyncListSubscriptionsPaged.java | 4 ++-- .../listsubscriptions/SyncListSubscriptions.java | 4 ++-- .../listsubscriptions/SyncListSubscriptionsProjectname.java | 4 ++-- .../listsubscriptions/SyncListSubscriptionsString.java | 4 ++-- .../modifyackdeadline/AsyncModifyAckDeadline.java | 4 ++-- .../modifyackdeadline/SyncModifyAckDeadline.java | 4 ++-- .../SyncModifyAckDeadlineStringListstringInt.java | 4 ++-- .../SyncModifyAckDeadlineSubscriptionnameListstringInt.java | 4 ++-- .../modifypushconfig/AsyncModifyPushConfig.java | 4 ++-- .../modifypushconfig/SyncModifyPushConfig.java | 4 ++-- .../SyncModifyPushConfigStringPushconfig.java | 4 ++-- .../SyncModifyPushConfigSubscriptionnamePushconfig.java | 4 ++-- .../pull/AsyncPull.java | 4 ++-- .../pull/SyncPull.java | 4 ++-- .../pull/SyncPullStringBooleanInt.java | 4 ++-- .../pull/SyncPullStringInt.java | 4 ++-- .../pull/SyncPullSubscriptionnameBooleanInt.java | 4 ++-- .../pull/SyncPullSubscriptionnameInt.java | 4 ++-- .../seek/AsyncSeek.java | 4 ++-- .../seek/SyncSeek.java | 4 ++-- .../setiampolicy/AsyncSetIamPolicy.java | 4 ++-- .../setiampolicy/SyncSetIamPolicy.java | 4 ++-- .../streamingpull/AsyncStreamingPull.java | 4 ++-- .../testiampermissions/AsyncTestIamPermissions.java | 4 ++-- .../testiampermissions/SyncTestIamPermissions.java | 4 ++-- .../updatesnapshot/AsyncUpdateSnapshot.java | 4 ++-- .../updatesnapshot/SyncUpdateSnapshot.java | 4 ++-- .../updatesubscription/AsyncUpdateSubscription.java | 4 ++-- .../updatesubscription/SyncUpdateSubscription.java | 4 ++-- .../createsubscription/SyncCreateSubscription.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createtopic/AsyncCreateTopic.java | 4 ++-- .../createtopic/SyncCreateTopic.java | 4 ++-- .../createtopic/SyncCreateTopicString.java | 4 ++-- .../createtopic/SyncCreateTopicTopicname.java | 4 ++-- .../deletetopic/AsyncDeleteTopic.java | 4 ++-- .../deletetopic/SyncDeleteTopic.java | 4 ++-- .../deletetopic/SyncDeleteTopicString.java | 4 ++-- .../deletetopic/SyncDeleteTopicTopicname.java | 4 ++-- .../detachsubscription/AsyncDetachSubscription.java | 4 ++-- .../detachsubscription/SyncDetachSubscription.java | 4 ++-- .../getiampolicy/AsyncGetIamPolicy.java | 4 ++-- .../getiampolicy/SyncGetIamPolicy.java | 4 ++-- .../gettopic/AsyncGetTopic.java | 4 ++-- .../gettopic/SyncGetTopic.java | 4 ++-- .../gettopic/SyncGetTopicString.java | 4 ++-- .../gettopic/SyncGetTopicTopicname.java | 4 ++-- .../listtopics/AsyncListTopics.java | 4 ++-- .../listtopics/AsyncListTopicsPaged.java | 4 ++-- .../listtopics/SyncListTopics.java | 4 ++-- .../listtopics/SyncListTopicsProjectname.java | 4 ++-- .../listtopics/SyncListTopicsString.java | 4 ++-- .../listtopicsnapshots/AsyncListTopicSnapshots.java | 4 ++-- .../listtopicsnapshots/AsyncListTopicSnapshotsPaged.java | 4 ++-- .../listtopicsnapshots/SyncListTopicSnapshots.java | 4 ++-- .../listtopicsnapshots/SyncListTopicSnapshotsString.java | 4 ++-- .../listtopicsnapshots/SyncListTopicSnapshotsTopicname.java | 4 ++-- .../listtopicsubscriptions/AsyncListTopicSubscriptions.java | 4 ++-- .../AsyncListTopicSubscriptionsPaged.java | 4 ++-- .../listtopicsubscriptions/SyncListTopicSubscriptions.java | 4 ++-- .../SyncListTopicSubscriptionsString.java | 4 ++-- .../SyncListTopicSubscriptionsTopicname.java | 4 ++-- .../publish/AsyncPublish.java | 4 ++-- .../{topicadminclient => topicadmin}/publish/SyncPublish.java | 4 ++-- .../publish/SyncPublishStringListpubsubmessage.java | 4 ++-- .../publish/SyncPublishTopicnameListpubsubmessage.java | 4 ++-- .../setiampolicy/AsyncSetIamPolicy.java | 4 ++-- .../setiampolicy/SyncSetIamPolicy.java | 4 ++-- .../testiampermissions/AsyncTestIamPermissions.java | 4 ++-- .../testiampermissions/SyncTestIamPermissions.java | 4 ++-- .../updatetopic/AsyncUpdateTopic.java | 4 ++-- .../updatetopic/SyncUpdateTopic.java | 4 ++-- .../v1/topicadminsettings/createtopic/SyncCreateTopic.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createinstance/AsyncCreateInstance.java | 4 ++-- .../createinstance/AsyncCreateInstanceLRO.java | 4 ++-- .../createinstance/SyncCreateInstance.java | 4 ++-- .../SyncCreateInstanceLocationnameStringInstance.java | 4 ++-- .../SyncCreateInstanceStringStringInstance.java | 4 ++-- .../deleteinstance/AsyncDeleteInstance.java | 4 ++-- .../deleteinstance/AsyncDeleteInstanceLRO.java | 4 ++-- .../deleteinstance/SyncDeleteInstance.java | 4 ++-- .../deleteinstance/SyncDeleteInstanceInstancename.java | 4 ++-- .../deleteinstance/SyncDeleteInstanceString.java | 4 ++-- .../exportinstance/AsyncExportInstance.java | 4 ++-- .../exportinstance/AsyncExportInstanceLRO.java | 4 ++-- .../exportinstance/SyncExportInstance.java | 4 ++-- .../exportinstance/SyncExportInstanceStringOutputconfig.java | 4 ++-- .../failoverinstance/AsyncFailoverInstance.java | 4 ++-- .../failoverinstance/AsyncFailoverInstanceLRO.java | 4 ++-- .../failoverinstance/SyncFailoverInstance.java | 4 ++-- ...InstancenameFailoverinstancerequestdataprotectionmode.java | 4 ++-- ...stanceStringFailoverinstancerequestdataprotectionmode.java | 4 ++-- .../getinstance/AsyncGetInstance.java | 4 ++-- .../getinstance/SyncGetInstance.java | 4 ++-- .../getinstance/SyncGetInstanceInstancename.java | 4 ++-- .../getinstance/SyncGetInstanceString.java | 4 ++-- .../getinstanceauthstring/AsyncGetInstanceAuthString.java | 4 ++-- .../getinstanceauthstring/SyncGetInstanceAuthString.java | 4 ++-- .../SyncGetInstanceAuthStringInstancename.java | 4 ++-- .../SyncGetInstanceAuthStringString.java | 4 ++-- .../importinstance/AsyncImportInstance.java | 4 ++-- .../importinstance/AsyncImportInstanceLRO.java | 4 ++-- .../importinstance/SyncImportInstance.java | 4 ++-- .../importinstance/SyncImportInstanceStringInputconfig.java | 4 ++-- .../listinstances/AsyncListInstances.java | 4 ++-- .../listinstances/AsyncListInstancesPaged.java | 4 ++-- .../listinstances/SyncListInstances.java | 4 ++-- .../listinstances/SyncListInstancesLocationname.java | 4 ++-- .../listinstances/SyncListInstancesString.java | 4 ++-- .../reschedulemaintenance/AsyncRescheduleMaintenance.java | 4 ++-- .../reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java | 4 ++-- .../reschedulemaintenance/SyncRescheduleMaintenance.java | 4 ++-- ...meReschedulemaintenancerequestrescheduletypeTimestamp.java | 4 ++-- ...ngReschedulemaintenancerequestrescheduletypeTimestamp.java | 4 ++-- .../updateinstance/AsyncUpdateInstance.java | 4 ++-- .../updateinstance/AsyncUpdateInstanceLRO.java | 4 ++-- .../updateinstance/SyncUpdateInstance.java | 4 ++-- .../updateinstance/SyncUpdateInstanceFieldmaskInstance.java | 4 ++-- .../upgradeinstance/AsyncUpgradeInstance.java | 4 ++-- .../upgradeinstance/AsyncUpgradeInstanceLRO.java | 4 ++-- .../upgradeinstance/SyncUpgradeInstance.java | 4 ++-- .../SyncUpgradeInstanceInstancenameString.java | 4 ++-- .../upgradeinstance/SyncUpgradeInstanceStringString.java | 4 ++-- .../cloudredissettings/getinstance/SyncGetInstance.java | 4 ++-- .../cloudredisstubsettings/getinstance/SyncGetInstance.java | 4 ++-- .../composeobject/AsyncComposeObject.java | 4 ++-- .../composeobject/SyncComposeObject.java | 4 ++-- .../create/SyncCreateSetCredentialsProvider.java | 4 ++-- .../create/SyncCreateSetEndpoint.java | 4 ++-- .../createbucket/AsyncCreateBucket.java | 4 ++-- .../createbucket/SyncCreateBucket.java | 4 ++-- .../createbucket/SyncCreateBucketProjectnameBucketString.java | 4 ++-- .../createbucket/SyncCreateBucketStringBucketString.java | 4 ++-- .../createhmackey/AsyncCreateHmacKey.java | 4 ++-- .../createhmackey/SyncCreateHmacKey.java | 4 ++-- .../createhmackey/SyncCreateHmacKeyProjectnameString.java | 4 ++-- .../createhmackey/SyncCreateHmacKeyStringString.java | 4 ++-- .../createnotification/AsyncCreateNotification.java | 4 ++-- .../createnotification/SyncCreateNotification.java | 4 ++-- .../SyncCreateNotificationProjectnameNotification.java | 4 ++-- .../SyncCreateNotificationStringNotification.java | 4 ++-- .../deletebucket/AsyncDeleteBucket.java | 4 ++-- .../deletebucket/SyncDeleteBucket.java | 4 ++-- .../deletebucket/SyncDeleteBucketBucketname.java | 4 ++-- .../deletebucket/SyncDeleteBucketString.java | 4 ++-- .../deletehmackey/AsyncDeleteHmacKey.java | 4 ++-- .../deletehmackey/SyncDeleteHmacKey.java | 4 ++-- .../deletehmackey/SyncDeleteHmacKeyStringProjectname.java | 4 ++-- .../deletehmackey/SyncDeleteHmacKeyStringString.java | 4 ++-- .../deletenotification/AsyncDeleteNotification.java | 4 ++-- .../deletenotification/SyncDeleteNotification.java | 4 ++-- .../SyncDeleteNotificationNotificationname.java | 4 ++-- .../deletenotification/SyncDeleteNotificationString.java | 4 ++-- .../deleteobject/AsyncDeleteObject.java | 4 ++-- .../deleteobject/SyncDeleteObject.java | 4 ++-- .../deleteobject/SyncDeleteObjectStringString.java | 4 ++-- .../deleteobject/SyncDeleteObjectStringStringLong.java | 4 ++-- .../{storageclient => storage}/getbucket/AsyncGetBucket.java | 4 ++-- .../{storageclient => storage}/getbucket/SyncGetBucket.java | 4 ++-- .../getbucket/SyncGetBucketBucketname.java | 4 ++-- .../getbucket/SyncGetBucketString.java | 4 ++-- .../gethmackey/AsyncGetHmacKey.java | 4 ++-- .../{storageclient => storage}/gethmackey/SyncGetHmacKey.java | 4 ++-- .../gethmackey/SyncGetHmacKeyStringProjectname.java | 4 ++-- .../gethmackey/SyncGetHmacKeyStringString.java | 4 ++-- .../getiampolicy/AsyncGetIamPolicy.java | 4 ++-- .../getiampolicy/SyncGetIamPolicy.java | 4 ++-- .../getiampolicy/SyncGetIamPolicyResourcename.java | 4 ++-- .../getiampolicy/SyncGetIamPolicyString.java | 4 ++-- .../getnotification/AsyncGetNotification.java | 4 ++-- .../getnotification/SyncGetNotification.java | 4 ++-- .../getnotification/SyncGetNotificationBucketname.java | 4 ++-- .../getnotification/SyncGetNotificationString.java | 4 ++-- .../{storageclient => storage}/getobject/AsyncGetObject.java | 4 ++-- .../{storageclient => storage}/getobject/SyncGetObject.java | 4 ++-- .../getobject/SyncGetObjectStringString.java | 4 ++-- .../getobject/SyncGetObjectStringStringLong.java | 4 ++-- .../getserviceaccount/AsyncGetServiceAccount.java | 4 ++-- .../getserviceaccount/SyncGetServiceAccount.java | 4 ++-- .../getserviceaccount/SyncGetServiceAccountProjectname.java | 4 ++-- .../getserviceaccount/SyncGetServiceAccountString.java | 4 ++-- .../listbuckets/AsyncListBuckets.java | 4 ++-- .../listbuckets/AsyncListBucketsPaged.java | 4 ++-- .../listbuckets/SyncListBuckets.java | 4 ++-- .../listbuckets/SyncListBucketsProjectname.java | 4 ++-- .../listbuckets/SyncListBucketsString.java | 4 ++-- .../listhmackeys/AsyncListHmacKeys.java | 4 ++-- .../listhmackeys/AsyncListHmacKeysPaged.java | 4 ++-- .../listhmackeys/SyncListHmacKeys.java | 4 ++-- .../listhmackeys/SyncListHmacKeysProjectname.java | 4 ++-- .../listhmackeys/SyncListHmacKeysString.java | 4 ++-- .../listnotifications/AsyncListNotifications.java | 4 ++-- .../listnotifications/AsyncListNotificationsPaged.java | 4 ++-- .../listnotifications/SyncListNotifications.java | 4 ++-- .../listnotifications/SyncListNotificationsProjectname.java | 4 ++-- .../listnotifications/SyncListNotificationsString.java | 4 ++-- .../listobjects/AsyncListObjects.java | 4 ++-- .../listobjects/AsyncListObjectsPaged.java | 4 ++-- .../listobjects/SyncListObjects.java | 4 ++-- .../listobjects/SyncListObjectsProjectname.java | 4 ++-- .../listobjects/SyncListObjectsString.java | 4 ++-- .../AsyncLockBucketRetentionPolicy.java | 4 ++-- .../SyncLockBucketRetentionPolicy.java | 4 ++-- .../SyncLockBucketRetentionPolicyBucketname.java | 4 ++-- .../SyncLockBucketRetentionPolicyString.java | 4 ++-- .../querywritestatus/AsyncQueryWriteStatus.java | 4 ++-- .../querywritestatus/SyncQueryWriteStatus.java | 4 ++-- .../querywritestatus/SyncQueryWriteStatusString.java | 4 ++-- .../readobject/AsyncReadObject.java | 4 ++-- .../rewriteobject/AsyncRewriteObject.java | 4 ++-- .../rewriteobject/SyncRewriteObject.java | 4 ++-- .../setiampolicy/AsyncSetIamPolicy.java | 4 ++-- .../setiampolicy/SyncSetIamPolicy.java | 4 ++-- .../setiampolicy/SyncSetIamPolicyResourcenamePolicy.java | 4 ++-- .../setiampolicy/SyncSetIamPolicyStringPolicy.java | 4 ++-- .../startresumablewrite/AsyncStartResumableWrite.java | 4 ++-- .../startresumablewrite/SyncStartResumableWrite.java | 4 ++-- .../testiampermissions/AsyncTestIamPermissions.java | 4 ++-- .../testiampermissions/SyncTestIamPermissions.java | 4 ++-- .../SyncTestIamPermissionsResourcenameListstring.java | 4 ++-- .../SyncTestIamPermissionsStringListstring.java | 4 ++-- .../updatebucket/AsyncUpdateBucket.java | 4 ++-- .../updatebucket/SyncUpdateBucket.java | 4 ++-- .../updatebucket/SyncUpdateBucketBucketFieldmask.java | 4 ++-- .../updatehmackey/AsyncUpdateHmacKey.java | 4 ++-- .../updatehmackey/SyncUpdateHmacKey.java | 4 ++-- .../SyncUpdateHmacKeyHmackeymetadataFieldmask.java | 4 ++-- .../updateobject/AsyncUpdateObject.java | 4 ++-- .../updateobject/SyncUpdateObject.java | 4 ++-- .../updateobject/SyncUpdateObjectObjectFieldmask.java | 4 ++-- .../writeobject/AsyncWriteObject.java | 4 ++-- .../v2/storagesettings/deletebucket/SyncDeleteBucket.java | 4 ++-- .../storagestubsettings/deletebucket/SyncDeleteBucket.java | 4 ++-- 746 files changed, 1492 insertions(+), 1492 deletions(-) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/analyzeiampolicy/AsyncAnalyzeIamPolicy.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/analyzeiampolicy/SyncAnalyzeIamPolicy.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/analyzemove/AsyncAnalyzeMove.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/analyzemove/SyncAnalyzeMove.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/batchgetassetshistory/AsyncBatchGetAssetsHistory.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/batchgetassetshistory/SyncBatchGetAssetsHistory.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/createfeed/AsyncCreateFeed.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/createfeed/SyncCreateFeed.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/createfeed/SyncCreateFeedString.java (90%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/deletefeed/AsyncDeleteFeed.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/deletefeed/SyncDeleteFeed.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/deletefeed/SyncDeleteFeedFeedname.java (91%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/deletefeed/SyncDeleteFeedString.java (91%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/exportassets/AsyncExportAssets.java (94%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/exportassets/AsyncExportAssetsLRO.java (94%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/exportassets/SyncExportAssets.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/getfeed/AsyncGetFeed.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/getfeed/SyncGetFeed.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/getfeed/SyncGetFeedFeedname.java (91%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/getfeed/SyncGetFeedString.java (91%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/listassets/AsyncListAssets.java (94%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/listassets/AsyncListAssetsPaged.java (94%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/listassets/SyncListAssets.java (94%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/listassets/SyncListAssetsResourcename.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/listassets/SyncListAssetsString.java (91%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/listfeeds/AsyncListFeeds.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/listfeeds/SyncListFeeds.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/listfeeds/SyncListFeedsString.java (91%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/searchalliampolicies/AsyncSearchAllIamPolicies.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/searchalliampolicies/SyncSearchAllIamPolicies.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java (90%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/searchallresources/AsyncSearchAllResources.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/searchallresources/AsyncSearchAllResourcesPaged.java (94%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/searchallresources/SyncSearchAllResources.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/searchallresources/SyncSearchAllResourcesStringStringListstring.java (90%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/updatefeed/AsyncUpdateFeed.java (93%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/updatefeed/SyncUpdateFeed.java (92%) rename test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/{assetserviceclient => assetservice}/updatefeed/SyncUpdateFeedFeed.java (91%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/checkandmutaterow/AsyncCheckAndMutateRow.java (94%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/checkandmutaterow/SyncCheckAndMutateRow.java (93%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java (90%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java (90%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java (89%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java (89%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/mutaterow/AsyncMutateRow.java (94%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/mutaterow/SyncMutateRow.java (93%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/mutaterow/SyncMutateRowStringBytestringListmutation.java (90%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/mutaterow/SyncMutateRowStringBytestringListmutationString.java (90%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/mutaterow/SyncMutateRowTablenameBytestringListmutation.java (90%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java (90%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/mutaterows/AsyncMutateRows.java (93%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/readmodifywriterow/AsyncReadModifyWriteRow.java (93%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/readmodifywriterow/SyncReadModifyWriteRow.java (93%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java (89%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java (89%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java (89%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java (89%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/readrows/AsyncReadRows.java (94%) rename test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/{basebigtabledataclient => basebigtabledata}/samplerowkeys/AsyncSampleRowKeys.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/aggregatedlist/AsyncAggregatedList.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/aggregatedlist/AsyncAggregatedListPaged.java (94%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/aggregatedlist/SyncAggregatedList.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/aggregatedlist/SyncAggregatedListString.java (91%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/delete/AsyncDelete.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/delete/AsyncDeleteLRO.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/delete/SyncDelete.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/delete/SyncDeleteStringStringString.java (91%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/insert/AsyncInsert.java (94%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/insert/AsyncInsertLRO.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/insert/SyncInsert.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/insert/SyncInsertStringStringAddress.java (91%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/list/AsyncList.java (94%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/list/AsyncListPaged.java (94%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/list/SyncList.java (94%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{addressesclient => addresses}/list/SyncListStringStringString.java (91%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{regionoperationsclient => regionoperations}/create/SyncCreateSetCredentialsProvider.java (90%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{regionoperationsclient => regionoperations}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{regionoperationsclient => regionoperations}/get/AsyncGet.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{regionoperationsclient => regionoperations}/get/SyncGet.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{regionoperationsclient => regionoperations}/get/SyncGetStringStringString.java (90%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{regionoperationsclient => regionoperations}/wait/AsyncWait.java (93%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{regionoperationsclient => regionoperations}/wait/SyncWait.java (92%) rename test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/{regionoperationsclient => regionoperations}/wait/SyncWaitStringStringString.java (90%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/create/SyncCreateSetCredentialsProvider.java (90%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/generateaccesstoken/AsyncGenerateAccessToken.java (93%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/generateaccesstoken/SyncGenerateAccessToken.java (92%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java (89%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java (89%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/generateidtoken/AsyncGenerateIdToken.java (93%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/generateidtoken/SyncGenerateIdToken.java (92%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java (89%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java (90%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/signblob/AsyncSignBlob.java (93%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/signblob/SyncSignBlob.java (93%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java (89%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/signblob/SyncSignBlobStringListstringBytestring.java (90%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/signjwt/AsyncSignJwt.java (93%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/signjwt/SyncSignJwt.java (93%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/signjwt/SyncSignJwtServiceaccountnameListstringString.java (90%) rename test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/{iamcredentialsclient => iamcredentials}/signjwt/SyncSignJwtStringListstringString.java (90%) rename test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/{iampolicyclient => iampolicy}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/{iampolicyclient => iampolicy}/create/SyncCreateSetEndpoint.java (92%) rename test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/{iampolicyclient => iampolicy}/getiampolicy/AsyncGetIamPolicy.java (93%) rename test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/{iampolicyclient => iampolicy}/getiampolicy/SyncGetIamPolicy.java (93%) rename test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/{iampolicyclient => iampolicy}/setiampolicy/AsyncSetIamPolicy.java (93%) rename test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/{iampolicyclient => iampolicy}/setiampolicy/SyncSetIamPolicy.java (93%) rename test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/{iampolicyclient => iampolicy}/testiampermissions/AsyncTestIamPermissions.java (93%) rename test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/{iampolicyclient => iampolicy}/testiampermissions/SyncTestIamPermissions.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/asymmetricdecrypt/AsyncAsymmetricDecrypt.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/asymmetricdecrypt/SyncAsymmetricDecrypt.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/asymmetricsign/AsyncAsymmetricSign.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/asymmetricsign/SyncAsymmetricSign.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/asymmetricsign/SyncAsymmetricSignStringDigest.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/create/SyncCreateSetCredentialsProvider.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createcryptokey/AsyncCreateCryptoKey.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createcryptokey/SyncCreateCryptoKey.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createcryptokeyversion/SyncCreateCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createimportjob/AsyncCreateImportJob.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createimportjob/SyncCreateImportJob.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createimportjob/SyncCreateImportJobStringStringImportjob.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createkeyring/AsyncCreateKeyRing.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createkeyring/SyncCreateKeyRing.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/createkeyring/SyncCreateKeyRingStringStringKeyring.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/decrypt/AsyncDecrypt.java (94%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/decrypt/SyncDecrypt.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/decrypt/SyncDecryptCryptokeynameBytestring.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/decrypt/SyncDecryptStringBytestring.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/encrypt/AsyncEncrypt.java (94%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/encrypt/SyncEncrypt.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/encrypt/SyncEncryptResourcenameBytestring.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/encrypt/SyncEncryptStringBytestring.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getcryptokey/AsyncGetCryptoKey.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getcryptokey/SyncGetCryptoKey.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getcryptokey/SyncGetCryptoKeyCryptokeyname.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getcryptokey/SyncGetCryptoKeyString.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getcryptokeyversion/AsyncGetCryptoKeyVersion.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getcryptokeyversion/SyncGetCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getcryptokeyversion/SyncGetCryptoKeyVersionString.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getiampolicy/AsyncGetIamPolicy.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getiampolicy/SyncGetIamPolicy.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getimportjob/AsyncGetImportJob.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getimportjob/SyncGetImportJob.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getimportjob/SyncGetImportJobImportjobname.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getimportjob/SyncGetImportJobString.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getkeyring/AsyncGetKeyRing.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getkeyring/SyncGetKeyRing.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getkeyring/SyncGetKeyRingKeyringname.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getkeyring/SyncGetKeyRingString.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getlocation/AsyncGetLocation.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getlocation/SyncGetLocation.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getpublickey/AsyncGetPublicKey.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getpublickey/SyncGetPublicKey.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getpublickey/SyncGetPublicKeyCryptokeyversionname.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/getpublickey/SyncGetPublicKeyString.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/importcryptokeyversion/AsyncImportCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/importcryptokeyversion/SyncImportCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeys/AsyncListCryptoKeys.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeys/AsyncListCryptoKeysPaged.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeys/SyncListCryptoKeys.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeys/SyncListCryptoKeysKeyringname.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeys/SyncListCryptoKeysString.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeyversions/AsyncListCryptoKeyVersions.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeyversions/SyncListCryptoKeyVersions.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listcryptokeyversions/SyncListCryptoKeyVersionsString.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listimportjobs/AsyncListImportJobs.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listimportjobs/AsyncListImportJobsPaged.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listimportjobs/SyncListImportJobs.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listimportjobs/SyncListImportJobsKeyringname.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listimportjobs/SyncListImportJobsString.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listkeyrings/AsyncListKeyRings.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listkeyrings/AsyncListKeyRingsPaged.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listkeyrings/SyncListKeyRings.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listkeyrings/SyncListKeyRingsLocationname.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listkeyrings/SyncListKeyRingsString.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listlocations/AsyncListLocations.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listlocations/AsyncListLocationsPaged.java (93%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/listlocations/SyncListLocations.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java (90%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/testiampermissions/AsyncTestIamPermissions.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/testiampermissions/SyncTestIamPermissions.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokey/AsyncUpdateCryptoKey.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokey/SyncUpdateCryptoKey.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java (89%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java (92%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java (91%) rename test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/{keymanagementserviceclient => keymanagementservice}/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java (89%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/createbook/AsyncCreateBook.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/createbook/SyncCreateBook.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/createbook/SyncCreateBookShelfnameBook.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/createbook/SyncCreateBookStringBook.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/createshelf/AsyncCreateShelf.java (92%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/createshelf/SyncCreateShelf.java (92%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/createshelf/SyncCreateShelfShelf.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/deletebook/AsyncDeleteBook.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/deletebook/SyncDeleteBook.java (92%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/deletebook/SyncDeleteBookBookname.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/deletebook/SyncDeleteBookString.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/deleteshelf/AsyncDeleteShelf.java (92%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/deleteshelf/SyncDeleteShelf.java (92%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/deleteshelf/SyncDeleteShelfShelfname.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/deleteshelf/SyncDeleteShelfString.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/getbook/AsyncGetBook.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/getbook/SyncGetBook.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/getbook/SyncGetBookBookname.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/getbook/SyncGetBookString.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/getshelf/AsyncGetShelf.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/getshelf/SyncGetShelf.java (92%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/getshelf/SyncGetShelfShelfname.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/getshelf/SyncGetShelfString.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/listbooks/AsyncListBooks.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/listbooks/AsyncListBooksPaged.java (94%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/listbooks/SyncListBooks.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/listbooks/SyncListBooksShelfname.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/listbooks/SyncListBooksString.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/listshelves/AsyncListShelves.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/listshelves/AsyncListShelvesPaged.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/listshelves/SyncListShelves.java (92%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/mergeshelves/AsyncMergeShelves.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/mergeshelves/SyncMergeShelves.java (92%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/mergeshelves/SyncMergeShelvesShelfnameShelfname.java (90%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/mergeshelves/SyncMergeShelvesShelfnameString.java (90%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/mergeshelves/SyncMergeShelvesStringShelfname.java (90%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/mergeshelves/SyncMergeShelvesStringString.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/movebook/AsyncMoveBook.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/movebook/SyncMoveBook.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/movebook/SyncMoveBookBooknameShelfname.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/movebook/SyncMoveBookBooknameString.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/movebook/SyncMoveBookStringShelfname.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/movebook/SyncMoveBookStringString.java (91%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/updatebook/AsyncUpdateBook.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/updatebook/SyncUpdateBook.java (93%) rename test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/{libraryserviceclient => libraryservice}/updatebook/SyncUpdateBookBookFieldmask.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/create/SyncCreateSetEndpoint.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createbucket/AsyncCreateBucket.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createbucket/SyncCreateBucket.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createexclusion/AsyncCreateExclusion.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createexclusion/SyncCreateExclusion.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createexclusion/SyncCreateExclusionStringLogexclusion.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createsink/AsyncCreateSink.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createsink/SyncCreateSink.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createsink/SyncCreateSinkBillingaccountnameLogsink.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createsink/SyncCreateSinkFoldernameLogsink.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createsink/SyncCreateSinkOrganizationnameLogsink.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createsink/SyncCreateSinkProjectnameLogsink.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createsink/SyncCreateSinkStringLogsink.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createview/AsyncCreateView.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/createview/SyncCreateView.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deletebucket/AsyncDeleteBucket.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deletebucket/SyncDeleteBucket.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deleteexclusion/AsyncDeleteExclusion.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deleteexclusion/SyncDeleteExclusion.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deleteexclusion/SyncDeleteExclusionLogexclusionname.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deleteexclusion/SyncDeleteExclusionString.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deletesink/AsyncDeleteSink.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deletesink/SyncDeleteSink.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deletesink/SyncDeleteSinkLogsinkname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deletesink/SyncDeleteSinkString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deleteview/AsyncDeleteView.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/deleteview/SyncDeleteView.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getbucket/AsyncGetBucket.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getbucket/SyncGetBucket.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getcmeksettings/AsyncGetCmekSettings.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getcmeksettings/SyncGetCmekSettings.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getexclusion/AsyncGetExclusion.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getexclusion/SyncGetExclusion.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getexclusion/SyncGetExclusionLogexclusionname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getexclusion/SyncGetExclusionString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getsink/AsyncGetSink.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getsink/SyncGetSink.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getsink/SyncGetSinkLogsinkname.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getsink/SyncGetSinkString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getview/AsyncGetView.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/getview/SyncGetView.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listbuckets/AsyncListBuckets.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listbuckets/AsyncListBucketsPaged.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listbuckets/SyncListBuckets.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listbuckets/SyncListBucketsBillingaccountlocationname.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listbuckets/SyncListBucketsFolderlocationname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listbuckets/SyncListBucketsLocationname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listbuckets/SyncListBucketsOrganizationlocationname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listbuckets/SyncListBucketsString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listexclusions/AsyncListExclusions.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listexclusions/AsyncListExclusionsPaged.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listexclusions/SyncListExclusions.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listexclusions/SyncListExclusionsBillingaccountname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listexclusions/SyncListExclusionsFoldername.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listexclusions/SyncListExclusionsOrganizationname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listexclusions/SyncListExclusionsProjectname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listexclusions/SyncListExclusionsString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listsinks/AsyncListSinks.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listsinks/AsyncListSinksPaged.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listsinks/SyncListSinks.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listsinks/SyncListSinksBillingaccountname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listsinks/SyncListSinksFoldername.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listsinks/SyncListSinksOrganizationname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listsinks/SyncListSinksProjectname.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listsinks/SyncListSinksString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listviews/AsyncListViews.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listviews/AsyncListViewsPaged.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listviews/SyncListViews.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/listviews/SyncListViewsString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/undeletebucket/AsyncUndeleteBucket.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/undeletebucket/SyncUndeleteBucket.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatebucket/AsyncUpdateBucket.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatebucket/SyncUpdateBucket.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatecmeksettings/AsyncUpdateCmekSettings.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatecmeksettings/SyncUpdateCmekSettings.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updateexclusion/AsyncUpdateExclusion.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updateexclusion/SyncUpdateExclusion.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatesink/AsyncUpdateSink.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatesink/SyncUpdateSink.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatesink/SyncUpdateSinkLogsinknameLogsink.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatesink/SyncUpdateSinkStringLogsink.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updateview/AsyncUpdateView.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{configclient => config}/updateview/SyncUpdateView.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/deletelog/AsyncDeleteLog.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/deletelog/SyncDeleteLog.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/deletelog/SyncDeleteLogLogname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/deletelog/SyncDeleteLogString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogentries/AsyncListLogEntries.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogentries/AsyncListLogEntriesPaged.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogentries/SyncListLogEntries.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogentries/SyncListLogEntriesListstringStringString.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogs/AsyncListLogs.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogs/AsyncListLogsPaged.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogs/SyncListLogs.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogs/SyncListLogsBillingaccountname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogs/SyncListLogsFoldername.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogs/SyncListLogsOrganizationname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogs/SyncListLogsProjectname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listlogs/SyncListLogsString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/taillogentries/AsyncTailLogEntries.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/writelogentries/AsyncWriteLogEntries.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/writelogentries/SyncWriteLogEntries.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{loggingclient => logging}/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/createlogmetric/AsyncCreateLogMetric.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/createlogmetric/SyncCreateLogMetric.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/createlogmetric/SyncCreateLogMetricStringLogmetric.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/deletelogmetric/AsyncDeleteLogMetric.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/deletelogmetric/SyncDeleteLogMetric.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/deletelogmetric/SyncDeleteLogMetricLogmetricname.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/deletelogmetric/SyncDeleteLogMetricString.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/getlogmetric/AsyncGetLogMetric.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/getlogmetric/SyncGetLogMetric.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/getlogmetric/SyncGetLogMetricLogmetricname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/getlogmetric/SyncGetLogMetricString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/listlogmetrics/AsyncListLogMetrics.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/listlogmetrics/AsyncListLogMetricsPaged.java (94%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/listlogmetrics/SyncListLogMetrics.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/listlogmetrics/SyncListLogMetricsProjectname.java (91%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/listlogmetrics/SyncListLogMetricsString.java (92%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/updatelogmetric/AsyncUpdateLogMetric.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/updatelogmetric/SyncUpdateLogMetric.java (93%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java (90%) rename test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/{metricsclient => metrics}/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/createschema/AsyncCreateSchema.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/createschema/SyncCreateSchema.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/createschema/SyncCreateSchemaProjectnameSchemaString.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/createschema/SyncCreateSchemaStringSchemaString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/deleteschema/AsyncDeleteSchema.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/deleteschema/SyncDeleteSchema.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/deleteschema/SyncDeleteSchemaSchemaname.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/deleteschema/SyncDeleteSchemaString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/getiampolicy/AsyncGetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/getiampolicy/SyncGetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/getschema/AsyncGetSchema.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/getschema/SyncGetSchema.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/getschema/SyncGetSchemaSchemaname.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/getschema/SyncGetSchemaString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/listschemas/AsyncListSchemas.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/listschemas/AsyncListSchemasPaged.java (94%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/listschemas/SyncListSchemas.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/listschemas/SyncListSchemasProjectname.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/listschemas/SyncListSchemasString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/setiampolicy/AsyncSetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/setiampolicy/SyncSetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/testiampermissions/AsyncTestIamPermissions.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/testiampermissions/SyncTestIamPermissions.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/validatemessage/AsyncValidateMessage.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/validatemessage/SyncValidateMessage.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/validateschema/AsyncValidateSchema.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/validateschema/SyncValidateSchema.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/validateschema/SyncValidateSchemaProjectnameSchema.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{schemaserviceclient => schemaservice}/validateschema/SyncValidateSchemaStringSchema.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/acknowledge/AsyncAcknowledge.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/acknowledge/SyncAcknowledge.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/acknowledge/SyncAcknowledgeStringListstring.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsnapshot/AsyncCreateSnapshot.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsnapshot/SyncCreateSnapshot.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsnapshot/SyncCreateSnapshotSnapshotnameString.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsnapshot/SyncCreateSnapshotStringString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsubscription/AsyncCreateSubscription.java (95%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsubscription/SyncCreateSubscription.java (94%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java (89%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/deletesnapshot/AsyncDeleteSnapshot.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/deletesnapshot/SyncDeleteSnapshot.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/deletesnapshot/SyncDeleteSnapshotSnapshotname.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/deletesnapshot/SyncDeleteSnapshotString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/deletesubscription/AsyncDeleteSubscription.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/deletesubscription/SyncDeleteSubscription.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/deletesubscription/SyncDeleteSubscriptionString.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java (89%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getiampolicy/AsyncGetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getiampolicy/SyncGetIamPolicy.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getsnapshot/AsyncGetSnapshot.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getsnapshot/SyncGetSnapshot.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getsnapshot/SyncGetSnapshotSnapshotname.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getsnapshot/SyncGetSnapshotString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getsubscription/AsyncGetSubscription.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getsubscription/SyncGetSubscription.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getsubscription/SyncGetSubscriptionString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/getsubscription/SyncGetSubscriptionSubscriptionname.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsnapshots/AsyncListSnapshots.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsnapshots/AsyncListSnapshotsPaged.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsnapshots/SyncListSnapshots.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsnapshots/SyncListSnapshotsProjectname.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsnapshots/SyncListSnapshotsString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsubscriptions/AsyncListSubscriptions.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsubscriptions/AsyncListSubscriptionsPaged.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsubscriptions/SyncListSubscriptions.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsubscriptions/SyncListSubscriptionsProjectname.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/listsubscriptions/SyncListSubscriptionsString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/modifyackdeadline/AsyncModifyAckDeadline.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/modifyackdeadline/SyncModifyAckDeadline.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java (89%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/modifypushconfig/AsyncModifyPushConfig.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/modifypushconfig/SyncModifyPushConfig.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/modifypushconfig/SyncModifyPushConfigStringPushconfig.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java (89%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/pull/AsyncPull.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/pull/SyncPull.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/pull/SyncPullStringBooleanInt.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/pull/SyncPullStringInt.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/pull/SyncPullSubscriptionnameBooleanInt.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/pull/SyncPullSubscriptionnameInt.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/seek/AsyncSeek.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/seek/SyncSeek.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/setiampolicy/AsyncSetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/setiampolicy/SyncSetIamPolicy.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/streamingpull/AsyncStreamingPull.java (94%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/testiampermissions/AsyncTestIamPermissions.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/testiampermissions/SyncTestIamPermissions.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/updatesnapshot/AsyncUpdateSnapshot.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/updatesnapshot/SyncUpdateSnapshot.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/updatesubscription/AsyncUpdateSubscription.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{subscriptionadminclient => subscriptionadmin}/updatesubscription/SyncUpdateSubscription.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/createtopic/AsyncCreateTopic.java (94%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/createtopic/SyncCreateTopic.java (94%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/createtopic/SyncCreateTopicString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/createtopic/SyncCreateTopicTopicname.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/deletetopic/AsyncDeleteTopic.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/deletetopic/SyncDeleteTopic.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/deletetopic/SyncDeleteTopicString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/deletetopic/SyncDeleteTopicTopicname.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/detachsubscription/AsyncDetachSubscription.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/detachsubscription/SyncDetachSubscription.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/getiampolicy/AsyncGetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/getiampolicy/SyncGetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/gettopic/AsyncGetTopic.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/gettopic/SyncGetTopic.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/gettopic/SyncGetTopicString.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/gettopic/SyncGetTopicTopicname.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopics/AsyncListTopics.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopics/AsyncListTopicsPaged.java (94%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopics/SyncListTopics.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopics/SyncListTopicsProjectname.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopics/SyncListTopicsString.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsnapshots/AsyncListTopicSnapshots.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsnapshots/SyncListTopicSnapshots.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsnapshots/SyncListTopicSnapshotsString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsubscriptions/AsyncListTopicSubscriptions.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsubscriptions/SyncListTopicSubscriptions.java (92%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsubscriptions/SyncListTopicSubscriptionsString.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java (90%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/publish/AsyncPublish.java (94%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/publish/SyncPublish.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/publish/SyncPublishStringListpubsubmessage.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/publish/SyncPublishTopicnameListpubsubmessage.java (91%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/setiampolicy/AsyncSetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/setiampolicy/SyncSetIamPolicy.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/testiampermissions/AsyncTestIamPermissions.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/testiampermissions/SyncTestIamPermissions.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/updatetopic/AsyncUpdateTopic.java (93%) rename test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/{topicadminclient => topicadmin}/updatetopic/SyncUpdateTopic.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/createinstance/AsyncCreateInstance.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/createinstance/AsyncCreateInstanceLRO.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/createinstance/SyncCreateInstance.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/createinstance/SyncCreateInstanceLocationnameStringInstance.java (90%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/createinstance/SyncCreateInstanceStringStringInstance.java (90%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/deleteinstance/AsyncDeleteInstance.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/deleteinstance/AsyncDeleteInstanceLRO.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/deleteinstance/SyncDeleteInstance.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/deleteinstance/SyncDeleteInstanceInstancename.java (90%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/deleteinstance/SyncDeleteInstanceString.java (91%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/exportinstance/AsyncExportInstance.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/exportinstance/AsyncExportInstanceLRO.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/exportinstance/SyncExportInstance.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/exportinstance/SyncExportInstanceStringOutputconfig.java (90%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/failoverinstance/AsyncFailoverInstance.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/failoverinstance/AsyncFailoverInstanceLRO.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/failoverinstance/SyncFailoverInstance.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java (88%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java (89%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/getinstance/AsyncGetInstance.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/getinstance/SyncGetInstance.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/getinstance/SyncGetInstanceInstancename.java (91%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/getinstance/SyncGetInstanceString.java (91%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/getinstanceauthstring/AsyncGetInstanceAuthString.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/getinstanceauthstring/SyncGetInstanceAuthString.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java (90%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/getinstanceauthstring/SyncGetInstanceAuthStringString.java (90%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/importinstance/AsyncImportInstance.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/importinstance/AsyncImportInstanceLRO.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/importinstance/SyncImportInstance.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/importinstance/SyncImportInstanceStringInputconfig.java (90%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/listinstances/AsyncListInstances.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/listinstances/AsyncListInstancesPaged.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/listinstances/SyncListInstances.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/listinstances/SyncListInstancesLocationname.java (91%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/listinstances/SyncListInstancesString.java (91%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/reschedulemaintenance/AsyncRescheduleMaintenance.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/reschedulemaintenance/SyncRescheduleMaintenance.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java (88%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java (89%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/updateinstance/AsyncUpdateInstance.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/updateinstance/AsyncUpdateInstanceLRO.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/updateinstance/SyncUpdateInstance.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/updateinstance/SyncUpdateInstanceFieldmaskInstance.java (90%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/upgradeinstance/AsyncUpgradeInstance.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/upgradeinstance/AsyncUpgradeInstanceLRO.java (93%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/upgradeinstance/SyncUpgradeInstance.java (92%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/upgradeinstance/SyncUpgradeInstanceInstancenameString.java (90%) rename test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/{cloudredisclient => cloudredis}/upgradeinstance/SyncUpgradeInstanceStringString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/composeobject/AsyncComposeObject.java (95%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/composeobject/SyncComposeObject.java (95%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/create/SyncCreateSetCredentialsProvider.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/create/SyncCreateSetEndpoint.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createbucket/AsyncCreateBucket.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createbucket/SyncCreateBucket.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createbucket/SyncCreateBucketProjectnameBucketString.java (90%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createbucket/SyncCreateBucketStringBucketString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createhmackey/AsyncCreateHmacKey.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createhmackey/SyncCreateHmacKey.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createhmackey/SyncCreateHmacKeyProjectnameString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createhmackey/SyncCreateHmacKeyStringString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createnotification/AsyncCreateNotification.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createnotification/SyncCreateNotification.java (92%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createnotification/SyncCreateNotificationProjectnameNotification.java (90%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/createnotification/SyncCreateNotificationStringNotification.java (90%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletebucket/AsyncDeleteBucket.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletebucket/SyncDeleteBucket.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletebucket/SyncDeleteBucketBucketname.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletebucket/SyncDeleteBucketString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletehmackey/AsyncDeleteHmacKey.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletehmackey/SyncDeleteHmacKey.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletehmackey/SyncDeleteHmacKeyStringProjectname.java (90%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletehmackey/SyncDeleteHmacKeyStringString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletenotification/AsyncDeleteNotification.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletenotification/SyncDeleteNotification.java (92%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletenotification/SyncDeleteNotificationNotificationname.java (90%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deletenotification/SyncDeleteNotificationString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deleteobject/AsyncDeleteObject.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deleteobject/SyncDeleteObject.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deleteobject/SyncDeleteObjectStringString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/deleteobject/SyncDeleteObjectStringStringLong.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getbucket/AsyncGetBucket.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getbucket/SyncGetBucket.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getbucket/SyncGetBucketBucketname.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getbucket/SyncGetBucketString.java (92%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/gethmackey/AsyncGetHmacKey.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/gethmackey/SyncGetHmacKey.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/gethmackey/SyncGetHmacKeyStringProjectname.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/gethmackey/SyncGetHmacKeyStringString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getiampolicy/AsyncGetIamPolicy.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getiampolicy/SyncGetIamPolicy.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getiampolicy/SyncGetIamPolicyResourcename.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getiampolicy/SyncGetIamPolicyString.java (92%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getnotification/AsyncGetNotification.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getnotification/SyncGetNotification.java (92%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getnotification/SyncGetNotificationBucketname.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getnotification/SyncGetNotificationString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getobject/AsyncGetObject.java (95%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getobject/SyncGetObject.java (95%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getobject/SyncGetObjectStringString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getobject/SyncGetObjectStringStringLong.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getserviceaccount/AsyncGetServiceAccount.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getserviceaccount/SyncGetServiceAccount.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getserviceaccount/SyncGetServiceAccountProjectname.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/getserviceaccount/SyncGetServiceAccountString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listbuckets/AsyncListBuckets.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listbuckets/AsyncListBucketsPaged.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listbuckets/SyncListBuckets.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listbuckets/SyncListBucketsProjectname.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listbuckets/SyncListBucketsString.java (92%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listhmackeys/AsyncListHmacKeys.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listhmackeys/AsyncListHmacKeysPaged.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listhmackeys/SyncListHmacKeys.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listhmackeys/SyncListHmacKeysProjectname.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listhmackeys/SyncListHmacKeysString.java (92%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listnotifications/AsyncListNotifications.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listnotifications/AsyncListNotificationsPaged.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listnotifications/SyncListNotifications.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listnotifications/SyncListNotificationsProjectname.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listnotifications/SyncListNotificationsString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listobjects/AsyncListObjects.java (95%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listobjects/AsyncListObjectsPaged.java (95%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listobjects/SyncListObjects.java (95%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listobjects/SyncListObjectsProjectname.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/listobjects/SyncListObjectsString.java (92%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java (92%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java (90%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java (90%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/querywritestatus/AsyncQueryWriteStatus.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/querywritestatus/SyncQueryWriteStatus.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/querywritestatus/SyncQueryWriteStatusString.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/readobject/AsyncReadObject.java (95%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/rewriteobject/AsyncRewriteObject.java (96%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/rewriteobject/SyncRewriteObject.java (96%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/setiampolicy/AsyncSetIamPolicy.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/setiampolicy/SyncSetIamPolicy.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/setiampolicy/SyncSetIamPolicyStringPolicy.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/startresumablewrite/AsyncStartResumableWrite.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/startresumablewrite/SyncStartResumableWrite.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/testiampermissions/AsyncTestIamPermissions.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/testiampermissions/SyncTestIamPermissions.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/testiampermissions/SyncTestIamPermissionsStringListstring.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/updatebucket/AsyncUpdateBucket.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/updatebucket/SyncUpdateBucket.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/updatebucket/SyncUpdateBucketBucketFieldmask.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/updatehmackey/AsyncUpdateHmacKey.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/updatehmackey/SyncUpdateHmacKey.java (93%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java (90%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/updateobject/AsyncUpdateObject.java (95%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/updateobject/SyncUpdateObject.java (94%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/updateobject/SyncUpdateObjectObjectFieldmask.java (91%) rename test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/{storageclient => storage}/writeobject/AsyncWriteObject.java (95%) diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java index f8a8404fb2..481d648922 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/AsyncAnalyzeIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_analyzeiampolicy_async] +// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AnalyzeIamPolicyRequest; import com.google.cloud.asset.v1.AnalyzeIamPolicyResponse; @@ -49,4 +49,4 @@ public static void asyncAnalyzeIamPolicy() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicy_async] +// [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java index 8a1b602a87..c12b5a21e4 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicy/SyncAnalyzeIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_analyzeiampolicy_sync] +// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_sync] import com.google.cloud.asset.v1.AnalyzeIamPolicyRequest; import com.google.cloud.asset.v1.AnalyzeIamPolicyResponse; import com.google.cloud.asset.v1.AssetServiceClient; @@ -45,4 +45,4 @@ public static void syncAnalyzeIamPolicy() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicy_sync] +// [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java index a6ce1cb3b7..b7aa241702 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_async] +// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest; import com.google.cloud.asset.v1.AssetServiceClient; @@ -49,4 +49,4 @@ public static void asyncAnalyzeIamPolicyLongrunning() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_async] +// [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java index 6ae9138184..1cdfa54f62 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_lro_async] +// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata; import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest; @@ -51,4 +51,4 @@ public static void asyncAnalyzeIamPolicyLongrunningLRO() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_lro_async] +// [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_LRO_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java index e2c6cc61bf..713f7e80bf 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_sync] +// [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_sync] import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest; import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse; import com.google.cloud.asset.v1.AssetServiceClient; @@ -46,4 +46,4 @@ public static void syncAnalyzeIamPolicyLongrunning() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_analyzeiampolicylongrunning_sync] +// [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java index ac73e77a37..f0d93d7947 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/AsyncAnalyzeMove.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_analyzemove_async] +// [START cloudasset_v1_generated_AssetService_AnalyzeMove_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AnalyzeMoveRequest; import com.google.cloud.asset.v1.AnalyzeMoveResponse; @@ -47,4 +47,4 @@ public static void asyncAnalyzeMove() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_analyzemove_async] +// [END cloudasset_v1_generated_AssetService_AnalyzeMove_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java index b79e89dc7c..be0348481f 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/analyzemove/SyncAnalyzeMove.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_analyzemove_sync] +// [START cloudasset_v1_generated_AssetService_AnalyzeMove_sync] import com.google.cloud.asset.v1.AnalyzeMoveRequest; import com.google.cloud.asset.v1.AnalyzeMoveResponse; import com.google.cloud.asset.v1.AssetServiceClient; @@ -43,4 +43,4 @@ public static void syncAnalyzeMove() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_analyzemove_sync] +// [END cloudasset_v1_generated_AssetService_AnalyzeMove_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java index 63f45e8cca..d031b2073b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/AsyncBatchGetAssetsHistory.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_batchgetassetshistory_async] +// [START cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest; @@ -53,4 +53,4 @@ public static void asyncBatchGetAssetsHistory() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_batchgetassetshistory_async] +// [END cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java index b5f15f0651..06719a2b83 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/batchgetassetshistory/SyncBatchGetAssetsHistory.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_batchgetassetshistory_sync] +// [START cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest; import com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse; @@ -49,4 +49,4 @@ public static void syncBatchGetAssetsHistory() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_batchgetassetshistory_sync] +// [END cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java index 4d4016e4c1..00ad2cefc5 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_create_setcredentialsprovider_sync] +// [START cloudasset_v1_generated_AssetService_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.AssetServiceSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { AssetServiceClient assetServiceClient = AssetServiceClient.create(assetServiceSettings); } } -// [END cloudasset_v1_generated_assetserviceclient_create_setcredentialsprovider_sync] +// [END cloudasset_v1_generated_AssetService_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java index edf19aaab1..5ede353237 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_create_setendpoint_sync] +// [START cloudasset_v1_generated_AssetService_Create_SetEndpoint_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.AssetServiceSettings; import com.google.cloud.asset.v1.myEndpoint; @@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception { AssetServiceClient assetServiceClient = AssetServiceClient.create(assetServiceSettings); } } -// [END cloudasset_v1_generated_assetserviceclient_create_setendpoint_sync] +// [END cloudasset_v1_generated_AssetService_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java index 5c3beea239..f33ae5d4c0 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/AsyncCreateFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_createfeed_async] +// [START cloudasset_v1_generated_AssetService_CreateFeed_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.CreateFeedRequest; @@ -47,4 +47,4 @@ public static void asyncCreateFeed() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_createfeed_async] +// [END cloudasset_v1_generated_AssetService_CreateFeed_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java index 9e38918b80..cd83f15a3b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_createfeed_sync] +// [START cloudasset_v1_generated_AssetService_CreateFeed_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.CreateFeedRequest; import com.google.cloud.asset.v1.Feed; @@ -44,4 +44,4 @@ public static void syncCreateFeed() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_createfeed_sync] +// [END cloudasset_v1_generated_AssetService_CreateFeed_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java similarity index 90% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java index dab302c7bf..f6fc682365 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/createfeed/SyncCreateFeedString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_createfeed_string_sync] +// [START cloudasset_v1_generated_AssetService_CreateFeed_String_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.Feed; @@ -38,4 +38,4 @@ public static void syncCreateFeedString() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_createfeed_string_sync] +// [END cloudasset_v1_generated_AssetService_CreateFeed_String_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java index 8f08047829..f37354d875 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/AsyncDeleteFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_deletefeed_async] +// [START cloudasset_v1_generated_AssetService_DeleteFeed_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.DeleteFeedRequest; @@ -46,4 +46,4 @@ public static void asyncDeleteFeed() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_deletefeed_async] +// [END cloudasset_v1_generated_AssetService_DeleteFeed_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java index b7f134f14a..051f44738c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_deletefeed_sync] +// [START cloudasset_v1_generated_AssetService_DeleteFeed_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.DeleteFeedRequest; import com.google.cloud.asset.v1.FeedName; @@ -43,4 +43,4 @@ public static void syncDeleteFeed() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_deletefeed_sync] +// [END cloudasset_v1_generated_AssetService_DeleteFeed_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java index 1722e7491b..ca8460944c 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedFeedname.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_deletefeed_feedname_sync] +// [START cloudasset_v1_generated_AssetService_DeleteFeed_Feedname_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.FeedName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteFeedFeedname() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_deletefeed_feedname_sync] +// [END cloudasset_v1_generated_AssetService_DeleteFeed_Feedname_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java index 08ed770e30..7430704233 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/deletefeed/SyncDeleteFeedString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_deletefeed_string_sync] +// [START cloudasset_v1_generated_AssetService_DeleteFeed_String_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.FeedName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteFeedString() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_deletefeed_string_sync] +// [END cloudasset_v1_generated_AssetService_DeleteFeed_String_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java index 6781343b09..db5d626354 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssets.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_exportassets_async] +// [START cloudasset_v1_generated_AssetService_ExportAssets_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ContentType; @@ -54,4 +54,4 @@ public static void asyncExportAssets() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_exportassets_async] +// [END cloudasset_v1_generated_AssetService_ExportAssets_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java index c097beb7dc..09d797bd50 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/AsyncExportAssetsLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_exportassets_lro_async] +// [START cloudasset_v1_generated_AssetService_ExportAssets_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ContentType; @@ -55,4 +55,4 @@ public static void asyncExportAssetsLRO() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_exportassets_lro_async] +// [END cloudasset_v1_generated_AssetService_ExportAssets_LRO_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java index ba8621fec4..60b9bc4434 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/exportassets/SyncExportAssets.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_exportassets_sync] +// [START cloudasset_v1_generated_AssetService_ExportAssets_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ContentType; import com.google.cloud.asset.v1.ExportAssetsRequest; @@ -51,4 +51,4 @@ public static void syncExportAssets() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_exportassets_sync] +// [END cloudasset_v1_generated_AssetService_ExportAssets_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java index 4793d5051f..8acd1e2b02 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/AsyncGetFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_getfeed_async] +// [START cloudasset_v1_generated_AssetService_GetFeed_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.Feed; @@ -46,4 +46,4 @@ public static void asyncGetFeed() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_getfeed_async] +// [END cloudasset_v1_generated_AssetService_GetFeed_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java index 49f0b8e475..f6813afc5f 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_getfeed_sync] +// [START cloudasset_v1_generated_AssetService_GetFeed_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.Feed; import com.google.cloud.asset.v1.FeedName; @@ -43,4 +43,4 @@ public static void syncGetFeed() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_getfeed_sync] +// [END cloudasset_v1_generated_AssetService_GetFeed_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java index 6e7d947a77..978518747f 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedFeedname.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_getfeed_feedname_sync] +// [START cloudasset_v1_generated_AssetService_GetFeed_Feedname_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.Feed; import com.google.cloud.asset.v1.FeedName; @@ -39,4 +39,4 @@ public static void syncGetFeedFeedname() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_getfeed_feedname_sync] +// [END cloudasset_v1_generated_AssetService_GetFeed_Feedname_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java index c9940d9c27..e85a2f8f77 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/getfeed/SyncGetFeedString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_getfeed_string_sync] +// [START cloudasset_v1_generated_AssetService_GetFeed_String_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.Feed; import com.google.cloud.asset.v1.FeedName; @@ -39,4 +39,4 @@ public static void syncGetFeedString() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_getfeed_string_sync] +// [END cloudasset_v1_generated_AssetService_GetFeed_String_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java index 75ae0c197c..d20f247b00 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssets.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_listassets_async] +// [START cloudasset_v1_generated_AssetService_ListAssets_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.Asset; import com.google.cloud.asset.v1.AssetServiceClient; @@ -56,4 +56,4 @@ public static void asyncListAssets() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_listassets_async] +// [END cloudasset_v1_generated_AssetService_ListAssets_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java index 903af880c0..ff9fb130ea 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/AsyncListAssetsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_listassets_paged_async] +// [START cloudasset_v1_generated_AssetService_ListAssets_Paged_async] import com.google.cloud.asset.v1.Asset; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ContentType; @@ -64,4 +64,4 @@ public static void asyncListAssetsPaged() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_listassets_paged_async] +// [END cloudasset_v1_generated_AssetService_ListAssets_Paged_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java index 0f257a0265..ce3f71caa0 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssets.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_listassets_sync] +// [START cloudasset_v1_generated_AssetService_ListAssets_sync] import com.google.cloud.asset.v1.Asset; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ContentType; @@ -53,4 +53,4 @@ public static void syncListAssets() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_listassets_sync] +// [END cloudasset_v1_generated_AssetService_ListAssets_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java index 15a6333d9b..bef9f5c125 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsResourcename.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_listassets_resourcename_sync] +// [START cloudasset_v1_generated_AssetService_ListAssets_Resourcename_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.asset.v1.Asset; import com.google.cloud.asset.v1.AssetServiceClient; @@ -61,4 +61,4 @@ public String toString() { } } } -// [END cloudasset_v1_generated_assetserviceclient_listassets_resourcename_sync] +// [END cloudasset_v1_generated_AssetService_ListAssets_Resourcename_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java index 12b46b6427..6c87901659 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listassets/SyncListAssetsString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_listassets_string_sync] +// [START cloudasset_v1_generated_AssetService_ListAssets_String_sync] import com.google.cloud.asset.v1.Asset; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.FeedName; @@ -41,4 +41,4 @@ public static void syncListAssetsString() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_listassets_string_sync] +// [END cloudasset_v1_generated_AssetService_ListAssets_String_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java index 9d3a8270d9..4207a2ba55 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/AsyncListFeeds.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_listfeeds_async] +// [START cloudasset_v1_generated_AssetService_ListFeeds_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ListFeedsRequest; @@ -44,4 +44,4 @@ public static void asyncListFeeds() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_listfeeds_async] +// [END cloudasset_v1_generated_AssetService_ListFeeds_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java index 5fb1b06488..8f4c9daa94 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeeds.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_listfeeds_sync] +// [START cloudasset_v1_generated_AssetService_ListFeeds_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ListFeedsRequest; import com.google.cloud.asset.v1.ListFeedsResponse; @@ -40,4 +40,4 @@ public static void syncListFeeds() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_listfeeds_sync] +// [END cloudasset_v1_generated_AssetService_ListFeeds_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java index 1d4549559e..3c94affab0 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/listfeeds/SyncListFeedsString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_listfeeds_string_sync] +// [START cloudasset_v1_generated_AssetService_ListFeeds_String_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ListFeedsResponse; @@ -38,4 +38,4 @@ public static void syncListFeedsString() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_listfeeds_string_sync] +// [END cloudasset_v1_generated_AssetService_ListFeeds_String_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java index 8cba242783..12d0a7e183 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPolicies.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_searchalliampolicies_async] +// [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.IamPolicySearchResult; @@ -54,4 +54,4 @@ public static void asyncSearchAllIamPolicies() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_async] +// [END cloudasset_v1_generated_AssetService_SearchAllIamPolicies_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java index ee77539347..73e3439862 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_searchalliampolicies_paged_async] +// [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_Paged_async] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.IamPolicySearchResult; import com.google.cloud.asset.v1.SearchAllIamPoliciesRequest; @@ -62,4 +62,4 @@ public static void asyncSearchAllIamPoliciesPaged() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_paged_async] +// [END cloudasset_v1_generated_AssetService_SearchAllIamPolicies_Paged_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java index 0268fc4940..76c9f0f56b 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPolicies.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_searchalliampolicies_sync] +// [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.IamPolicySearchResult; import com.google.cloud.asset.v1.SearchAllIamPoliciesRequest; @@ -51,4 +51,4 @@ public static void syncSearchAllIamPolicies() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_sync] +// [END cloudasset_v1_generated_AssetService_SearchAllIamPolicies_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java similarity index 90% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java index 6a8ba3ea40..61af31efa3 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_searchalliampolicies_stringstring_sync] +// [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_StringString_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.IamPolicySearchResult; @@ -42,4 +42,4 @@ public static void syncSearchAllIamPoliciesStringString() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_searchalliampolicies_stringstring_sync] +// [END cloudasset_v1_generated_AssetService_SearchAllIamPolicies_StringString_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java index cc09e4e8dd..7fb2de5a48 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResources.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_searchallresources_async] +// [START cloudasset_v1_generated_AssetService_SearchAllResources_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ResourceSearchResult; @@ -56,4 +56,4 @@ public static void asyncSearchAllResources() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_searchallresources_async] +// [END cloudasset_v1_generated_AssetService_SearchAllResources_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java similarity index 94% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java index 01a66aa016..06586914a2 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/AsyncSearchAllResourcesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_searchallresources_paged_async] +// [START cloudasset_v1_generated_AssetService_SearchAllResources_Paged_async] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ResourceSearchResult; import com.google.cloud.asset.v1.SearchAllResourcesRequest; @@ -64,4 +64,4 @@ public static void asyncSearchAllResourcesPaged() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_searchallresources_paged_async] +// [END cloudasset_v1_generated_AssetService_SearchAllResources_Paged_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java index 32b67c09a6..5f8724fe34 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResources.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_searchallresources_sync] +// [START cloudasset_v1_generated_AssetService_SearchAllResources_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ResourceSearchResult; import com.google.cloud.asset.v1.SearchAllResourcesRequest; @@ -53,4 +53,4 @@ public static void syncSearchAllResources() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_searchallresources_sync] +// [END cloudasset_v1_generated_AssetService_SearchAllResources_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java similarity index 90% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java index 8c207e88fe..b62bcc4348 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/searchallresources/SyncSearchAllResourcesStringStringListstring.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_searchallresources_stringstringliststring_sync] +// [START cloudasset_v1_generated_AssetService_SearchAllResources_StringStringListstring_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.ResourceSearchResult; import java.util.ArrayList; @@ -45,4 +45,4 @@ public static void syncSearchAllResourcesStringStringListstring() throws Excepti } } } -// [END cloudasset_v1_generated_assetserviceclient_searchallresources_stringstringliststring_sync] +// [END cloudasset_v1_generated_AssetService_SearchAllResources_StringStringListstring_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java similarity index 93% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java index e5f5bad9f1..8a0a05656f 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/AsyncUpdateFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_updatefeed_async] +// [START cloudasset_v1_generated_AssetService_UpdateFeed_async] import com.google.api.core.ApiFuture; import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.Feed; @@ -47,4 +47,4 @@ public static void asyncUpdateFeed() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_updatefeed_async] +// [END cloudasset_v1_generated_AssetService_UpdateFeed_async] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java similarity index 92% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java index c49e7302d5..b209292a95 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_updatefeed_sync] +// [START cloudasset_v1_generated_AssetService_UpdateFeed_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.Feed; import com.google.cloud.asset.v1.UpdateFeedRequest; @@ -44,4 +44,4 @@ public static void syncUpdateFeed() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_updatefeed_sync] +// [END cloudasset_v1_generated_AssetService_UpdateFeed_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java similarity index 91% rename from test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java rename to test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java index 930eaa2345..bdf9957e77 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservice/updatefeed/SyncUpdateFeedFeed.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetserviceclient_updatefeed_feed_sync] +// [START cloudasset_v1_generated_AssetService_UpdateFeed_Feed_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.Feed; @@ -38,4 +38,4 @@ public static void syncUpdateFeedFeed() throws Exception { } } } -// [END cloudasset_v1_generated_assetserviceclient_updatefeed_feed_sync] +// [END cloudasset_v1_generated_AssetService_UpdateFeed_Feed_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java index 3d5d3c829b..02f4b3c771 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START cloudasset_v1_generated_assetservicesettings_batchgetassetshistory_sync] +// [START cloudasset_v1_generated_AssetServiceSettings_BatchGetAssetsHistory_sync] import com.google.cloud.asset.v1.AssetServiceSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncBatchGetAssetsHistory() throws Exception { AssetServiceSettings assetServiceSettings = assetServiceSettingsBuilder.build(); } } -// [END cloudasset_v1_generated_assetservicesettings_batchgetassetshistory_sync] +// [END cloudasset_v1_generated_AssetServiceSettings_BatchGetAssetsHistory_sync] diff --git a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java index 825f2fc417..31de0fc591 100644 --- a/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java +++ b/test/integration/goldens/asset/samples/snippets/generated/main/java/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java @@ -16,7 +16,7 @@ package com.google.cloud.asset.v1.stub.samples; -// [START cloudasset_v1_generated_assetservicestubsettings_batchgetassetshistory_sync] +// [START cloudasset_v1_generated_AssetServiceStubSettings_BatchGetAssetsHistory_sync] import com.google.cloud.asset.v1.stub.AssetServiceStubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncBatchGetAssetsHistory() throws Exception { AssetServiceStubSettings assetServiceSettings = assetServiceSettingsBuilder.build(); } } -// [END cloudasset_v1_generated_assetservicestubsettings_batchgetassetshistory_sync] +// [END cloudasset_v1_generated_AssetServiceStubSettings_BatchGetAssetsHistory_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/AsyncCheckAndMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/AsyncCheckAndMutateRow.java similarity index 94% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/AsyncCheckAndMutateRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/AsyncCheckAndMutateRow.java index c239cb97cc..5512d59424 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/AsyncCheckAndMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/AsyncCheckAndMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_async] +// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_async] import com.google.api.core.ApiFuture; import com.google.bigtable.v2.CheckAndMutateRowRequest; import com.google.bigtable.v2.CheckAndMutateRowResponse; @@ -56,4 +56,4 @@ public static void asyncCheckAndMutateRow() throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_async] +// [END bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRow.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRow.java index f091b9029c..6b77dd5c0d 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_sync] +// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_sync] import com.google.bigtable.v2.CheckAndMutateRowRequest; import com.google.bigtable.v2.CheckAndMutateRowResponse; import com.google.bigtable.v2.Mutation; @@ -52,4 +52,4 @@ public static void syncCheckAndMutateRow() throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_sync] +// [END bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java index 7c13ec3e96..803d65bc7b 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutation.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_stringbytestringrowfilterlistmutationlistmutation_sync] +// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_StringBytestringRowfilterListmutationListmutation_sync] import com.google.bigtable.v2.CheckAndMutateRowResponse; import com.google.bigtable.v2.Mutation; import com.google.bigtable.v2.RowFilter; @@ -51,4 +51,4 @@ public static void syncCheckAndMutateRowStringBytestringRowfilterListmutationLis } } } -// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_stringbytestringrowfilterlistmutationlistmutation_sync] +// [END bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_StringBytestringRowfilterListmutationListmutation_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java index 546c08d12b..1280e1fa29 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowStringBytestringRowfilterListmutationListmutationString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_stringbytestringrowfilterlistmutationlistmutationstring_sync] +// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_StringBytestringRowfilterListmutationListmutationString_sync] import com.google.bigtable.v2.CheckAndMutateRowResponse; import com.google.bigtable.v2.Mutation; import com.google.bigtable.v2.RowFilter; @@ -52,4 +52,4 @@ public static void syncCheckAndMutateRowStringBytestringRowfilterListmutationLis } } } -// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_stringbytestringrowfilterlistmutationlistmutationstring_sync] +// [END bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_StringBytestringRowfilterListmutationListmutationString_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java index 855a486e1c..5cf895095e 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutation.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_tablenamebytestringrowfilterlistmutationlistmutation_sync] +// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_TablenameBytestringRowfilterListmutationListmutation_sync] import com.google.bigtable.v2.CheckAndMutateRowResponse; import com.google.bigtable.v2.Mutation; import com.google.bigtable.v2.RowFilter; @@ -51,4 +51,4 @@ public static void syncCheckAndMutateRowTablenameBytestringRowfilterListmutation } } } -// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_tablenamebytestringrowfilterlistmutationlistmutation_sync] +// [END bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_TablenameBytestringRowfilterListmutationListmutation_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java index 10427749d1..9cdcf53a07 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/checkandmutaterow/SyncCheckAndMutateRowTablenameBytestringRowfilterListmutationListmutationString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_tablenamebytestringrowfilterlistmutationlistmutationstring_sync] +// [START bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_TablenameBytestringRowfilterListmutationListmutationString_sync] import com.google.bigtable.v2.CheckAndMutateRowResponse; import com.google.bigtable.v2.Mutation; import com.google.bigtable.v2.RowFilter; @@ -53,4 +53,4 @@ public static void main(String[] args) throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_checkandmutaterow_tablenamebytestringrowfilterlistmutationlistmutationstring_sync] +// [END bigtable_v2_generated_BaseBigtableData_CheckAndMutateRow_TablenameBytestringRowfilterListmutationListmutationString_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetCredentialsProvider.java index 98cefb28e7..f66938186f 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_create_setcredentialsprovider_sync] +// [START bigtable_v2_generated_BaseBigtableData_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.bigtable.data.v2.BaseBigtableDataClient; import com.google.cloud.bigtable.data.v2.BaseBigtableDataSettings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { BaseBigtableDataClient.create(baseBigtableDataSettings); } } -// [END bigtable_v2_generated_basebigtabledataclient_create_setcredentialsprovider_sync] +// [END bigtable_v2_generated_BaseBigtableData_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetEndpoint.java index 508e397d2a..f6f57cfa51 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_create_setendpoint_sync] +// [START bigtable_v2_generated_BaseBigtableData_Create_SetEndpoint_sync] import com.google.cloud.bigtable.data.v2.BaseBigtableDataClient; import com.google.cloud.bigtable.data.v2.BaseBigtableDataSettings; import com.google.cloud.bigtable.data.v2.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { BaseBigtableDataClient.create(baseBigtableDataSettings); } } -// [END bigtable_v2_generated_basebigtabledataclient_create_setendpoint_sync] +// [END bigtable_v2_generated_BaseBigtableData_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/AsyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/AsyncMutateRow.java similarity index 94% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/AsyncMutateRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/AsyncMutateRow.java index c0cbcf3237..50662848b6 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/AsyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/AsyncMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_mutaterow_async] +// [START bigtable_v2_generated_BaseBigtableData_MutateRow_async] import com.google.api.core.ApiFuture; import com.google.bigtable.v2.MutateRowRequest; import com.google.bigtable.v2.MutateRowResponse; @@ -53,4 +53,4 @@ public static void asyncMutateRow() throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_async] +// [END bigtable_v2_generated_BaseBigtableData_MutateRow_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRow.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRow.java index afe159a613..2a781526b9 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_mutaterow_sync] +// [START bigtable_v2_generated_BaseBigtableData_MutateRow_sync] import com.google.bigtable.v2.MutateRowRequest; import com.google.bigtable.v2.MutateRowResponse; import com.google.bigtable.v2.Mutation; @@ -49,4 +49,4 @@ public static void syncMutateRow() throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_sync] +// [END bigtable_v2_generated_BaseBigtableData_MutateRow_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutation.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutation.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutation.java index 11d1351a6e..cba00753a5 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutation.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_mutaterow_stringbytestringlistmutation_sync] +// [START bigtable_v2_generated_BaseBigtableData_MutateRow_StringBytestringListmutation_sync] import com.google.bigtable.v2.MutateRowResponse; import com.google.bigtable.v2.Mutation; import com.google.bigtable.v2.TableName; @@ -45,4 +45,4 @@ public static void syncMutateRowStringBytestringListmutation() throws Exception } } } -// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_stringbytestringlistmutation_sync] +// [END bigtable_v2_generated_BaseBigtableData_MutateRow_StringBytestringListmutation_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutationString.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutationString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutationString.java index 5aec68b28f..cce51bae93 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowStringBytestringListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowStringBytestringListmutationString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_mutaterow_stringbytestringlistmutationstring_sync] +// [START bigtable_v2_generated_BaseBigtableData_MutateRow_StringBytestringListmutationString_sync] import com.google.bigtable.v2.MutateRowResponse; import com.google.bigtable.v2.Mutation; import com.google.bigtable.v2.TableName; @@ -47,4 +47,4 @@ public static void syncMutateRowStringBytestringListmutationString() throws Exce } } } -// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_stringbytestringlistmutationstring_sync] +// [END bigtable_v2_generated_BaseBigtableData_MutateRow_StringBytestringListmutationString_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutation.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutation.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutation.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutation.java index 98649dea1b..ae4227348b 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutation.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutation.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_mutaterow_tablenamebytestringlistmutation_sync] +// [START bigtable_v2_generated_BaseBigtableData_MutateRow_TablenameBytestringListmutation_sync] import com.google.bigtable.v2.MutateRowResponse; import com.google.bigtable.v2.Mutation; import com.google.bigtable.v2.TableName; @@ -45,4 +45,4 @@ public static void syncMutateRowTablenameBytestringListmutation() throws Excepti } } } -// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_tablenamebytestringlistmutation_sync] +// [END bigtable_v2_generated_BaseBigtableData_MutateRow_TablenameBytestringListmutation_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java similarity index 90% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java index 2aadd5ed5e..2bc9e66996 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterow/SyncMutateRowTablenameBytestringListmutationString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_mutaterow_tablenamebytestringlistmutationstring_sync] +// [START bigtable_v2_generated_BaseBigtableData_MutateRow_TablenameBytestringListmutationString_sync] import com.google.bigtable.v2.MutateRowResponse; import com.google.bigtable.v2.Mutation; import com.google.bigtable.v2.TableName; @@ -47,4 +47,4 @@ public static void syncMutateRowTablenameBytestringListmutationString() throws E } } } -// [END bigtable_v2_generated_basebigtabledataclient_mutaterow_tablenamebytestringlistmutationstring_sync] +// [END bigtable_v2_generated_BaseBigtableData_MutateRow_TablenameBytestringListmutationString_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterows/AsyncMutateRows.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterows/AsyncMutateRows.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterows/AsyncMutateRows.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterows/AsyncMutateRows.java index 06c1b8b139..ef7cc157a2 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/mutaterows/AsyncMutateRows.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/mutaterows/AsyncMutateRows.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_mutaterows_async] +// [START bigtable_v2_generated_BaseBigtableData_MutateRows_async] import com.google.api.gax.rpc.ServerStream; import com.google.bigtable.v2.MutateRowsRequest; import com.google.bigtable.v2.MutateRowsResponse; @@ -51,4 +51,4 @@ public static void asyncMutateRows() throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_mutaterows_async] +// [END bigtable_v2_generated_BaseBigtableData_MutateRows_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/AsyncReadModifyWriteRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/AsyncReadModifyWriteRow.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/AsyncReadModifyWriteRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/AsyncReadModifyWriteRow.java index 25998e9002..961a96ee4a 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/AsyncReadModifyWriteRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/AsyncReadModifyWriteRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_async] +// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_async] import com.google.api.core.ApiFuture; import com.google.bigtable.v2.ReadModifyWriteRowRequest; import com.google.bigtable.v2.ReadModifyWriteRowResponse; @@ -53,4 +53,4 @@ public static void asyncReadModifyWriteRow() throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_async] +// [END bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRow.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRow.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRow.java index efc0c77519..1c79af443d 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_sync] +// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_sync] import com.google.bigtable.v2.ReadModifyWriteRowRequest; import com.google.bigtable.v2.ReadModifyWriteRowResponse; import com.google.bigtable.v2.ReadModifyWriteRule; @@ -49,4 +49,4 @@ public static void syncReadModifyWriteRow() throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_sync] +// [END bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java index 9fe3f73534..05c6a3709c 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriterule.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_stringbytestringlistreadmodifywriterule_sync] +// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_StringBytestringListreadmodifywriterule_sync] import com.google.bigtable.v2.ReadModifyWriteRowResponse; import com.google.bigtable.v2.ReadModifyWriteRule; import com.google.bigtable.v2.TableName; @@ -47,4 +47,4 @@ public static void syncReadModifyWriteRowStringBytestringListreadmodifywriterule } } } -// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_stringbytestringlistreadmodifywriterule_sync] +// [END bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_StringBytestringListreadmodifywriterule_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java index 37c5e6bf52..655f810290 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowStringBytestringListreadmodifywriteruleString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_stringbytestringlistreadmodifywriterulestring_sync] +// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_StringBytestringListreadmodifywriteruleString_sync] import com.google.bigtable.v2.ReadModifyWriteRowResponse; import com.google.bigtable.v2.ReadModifyWriteRule; import com.google.bigtable.v2.TableName; @@ -48,4 +48,4 @@ public static void syncReadModifyWriteRowStringBytestringListreadmodifywriterule } } } -// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_stringbytestringlistreadmodifywriterulestring_sync] +// [END bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_StringBytestringListreadmodifywriteruleString_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java index 1e89e38cc9..15f16dd17e 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriterule.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_tablenamebytestringlistreadmodifywriterule_sync] +// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_TablenameBytestringListreadmodifywriterule_sync] import com.google.bigtable.v2.ReadModifyWriteRowResponse; import com.google.bigtable.v2.ReadModifyWriteRule; import com.google.bigtable.v2.TableName; @@ -47,4 +47,4 @@ public static void syncReadModifyWriteRowTablenameBytestringListreadmodifywriter } } } -// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_tablenamebytestringlistreadmodifywriterule_sync] +// [END bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_TablenameBytestringListreadmodifywriterule_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java similarity index 89% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java index b276b946bd..5bfa5b796c 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readmodifywriterow/SyncReadModifyWriteRowTablenameBytestringListreadmodifywriteruleString.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_tablenamebytestringlistreadmodifywriterulestring_sync] +// [START bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_TablenameBytestringListreadmodifywriteruleString_sync] import com.google.bigtable.v2.ReadModifyWriteRowResponse; import com.google.bigtable.v2.ReadModifyWriteRule; import com.google.bigtable.v2.TableName; @@ -48,4 +48,4 @@ public static void syncReadModifyWriteRowTablenameBytestringListreadmodifywriter } } } -// [END bigtable_v2_generated_basebigtabledataclient_readmodifywriterow_tablenamebytestringlistreadmodifywriterulestring_sync] +// [END bigtable_v2_generated_BaseBigtableData_ReadModifyWriteRow_TablenameBytestringListreadmodifywriteruleString_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readrows/AsyncReadRows.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readrows/AsyncReadRows.java similarity index 94% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readrows/AsyncReadRows.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readrows/AsyncReadRows.java index 5132872889..745e7fbdc0 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/readrows/AsyncReadRows.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/readrows/AsyncReadRows.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_readrows_async] +// [START bigtable_v2_generated_BaseBigtableData_ReadRows_async] import com.google.api.gax.rpc.ServerStream; import com.google.bigtable.v2.ReadRowsRequest; import com.google.bigtable.v2.ReadRowsResponse; @@ -54,4 +54,4 @@ public static void asyncReadRows() throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_readrows_async] +// [END bigtable_v2_generated_BaseBigtableData_ReadRows_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/samplerowkeys/AsyncSampleRowKeys.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/samplerowkeys/AsyncSampleRowKeys.java similarity index 93% rename from test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/samplerowkeys/AsyncSampleRowKeys.java rename to test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/samplerowkeys/AsyncSampleRowKeys.java index a2e0468a45..bd252a0f6d 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledataclient/samplerowkeys/AsyncSampleRowKeys.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledata/samplerowkeys/AsyncSampleRowKeys.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledataclient_samplerowkeys_async] +// [START bigtable_v2_generated_BaseBigtableData_SampleRowKeys_async] import com.google.api.gax.rpc.ServerStream; import com.google.bigtable.v2.SampleRowKeysRequest; import com.google.bigtable.v2.SampleRowKeysResponse; @@ -49,4 +49,4 @@ public static void asyncSampleRowKeys() throws Exception { } } } -// [END bigtable_v2_generated_basebigtabledataclient_samplerowkeys_async] +// [END bigtable_v2_generated_BaseBigtableData_SampleRowKeys_async] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledatasettings/mutaterow/SyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledatasettings/mutaterow/SyncMutateRow.java index 216212eac8..9b3ac3557e 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledatasettings/mutaterow/SyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/basebigtabledatasettings/mutaterow/SyncMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.samples; -// [START bigtable_v2_generated_basebigtabledatasettings_mutaterow_sync] +// [START bigtable_v2_generated_BaseBigtableDataSettings_MutateRow_sync] import com.google.cloud.bigtable.data.v2.BaseBigtableDataSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncMutateRow() throws Exception { BaseBigtableDataSettings baseBigtableDataSettings = baseBigtableDataSettingsBuilder.build(); } } -// [END bigtable_v2_generated_basebigtabledatasettings_mutaterow_sync] +// [END bigtable_v2_generated_BaseBigtableDataSettings_MutateRow_sync] diff --git a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/stub/bigtablestubsettings/mutaterow/SyncMutateRow.java b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/stub/bigtablestubsettings/mutaterow/SyncMutateRow.java index be5058d4a5..3194f8487c 100644 --- a/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/stub/bigtablestubsettings/mutaterow/SyncMutateRow.java +++ b/test/integration/goldens/bigtable/samples/snippets/generated/main/java/com/google/cloud/bigtable/data/v2/stub/bigtablestubsettings/mutaterow/SyncMutateRow.java @@ -16,7 +16,7 @@ package com.google.cloud.bigtable.data.v2.stub.samples; -// [START bigtable_v2_generated_bigtablestubsettings_mutaterow_sync] +// [START bigtable_v2_generated_BigtableStubSettings_MutateRow_sync] import com.google.cloud.bigtable.data.v2.stub.BigtableStubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncMutateRow() throws Exception { BigtableStubSettings baseBigtableDataSettings = baseBigtableDataSettingsBuilder.build(); } } -// [END bigtable_v2_generated_bigtablestubsettings_mutaterow_sync] +// [END bigtable_v2_generated_BigtableStubSettings_MutateRow_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedList.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedList.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedList.java index 2c48e6113d..fd623a44bf 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_aggregatedlist_async] +// [START compute_v1small_generated_Addresses_AggregatedList_async] import com.google.api.core.ApiFuture; import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.AddressesScopedList; @@ -54,4 +54,4 @@ public static void asyncAggregatedList() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_aggregatedlist_async] +// [END compute_v1small_generated_Addresses_AggregatedList_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedListPaged.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedListPaged.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java index cc8ac49447..333c757c68 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/AsyncAggregatedListPaged.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/AsyncAggregatedListPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_aggregatedlist_paged_async] +// [START compute_v1small_generated_Addresses_AggregatedList_Paged_async] import com.google.cloud.compute.v1small.AddressAggregatedList; import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.AddressesScopedList; @@ -61,4 +61,4 @@ public static void asyncAggregatedListPaged() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_aggregatedlist_paged_async] +// [END compute_v1small_generated_Addresses_AggregatedList_Paged_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedList.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java index 64c49a659c..21afc1d2c0 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_aggregatedlist_sync] +// [START compute_v1small_generated_Addresses_AggregatedList_sync] import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.AddressesScopedList; import com.google.cloud.compute.v1small.AggregatedListAddressesRequest; @@ -51,4 +51,4 @@ public static void syncAggregatedList() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_aggregatedlist_sync] +// [END compute_v1small_generated_Addresses_AggregatedList_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedListString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedListString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java index 8584dc2601..0320dc1970 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/aggregatedlist/SyncAggregatedListString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/aggregatedlist/SyncAggregatedListString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_aggregatedlist_string_sync] +// [START compute_v1small_generated_Addresses_AggregatedList_String_sync] import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.AddressesScopedList; import java.util.Map; @@ -42,4 +42,4 @@ public static void syncAggregatedListString() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_aggregatedlist_string_sync] +// [END compute_v1small_generated_Addresses_AggregatedList_String_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java index ba36dc70c4..ee626b3833 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_create_setcredentialsprovider_sync] +// [START compute_v1small_generated_Addresses_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.AddressesSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { AddressesClient addressesClient = AddressesClient.create(addressesSettings); } } -// [END compute_v1small_generated_addressesclient_create_setcredentialsprovider_sync] +// [END compute_v1small_generated_Addresses_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java index 8176f67fda..49a9b34bf3 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_create_setendpoint_sync] +// [START compute_v1small_generated_Addresses_Create_SetEndpoint_sync] import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.AddressesSettings; import com.google.cloud.compute.v1small.myEndpoint; @@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception { AddressesClient addressesClient = AddressesClient.create(addressesSettings); } } -// [END compute_v1small_generated_addressesclient_create_setendpoint_sync] +// [END compute_v1small_generated_Addresses_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDelete.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDelete.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java index 1beebc8372..53a63b72eb 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDelete.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDelete.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_delete_async] +// [START compute_v1small_generated_Addresses_Delete_async] import com.google.api.core.ApiFuture; import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.DeleteAddressRequest; @@ -48,4 +48,4 @@ public static void asyncDelete() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_delete_async] +// [END compute_v1small_generated_Addresses_Delete_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDeleteLRO.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDeleteLRO.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java index ce650ce314..86c2dc5992 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/AsyncDeleteLRO.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/AsyncDeleteLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_delete_lro_async] +// [START compute_v1small_generated_Addresses_Delete_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.DeleteAddressRequest; @@ -49,4 +49,4 @@ public static void asyncDeleteLRO() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_delete_lro_async] +// [END compute_v1small_generated_Addresses_Delete_LRO_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDelete.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDelete.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java index ca1be3321b..8cc976a9a1 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDelete.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDelete.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_delete_sync] +// [START compute_v1small_generated_Addresses_Delete_sync] import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.DeleteAddressRequest; import com.google.cloud.compute.v1small.Operation; @@ -45,4 +45,4 @@ public static void syncDelete() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_delete_sync] +// [END compute_v1small_generated_Addresses_Delete_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDeleteStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDeleteStringStringString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java index 85e0501168..d9152c6c41 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/delete/SyncDeleteStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/delete/SyncDeleteStringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_delete_stringstringstring_sync] +// [START compute_v1small_generated_Addresses_Delete_StringStringString_sync] import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.Operation; @@ -40,4 +40,4 @@ public static void syncDeleteStringStringString() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_delete_stringstringstring_sync] +// [END compute_v1small_generated_Addresses_Delete_StringStringString_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsert.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsert.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java index be58773685..c4004a223d 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsert.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsert.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_insert_async] +// [START compute_v1small_generated_Addresses_Insert_async] import com.google.api.core.ApiFuture; import com.google.cloud.compute.v1small.Address; import com.google.cloud.compute.v1small.AddressesClient; @@ -49,4 +49,4 @@ public static void asyncInsert() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_insert_async] +// [END compute_v1small_generated_Addresses_Insert_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsertLRO.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsertLRO.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java index 502fe4c8e2..4e70ce04b1 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/AsyncInsertLRO.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/AsyncInsertLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_insert_lro_async] +// [START compute_v1small_generated_Addresses_Insert_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.compute.v1small.Address; import com.google.cloud.compute.v1small.AddressesClient; @@ -50,4 +50,4 @@ public static void asyncInsertLRO() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_insert_lro_async] +// [END compute_v1small_generated_Addresses_Insert_LRO_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsert.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsert.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java index 494a59828e..3c38ab50fb 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsert.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsert.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_insert_sync] +// [START compute_v1small_generated_Addresses_Insert_sync] import com.google.cloud.compute.v1small.Address; import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.InsertAddressRequest; @@ -46,4 +46,4 @@ public static void syncInsert() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_insert_sync] +// [END compute_v1small_generated_Addresses_Insert_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsertStringStringAddress.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsertStringStringAddress.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java index 1e9683a4d1..3f6d001f75 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/insert/SyncInsertStringStringAddress.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/insert/SyncInsertStringStringAddress.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_insert_stringstringaddress_sync] +// [START compute_v1small_generated_Addresses_Insert_StringStringAddress_sync] import com.google.cloud.compute.v1small.Address; import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.Operation; @@ -41,4 +41,4 @@ public static void syncInsertStringStringAddress() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_insert_stringstringaddress_sync] +// [END compute_v1small_generated_Addresses_Insert_StringStringAddress_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncList.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java index af52a45ec7..89088a5a04 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_list_async] +// [START compute_v1small_generated_Addresses_List_async] import com.google.api.core.ApiFuture; import com.google.cloud.compute.v1small.Address; import com.google.cloud.compute.v1small.AddressesClient; @@ -52,4 +52,4 @@ public static void asyncList() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_list_async] +// [END compute_v1small_generated_Addresses_List_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncListPaged.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncListPaged.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java index 660ec082b8..e749bc7595 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/AsyncListPaged.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/AsyncListPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_list_paged_async] +// [START compute_v1small_generated_Addresses_List_Paged_async] import com.google.cloud.compute.v1small.Address; import com.google.cloud.compute.v1small.AddressList; import com.google.cloud.compute.v1small.AddressesClient; @@ -60,4 +60,4 @@ public static void asyncListPaged() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_list_paged_async] +// [END compute_v1small_generated_Addresses_List_Paged_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java similarity index 94% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncList.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java index 6b7f31ada7..3c105181a7 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_list_sync] +// [START compute_v1small_generated_Addresses_List_sync] import com.google.cloud.compute.v1small.Address; import com.google.cloud.compute.v1small.AddressesClient; import com.google.cloud.compute.v1small.ListAddressesRequest; @@ -49,4 +49,4 @@ public static void syncList() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_list_sync] +// [END compute_v1small_generated_Addresses_List_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncListStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncListStringStringString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java index ee547f1107..bc47d773c9 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressesclient/list/SyncListStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addresses/list/SyncListStringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressesclient_list_stringstringstring_sync] +// [START compute_v1small_generated_Addresses_List_StringStringString_sync] import com.google.cloud.compute.v1small.Address; import com.google.cloud.compute.v1small.AddressesClient; @@ -42,4 +42,4 @@ public static void syncListStringStringString() throws Exception { } } } -// [END compute_v1small_generated_addressesclient_list_stringstringstring_sync] +// [END compute_v1small_generated_Addresses_List_StringStringString_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressessettings/aggregatedlist/SyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressessettings/aggregatedlist/SyncAggregatedList.java index d2b76886b0..fa405f919b 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressessettings/aggregatedlist/SyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/addressessettings/aggregatedlist/SyncAggregatedList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_addressessettings_aggregatedlist_sync] +// [START compute_v1small_generated_AddressesSettings_AggregatedList_sync] import com.google.cloud.compute.v1small.AddressesSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncAggregatedList() throws Exception { AddressesSettings addressesSettings = addressesSettingsBuilder.build(); } } -// [END compute_v1small_generated_addressessettings_aggregatedlist_sync] +// [END compute_v1small_generated_AddressesSettings_AggregatedList_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetCredentialsProvider.java index 9a7c59a44a..2768ddd357 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_regionoperationsclient_create_setcredentialsprovider_sync] +// [START compute_v1small_generated_RegionOperations_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.compute.v1small.RegionOperationsClient; import com.google.cloud.compute.v1small.RegionOperationsSettings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { RegionOperationsClient.create(regionOperationsSettings); } } -// [END compute_v1small_generated_regionoperationsclient_create_setcredentialsprovider_sync] +// [END compute_v1small_generated_RegionOperations_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java index 98f3320db3..d8bbb778d7 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_regionoperationsclient_create_setendpoint_sync] +// [START compute_v1small_generated_RegionOperations_Create_SetEndpoint_sync] import com.google.cloud.compute.v1small.RegionOperationsClient; import com.google.cloud.compute.v1small.RegionOperationsSettings; import com.google.cloud.compute.v1small.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { RegionOperationsClient.create(regionOperationsSettings); } } -// [END compute_v1small_generated_regionoperationsclient_create_setendpoint_sync] +// [END compute_v1small_generated_RegionOperations_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/AsyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/AsyncGet.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java index ae4ba65890..ab424fc0c1 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/AsyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/AsyncGet.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_regionoperationsclient_get_async] +// [START compute_v1small_generated_RegionOperations_Get_async] import com.google.api.core.ApiFuture; import com.google.cloud.compute.v1small.GetRegionOperationRequest; import com.google.cloud.compute.v1small.Operation; @@ -47,4 +47,4 @@ public static void asyncGet() throws Exception { } } } -// [END compute_v1small_generated_regionoperationsclient_get_async] +// [END compute_v1small_generated_RegionOperations_Get_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGet.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java index caaa2ce9ec..59138ed2e8 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGet.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_regionoperationsclient_get_sync] +// [START compute_v1small_generated_RegionOperations_Get_sync] import com.google.cloud.compute.v1small.GetRegionOperationRequest; import com.google.cloud.compute.v1small.Operation; import com.google.cloud.compute.v1small.RegionOperationsClient; @@ -44,4 +44,4 @@ public static void syncGet() throws Exception { } } } -// [END compute_v1small_generated_regionoperationsclient_get_sync] +// [END compute_v1small_generated_RegionOperations_Get_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGetStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java similarity index 90% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGetStringStringString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java index 64eb451264..00ebf2a01e 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/get/SyncGetStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/get/SyncGetStringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_regionoperationsclient_get_stringstringstring_sync] +// [START compute_v1small_generated_RegionOperations_Get_StringStringString_sync] import com.google.cloud.compute.v1small.Operation; import com.google.cloud.compute.v1small.RegionOperationsClient; @@ -40,4 +40,4 @@ public static void syncGetStringStringString() throws Exception { } } } -// [END compute_v1small_generated_regionoperationsclient_get_stringstringstring_sync] +// [END compute_v1small_generated_RegionOperations_Get_StringStringString_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/AsyncWait.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java similarity index 93% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/AsyncWait.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java index 52ae3a1ff1..f02fcb2fad 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/AsyncWait.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/AsyncWait.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_regionoperationsclient_wait_async] +// [START compute_v1small_generated_RegionOperations_Wait_async] import com.google.api.core.ApiFuture; import com.google.cloud.compute.v1small.Operation; import com.google.cloud.compute.v1small.RegionOperationsClient; @@ -47,4 +47,4 @@ public static void asyncWait() throws Exception { } } } -// [END compute_v1small_generated_regionoperationsclient_wait_async] +// [END compute_v1small_generated_RegionOperations_Wait_async] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWait.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java similarity index 92% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWait.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java index 8b1947a19a..41c9b22574 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWait.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWait.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_regionoperationsclient_wait_sync] +// [START compute_v1small_generated_RegionOperations_Wait_sync] import com.google.cloud.compute.v1small.Operation; import com.google.cloud.compute.v1small.RegionOperationsClient; import com.google.cloud.compute.v1small.WaitRegionOperationRequest; @@ -44,4 +44,4 @@ public static void syncWait() throws Exception { } } } -// [END compute_v1small_generated_regionoperationsclient_wait_sync] +// [END compute_v1small_generated_RegionOperations_Wait_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWaitStringStringString.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java similarity index 90% rename from test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWaitStringStringString.java rename to test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java index da7031e67a..791fdfe170 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationsclient/wait/SyncWaitStringStringString.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperations/wait/SyncWaitStringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_regionoperationsclient_wait_stringstringstring_sync] +// [START compute_v1small_generated_RegionOperations_Wait_StringStringString_sync] import com.google.cloud.compute.v1small.Operation; import com.google.cloud.compute.v1small.RegionOperationsClient; @@ -40,4 +40,4 @@ public static void syncWaitStringStringString() throws Exception { } } } -// [END compute_v1small_generated_regionoperationsclient_wait_stringstringstring_sync] +// [END compute_v1small_generated_RegionOperations_Wait_StringStringString_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationssettings/get/SyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationssettings/get/SyncGet.java index e599705557..87bb6ca330 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationssettings/get/SyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/regionoperationssettings/get/SyncGet.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.samples; -// [START compute_v1small_generated_regionoperationssettings_get_sync] +// [START compute_v1small_generated_RegionOperationsSettings_Get_sync] import com.google.cloud.compute.v1small.RegionOperationsSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncGet() throws Exception { RegionOperationsSettings regionOperationsSettings = regionOperationsSettingsBuilder.build(); } } -// [END compute_v1small_generated_regionoperationssettings_get_sync] +// [END compute_v1small_generated_RegionOperationsSettings_Get_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/addressesstubsettings/aggregatedlist/SyncAggregatedList.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/addressesstubsettings/aggregatedlist/SyncAggregatedList.java index 32a9994c46..4d7ea1ee76 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/addressesstubsettings/aggregatedlist/SyncAggregatedList.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/addressesstubsettings/aggregatedlist/SyncAggregatedList.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.stub.samples; -// [START compute_v1small_generated_addressesstubsettings_aggregatedlist_sync] +// [START compute_v1small_generated_AddressesStubSettings_AggregatedList_sync] import com.google.cloud.compute.v1small.stub.AddressesStubSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncAggregatedList() throws Exception { AddressesStubSettings addressesSettings = addressesSettingsBuilder.build(); } } -// [END compute_v1small_generated_addressesstubsettings_aggregatedlist_sync] +// [END compute_v1small_generated_AddressesStubSettings_AggregatedList_sync] diff --git a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/regionoperationsstubsettings/get/SyncGet.java b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/regionoperationsstubsettings/get/SyncGet.java index 956110de2e..4e2e67f189 100644 --- a/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/regionoperationsstubsettings/get/SyncGet.java +++ b/test/integration/goldens/compute/samples/snippets/generated/main/java/com/google/cloud/compute/v1small/stub/regionoperationsstubsettings/get/SyncGet.java @@ -16,7 +16,7 @@ package com.google.cloud.compute.v1small.stub.samples; -// [START compute_v1small_generated_regionoperationsstubsettings_get_sync] +// [START compute_v1small_generated_RegionOperationsStubSettings_Get_sync] import com.google.cloud.compute.v1small.stub.RegionOperationsStubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncGet() throws Exception { RegionOperationsStubSettings regionOperationsSettings = regionOperationsSettingsBuilder.build(); } } -// [END compute_v1small_generated_regionoperationsstubsettings_get_sync] +// [END compute_v1small_generated_RegionOperationsStubSettings_Get_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider.java index db4fcb3cea..3146b16b81 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_create_setcredentialsprovider_sync] +// [START iamcredentials_v1_generated_IamCredentials_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.IamCredentialsSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { IamCredentialsClient iamCredentialsClient = IamCredentialsClient.create(iamCredentialsSettings); } } -// [END iamcredentials_v1_generated_iamcredentialsclient_create_setcredentialsprovider_sync] +// [END iamcredentials_v1_generated_IamCredentials_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java index c9044fbb8b..facddbfac4 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_create_setendpoint_sync] +// [START iamcredentials_v1_generated_IamCredentials_Create_SetEndpoint_sync] import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.IamCredentialsSettings; import com.google.cloud.iam.credentials.v1.myEndpoint; @@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception { IamCredentialsClient iamCredentialsClient = IamCredentialsClient.create(iamCredentialsSettings); } } -// [END iamcredentials_v1_generated_iamcredentialsclient_create_setendpoint_sync] +// [END iamcredentials_v1_generated_IamCredentials_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/AsyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/AsyncGenerateAccessToken.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java index 82fec39f81..dee5a52a87 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/AsyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/AsyncGenerateAccessToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_async] +// [START iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_async] import com.google.api.core.ApiFuture; import com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest; import com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse; @@ -52,4 +52,4 @@ public static void asyncGenerateAccessToken() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_async] +// [END iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_async] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java similarity index 92% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessToken.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java index 4cf48ad7f3..b4ebf01b22 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_sync] +// [START iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_sync] import com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest; import com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse; import com.google.cloud.iam.credentials.v1.IamCredentialsClient; @@ -48,4 +48,4 @@ public static void syncGenerateAccessToken() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_sync] +// [END iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java similarity index 89% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java index e93168fe15..ccdd12da60 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenServiceaccountnameListstringListstringDuration.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_serviceaccountnameliststringliststringduration_sync] +// [START iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_ServiceaccountnameListstringListstringDuration_sync] import com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse; import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; @@ -47,4 +47,4 @@ public static void syncGenerateAccessTokenServiceaccountnameListstringListstring } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_serviceaccountnameliststringliststringduration_sync] +// [END iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_ServiceaccountnameListstringListstringDuration_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java similarity index 89% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java index bfcdbec493..0cf10fcd52 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateaccesstoken/SyncGenerateAccessTokenStringListstringListstringDuration.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_stringliststringliststringduration_sync] +// [START iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_StringListstringListstringDuration_sync] import com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse; import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; @@ -46,4 +46,4 @@ public static void syncGenerateAccessTokenStringListstringListstringDuration() t } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_generateaccesstoken_stringliststringliststringduration_sync] +// [END iamcredentials_v1_generated_IamCredentials_GenerateAccessToken_StringListstringListstringDuration_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/AsyncGenerateIdToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/AsyncGenerateIdToken.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java index f670fc541c..f4191b5b76 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/AsyncGenerateIdToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/AsyncGenerateIdToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_async] +// [START iamcredentials_v1_generated_IamCredentials_GenerateIdToken_async] import com.google.api.core.ApiFuture; import com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest; import com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse; @@ -51,4 +51,4 @@ public static void asyncGenerateIdToken() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_async] +// [END iamcredentials_v1_generated_IamCredentials_GenerateIdToken_async] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java similarity index 92% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdToken.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java index 8828bf341c..8de72543a3 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_sync] +// [START iamcredentials_v1_generated_IamCredentials_GenerateIdToken_sync] import com.google.cloud.iam.credentials.v1.GenerateIdTokenRequest; import com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse; import com.google.cloud.iam.credentials.v1.IamCredentialsClient; @@ -47,4 +47,4 @@ public static void syncGenerateIdToken() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_sync] +// [END iamcredentials_v1_generated_IamCredentials_GenerateIdToken_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java similarity index 89% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java index f4b403409a..c0580eb919 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenServiceaccountnameListstringStringBoolean.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_serviceaccountnameliststringstringboolean_sync] +// [START iamcredentials_v1_generated_IamCredentials_GenerateIdToken_ServiceaccountnameListstringStringBoolean_sync] import com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse; import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; @@ -46,4 +46,4 @@ public static void syncGenerateIdTokenServiceaccountnameListstringStringBoolean( } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_serviceaccountnameliststringstringboolean_sync] +// [END iamcredentials_v1_generated_IamCredentials_GenerateIdToken_ServiceaccountnameListstringStringBoolean_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java index 5627745068..7ce5cb46a5 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/generateidtoken/SyncGenerateIdTokenStringListstringStringBoolean.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_stringliststringstringboolean_sync] +// [START iamcredentials_v1_generated_IamCredentials_GenerateIdToken_StringListstringStringBoolean_sync] import com.google.cloud.iam.credentials.v1.GenerateIdTokenResponse; import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; @@ -45,4 +45,4 @@ public static void syncGenerateIdTokenStringListstringStringBoolean() throws Exc } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_generateidtoken_stringliststringstringboolean_sync] +// [END iamcredentials_v1_generated_IamCredentials_GenerateIdToken_StringListstringStringBoolean_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/AsyncSignBlob.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/AsyncSignBlob.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java index 338c3112e0..52b0a779e4 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/AsyncSignBlob.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/AsyncSignBlob.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_signblob_async] +// [START iamcredentials_v1_generated_IamCredentials_SignBlob_async] import com.google.api.core.ApiFuture; import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; @@ -51,4 +51,4 @@ public static void asyncSignBlob() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_async] +// [END iamcredentials_v1_generated_IamCredentials_SignBlob_async] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlob.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlob.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java index da2fa84ba8..8a53f4257a 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlob.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlob.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_signblob_sync] +// [START iamcredentials_v1_generated_IamCredentials_SignBlob_sync] import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; import com.google.cloud.iam.credentials.v1.SignBlobRequest; @@ -47,4 +47,4 @@ public static void syncSignBlob() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_sync] +// [END iamcredentials_v1_generated_IamCredentials_SignBlob_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java similarity index 89% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java index 12ad8f05d7..5d7fa16f03 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobServiceaccountnameListstringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_signblob_serviceaccountnameliststringbytestring_sync] +// [START iamcredentials_v1_generated_IamCredentials_SignBlob_ServiceaccountnameListstringBytestring_sync] import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; import com.google.cloud.iam.credentials.v1.SignBlobResponse; @@ -44,4 +44,4 @@ public static void syncSignBlobServiceaccountnameListstringBytestring() throws E } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_serviceaccountnameliststringbytestring_sync] +// [END iamcredentials_v1_generated_IamCredentials_SignBlob_ServiceaccountnameListstringBytestring_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobStringListstringBytestring.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobStringListstringBytestring.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java index 8e1906d162..d5fbb9b84e 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signblob/SyncSignBlobStringListstringBytestring.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signblob/SyncSignBlobStringListstringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_signblob_stringliststringbytestring_sync] +// [START iamcredentials_v1_generated_IamCredentials_SignBlob_StringListstringBytestring_sync] import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; import com.google.cloud.iam.credentials.v1.SignBlobResponse; @@ -44,4 +44,4 @@ public static void syncSignBlobStringListstringBytestring() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_signblob_stringliststringbytestring_sync] +// [END iamcredentials_v1_generated_IamCredentials_SignBlob_StringListstringBytestring_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/AsyncSignJwt.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/AsyncSignJwt.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java index e788c93cee..4fa410b6bc 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/AsyncSignJwt.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/AsyncSignJwt.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_signjwt_async] +// [START iamcredentials_v1_generated_IamCredentials_SignJwt_async] import com.google.api.core.ApiFuture; import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; @@ -50,4 +50,4 @@ public static void asyncSignJwt() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_async] +// [END iamcredentials_v1_generated_IamCredentials_SignJwt_async] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwt.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java similarity index 93% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwt.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java index 82b687d781..0ccf396ecf 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwt.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwt.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_signjwt_sync] +// [START iamcredentials_v1_generated_IamCredentials_SignJwt_sync] import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; import com.google.cloud.iam.credentials.v1.SignJwtRequest; @@ -46,4 +46,4 @@ public static void syncSignJwt() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_sync] +// [END iamcredentials_v1_generated_IamCredentials_SignJwt_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtServiceaccountnameListstringString.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtServiceaccountnameListstringString.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java index b0bfa2c1be..644b820f85 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtServiceaccountnameListstringString.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtServiceaccountnameListstringString.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_signjwt_serviceaccountnameliststringstring_sync] +// [START iamcredentials_v1_generated_IamCredentials_SignJwt_ServiceaccountnameListstringString_sync] import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; import com.google.cloud.iam.credentials.v1.SignJwtResponse; @@ -43,4 +43,4 @@ public static void syncSignJwtServiceaccountnameListstringString() throws Except } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_serviceaccountnameliststringstring_sync] +// [END iamcredentials_v1_generated_IamCredentials_SignJwt_ServiceaccountnameListstringString_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtStringListstringString.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java similarity index 90% rename from test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtStringListstringString.java rename to test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java index fdb2a5080e..a6e6e0426a 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialsclient/signjwt/SyncSignJwtStringListstringString.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentials/signjwt/SyncSignJwtStringListstringString.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialsclient_signjwt_stringliststringstring_sync] +// [START iamcredentials_v1_generated_IamCredentials_SignJwt_StringListstringString_sync] import com.google.cloud.iam.credentials.v1.IamCredentialsClient; import com.google.cloud.iam.credentials.v1.ServiceAccountName; import com.google.cloud.iam.credentials.v1.SignJwtResponse; @@ -43,4 +43,4 @@ public static void syncSignJwtStringListstringString() throws Exception { } } } -// [END iamcredentials_v1_generated_iamcredentialsclient_signjwt_stringliststringstring_sync] +// [END iamcredentials_v1_generated_IamCredentials_SignJwt_StringListstringString_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java index 9de6e9526c..2e6a9be158 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/iamcredentialssettings/generateaccesstoken/SyncGenerateAccessToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.samples; -// [START iamcredentials_v1_generated_iamcredentialssettings_generateaccesstoken_sync] +// [START iamcredentials_v1_generated_IamCredentialsSettings_GenerateAccessToken_sync] import com.google.cloud.iam.credentials.v1.IamCredentialsSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncGenerateAccessToken() throws Exception { IamCredentialsSettings iamCredentialsSettings = iamCredentialsSettingsBuilder.build(); } } -// [END iamcredentials_v1_generated_iamcredentialssettings_generateaccesstoken_sync] +// [END iamcredentials_v1_generated_IamCredentialsSettings_GenerateAccessToken_sync] diff --git a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java index 9668a2229f..f23179fcee 100644 --- a/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java +++ b/test/integration/goldens/credentials/samples/snippets/generated/main/java/com/google/cloud/iam/credentials/v1/stub/iamcredentialsstubsettings/generateaccesstoken/SyncGenerateAccessToken.java @@ -16,7 +16,7 @@ package com.google.cloud.iam.credentials.v1.stub.samples; -// [START iamcredentials_v1_generated_iamcredentialsstubsettings_generateaccesstoken_sync] +// [START iamcredentials_v1_generated_IamCredentialsStubSettings_GenerateAccessToken_sync] import com.google.cloud.iam.credentials.v1.stub.IamCredentialsStubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncGenerateAccessToken() throws Exception { IamCredentialsStubSettings iamCredentialsSettings = iamCredentialsSettingsBuilder.build(); } } -// [END iamcredentials_v1_generated_iamcredentialsstubsettings_generateaccesstoken_sync] +// [END iamcredentials_v1_generated_IamCredentialsStubSettings_GenerateAccessToken_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetCredentialsProvider.java index 4cd74600b9..5b8e4b2079 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_iampolicyclient_create_setcredentialsprovider_sync] +// [START iam_v1_generated_IAMPolicy_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.iam.v1.IAMPolicyClient; import com.google.iam.v1.IAMPolicySettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { IAMPolicyClient iAMPolicyClient = IAMPolicyClient.create(iAMPolicySettings); } } -// [END iam_v1_generated_iampolicyclient_create_setcredentialsprovider_sync] +// [END iam_v1_generated_IAMPolicy_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java similarity index 92% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java index 16fdc64355..fe71ec9934 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_iampolicyclient_create_setendpoint_sync] +// [START iam_v1_generated_IAMPolicy_Create_SetEndpoint_sync] import com.google.iam.v1.IAMPolicyClient; import com.google.iam.v1.IAMPolicySettings; import com.google.iam.v1.myEndpoint; @@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception { IAMPolicyClient iAMPolicyClient = IAMPolicyClient.create(iAMPolicySettings); } } -// [END iam_v1_generated_iampolicyclient_create_setendpoint_sync] +// [END iam_v1_generated_IAMPolicy_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java index 441d834597..768a0bde7c 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_iampolicyclient_getiampolicy_async] +// [START iam_v1_generated_IAMPolicy_GetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; @@ -47,4 +47,4 @@ public static void asyncGetIamPolicy() throws Exception { } } } -// [END iam_v1_generated_iampolicyclient_getiampolicy_async] +// [END iam_v1_generated_IAMPolicy_GetIamPolicy_async] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java index ac82d3739c..6a2c286638 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_iampolicyclient_getiampolicy_sync] +// [START iam_v1_generated_IAMPolicy_GetIamPolicy_sync] import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; import com.google.iam.v1.IAMPolicyClient; @@ -44,4 +44,4 @@ public static void syncGetIamPolicy() throws Exception { } } } -// [END iam_v1_generated_iampolicyclient_getiampolicy_sync] +// [END iam_v1_generated_IAMPolicy_GetIamPolicy_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java index 2aea2886b9..fdcde733d3 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_iampolicyclient_setiampolicy_async] +// [START iam_v1_generated_IAMPolicy_SetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.iam.v1.IAMPolicyClient; import com.google.iam.v1.Policy; @@ -46,4 +46,4 @@ public static void asyncSetIamPolicy() throws Exception { } } } -// [END iam_v1_generated_iampolicyclient_setiampolicy_async] +// [END iam_v1_generated_IAMPolicy_SetIamPolicy_async] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java index 9e01e5cf1f..55d362db48 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_iampolicyclient_setiampolicy_sync] +// [START iam_v1_generated_IAMPolicy_SetIamPolicy_sync] import com.google.iam.v1.IAMPolicyClient; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -43,4 +43,4 @@ public static void syncSetIamPolicy() throws Exception { } } } -// [END iam_v1_generated_iampolicyclient_setiampolicy_sync] +// [END iam_v1_generated_IAMPolicy_SetIamPolicy_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java index 4e7920f9cc..ebaa1ba351 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_iampolicyclient_testiampermissions_async] +// [START iam_v1_generated_IAMPolicy_TestIamPermissions_async] import com.google.api.core.ApiFuture; import com.google.iam.v1.IAMPolicyClient; import com.google.iam.v1.TestIamPermissionsRequest; @@ -48,4 +48,4 @@ public static void asyncTestIamPermissions() throws Exception { } } } -// [END iam_v1_generated_iampolicyclient_testiampermissions_async] +// [END iam_v1_generated_IAMPolicy_TestIamPermissions_async] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java index 241d958b43..70921f8b0f 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicyclient/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicy/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_iampolicyclient_testiampermissions_sync] +// [START iam_v1_generated_IAMPolicy_TestIamPermissions_sync] import com.google.iam.v1.IAMPolicyClient; import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; @@ -44,4 +44,4 @@ public static void syncTestIamPermissions() throws Exception { } } } -// [END iam_v1_generated_iampolicyclient_testiampermissions_sync] +// [END iam_v1_generated_IAMPolicy_TestIamPermissions_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicysettings/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicysettings/setiampolicy/SyncSetIamPolicy.java index 07c44e3f36..f97670d70b 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicysettings/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/iampolicysettings/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.samples; -// [START iam_v1_generated_iampolicysettings_setiampolicy_sync] +// [START iam_v1_generated_IAMPolicySettings_SetIamPolicy_sync] import com.google.iam.v1.IAMPolicySettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncSetIamPolicy() throws Exception { IAMPolicySettings iAMPolicySettings = iAMPolicySettingsBuilder.build(); } } -// [END iam_v1_generated_iampolicysettings_setiampolicy_sync] +// [END iam_v1_generated_IAMPolicySettings_SetIamPolicy_sync] diff --git a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/stub/iampolicystubsettings/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/stub/iampolicystubsettings/setiampolicy/SyncSetIamPolicy.java index 5dcf9940db..326c24a6dc 100644 --- a/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/stub/iampolicystubsettings/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/iam/samples/snippets/generated/main/java/com/google/iam/v1/stub/iampolicystubsettings/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.iam.v1.stub.samples; -// [START iam_v1_generated_iampolicystubsettings_setiampolicy_sync] +// [START iam_v1_generated_IAMPolicyStubSettings_SetIamPolicy_sync] import com.google.iam.v1.stub.IAMPolicyStubSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncSetIamPolicy() throws Exception { IAMPolicyStubSettings iAMPolicySettings = iAMPolicySettingsBuilder.build(); } } -// [END iam_v1_generated_iampolicystubsettings_setiampolicy_sync] +// [END iam_v1_generated_IAMPolicyStubSettings_SetIamPolicy_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/AsyncAsymmetricDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/AsyncAsymmetricDecrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java index 12bc233abe..2768ea0ab8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/AsyncAsymmetricDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/AsyncAsymmetricDecrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_async] +// [START cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.AsymmetricDecryptRequest; import com.google.cloud.kms.v1.AsymmetricDecryptResponse; @@ -59,4 +59,4 @@ public static void asyncAsymmetricDecrypt() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_async] +// [END cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java index a30ce59b2f..13ee008da3 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_sync] +// [START cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_sync] import com.google.cloud.kms.v1.AsymmetricDecryptRequest; import com.google.cloud.kms.v1.AsymmetricDecryptResponse; import com.google.cloud.kms.v1.CryptoKeyVersionName; @@ -55,4 +55,4 @@ public static void syncAsymmetricDecrypt() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_sync] +// [END cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java index 17d42368d0..402cbd4ecb 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptCryptokeyversionnameBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_cryptokeyversionnamebytestring_sync] +// [START cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_CryptokeyversionnameBytestring_sync] import com.google.cloud.kms.v1.AsymmetricDecryptResponse; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -45,4 +45,4 @@ public static void syncAsymmetricDecryptCryptokeyversionnameBytestring() throws } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_cryptokeyversionnamebytestring_sync] +// [END cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_CryptokeyversionnameBytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java index 83b946207e..2e7e021dce 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricdecrypt/SyncAsymmetricDecryptStringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_stringbytestring_sync] +// [START cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_StringBytestring_sync] import com.google.cloud.kms.v1.AsymmetricDecryptResponse; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -46,4 +46,4 @@ public static void syncAsymmetricDecryptStringBytestring() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricdecrypt_stringbytestring_sync] +// [END cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_StringBytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/AsyncAsymmetricSign.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/AsyncAsymmetricSign.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java index caa1473dde..458da95d07 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/AsyncAsymmetricSign.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/AsyncAsymmetricSign.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_async] +// [START cloudkms_v1_generated_KeyManagementService_AsymmetricSign_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.AsymmetricSignRequest; import com.google.cloud.kms.v1.AsymmetricSignResponse; @@ -59,4 +59,4 @@ public static void asyncAsymmetricSign() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_async] +// [END cloudkms_v1_generated_KeyManagementService_AsymmetricSign_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSign.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSign.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java index d16356d4b9..6d38dccafe 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSign.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSign.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_sync] +// [START cloudkms_v1_generated_KeyManagementService_AsymmetricSign_sync] import com.google.cloud.kms.v1.AsymmetricSignRequest; import com.google.cloud.kms.v1.AsymmetricSignResponse; import com.google.cloud.kms.v1.CryptoKeyVersionName; @@ -55,4 +55,4 @@ public static void syncAsymmetricSign() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_sync] +// [END cloudkms_v1_generated_KeyManagementService_AsymmetricSign_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java index 37dca40018..2f3802533a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignCryptokeyversionnameDigest.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_cryptokeyversionnamedigest_sync] +// [START cloudkms_v1_generated_KeyManagementService_AsymmetricSign_CryptokeyversionnameDigest_sync] import com.google.cloud.kms.v1.AsymmetricSignResponse; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.Digest; @@ -44,4 +44,4 @@ public static void syncAsymmetricSignCryptokeyversionnameDigest() throws Excepti } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_cryptokeyversionnamedigest_sync] +// [END cloudkms_v1_generated_KeyManagementService_AsymmetricSign_CryptokeyversionnameDigest_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignStringDigest.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignStringDigest.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java index 693e9bfc5e..905a71eb32 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/asymmetricsign/SyncAsymmetricSignStringDigest.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/asymmetricsign/SyncAsymmetricSignStringDigest.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_stringdigest_sync] +// [START cloudkms_v1_generated_KeyManagementService_AsymmetricSign_StringDigest_sync] import com.google.cloud.kms.v1.AsymmetricSignResponse; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.Digest; @@ -45,4 +45,4 @@ public static void syncAsymmetricSignStringDigest() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_asymmetricsign_stringdigest_sync] +// [END cloudkms_v1_generated_KeyManagementService_AsymmetricSign_StringDigest_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java index 9e76f9250c..c96d3a6bdf 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_create_setcredentialsprovider_sync] +// [START cloudkms_v1_generated_KeyManagementService_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyManagementServiceSettings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { KeyManagementServiceClient.create(keyManagementServiceSettings); } } -// [END cloudkms_v1_generated_keymanagementserviceclient_create_setcredentialsprovider_sync] +// [END cloudkms_v1_generated_KeyManagementService_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java index a47ef9da7c..deb933fa8a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_create_setendpoint_sync] +// [START cloudkms_v1_generated_KeyManagementService_Create_SetEndpoint_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyManagementServiceSettings; import com.google.cloud.kms.v1.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { KeyManagementServiceClient.create(keyManagementServiceSettings); } } -// [END cloudkms_v1_generated_keymanagementserviceclient_create_setendpoint_sync] +// [END cloudkms_v1_generated_KeyManagementService_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/AsyncCreateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/AsyncCreateCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java index 509ec9c1aa..4ffbf58a50 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/AsyncCreateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/AsyncCreateCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_async] +// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CreateCryptoKeyRequest; import com.google.cloud.kms.v1.CryptoKey; @@ -51,4 +51,4 @@ public static void asyncCreateCryptoKey() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_async] +// [END cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java index 4626d271e1..ea9b536553 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_sync] import com.google.cloud.kms.v1.CreateCryptoKeyRequest; import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -47,4 +47,4 @@ public static void syncCreateCryptoKey() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java index d40e15a269..d8cec59da0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyKeyringnameStringCryptokey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_keyringnamestringcryptokey_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_KeyringnameStringCryptokey_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -43,4 +43,4 @@ public static void syncCreateCryptoKeyKeyringnameStringCryptokey() throws Except } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_keyringnamestringcryptokey_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_KeyringnameStringCryptokey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java index 3b1616c1e9..ba7eda7d35 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokey/SyncCreateCryptoKeyStringStringCryptokey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_stringstringcryptokey_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_StringStringCryptokey_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -43,4 +43,4 @@ public static void syncCreateCryptoKeyStringStringCryptokey() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokey_stringstringcryptokey_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_StringStringCryptokey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java index 0595997ae5..e4fe7cef5c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/AsyncCreateCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_async] +// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CreateCryptoKeyVersionRequest; import com.google.cloud.kms.v1.CryptoKeyName; @@ -51,4 +51,4 @@ public static void asyncCreateCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_async] +// [END cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java index 8b4f543898..3d5b68f74a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_sync] import com.google.cloud.kms.v1.CreateCryptoKeyVersionRequest; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; @@ -47,4 +47,4 @@ public static void syncCreateCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java index 8ccdcf86b3..6fa204a3da 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionCryptokeynameCryptokeyversion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_cryptokeynamecryptokeyversion_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_CryptokeynameCryptokeyversion_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncCreateCryptoKeyVersionCryptokeynameCryptokeyversion() thr } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_cryptokeynamecryptokeyversion_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_CryptokeynameCryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java index 338d57775e..5a64f18b00 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createcryptokeyversion/SyncCreateCryptoKeyVersionStringCryptokeyversion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_stringcryptokeyversion_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_StringCryptokeyversion_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncCreateCryptoKeyVersionStringCryptokeyversion() throws Exc } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createcryptokeyversion_stringcryptokeyversion_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_StringCryptokeyversion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/AsyncCreateImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/AsyncCreateImportJob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java index b557f641f9..458b666b2a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/AsyncCreateImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/AsyncCreateImportJob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createimportjob_async] +// [START cloudkms_v1_generated_KeyManagementService_CreateImportJob_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CreateImportJobRequest; import com.google.cloud.kms.v1.ImportJob; @@ -50,4 +50,4 @@ public static void asyncCreateImportJob() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_async] +// [END cloudkms_v1_generated_KeyManagementService_CreateImportJob_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java index 1a1066d560..10ac1fe7ee 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createimportjob_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateImportJob_sync] import com.google.cloud.kms.v1.CreateImportJobRequest; import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -46,4 +46,4 @@ public static void syncCreateImportJob() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateImportJob_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java index 8fe9146ac7..e25252b6a0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobKeyringnameStringImportjob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createimportjob_keyringnamestringimportjob_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateImportJob_KeyringnameStringImportjob_sync] import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -43,4 +43,4 @@ public static void syncCreateImportJobKeyringnameStringImportjob() throws Except } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_keyringnamestringimportjob_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateImportJob_KeyringnameStringImportjob_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobStringStringImportjob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobStringStringImportjob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java index 9d8031894f..69d497e017 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createimportjob/SyncCreateImportJobStringStringImportjob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createimportjob/SyncCreateImportJobStringStringImportjob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createimportjob_stringstringimportjob_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateImportJob_StringStringImportjob_sync] import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -43,4 +43,4 @@ public static void syncCreateImportJobStringStringImportjob() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createimportjob_stringstringimportjob_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateImportJob_StringStringImportjob_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/AsyncCreateKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/AsyncCreateKeyRing.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java index a0c7c2dd6e..d39ca8f888 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/AsyncCreateKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/AsyncCreateKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createkeyring_async] +// [START cloudkms_v1_generated_KeyManagementService_CreateKeyRing_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CreateKeyRingRequest; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -50,4 +50,4 @@ public static void asyncCreateKeyRing() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_async] +// [END cloudkms_v1_generated_KeyManagementService_CreateKeyRing_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRing.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java index be6e331a4d..c58aa6961a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createkeyring_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateKeyRing_sync] import com.google.cloud.kms.v1.CreateKeyRingRequest; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; @@ -46,4 +46,4 @@ public static void syncCreateKeyRing() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateKeyRing_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java index 907f57aa3d..46add0d8c9 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingLocationnameStringKeyring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createkeyring_locationnamestringkeyring_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateKeyRing_LocationnameStringKeyring_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; import com.google.cloud.kms.v1.LocationName; @@ -42,4 +42,4 @@ public static void syncCreateKeyRingLocationnameStringKeyring() throws Exception } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_locationnamestringkeyring_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateKeyRing_LocationnameStringKeyring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingStringStringKeyring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingStringStringKeyring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java index 3ae2929909..067e82288a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/createkeyring/SyncCreateKeyRingStringStringKeyring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/createkeyring/SyncCreateKeyRingStringStringKeyring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_createkeyring_stringstringkeyring_sync] +// [START cloudkms_v1_generated_KeyManagementService_CreateKeyRing_StringStringKeyring_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; import com.google.cloud.kms.v1.LocationName; @@ -42,4 +42,4 @@ public static void syncCreateKeyRingStringStringKeyring() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_createkeyring_stringstringkeyring_sync] +// [END cloudkms_v1_generated_KeyManagementService_CreateKeyRing_StringStringKeyring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/AsyncDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java similarity index 94% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/AsyncDecrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java index 20e0506c55..6a32d6f8e1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/AsyncDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/AsyncDecrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_decrypt_async] +// [START cloudkms_v1_generated_KeyManagementService_Decrypt_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.DecryptRequest; @@ -56,4 +56,4 @@ public static void asyncDecrypt() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_async] +// [END cloudkms_v1_generated_KeyManagementService_Decrypt_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java index 733948ab43..dac8b2ca95 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_decrypt_sync] +// [START cloudkms_v1_generated_KeyManagementService_Decrypt_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.DecryptRequest; import com.google.cloud.kms.v1.DecryptResponse; @@ -52,4 +52,4 @@ public static void syncDecrypt() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_sync] +// [END cloudkms_v1_generated_KeyManagementService_Decrypt_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptCryptokeynameBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptCryptokeynameBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java index 9d0f93de64..a2980791bd 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptCryptokeynameBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptCryptokeynameBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_decrypt_cryptokeynamebytestring_sync] +// [START cloudkms_v1_generated_KeyManagementService_Decrypt_CryptokeynameBytestring_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.DecryptResponse; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncDecryptCryptokeynameBytestring() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_cryptokeynamebytestring_sync] +// [END cloudkms_v1_generated_KeyManagementService_Decrypt_CryptokeynameBytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptStringBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptStringBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java index 0e9ebecd78..b94582483c 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/decrypt/SyncDecryptStringBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/decrypt/SyncDecryptStringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_decrypt_stringbytestring_sync] +// [START cloudkms_v1_generated_KeyManagementService_Decrypt_StringBytestring_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.DecryptResponse; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncDecryptStringBytestring() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_decrypt_stringbytestring_sync] +// [END cloudkms_v1_generated_KeyManagementService_Decrypt_StringBytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java index 6e35f41857..8a42b375c3 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/AsyncDestroyCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_async] +// [START cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; @@ -55,4 +55,4 @@ public static void asyncDestroyCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_async] +// [END cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java index 00484ded76..c2bb7e68d4 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_sync] +// [START cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest; @@ -51,4 +51,4 @@ public static void syncDestroyCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_sync] +// [END cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java index 4089e10ef0..560f768080 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionCryptokeyversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_cryptokeyversionname_sync] +// [START cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_Cryptokeyversionname_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -42,4 +42,4 @@ public static void syncDestroyCryptoKeyVersionCryptokeyversionname() throws Exce } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_cryptokeyversionname_sync] +// [END cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_Cryptokeyversionname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java index b8d997f9d6..60880a6a3a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/destroycryptokeyversion/SyncDestroyCryptoKeyVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_String_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncDestroyCryptoKeyVersionString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_destroycryptokeyversion_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/AsyncEncrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java similarity index 94% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/AsyncEncrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java index 77aa9a7a32..b31c045a11 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/AsyncEncrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/AsyncEncrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_encrypt_async] +// [START cloudkms_v1_generated_KeyManagementService_Encrypt_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.EncryptRequest; @@ -56,4 +56,4 @@ public static void asyncEncrypt() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_async] +// [END cloudkms_v1_generated_KeyManagementService_Encrypt_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncrypt.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncrypt.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java index 1d6f5928f5..0c8fe72c44 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncrypt.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncrypt.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_encrypt_sync] +// [START cloudkms_v1_generated_KeyManagementService_Encrypt_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.EncryptRequest; import com.google.cloud.kms.v1.EncryptResponse; @@ -52,4 +52,4 @@ public static void syncEncrypt() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_sync] +// [END cloudkms_v1_generated_KeyManagementService_Encrypt_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptResourcenameBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptResourcenameBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java index 79d3932c9d..1b332fefc8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptResourcenameBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptResourcenameBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_encrypt_resourcenamebytestring_sync] +// [START cloudkms_v1_generated_KeyManagementService_Encrypt_ResourcenameBytestring_sync] import com.google.api.resourcenames.ResourceName; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.EncryptResponse; @@ -43,4 +43,4 @@ public static void syncEncryptResourcenameBytestring() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_resourcenamebytestring_sync] +// [END cloudkms_v1_generated_KeyManagementService_Encrypt_ResourcenameBytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptStringBytestring.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptStringBytestring.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java index cec9cf2333..07762a2140 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/encrypt/SyncEncryptStringBytestring.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/encrypt/SyncEncryptStringBytestring.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_encrypt_stringbytestring_sync] +// [START cloudkms_v1_generated_KeyManagementService_Encrypt_StringBytestring_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.EncryptResponse; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncEncryptStringBytestring() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_encrypt_stringbytestring_sync] +// [END cloudkms_v1_generated_KeyManagementService_Encrypt_StringBytestring_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/AsyncGetCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/AsyncGetCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java index f777d40c39..0a317395bc 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/AsyncGetCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/AsyncGetCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_async] +// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKey_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.CryptoKeyName; @@ -50,4 +50,4 @@ public static void asyncGetCryptoKey() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_async] +// [END cloudkms_v1_generated_KeyManagementService_GetCryptoKey_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java index 2ec60f1295..5bc4d96d8a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKey_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.GetCryptoKeyRequest; @@ -46,4 +46,4 @@ public static void syncGetCryptoKey() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetCryptoKey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyCryptokeyname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyCryptokeyname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java index d049f653a2..9c07a8a3f9 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyCryptokeyname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyCryptokeyname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_cryptokeyname_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKey_Cryptokeyname_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -41,4 +41,4 @@ public static void syncGetCryptoKeyCryptokeyname() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_cryptokeyname_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetCryptoKey_Cryptokeyname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java index 88f08857ee..9216849d6b 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokey/SyncGetCryptoKeyString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokey/SyncGetCryptoKeyString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKey_String_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -41,4 +41,4 @@ public static void syncGetCryptoKeyString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokey_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetCryptoKey_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/AsyncGetCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/AsyncGetCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java index 97d8ab731c..bdc547e7bf 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/AsyncGetCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/AsyncGetCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_async] +// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; @@ -55,4 +55,4 @@ public static void asyncGetCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_async] +// [END cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java index 4977fc91a1..22ce91d55e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.GetCryptoKeyVersionRequest; @@ -51,4 +51,4 @@ public static void syncGetCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java index 2310db9ebb..73aa2d577a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionCryptokeyversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_cryptokeyversionname_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_Cryptokeyversionname_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -42,4 +42,4 @@ public static void syncGetCryptoKeyVersionCryptokeyversionname() throws Exceptio } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_cryptokeyversionname_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_Cryptokeyversionname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java index 08c7728683..67abf494d5 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getcryptokeyversion/SyncGetCryptoKeyVersionString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getcryptokeyversion/SyncGetCryptoKeyVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_String_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncGetCryptoKeyVersionString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getcryptokeyversion_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java index 401096168c..93eb30dac0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getiampolicy_async] +// [START cloudkms_v1_generated_KeyManagementService_GetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -52,4 +52,4 @@ public static void asyncGetIamPolicy() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getiampolicy_async] +// [END cloudkms_v1_generated_KeyManagementService_GetIamPolicy_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java index c27aff6602..5e0bfa23da 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getiampolicy_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetIamPolicy_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.iam.v1.GetIamPolicyRequest; @@ -48,4 +48,4 @@ public static void syncGetIamPolicy() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getiampolicy_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetIamPolicy_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/AsyncGetImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/AsyncGetImportJob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java index ef11db67a0..bcad674dc7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/AsyncGetImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/AsyncGetImportJob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getimportjob_async] +// [START cloudkms_v1_generated_KeyManagementService_GetImportJob_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.GetImportJobRequest; import com.google.cloud.kms.v1.ImportJob; @@ -50,4 +50,4 @@ public static void asyncGetImportJob() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_async] +// [END cloudkms_v1_generated_KeyManagementService_GetImportJob_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJob.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJob.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java index 47cb997d54..7cd02a81ea 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJob.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJob.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getimportjob_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetImportJob_sync] import com.google.cloud.kms.v1.GetImportJobRequest; import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.ImportJobName; @@ -46,4 +46,4 @@ public static void syncGetImportJob() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetImportJob_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobImportjobname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobImportjobname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java index 04cd565d8f..ec16718779 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobImportjobname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobImportjobname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getimportjob_importjobname_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetImportJob_Importjobname_sync] import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.ImportJobName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -41,4 +41,4 @@ public static void syncGetImportJobImportjobname() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_importjobname_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetImportJob_Importjobname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java index 134f1f7981..ad8655ede8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getimportjob/SyncGetImportJobString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getimportjob/SyncGetImportJobString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getimportjob_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetImportJob_String_sync] import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.ImportJobName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -41,4 +41,4 @@ public static void syncGetImportJobString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getimportjob_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetImportJob_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/AsyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/AsyncGetKeyRing.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java index 24cce5e9be..59a16e8740 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/AsyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/AsyncGetKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getkeyring_async] +// [START cloudkms_v1_generated_KeyManagementService_GetKeyRing_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.GetKeyRingRequest; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -48,4 +48,4 @@ public static void asyncGetKeyRing() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_async] +// [END cloudkms_v1_generated_KeyManagementService_GetKeyRing_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRing.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java index 03f7a908ec..a880293179 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getkeyring_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetKeyRing_sync] import com.google.cloud.kms.v1.GetKeyRingRequest; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; @@ -44,4 +44,4 @@ public static void syncGetKeyRing() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetKeyRing_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingKeyringname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingKeyringname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java index 5a91330c62..5353772a9f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingKeyringname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingKeyringname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getkeyring_keyringname_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetKeyRing_Keyringname_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; import com.google.cloud.kms.v1.KeyRingName; @@ -40,4 +40,4 @@ public static void syncGetKeyRingKeyringname() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_keyringname_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetKeyRing_Keyringname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java index 9e86f8e39f..b6305c4ce7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getkeyring/SyncGetKeyRingString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getkeyring/SyncGetKeyRingString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getkeyring_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetKeyRing_String_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; import com.google.cloud.kms.v1.KeyRingName; @@ -40,4 +40,4 @@ public static void syncGetKeyRingString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getkeyring_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetKeyRing_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/AsyncGetLocation.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/AsyncGetLocation.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java index b2b1b8a18f..b496695cc2 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/AsyncGetLocation.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/AsyncGetLocation.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getlocation_async] +// [START cloudkms_v1_generated_KeyManagementService_GetLocation_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.location.GetLocationRequest; @@ -44,4 +44,4 @@ public static void asyncGetLocation() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getlocation_async] +// [END cloudkms_v1_generated_KeyManagementService_GetLocation_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/SyncGetLocation.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/SyncGetLocation.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java index c26d5c7d30..5972b43835 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getlocation/SyncGetLocation.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getlocation/SyncGetLocation.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getlocation_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetLocation_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.Location; @@ -40,4 +40,4 @@ public static void syncGetLocation() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getlocation_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetLocation_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/AsyncGetPublicKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/AsyncGetPublicKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java index 5f779b2f9b..1ba333176d 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/AsyncGetPublicKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/AsyncGetPublicKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getpublickey_async] +// [START cloudkms_v1_generated_KeyManagementService_GetPublicKey_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.GetPublicKeyRequest; @@ -55,4 +55,4 @@ public static void asyncGetPublicKey() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_async] +// [END cloudkms_v1_generated_KeyManagementService_GetPublicKey_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java index 7a5412ce50..cd3d9e3e13 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getpublickey_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetPublicKey_sync] import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.GetPublicKeyRequest; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -51,4 +51,4 @@ public static void syncGetPublicKey() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetPublicKey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyCryptokeyversionname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java index b83c6ef0d3..933f9681ab 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyCryptokeyversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getpublickey_cryptokeyversionname_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetPublicKey_Cryptokeyversionname_sync] import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.PublicKey; @@ -42,4 +42,4 @@ public static void syncGetPublicKeyCryptokeyversionname() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_cryptokeyversionname_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetPublicKey_Cryptokeyversionname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java index 21ef9ac23c..371d27f697 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/getpublickey/SyncGetPublicKeyString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/getpublickey/SyncGetPublicKeyString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_getpublickey_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_GetPublicKey_String_sync] import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.PublicKey; @@ -43,4 +43,4 @@ public static void syncGetPublicKeyString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_getpublickey_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_GetPublicKey_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/AsyncImportCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/AsyncImportCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java index e8af8616fc..7325f636c0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/AsyncImportCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/AsyncImportCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_importcryptokeyversion_async] +// [START cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; @@ -51,4 +51,4 @@ public static void asyncImportCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_importcryptokeyversion_async] +// [END cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/SyncImportCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/SyncImportCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java index b1e7a2e675..e6c5a63a11 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/importcryptokeyversion/SyncImportCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/importcryptokeyversion/SyncImportCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_importcryptokeyversion_sync] +// [START cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.ImportCryptoKeyVersionRequest; @@ -47,4 +47,4 @@ public static void syncImportCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_importcryptokeyversion_sync] +// [END cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeys.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeys.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java index 9d57500ce0..6d8d539696 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeys.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeys.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_async] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -54,4 +54,4 @@ public static void asyncListCryptoKeys() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_async] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeysPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeysPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java index 78e51a0786..06b5ceb184 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/AsyncListCryptoKeysPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/AsyncListCryptoKeysPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_paged_async] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_Paged_async] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -62,4 +62,4 @@ public static void asyncListCryptoKeysPaged() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_paged_async] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_Paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeys.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeys.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java index 425054f5a6..1d4cacf80e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeys.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeys.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -50,4 +50,4 @@ public static void syncListCryptoKeys() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysKeyringname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysKeyringname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java index d717447b4f..9f24627011 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysKeyringname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysKeyringname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_keyringname_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_Keyringname_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -42,4 +42,4 @@ public static void syncListCryptoKeysKeyringname() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_keyringname_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_Keyringname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java index e724974a82..b32726dab8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeys/SyncListCryptoKeysString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeys/SyncListCryptoKeysString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_String_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -42,4 +42,4 @@ public static void syncListCryptoKeysString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeys_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersions.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java index 08ca16b7ed..59182b4b2d 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersions.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_async] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; @@ -56,4 +56,4 @@ public static void asyncListCryptoKeyVersions() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_async] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java index 874c92f919..ac7a2dd8a4 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/AsyncListCryptoKeyVersionsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_paged_async] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_Paged_async] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -64,4 +64,4 @@ public static void asyncListCryptoKeyVersionsPaged() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_paged_async] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_Paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersions.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java index f06def473d..68a38385ca 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersions.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -53,4 +53,4 @@ public static void syncListCryptoKeyVersions() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java index 98f65347de..0941b5c4d7 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsCryptokeyname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_cryptokeyname_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_Cryptokeyname_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -44,4 +44,4 @@ public static void syncListCryptoKeyVersionsCryptokeyname() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_cryptokeyname_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_Cryptokeyname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java index 86d2d44eed..6cd8fc6850 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listcryptokeyversions/SyncListCryptoKeyVersionsString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listcryptokeyversions/SyncListCryptoKeyVersionsString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_String_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -44,4 +44,4 @@ public static void syncListCryptoKeyVersionsString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listcryptokeyversions_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobs.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobs.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java index d9cad3d111..192e034b1e 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobs.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobs.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_async] +// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -54,4 +54,4 @@ public static void asyncListImportJobs() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_async] +// [END cloudkms_v1_generated_KeyManagementService_ListImportJobs_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobsPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java index 5860192ae2..59b6b51662 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/AsyncListImportJobsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/AsyncListImportJobsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_paged_async] +// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_Paged_async] import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -62,4 +62,4 @@ public static void asyncListImportJobsPaged() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_paged_async] +// [END cloudkms_v1_generated_KeyManagementService_ListImportJobs_Paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobs.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobs.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java index 8d332bb928..dfd76a428b 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobs.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobs.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_sync] import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -50,4 +50,4 @@ public static void syncListImportJobs() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListImportJobs_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsKeyringname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsKeyringname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java index dda6bdac38..4500177df1 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsKeyringname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsKeyringname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_keyringname_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_Keyringname_sync] import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -42,4 +42,4 @@ public static void syncListImportJobsKeyringname() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_keyringname_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListImportJobs_Keyringname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java index a0c62ce5be..66d5957f30 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listimportjobs/SyncListImportJobsString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listimportjobs/SyncListImportJobsString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListImportJobs_String_sync] import com.google.cloud.kms.v1.ImportJob; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRingName; @@ -42,4 +42,4 @@ public static void syncListImportJobsString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listimportjobs_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListImportJobs_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRings.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRings.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java index e368d4e74c..83d8701f1a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRings.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRings.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_async] +// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; @@ -54,4 +54,4 @@ public static void asyncListKeyRings() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_async] +// [END cloudkms_v1_generated_KeyManagementService_ListKeyRings_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRingsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRingsPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java index 0f1699844e..381b2c92a0 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/AsyncListKeyRingsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/AsyncListKeyRingsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_paged_async] +// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_Paged_async] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; import com.google.cloud.kms.v1.ListKeyRingsRequest; @@ -62,4 +62,4 @@ public static void asyncListKeyRingsPaged() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_paged_async] +// [END cloudkms_v1_generated_KeyManagementService_ListKeyRings_Paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRings.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRings.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java index 8a47b96eb6..732646f6e8 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRings.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRings.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; import com.google.cloud.kms.v1.ListKeyRingsRequest; @@ -50,4 +50,4 @@ public static void syncListKeyRings() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListKeyRings_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsLocationname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsLocationname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java index bf0004166d..9a75758574 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsLocationname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsLocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_locationname_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_Locationname_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; import com.google.cloud.kms.v1.LocationName; @@ -42,4 +42,4 @@ public static void syncListKeyRingsLocationname() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_locationname_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListKeyRings_Locationname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java index a1bc04535e..49ab833c61 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listkeyrings/SyncListKeyRingsString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listkeyrings/SyncListKeyRingsString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListKeyRings_String_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.KeyRing; import com.google.cloud.kms.v1.LocationName; @@ -42,4 +42,4 @@ public static void syncListKeyRingsString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listkeyrings_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListKeyRings_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocations.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocations.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java index 2c93eac415..7719410624 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocations.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocations.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listlocations_async] +// [START cloudkms_v1_generated_KeyManagementService_ListLocations_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.location.ListLocationsRequest; @@ -52,4 +52,4 @@ public static void asyncListLocations() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listlocations_async] +// [END cloudkms_v1_generated_KeyManagementService_ListLocations_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocationsPaged.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java similarity index 93% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocationsPaged.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java index 855e186729..c5ac23eeb3 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/AsyncListLocationsPaged.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/AsyncListLocationsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listlocations_paged_async] +// [START cloudkms_v1_generated_KeyManagementService_ListLocations_Paged_async] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -60,4 +60,4 @@ public static void asyncListLocationsPaged() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listlocations_paged_async] +// [END cloudkms_v1_generated_KeyManagementService_ListLocations_Paged_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/SyncListLocations.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/SyncListLocations.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java index 1ea5a3db8a..c377381038 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/listlocations/SyncListLocations.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/listlocations/SyncListLocations.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_listlocations_sync] +// [START cloudkms_v1_generated_KeyManagementService_ListLocations_sync] import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.Location; @@ -48,4 +48,4 @@ public static void syncListLocations() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_listlocations_sync] +// [END cloudkms_v1_generated_KeyManagementService_ListLocations_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java index 715493b98b..1bad87972d 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/AsyncRestoreCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_async] +// [START cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; @@ -55,4 +55,4 @@ public static void asyncRestoreCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_async] +// [END cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java index a3de0c99b8..68b6ed6531 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_sync] +// [START cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -51,4 +51,4 @@ public static void syncRestoreCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_sync] +// [END cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java index 4c9cde5031..986539cc01 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionCryptokeyversionname.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_cryptokeyversionname_sync] +// [START cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_Cryptokeyversionname_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -42,4 +42,4 @@ public static void syncRestoreCryptoKeyVersionCryptokeyversionname() throws Exce } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_cryptokeyversionname_sync] +// [END cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_Cryptokeyversionname_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java similarity index 90% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java index 876353526f..fc372ed700 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/restorecryptokeyversion/SyncRestoreCryptoKeyVersionString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_string_sync] +// [START cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_String_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.CryptoKeyVersionName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncRestoreCryptoKeyVersionString() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_restorecryptokeyversion_string_sync] +// [END cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_String_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java index 3597e58f5a..ac5a891597 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_testiampermissions_async] +// [START cloudkms_v1_generated_KeyManagementService_TestIamPermissions_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -52,4 +52,4 @@ public static void asyncTestIamPermissions() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_testiampermissions_async] +// [END cloudkms_v1_generated_KeyManagementService_TestIamPermissions_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java index e33b06bb8b..2394e3686b 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_testiampermissions_sync] +// [START cloudkms_v1_generated_KeyManagementService_TestIamPermissions_sync] import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.iam.v1.TestIamPermissionsRequest; @@ -48,4 +48,4 @@ public static void syncTestIamPermissions() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_testiampermissions_sync] +// [END cloudkms_v1_generated_KeyManagementService_TestIamPermissions_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/AsyncUpdateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/AsyncUpdateCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java index 832a0e648f..3c70757f69 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/AsyncUpdateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/AsyncUpdateCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_async] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -49,4 +49,4 @@ public static void asyncUpdateCryptoKey() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_async] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKey.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKey.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java index 86c9549eb2..19f8b75878 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKey.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKey.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_sync] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.UpdateCryptoKeyRequest; @@ -45,4 +45,4 @@ public static void syncUpdateCryptoKey() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_sync] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java index 980affb15b..b61deebb66 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokey/SyncUpdateCryptoKeyCryptokeyFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_cryptokeyfieldmask_sync] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_CryptokeyFieldmask_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.protobuf.FieldMask; @@ -41,4 +41,4 @@ public static void syncUpdateCryptoKeyCryptokeyFieldmask() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokey_cryptokeyfieldmask_sync] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_CryptokeyFieldmask_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java index 011d28534f..5d1306e7f6 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/AsyncUpdateCryptoKeyPrimaryVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_async] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.CryptoKeyName; @@ -51,4 +51,4 @@ public static void asyncUpdateCryptoKeyPrimaryVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_async] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java index 9d10d6f50e..91c10be799 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_sync] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -47,4 +47,4 @@ public static void syncUpdateCryptoKeyPrimaryVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_sync] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java index 09f41244ee..302e5fa67b 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionCryptokeynameString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_cryptokeynamestring_sync] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_CryptokeynameString_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncUpdateCryptoKeyPrimaryVersionCryptokeynameString() throws } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_cryptokeynamestring_sync] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_CryptokeynameString_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java index a9b17f02d8..377b15c87f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyprimaryversion/SyncUpdateCryptoKeyPrimaryVersionStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_stringstring_sync] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_StringString_sync] import com.google.cloud.kms.v1.CryptoKey; import com.google.cloud.kms.v1.CryptoKeyName; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -43,4 +43,4 @@ public static void syncUpdateCryptoKeyPrimaryVersionStringString() throws Except } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyprimaryversion_stringstring_sync] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_StringString_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java similarity index 92% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java index 07666ee3ed..801687a7a6 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/AsyncUpdateCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_async] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_async] import com.google.api.core.ApiFuture; import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.KeyManagementServiceClient; @@ -49,4 +49,4 @@ public static void asyncUpdateCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_async] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_async] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java similarity index 91% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java index f91fa9f0bd..20825bbf94 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersion.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_sync] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.cloud.kms.v1.UpdateCryptoKeyVersionRequest; @@ -45,4 +45,4 @@ public static void syncUpdateCryptoKeyVersion() throws Exception { } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_sync] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java similarity index 89% rename from test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java rename to test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java index 7730719384..3b54c8b97f 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementserviceclient/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservice/updatecryptokeyversion/SyncUpdateCryptoKeyVersionCryptokeyversionFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_cryptokeyversionfieldmask_sync] +// [START cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_CryptokeyversionFieldmask_sync] import com.google.cloud.kms.v1.CryptoKeyVersion; import com.google.cloud.kms.v1.KeyManagementServiceClient; import com.google.protobuf.FieldMask; @@ -42,4 +42,4 @@ public static void syncUpdateCryptoKeyVersionCryptokeyversionFieldmask() throws } } } -// [END cloudkms_v1_generated_keymanagementserviceclient_updatecryptokeyversion_cryptokeyversionfieldmask_sync] +// [END cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_CryptokeyversionFieldmask_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java index c2bfa0f01c..3a20509fde 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/keymanagementservicesettings/getkeyring/SyncGetKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.samples; -// [START cloudkms_v1_generated_keymanagementservicesettings_getkeyring_sync] +// [START cloudkms_v1_generated_KeyManagementServiceSettings_GetKeyRing_sync] import com.google.cloud.kms.v1.KeyManagementServiceSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncGetKeyRing() throws Exception { keyManagementServiceSettingsBuilder.build(); } } -// [END cloudkms_v1_generated_keymanagementservicesettings_getkeyring_sync] +// [END cloudkms_v1_generated_KeyManagementServiceSettings_GetKeyRing_sync] diff --git a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java index a41ec9fa58..75547f5f7a 100644 --- a/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java +++ b/test/integration/goldens/kms/samples/snippets/generated/main/java/com/google/cloud/kms/v1/stub/keymanagementservicestubsettings/getkeyring/SyncGetKeyRing.java @@ -16,7 +16,7 @@ package com.google.cloud.kms.v1.stub.samples; -// [START cloudkms_v1_generated_keymanagementservicestubsettings_getkeyring_sync] +// [START cloudkms_v1_generated_KeyManagementServiceStubSettings_GetKeyRing_sync] import com.google.cloud.kms.v1.stub.KeyManagementServiceStubSettings; import java.time.Duration; @@ -47,4 +47,4 @@ public static void syncGetKeyRing() throws Exception { keyManagementServiceSettingsBuilder.build(); } } -// [END cloudkms_v1_generated_keymanagementservicestubsettings_getkeyring_sync] +// [END cloudkms_v1_generated_KeyManagementServiceStubSettings_GetKeyRing_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider.java index b6f6a12b95..0a449701a1 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_create_setcredentialsprovider_sync] +// [START example_v1_generated_LibraryService_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.cloud.example.library.v1.LibraryServiceSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { LibraryServiceClient libraryServiceClient = LibraryServiceClient.create(libraryServiceSettings); } } -// [END example_v1_generated_libraryserviceclient_create_setcredentialsprovider_sync] +// [END example_v1_generated_LibraryService_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java index 2e9674debb..1ed4230d03 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_create_setendpoint_sync] +// [START example_v1_generated_LibraryService_Create_SetEndpoint_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.cloud.example.library.v1.LibraryServiceSettings; import com.google.cloud.example.library.v1.myEndpoint; @@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception { LibraryServiceClient libraryServiceClient = LibraryServiceClient.create(libraryServiceSettings); } } -// [END example_v1_generated_libraryserviceclient_create_setendpoint_sync] +// [END example_v1_generated_LibraryService_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/AsyncCreateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/AsyncCreateBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java index 5dbe9ea3a8..d58d7c2ca5 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/AsyncCreateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/AsyncCreateBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_createbook_async] +// [START example_v1_generated_LibraryService_CreateBook_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; @@ -47,4 +47,4 @@ public static void asyncCreateBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_createbook_async] +// [END example_v1_generated_LibraryService_CreateBook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java index b593ac0f36..206c7673f5 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_createbook_sync] +// [START example_v1_generated_LibraryService_CreateBook_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.CreateBookRequest; @@ -44,4 +44,4 @@ public static void syncCreateBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_createbook_sync] +// [END example_v1_generated_LibraryService_CreateBook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookShelfnameBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookShelfnameBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java index 4155f046ee..5cd834c754 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookShelfnameBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookShelfnameBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_createbook_shelfnamebook_sync] +// [START example_v1_generated_LibraryService_CreateBook_ShelfnameBook_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.ShelfName; @@ -40,4 +40,4 @@ public static void syncCreateBookShelfnameBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_createbook_shelfnamebook_sync] +// [END example_v1_generated_LibraryService_CreateBook_ShelfnameBook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookStringBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookStringBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java index 6bc2eb732a..97a22b457a 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createbook/SyncCreateBookStringBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createbook/SyncCreateBookStringBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_createbook_stringbook_sync] +// [START example_v1_generated_LibraryService_CreateBook_StringBook_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.ShelfName; @@ -40,4 +40,4 @@ public static void syncCreateBookStringBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_createbook_stringbook_sync] +// [END example_v1_generated_LibraryService_CreateBook_StringBook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/AsyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/AsyncCreateShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java index 1a3e4e0cb8..a6707d3f05 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/AsyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/AsyncCreateShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_createshelf_async] +// [START example_v1_generated_LibraryService_CreateShelf_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.CreateShelfRequest; @@ -43,4 +43,4 @@ public static void asyncCreateShelf() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_createshelf_async] +// [END example_v1_generated_LibraryService_CreateShelf_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java index 7cc61a07b8..b1017b8894 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_createshelf_sync] +// [START example_v1_generated_LibraryService_CreateShelf_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.CreateShelfRequest; import com.google.example.library.v1.Shelf; @@ -40,4 +40,4 @@ public static void syncCreateShelf() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_createshelf_sync] +// [END example_v1_generated_LibraryService_CreateShelf_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelfShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelfShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java index 067c90e13d..d594994378 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/createshelf/SyncCreateShelfShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/SyncCreateShelfShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_createshelf_shelf_sync] +// [START example_v1_generated_LibraryService_CreateShelf_Shelf_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Shelf; @@ -38,4 +38,4 @@ public static void syncCreateShelfShelf() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_createshelf_shelf_sync] +// [END example_v1_generated_LibraryService_CreateShelf_Shelf_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/AsyncDeleteBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/AsyncDeleteBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java index 3388ada78d..1402bdeb2b 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/AsyncDeleteBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/AsyncDeleteBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_deletebook_async] +// [START example_v1_generated_LibraryService_DeleteBook_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.BookName; @@ -46,4 +46,4 @@ public static void asyncDeleteBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_deletebook_async] +// [END example_v1_generated_LibraryService_DeleteBook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java index 4ef50221de..ce5f72f7d4 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_deletebook_sync] +// [START example_v1_generated_LibraryService_DeleteBook_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.BookName; import com.google.example.library.v1.DeleteBookRequest; @@ -43,4 +43,4 @@ public static void syncDeleteBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_deletebook_sync] +// [END example_v1_generated_LibraryService_DeleteBook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookBookname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookBookname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java index 0ebe865a59..4984014875 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookBookname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookBookname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_deletebook_bookname_sync] +// [START example_v1_generated_LibraryService_DeleteBook_Bookname_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.BookName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteBookBookname() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_deletebook_bookname_sync] +// [END example_v1_generated_LibraryService_DeleteBook_Bookname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java index 369ae353d3..2747919b8c 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deletebook/SyncDeleteBookString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deletebook/SyncDeleteBookString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_deletebook_string_sync] +// [START example_v1_generated_LibraryService_DeleteBook_String_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.BookName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteBookString() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_deletebook_string_sync] +// [END example_v1_generated_LibraryService_DeleteBook_String_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/AsyncDeleteShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/AsyncDeleteShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java index c1e9375ce3..00960baafe 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/AsyncDeleteShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/AsyncDeleteShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_deleteshelf_async] +// [START example_v1_generated_LibraryService_DeleteShelf_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.DeleteShelfRequest; @@ -44,4 +44,4 @@ public static void asyncDeleteShelf() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_deleteshelf_async] +// [END example_v1_generated_LibraryService_DeleteShelf_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java index 2322037305..737844b638 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_deleteshelf_sync] +// [START example_v1_generated_LibraryService_DeleteShelf_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.DeleteShelfRequest; import com.google.example.library.v1.ShelfName; @@ -41,4 +41,4 @@ public static void syncDeleteShelf() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_deleteshelf_sync] +// [END example_v1_generated_LibraryService_DeleteShelf_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java index 7de331b361..5b9a49da88 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_deleteshelf_shelfname_sync] +// [START example_v1_generated_LibraryService_DeleteShelf_Shelfname_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.ShelfName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteShelfShelfname() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_deleteshelf_shelfname_sync] +// [END example_v1_generated_LibraryService_DeleteShelf_Shelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java index 8a32bb7d78..6a1bc22c88 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/deleteshelf/SyncDeleteShelfString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/deleteshelf/SyncDeleteShelfString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_deleteshelf_string_sync] +// [START example_v1_generated_LibraryService_DeleteShelf_String_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.ShelfName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteShelfString() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_deleteshelf_string_sync] +// [END example_v1_generated_LibraryService_DeleteShelf_String_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/AsyncGetBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/AsyncGetBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java index b819462eb0..19f18d0b29 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/AsyncGetBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/AsyncGetBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_getbook_async] +// [START example_v1_generated_LibraryService_GetBook_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; @@ -44,4 +44,4 @@ public static void asyncGetBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_getbook_async] +// [END example_v1_generated_LibraryService_GetBook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java index 6c4569ecdb..31858147ef 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_getbook_sync] +// [START example_v1_generated_LibraryService_GetBook_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.BookName; @@ -41,4 +41,4 @@ public static void syncGetBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_getbook_sync] +// [END example_v1_generated_LibraryService_GetBook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookBookname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookBookname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java index d7029a08a2..718395228e 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookBookname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookBookname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_getbook_bookname_sync] +// [START example_v1_generated_LibraryService_GetBook_Bookname_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.BookName; @@ -39,4 +39,4 @@ public static void syncGetBookBookname() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_getbook_bookname_sync] +// [END example_v1_generated_LibraryService_GetBook_Bookname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java index a36359a425..5c7f398a5e 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getbook/SyncGetBookString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getbook/SyncGetBookString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_getbook_string_sync] +// [START example_v1_generated_LibraryService_GetBook_String_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.BookName; @@ -39,4 +39,4 @@ public static void syncGetBookString() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_getbook_string_sync] +// [END example_v1_generated_LibraryService_GetBook_String_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/AsyncGetShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/AsyncGetShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java index e759952106..0d7d770f7c 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/AsyncGetShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/AsyncGetShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_getshelf_async] +// [START example_v1_generated_LibraryService_GetShelf_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.GetShelfRequest; @@ -44,4 +44,4 @@ public static void asyncGetShelf() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_getshelf_async] +// [END example_v1_generated_LibraryService_GetShelf_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelf.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java index 719c5e6354..b6ddbfd368 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_getshelf_sync] +// [START example_v1_generated_LibraryService_GetShelf_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.GetShelfRequest; import com.google.example.library.v1.Shelf; @@ -41,4 +41,4 @@ public static void syncGetShelf() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_getshelf_sync] +// [END example_v1_generated_LibraryService_GetShelf_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java index a819099ef3..7d6955a5f7 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_getshelf_shelfname_sync] +// [START example_v1_generated_LibraryService_GetShelf_Shelfname_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Shelf; import com.google.example.library.v1.ShelfName; @@ -39,4 +39,4 @@ public static void syncGetShelfShelfname() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_getshelf_shelfname_sync] +// [END example_v1_generated_LibraryService_GetShelf_Shelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java index e2a693d78d..9f4e413306 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/getshelf/SyncGetShelfString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/getshelf/SyncGetShelfString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_getshelf_string_sync] +// [START example_v1_generated_LibraryService_GetShelf_String_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Shelf; import com.google.example.library.v1.ShelfName; @@ -39,4 +39,4 @@ public static void syncGetShelfString() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_getshelf_string_sync] +// [END example_v1_generated_LibraryService_GetShelf_String_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooks.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooks.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java index 6b790d499c..b5b4237d8b 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooks.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooks.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_listbooks_async] +// [START example_v1_generated_LibraryService_ListBooks_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; @@ -50,4 +50,4 @@ public static void asyncListBooks() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_listbooks_async] +// [END example_v1_generated_LibraryService_ListBooks_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooksPaged.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java similarity index 94% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooksPaged.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java index dedb1f397f..243f5c6525 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/AsyncListBooksPaged.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/AsyncListBooksPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_listbooks_paged_async] +// [START example_v1_generated_LibraryService_ListBooks_Paged_async] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.common.base.Strings; import com.google.example.library.v1.Book; @@ -58,4 +58,4 @@ public static void asyncListBooksPaged() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_listbooks_paged_async] +// [END example_v1_generated_LibraryService_ListBooks_Paged_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooks.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooks.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java index 57d84742ef..34a171a818 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooks.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooks.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_listbooks_sync] +// [START example_v1_generated_LibraryService_ListBooks_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.ListBooksRequest; @@ -47,4 +47,4 @@ public static void syncListBooks() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_listbooks_sync] +// [END example_v1_generated_LibraryService_ListBooks_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java index e952a2db7b..fc80b4f278 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_listbooks_shelfname_sync] +// [START example_v1_generated_LibraryService_ListBooks_Shelfname_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.ShelfName; @@ -41,4 +41,4 @@ public static void syncListBooksShelfname() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_listbooks_shelfname_sync] +// [END example_v1_generated_LibraryService_ListBooks_Shelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java index 5a581add94..e1b8889824 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listbooks/SyncListBooksString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listbooks/SyncListBooksString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_listbooks_string_sync] +// [START example_v1_generated_LibraryService_ListBooks_String_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.ShelfName; @@ -41,4 +41,4 @@ public static void syncListBooksString() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_listbooks_string_sync] +// [END example_v1_generated_LibraryService_ListBooks_String_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelves.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java index 0d45b07458..a211012179 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelves.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_listshelves_async] +// [START example_v1_generated_LibraryService_ListShelves_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.ListShelvesRequest; @@ -48,4 +48,4 @@ public static void asyncListShelves() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_listshelves_async] +// [END example_v1_generated_LibraryService_ListShelves_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelvesPaged.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelvesPaged.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java index 85dcf4049b..b4c6b47d3e 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/AsyncListShelvesPaged.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/AsyncListShelvesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_listshelves_paged_async] +// [START example_v1_generated_LibraryService_ListShelves_Paged_async] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.common.base.Strings; import com.google.example.library.v1.ListShelvesRequest; @@ -56,4 +56,4 @@ public static void asyncListShelvesPaged() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_listshelves_paged_async] +// [END example_v1_generated_LibraryService_ListShelves_Paged_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/SyncListShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/SyncListShelves.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java index e8d44e3511..05a25be7c7 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/listshelves/SyncListShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/listshelves/SyncListShelves.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_listshelves_sync] +// [START example_v1_generated_LibraryService_ListShelves_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.ListShelvesRequest; import com.google.example.library.v1.Shelf; @@ -45,4 +45,4 @@ public static void syncListShelves() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_listshelves_sync] +// [END example_v1_generated_LibraryService_ListShelves_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/AsyncMergeShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/AsyncMergeShelves.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java index 5dc9c53a6b..c987d1f46a 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/AsyncMergeShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/AsyncMergeShelves.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_mergeshelves_async] +// [START example_v1_generated_LibraryService_MergeShelves_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.MergeShelvesRequest; @@ -47,4 +47,4 @@ public static void asyncMergeShelves() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_mergeshelves_async] +// [END example_v1_generated_LibraryService_MergeShelves_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelves.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java similarity index 92% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelves.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java index 3a64bddc08..789de5490d 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelves.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelves.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_mergeshelves_sync] +// [START example_v1_generated_LibraryService_MergeShelves_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.MergeShelvesRequest; import com.google.example.library.v1.Shelf; @@ -44,4 +44,4 @@ public static void syncMergeShelves() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_mergeshelves_sync] +// [END example_v1_generated_LibraryService_MergeShelves_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java similarity index 90% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java index af84c48d3b..db19cd564f 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_mergeshelves_shelfnameshelfname_sync] +// [START example_v1_generated_LibraryService_MergeShelves_ShelfnameShelfname_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Shelf; import com.google.example.library.v1.ShelfName; @@ -40,4 +40,4 @@ public static void syncMergeShelvesShelfnameShelfname() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_mergeshelves_shelfnameshelfname_sync] +// [END example_v1_generated_LibraryService_MergeShelves_ShelfnameShelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java similarity index 90% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java index e88240c32f..e0d1e6e92e 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesShelfnameString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesShelfnameString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_mergeshelves_shelfnamestring_sync] +// [START example_v1_generated_LibraryService_MergeShelves_ShelfnameString_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Shelf; import com.google.example.library.v1.ShelfName; @@ -40,4 +40,4 @@ public static void syncMergeShelvesShelfnameString() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_mergeshelves_shelfnamestring_sync] +// [END example_v1_generated_LibraryService_MergeShelves_ShelfnameString_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java similarity index 90% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java index 31a440ea6f..069e1c53a9 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_mergeshelves_stringshelfname_sync] +// [START example_v1_generated_LibraryService_MergeShelves_StringShelfname_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Shelf; import com.google.example.library.v1.ShelfName; @@ -40,4 +40,4 @@ public static void syncMergeShelvesStringShelfname() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_mergeshelves_stringshelfname_sync] +// [END example_v1_generated_LibraryService_MergeShelves_StringShelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java index 8742a51ff6..a43b537dff 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/mergeshelves/SyncMergeShelvesStringString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/mergeshelves/SyncMergeShelvesStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_mergeshelves_stringstring_sync] +// [START example_v1_generated_LibraryService_MergeShelves_StringString_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Shelf; import com.google.example.library.v1.ShelfName; @@ -40,4 +40,4 @@ public static void syncMergeShelvesStringString() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_mergeshelves_stringstring_sync] +// [END example_v1_generated_LibraryService_MergeShelves_StringString_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/AsyncMoveBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/AsyncMoveBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java index 9f085bda34..d708cf7261 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/AsyncMoveBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/AsyncMoveBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_movebook_async] +// [START example_v1_generated_LibraryService_MoveBook_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; @@ -48,4 +48,4 @@ public static void asyncMoveBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_movebook_async] +// [END example_v1_generated_LibraryService_MoveBook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java index 99259bf445..f6550c13c4 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_movebook_sync] +// [START example_v1_generated_LibraryService_MoveBook_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.BookName; @@ -45,4 +45,4 @@ public static void syncMoveBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_movebook_sync] +// [END example_v1_generated_LibraryService_MoveBook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java index 6381bac0cd..99c1fd34f9 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_movebook_booknameshelfname_sync] +// [START example_v1_generated_LibraryService_MoveBook_BooknameShelfname_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.BookName; @@ -41,4 +41,4 @@ public static void syncMoveBookBooknameShelfname() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_movebook_booknameshelfname_sync] +// [END example_v1_generated_LibraryService_MoveBook_BooknameShelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java index 479dc95ea1..c9054e654d 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookBooknameString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookBooknameString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_movebook_booknamestring_sync] +// [START example_v1_generated_LibraryService_MoveBook_BooknameString_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.BookName; @@ -41,4 +41,4 @@ public static void syncMoveBookBooknameString() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_movebook_booknamestring_sync] +// [END example_v1_generated_LibraryService_MoveBook_BooknameString_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringShelfname.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringShelfname.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java index e08d509fab..be18f93ee6 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringShelfname.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringShelfname.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_movebook_stringshelfname_sync] +// [START example_v1_generated_LibraryService_MoveBook_StringShelfname_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.BookName; @@ -41,4 +41,4 @@ public static void syncMoveBookStringShelfname() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_movebook_stringshelfname_sync] +// [END example_v1_generated_LibraryService_MoveBook_StringShelfname_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringString.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringString.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java index a3cca84350..f138247526 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/movebook/SyncMoveBookStringString.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/movebook/SyncMoveBookStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_movebook_stringstring_sync] +// [START example_v1_generated_LibraryService_MoveBook_StringString_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.BookName; @@ -41,4 +41,4 @@ public static void syncMoveBookStringString() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_movebook_stringstring_sync] +// [END example_v1_generated_LibraryService_MoveBook_StringString_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/AsyncUpdateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/AsyncUpdateBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java index 7f6be01fc1..f2d4c0b210 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/AsyncUpdateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/AsyncUpdateBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_updatebook_async] +// [START example_v1_generated_LibraryService_UpdateBook_async] import com.google.api.core.ApiFuture; import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; @@ -47,4 +47,4 @@ public static void asyncUpdateBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_updatebook_async] +// [END example_v1_generated_LibraryService_UpdateBook_async] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBook.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java similarity index 93% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBook.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java index 81e7750c21..cf7e3d0518 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBook.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBook.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_updatebook_sync] +// [START example_v1_generated_LibraryService_UpdateBook_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.example.library.v1.UpdateBookRequest; @@ -44,4 +44,4 @@ public static void syncUpdateBook() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_updatebook_sync] +// [END example_v1_generated_LibraryService_UpdateBook_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBookBookFieldmask.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java similarity index 91% rename from test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBookBookFieldmask.java rename to test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java index 78e82287d4..d35550ea87 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryserviceclient/updatebook/SyncUpdateBookBookFieldmask.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/updatebook/SyncUpdateBookBookFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryserviceclient_updatebook_bookfieldmask_sync] +// [START example_v1_generated_LibraryService_UpdateBook_BookFieldmask_sync] import com.google.cloud.example.library.v1.LibraryServiceClient; import com.google.example.library.v1.Book; import com.google.protobuf.FieldMask; @@ -40,4 +40,4 @@ public static void syncUpdateBookBookFieldmask() throws Exception { } } } -// [END example_v1_generated_libraryserviceclient_updatebook_bookfieldmask_sync] +// [END example_v1_generated_LibraryService_UpdateBook_BookFieldmask_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java index 27b0379489..f308ba1d66 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservicesettings/createshelf/SyncCreateShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.samples; -// [START example_v1_generated_libraryservicesettings_createshelf_sync] +// [START example_v1_generated_LibraryServiceSettings_CreateShelf_sync] import com.google.cloud.example.library.v1.LibraryServiceSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncCreateShelf() throws Exception { LibraryServiceSettings libraryServiceSettings = libraryServiceSettingsBuilder.build(); } } -// [END example_v1_generated_libraryservicesettings_createshelf_sync] +// [END example_v1_generated_LibraryServiceSettings_CreateShelf_sync] diff --git a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java index 8f00ce9db7..0634f4ea7c 100644 --- a/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java +++ b/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/stub/libraryservicestubsettings/createshelf/SyncCreateShelf.java @@ -16,7 +16,7 @@ package com.google.cloud.example.library.v1.stub.samples; -// [START example_v1_generated_libraryservicestubsettings_createshelf_sync] +// [START example_v1_generated_LibraryServiceStubSettings_CreateShelf_sync] import com.google.cloud.example.library.v1.stub.LibraryServiceStubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncCreateShelf() throws Exception { LibraryServiceStubSettings libraryServiceSettings = libraryServiceSettingsBuilder.build(); } } -// [END example_v1_generated_libraryservicestubsettings_createshelf_sync] +// [END example_v1_generated_LibraryServiceStubSettings_CreateShelf_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetCredentialsProvider.java index f2f4066308..432e6b9e51 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_create_setcredentialsprovider_sync] +// [START logging_v2_generated_Config_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.logging.v2.ConfigClient; import com.google.cloud.logging.v2.ConfigSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { ConfigClient configClient = ConfigClient.create(configSettings); } } -// [END logging_v2_generated_configclient_create_setcredentialsprovider_sync] +// [END logging_v2_generated_Config_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetEndpoint.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetEndpoint.java index afec2022d9..86efaf695f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_create_setendpoint_sync] +// [START logging_v2_generated_Config_Create_SetEndpoint_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.cloud.logging.v2.ConfigSettings; import com.google.cloud.logging.v2.myEndpoint; @@ -37,4 +37,4 @@ public static void syncCreateSetEndpoint() throws Exception { ConfigClient configClient = ConfigClient.create(configSettings); } } -// [END logging_v2_generated_configclient_create_setendpoint_sync] +// [END logging_v2_generated_Config_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/AsyncCreateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/AsyncCreateBucket.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/AsyncCreateBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/AsyncCreateBucket.java index 9455e1f583..06be0eddaf 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/AsyncCreateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/AsyncCreateBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createbucket_async] +// [START logging_v2_generated_Config_CreateBucket_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CreateBucketRequest; @@ -48,4 +48,4 @@ public static void asyncCreateBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_createbucket_async] +// [END logging_v2_generated_Config_CreateBucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/SyncCreateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/SyncCreateBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/SyncCreateBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/SyncCreateBucket.java index 44a2380e7f..f38b8b932f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createbucket/SyncCreateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createbucket/SyncCreateBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createbucket_sync] +// [START logging_v2_generated_Config_CreateBucket_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CreateBucketRequest; import com.google.logging.v2.LocationName; @@ -45,4 +45,4 @@ public static void syncCreateBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_createbucket_sync] +// [END logging_v2_generated_Config_CreateBucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/AsyncCreateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/AsyncCreateExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/AsyncCreateExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/AsyncCreateExclusion.java index 5a727225c7..147251209b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/AsyncCreateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/AsyncCreateExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createexclusion_async] +// [START logging_v2_generated_Config_CreateExclusion_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CreateExclusionRequest; @@ -47,4 +47,4 @@ public static void asyncCreateExclusion() throws Exception { } } } -// [END logging_v2_generated_configclient_createexclusion_async] +// [END logging_v2_generated_Config_CreateExclusion_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusion.java index 3456f78c79..5ceb46e142 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createexclusion_sync] +// [START logging_v2_generated_Config_CreateExclusion_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CreateExclusionRequest; import com.google.logging.v2.LogExclusion; @@ -44,4 +44,4 @@ public static void syncCreateExclusion() throws Exception { } } } -// [END logging_v2_generated_configclient_createexclusion_sync] +// [END logging_v2_generated_Config_CreateExclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java index 40e27846f0..e705079d85 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionBillingaccountnameLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createexclusion_billingaccountnamelogexclusion_sync] +// [START logging_v2_generated_Config_CreateExclusion_BillingaccountnameLogexclusion_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.BillingAccountName; import com.google.logging.v2.LogExclusion; @@ -40,4 +40,4 @@ public static void syncCreateExclusionBillingaccountnameLogexclusion() throws Ex } } } -// [END logging_v2_generated_configclient_createexclusion_billingaccountnamelogexclusion_sync] +// [END logging_v2_generated_Config_CreateExclusion_BillingaccountnameLogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java index dc1fabf988..f3f10e65d9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionFoldernameLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createexclusion_foldernamelogexclusion_sync] +// [START logging_v2_generated_Config_CreateExclusion_FoldernameLogexclusion_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.FolderName; import com.google.logging.v2.LogExclusion; @@ -40,4 +40,4 @@ public static void syncCreateExclusionFoldernameLogexclusion() throws Exception } } } -// [END logging_v2_generated_configclient_createexclusion_foldernamelogexclusion_sync] +// [END logging_v2_generated_Config_CreateExclusion_FoldernameLogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java index c68db9bcd7..f2ff73a6aa 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionOrganizationnameLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createexclusion_organizationnamelogexclusion_sync] +// [START logging_v2_generated_Config_CreateExclusion_OrganizationnameLogexclusion_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.OrganizationName; @@ -40,4 +40,4 @@ public static void syncCreateExclusionOrganizationnameLogexclusion() throws Exce } } } -// [END logging_v2_generated_configclient_createexclusion_organizationnamelogexclusion_sync] +// [END logging_v2_generated_Config_CreateExclusion_OrganizationnameLogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java index c1e47a5a2d..07f7abd06b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionProjectnameLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createexclusion_projectnamelogexclusion_sync] +// [START logging_v2_generated_Config_CreateExclusion_ProjectnameLogexclusion_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.ProjectName; @@ -40,4 +40,4 @@ public static void syncCreateExclusionProjectnameLogexclusion() throws Exception } } } -// [END logging_v2_generated_configclient_createexclusion_projectnamelogexclusion_sync] +// [END logging_v2_generated_Config_CreateExclusion_ProjectnameLogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionStringLogexclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionStringLogexclusion.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionStringLogexclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionStringLogexclusion.java index 87cf6e299d..c6080b9067 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createexclusion/SyncCreateExclusionStringLogexclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createexclusion/SyncCreateExclusionStringLogexclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createexclusion_stringlogexclusion_sync] +// [START logging_v2_generated_Config_CreateExclusion_StringLogexclusion_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.ProjectName; @@ -40,4 +40,4 @@ public static void syncCreateExclusionStringLogexclusion() throws Exception { } } } -// [END logging_v2_generated_configclient_createexclusion_stringlogexclusion_sync] +// [END logging_v2_generated_Config_CreateExclusion_StringLogexclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/AsyncCreateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/AsyncCreateSink.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/AsyncCreateSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/AsyncCreateSink.java index e03a879bff..0ab887e51e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/AsyncCreateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/AsyncCreateSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createsink_async] +// [START logging_v2_generated_Config_CreateSink_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CreateSinkRequest; @@ -48,4 +48,4 @@ public static void asyncCreateSink() throws Exception { } } } -// [END logging_v2_generated_configclient_createsink_async] +// [END logging_v2_generated_Config_CreateSink_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSink.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSink.java index fa2ad4fc9f..c68927ba9c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createsink_sync] +// [START logging_v2_generated_Config_CreateSink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CreateSinkRequest; import com.google.logging.v2.LogSink; @@ -45,4 +45,4 @@ public static void syncCreateSink() throws Exception { } } } -// [END logging_v2_generated_configclient_createsink_sync] +// [END logging_v2_generated_Config_CreateSink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkBillingaccountnameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkBillingaccountnameLogsink.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkBillingaccountnameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkBillingaccountnameLogsink.java index 572a3098c3..3c639f4b92 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkBillingaccountnameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkBillingaccountnameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createsink_billingaccountnamelogsink_sync] +// [START logging_v2_generated_Config_CreateSink_BillingaccountnameLogsink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.BillingAccountName; import com.google.logging.v2.LogSink; @@ -40,4 +40,4 @@ public static void syncCreateSinkBillingaccountnameLogsink() throws Exception { } } } -// [END logging_v2_generated_configclient_createsink_billingaccountnamelogsink_sync] +// [END logging_v2_generated_Config_CreateSink_BillingaccountnameLogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkFoldernameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkFoldernameLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkFoldernameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkFoldernameLogsink.java index 582f363830..24d9a1b890 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkFoldernameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkFoldernameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createsink_foldernamelogsink_sync] +// [START logging_v2_generated_Config_CreateSink_FoldernameLogsink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.FolderName; import com.google.logging.v2.LogSink; @@ -40,4 +40,4 @@ public static void syncCreateSinkFoldernameLogsink() throws Exception { } } } -// [END logging_v2_generated_configclient_createsink_foldernamelogsink_sync] +// [END logging_v2_generated_Config_CreateSink_FoldernameLogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkOrganizationnameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkOrganizationnameLogsink.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkOrganizationnameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkOrganizationnameLogsink.java index c1398c0c1d..db8b873e53 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkOrganizationnameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkOrganizationnameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createsink_organizationnamelogsink_sync] +// [START logging_v2_generated_Config_CreateSink_OrganizationnameLogsink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.OrganizationName; @@ -40,4 +40,4 @@ public static void syncCreateSinkOrganizationnameLogsink() throws Exception { } } } -// [END logging_v2_generated_configclient_createsink_organizationnamelogsink_sync] +// [END logging_v2_generated_Config_CreateSink_OrganizationnameLogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkProjectnameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkProjectnameLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkProjectnameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkProjectnameLogsink.java index 280f8ec9e0..4f2297db7d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkProjectnameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkProjectnameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createsink_projectnamelogsink_sync] +// [START logging_v2_generated_Config_CreateSink_ProjectnameLogsink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.ProjectName; @@ -40,4 +40,4 @@ public static void syncCreateSinkProjectnameLogsink() throws Exception { } } } -// [END logging_v2_generated_configclient_createsink_projectnamelogsink_sync] +// [END logging_v2_generated_Config_CreateSink_ProjectnameLogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkStringLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkStringLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkStringLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkStringLogsink.java index 7b89426a58..c496d95bd6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createsink/SyncCreateSinkStringLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createsink/SyncCreateSinkStringLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createsink_stringlogsink_sync] +// [START logging_v2_generated_Config_CreateSink_StringLogsink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.ProjectName; @@ -40,4 +40,4 @@ public static void syncCreateSinkStringLogsink() throws Exception { } } } -// [END logging_v2_generated_configclient_createsink_stringlogsink_sync] +// [END logging_v2_generated_Config_CreateSink_StringLogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/AsyncCreateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/AsyncCreateView.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/AsyncCreateView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/AsyncCreateView.java index 7d8fe181c4..16454ea53a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/AsyncCreateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/AsyncCreateView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createview_async] +// [START logging_v2_generated_Config_CreateView_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CreateViewRequest; @@ -47,4 +47,4 @@ public static void asyncCreateView() throws Exception { } } } -// [END logging_v2_generated_configclient_createview_async] +// [END logging_v2_generated_Config_CreateView_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/SyncCreateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/SyncCreateView.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/SyncCreateView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/SyncCreateView.java index 3f256b822c..3ff765e96b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/createview/SyncCreateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/createview/SyncCreateView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_createview_sync] +// [START logging_v2_generated_Config_CreateView_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CreateViewRequest; import com.google.logging.v2.LogView; @@ -44,4 +44,4 @@ public static void syncCreateView() throws Exception { } } } -// [END logging_v2_generated_configclient_createview_sync] +// [END logging_v2_generated_Config_CreateView_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/AsyncDeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/AsyncDeleteBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/AsyncDeleteBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/AsyncDeleteBucket.java index bfad9cc3ad..42fa415a17 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/AsyncDeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/AsyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deletebucket_async] +// [START logging_v2_generated_Config_DeleteBucket_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.DeleteBucketRequest; @@ -48,4 +48,4 @@ public static void asyncDeleteBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_deletebucket_async] +// [END logging_v2_generated_Config_DeleteBucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/SyncDeleteBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/SyncDeleteBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/SyncDeleteBucket.java index b17b55d73c..1ce7361f17 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletebucket/SyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deletebucket_sync] +// [START logging_v2_generated_Config_DeleteBucket_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.DeleteBucketRequest; import com.google.logging.v2.LogBucketName; @@ -45,4 +45,4 @@ public static void syncDeleteBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_deletebucket_sync] +// [END logging_v2_generated_Config_DeleteBucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/AsyncDeleteExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/AsyncDeleteExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/AsyncDeleteExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/AsyncDeleteExclusion.java index 6f8071f018..02b7bc6c5f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/AsyncDeleteExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/AsyncDeleteExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deleteexclusion_async] +// [START logging_v2_generated_Config_DeleteExclusion_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.DeleteExclusionRequest; @@ -47,4 +47,4 @@ public static void asyncDeleteExclusion() throws Exception { } } } -// [END logging_v2_generated_configclient_deleteexclusion_async] +// [END logging_v2_generated_Config_DeleteExclusion_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusion.java index b37027a8d7..659b84d869 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deleteexclusion_sync] +// [START logging_v2_generated_Config_DeleteExclusion_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.DeleteExclusionRequest; import com.google.logging.v2.LogExclusionName; @@ -44,4 +44,4 @@ public static void syncDeleteExclusion() throws Exception { } } } -// [END logging_v2_generated_configclient_deleteexclusion_sync] +// [END logging_v2_generated_Config_DeleteExclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionLogexclusionname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionLogexclusionname.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionLogexclusionname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionLogexclusionname.java index 38770a232b..a135f9394e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionLogexclusionname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionLogexclusionname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deleteexclusion_logexclusionname_sync] +// [START logging_v2_generated_Config_DeleteExclusion_Logexclusionname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusionName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteExclusionLogexclusionname() throws Exception { } } } -// [END logging_v2_generated_configclient_deleteexclusion_logexclusionname_sync] +// [END logging_v2_generated_Config_DeleteExclusion_Logexclusionname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionString.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionString.java index 83491e1cb9..8fc355ff88 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteexclusion/SyncDeleteExclusionString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteexclusion/SyncDeleteExclusionString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deleteexclusion_string_sync] +// [START logging_v2_generated_Config_DeleteExclusion_String_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusionName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteExclusionString() throws Exception { } } } -// [END logging_v2_generated_configclient_deleteexclusion_string_sync] +// [END logging_v2_generated_Config_DeleteExclusion_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/AsyncDeleteSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/AsyncDeleteSink.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/AsyncDeleteSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/AsyncDeleteSink.java index 1f50e2f00a..8eb8c5aa9a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/AsyncDeleteSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/AsyncDeleteSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deletesink_async] +// [START logging_v2_generated_Config_DeleteSink_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.DeleteSinkRequest; @@ -46,4 +46,4 @@ public static void asyncDeleteSink() throws Exception { } } } -// [END logging_v2_generated_configclient_deletesink_async] +// [END logging_v2_generated_Config_DeleteSink_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSink.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSink.java index 3f509965ad..4ddf4b4d74 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deletesink_sync] +// [START logging_v2_generated_Config_DeleteSink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.DeleteSinkRequest; import com.google.logging.v2.LogSinkName; @@ -43,4 +43,4 @@ public static void syncDeleteSink() throws Exception { } } } -// [END logging_v2_generated_configclient_deletesink_sync] +// [END logging_v2_generated_Config_DeleteSink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkLogsinkname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkLogsinkname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkLogsinkname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkLogsinkname.java index 98b7d0132e..5800d2bc8b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkLogsinkname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkLogsinkname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deletesink_logsinkname_sync] +// [START logging_v2_generated_Config_DeleteSink_Logsinkname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSinkName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteSinkLogsinkname() throws Exception { } } } -// [END logging_v2_generated_configclient_deletesink_logsinkname_sync] +// [END logging_v2_generated_Config_DeleteSink_Logsinkname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkString.java index b661f1dac6..461e1e00ce 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deletesink/SyncDeleteSinkString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deletesink/SyncDeleteSinkString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deletesink_string_sync] +// [START logging_v2_generated_Config_DeleteSink_String_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSinkName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteSinkString() throws Exception { } } } -// [END logging_v2_generated_configclient_deletesink_string_sync] +// [END logging_v2_generated_Config_DeleteSink_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/AsyncDeleteView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/AsyncDeleteView.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/AsyncDeleteView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/AsyncDeleteView.java index 7f6431c943..050edd8160 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/AsyncDeleteView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/AsyncDeleteView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deleteview_async] +// [START logging_v2_generated_Config_DeleteView_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.DeleteViewRequest; @@ -49,4 +49,4 @@ public static void asyncDeleteView() throws Exception { } } } -// [END logging_v2_generated_configclient_deleteview_async] +// [END logging_v2_generated_Config_DeleteView_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/SyncDeleteView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/SyncDeleteView.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/SyncDeleteView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/SyncDeleteView.java index 6b414f800d..b7be382fa1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/deleteview/SyncDeleteView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/deleteview/SyncDeleteView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_deleteview_sync] +// [START logging_v2_generated_Config_DeleteView_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.DeleteViewRequest; import com.google.logging.v2.LogViewName; @@ -46,4 +46,4 @@ public static void syncDeleteView() throws Exception { } } } -// [END logging_v2_generated_configclient_deleteview_sync] +// [END logging_v2_generated_Config_DeleteView_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/AsyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/AsyncGetBucket.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/AsyncGetBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/AsyncGetBucket.java index 6157506a15..b88c0bf58e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/AsyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/AsyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getbucket_async] +// [START logging_v2_generated_Config_GetBucket_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.GetBucketRequest; @@ -48,4 +48,4 @@ public static void asyncGetBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_getbucket_async] +// [END logging_v2_generated_Config_GetBucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/SyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/SyncGetBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/SyncGetBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/SyncGetBucket.java index 289ecd07cf..76f8f64dcd 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getbucket/SyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getbucket_sync] +// [START logging_v2_generated_Config_GetBucket_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.GetBucketRequest; import com.google.logging.v2.LogBucket; @@ -45,4 +45,4 @@ public static void syncGetBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_getbucket_sync] +// [END logging_v2_generated_Config_GetBucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/AsyncGetCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/AsyncGetCmekSettings.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/AsyncGetCmekSettings.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/AsyncGetCmekSettings.java index c5db5ddfa0..a1a38dbe27 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/AsyncGetCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/AsyncGetCmekSettings.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getcmeksettings_async] +// [START logging_v2_generated_Config_GetCmekSettings_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CmekSettings; @@ -46,4 +46,4 @@ public static void asyncGetCmekSettings() throws Exception { } } } -// [END logging_v2_generated_configclient_getcmeksettings_async] +// [END logging_v2_generated_Config_GetCmekSettings_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/SyncGetCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/SyncGetCmekSettings.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/SyncGetCmekSettings.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/SyncGetCmekSettings.java index ff80e74e33..cedb4e7bf4 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getcmeksettings/SyncGetCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getcmeksettings/SyncGetCmekSettings.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getcmeksettings_sync] +// [START logging_v2_generated_Config_GetCmekSettings_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CmekSettings; import com.google.logging.v2.CmekSettingsName; @@ -43,4 +43,4 @@ public static void syncGetCmekSettings() throws Exception { } } } -// [END logging_v2_generated_configclient_getcmeksettings_sync] +// [END logging_v2_generated_Config_GetCmekSettings_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/AsyncGetExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/AsyncGetExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/AsyncGetExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/AsyncGetExclusion.java index 05a03f2bfe..0915b1c70b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/AsyncGetExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/AsyncGetExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getexclusion_async] +// [START logging_v2_generated_Config_GetExclusion_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.GetExclusionRequest; @@ -47,4 +47,4 @@ public static void asyncGetExclusion() throws Exception { } } } -// [END logging_v2_generated_configclient_getexclusion_async] +// [END logging_v2_generated_Config_GetExclusion_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusion.java index 2eb5d880d6..3419efced1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getexclusion_sync] +// [START logging_v2_generated_Config_GetExclusion_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.GetExclusionRequest; import com.google.logging.v2.LogExclusion; @@ -44,4 +44,4 @@ public static void syncGetExclusion() throws Exception { } } } -// [END logging_v2_generated_configclient_getexclusion_sync] +// [END logging_v2_generated_Config_GetExclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionLogexclusionname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionLogexclusionname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionLogexclusionname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionLogexclusionname.java index 3820286ea5..42483f6648 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionLogexclusionname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionLogexclusionname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getexclusion_logexclusionname_sync] +// [START logging_v2_generated_Config_GetExclusion_Logexclusionname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.LogExclusionName; @@ -39,4 +39,4 @@ public static void syncGetExclusionLogexclusionname() throws Exception { } } } -// [END logging_v2_generated_configclient_getexclusion_logexclusionname_sync] +// [END logging_v2_generated_Config_GetExclusion_Logexclusionname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionString.java index e67d873b5d..07b2643c50 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getexclusion/SyncGetExclusionString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getexclusion/SyncGetExclusionString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getexclusion_string_sync] +// [START logging_v2_generated_Config_GetExclusion_String_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.LogExclusionName; @@ -39,4 +39,4 @@ public static void syncGetExclusionString() throws Exception { } } } -// [END logging_v2_generated_configclient_getexclusion_string_sync] +// [END logging_v2_generated_Config_GetExclusion_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/AsyncGetSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/AsyncGetSink.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/AsyncGetSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/AsyncGetSink.java index 423c78be9b..851a6d9460 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/AsyncGetSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/AsyncGetSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getsink_async] +// [START logging_v2_generated_Config_GetSink_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.GetSinkRequest; @@ -46,4 +46,4 @@ public static void asyncGetSink() throws Exception { } } } -// [END logging_v2_generated_configclient_getsink_async] +// [END logging_v2_generated_Config_GetSink_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSink.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSink.java index c29e05d6e3..6c39d0fe51 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getsink_sync] +// [START logging_v2_generated_Config_GetSink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.GetSinkRequest; import com.google.logging.v2.LogSink; @@ -43,4 +43,4 @@ public static void syncGetSink() throws Exception { } } } -// [END logging_v2_generated_configclient_getsink_sync] +// [END logging_v2_generated_Config_GetSink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkLogsinkname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkLogsinkname.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkLogsinkname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkLogsinkname.java index 358e9b90b7..3a4b4ff9d8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkLogsinkname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkLogsinkname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getsink_logsinkname_sync] +// [START logging_v2_generated_Config_GetSink_Logsinkname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.LogSinkName; @@ -39,4 +39,4 @@ public static void syncGetSinkLogsinkname() throws Exception { } } } -// [END logging_v2_generated_configclient_getsink_logsinkname_sync] +// [END logging_v2_generated_Config_GetSink_Logsinkname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkString.java index 24f09d1911..1221c48ce9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getsink/SyncGetSinkString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getsink/SyncGetSinkString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getsink_string_sync] +// [START logging_v2_generated_Config_GetSink_String_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.LogSinkName; @@ -39,4 +39,4 @@ public static void syncGetSinkString() throws Exception { } } } -// [END logging_v2_generated_configclient_getsink_string_sync] +// [END logging_v2_generated_Config_GetSink_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/AsyncGetView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/AsyncGetView.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/AsyncGetView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/AsyncGetView.java index d86f2b1b20..3bfc68cd76 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/AsyncGetView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/AsyncGetView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getview_async] +// [START logging_v2_generated_Config_GetView_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.GetViewRequest; @@ -49,4 +49,4 @@ public static void asyncGetView() throws Exception { } } } -// [END logging_v2_generated_configclient_getview_async] +// [END logging_v2_generated_Config_GetView_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/SyncGetView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/SyncGetView.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/SyncGetView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/SyncGetView.java index 21b1c6a56d..1c9e3010d7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/getview/SyncGetView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/getview/SyncGetView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_getview_sync] +// [START logging_v2_generated_Config_GetView_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.GetViewRequest; import com.google.logging.v2.LogView; @@ -46,4 +46,4 @@ public static void syncGetView() throws Exception { } } } -// [END logging_v2_generated_configclient_getview_sync] +// [END logging_v2_generated_Config_GetView_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBuckets.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBuckets.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBuckets.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBuckets.java index 5cb0f97bfe..f8de847d45 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBuckets.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBuckets.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listbuckets_async] +// [START logging_v2_generated_Config_ListBuckets_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.ListBucketsRequest; @@ -50,4 +50,4 @@ public static void asyncListBuckets() throws Exception { } } } -// [END logging_v2_generated_configclient_listbuckets_async] +// [END logging_v2_generated_Config_ListBuckets_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBucketsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBucketsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBucketsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBucketsPaged.java index fc067a503a..438dd1ab4f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/AsyncListBucketsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/AsyncListBucketsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listbuckets_paged_async] +// [START logging_v2_generated_Config_ListBuckets_Paged_async] import com.google.cloud.logging.v2.ConfigClient; import com.google.common.base.Strings; import com.google.logging.v2.ListBucketsRequest; @@ -58,4 +58,4 @@ public static void asyncListBucketsPaged() throws Exception { } } } -// [END logging_v2_generated_configclient_listbuckets_paged_async] +// [END logging_v2_generated_Config_ListBuckets_Paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBuckets.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBuckets.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBuckets.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBuckets.java index f9adc31ed0..1ceeba8e92 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBuckets.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBuckets.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listbuckets_sync] +// [START logging_v2_generated_Config_ListBuckets_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.ListBucketsRequest; import com.google.logging.v2.LocationName; @@ -47,4 +47,4 @@ public static void syncListBuckets() throws Exception { } } } -// [END logging_v2_generated_configclient_listbuckets_sync] +// [END logging_v2_generated_Config_ListBuckets_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsBillingaccountlocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsBillingaccountlocationname.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsBillingaccountlocationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsBillingaccountlocationname.java index fe18d0f88d..dc60676d8c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsBillingaccountlocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsBillingaccountlocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listbuckets_billingaccountlocationname_sync] +// [START logging_v2_generated_Config_ListBuckets_Billingaccountlocationname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.BillingAccountLocationName; import com.google.logging.v2.LogBucket; @@ -42,4 +42,4 @@ public static void syncListBucketsBillingaccountlocationname() throws Exception } } } -// [END logging_v2_generated_configclient_listbuckets_billingaccountlocationname_sync] +// [END logging_v2_generated_Config_ListBuckets_Billingaccountlocationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsFolderlocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsFolderlocationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsFolderlocationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsFolderlocationname.java index f0f250172e..08b69d8380 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsFolderlocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsFolderlocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listbuckets_folderlocationname_sync] +// [START logging_v2_generated_Config_ListBuckets_Folderlocationname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.FolderLocationName; import com.google.logging.v2.LogBucket; @@ -41,4 +41,4 @@ public static void syncListBucketsFolderlocationname() throws Exception { } } } -// [END logging_v2_generated_configclient_listbuckets_folderlocationname_sync] +// [END logging_v2_generated_Config_ListBuckets_Folderlocationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsLocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsLocationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsLocationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsLocationname.java index b00f3902e7..e7eef6601c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsLocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsLocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listbuckets_locationname_sync] +// [START logging_v2_generated_Config_ListBuckets_Locationname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LocationName; import com.google.logging.v2.LogBucket; @@ -41,4 +41,4 @@ public static void syncListBucketsLocationname() throws Exception { } } } -// [END logging_v2_generated_configclient_listbuckets_locationname_sync] +// [END logging_v2_generated_Config_ListBuckets_Locationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsOrganizationlocationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsOrganizationlocationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsOrganizationlocationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsOrganizationlocationname.java index d5ceef258d..80c27cb25c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsOrganizationlocationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsOrganizationlocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listbuckets_organizationlocationname_sync] +// [START logging_v2_generated_Config_ListBuckets_Organizationlocationname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogBucket; import com.google.logging.v2.OrganizationLocationName; @@ -41,4 +41,4 @@ public static void syncListBucketsOrganizationlocationname() throws Exception { } } } -// [END logging_v2_generated_configclient_listbuckets_organizationlocationname_sync] +// [END logging_v2_generated_Config_ListBuckets_Organizationlocationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsString.java index a8148fe4f0..3dc2e09663 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listbuckets/SyncListBucketsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listbuckets/SyncListBucketsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listbuckets_string_sync] +// [START logging_v2_generated_Config_ListBuckets_String_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LocationName; import com.google.logging.v2.LogBucket; @@ -41,4 +41,4 @@ public static void syncListBucketsString() throws Exception { } } } -// [END logging_v2_generated_configclient_listbuckets_string_sync] +// [END logging_v2_generated_Config_ListBuckets_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusions.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusions.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusions.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusions.java index dec620d85c..b5b751e512 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusions.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusions.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listexclusions_async] +// [START logging_v2_generated_Config_ListExclusions_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.ListExclusionsRequest; @@ -51,4 +51,4 @@ public static void asyncListExclusions() throws Exception { } } } -// [END logging_v2_generated_configclient_listexclusions_async] +// [END logging_v2_generated_Config_ListExclusions_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusionsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusionsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusionsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusionsPaged.java index bfe5d1fb3d..dcc315a987 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/AsyncListExclusionsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/AsyncListExclusionsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listexclusions_paged_async] +// [START logging_v2_generated_Config_ListExclusions_Paged_async] import com.google.cloud.logging.v2.ConfigClient; import com.google.common.base.Strings; import com.google.logging.v2.ListExclusionsRequest; @@ -58,4 +58,4 @@ public static void asyncListExclusionsPaged() throws Exception { } } } -// [END logging_v2_generated_configclient_listexclusions_paged_async] +// [END logging_v2_generated_Config_ListExclusions_Paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusions.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusions.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusions.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusions.java index c069af988b..50fcbb7413 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusions.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusions.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listexclusions_sync] +// [START logging_v2_generated_Config_ListExclusions_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.ListExclusionsRequest; import com.google.logging.v2.LogExclusion; @@ -47,4 +47,4 @@ public static void syncListExclusions() throws Exception { } } } -// [END logging_v2_generated_configclient_listexclusions_sync] +// [END logging_v2_generated_Config_ListExclusions_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsBillingaccountname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsBillingaccountname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsBillingaccountname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsBillingaccountname.java index e7ac9c19e1..9939428ec0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsBillingaccountname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsBillingaccountname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listexclusions_billingaccountname_sync] +// [START logging_v2_generated_Config_ListExclusions_Billingaccountname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.BillingAccountName; import com.google.logging.v2.LogExclusion; @@ -41,4 +41,4 @@ public static void syncListExclusionsBillingaccountname() throws Exception { } } } -// [END logging_v2_generated_configclient_listexclusions_billingaccountname_sync] +// [END logging_v2_generated_Config_ListExclusions_Billingaccountname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsFoldername.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsFoldername.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsFoldername.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsFoldername.java index 4c2f70e3e6..3008fc13a1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsFoldername.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsFoldername.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listexclusions_foldername_sync] +// [START logging_v2_generated_Config_ListExclusions_Foldername_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.FolderName; import com.google.logging.v2.LogExclusion; @@ -41,4 +41,4 @@ public static void syncListExclusionsFoldername() throws Exception { } } } -// [END logging_v2_generated_configclient_listexclusions_foldername_sync] +// [END logging_v2_generated_Config_ListExclusions_Foldername_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsOrganizationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsOrganizationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsOrganizationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsOrganizationname.java index 06ff515d5d..457259ff27 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsOrganizationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsOrganizationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listexclusions_organizationname_sync] +// [START logging_v2_generated_Config_ListExclusions_Organizationname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.OrganizationName; @@ -41,4 +41,4 @@ public static void syncListExclusionsOrganizationname() throws Exception { } } } -// [END logging_v2_generated_configclient_listexclusions_organizationname_sync] +// [END logging_v2_generated_Config_ListExclusions_Organizationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsProjectname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsProjectname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsProjectname.java index a71c637173..087d4e7241 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listexclusions_projectname_sync] +// [START logging_v2_generated_Config_ListExclusions_Projectname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.ProjectName; @@ -41,4 +41,4 @@ public static void syncListExclusionsProjectname() throws Exception { } } } -// [END logging_v2_generated_configclient_listexclusions_projectname_sync] +// [END logging_v2_generated_Config_ListExclusions_Projectname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsString.java index 780159346c..29eab9f45b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listexclusions/SyncListExclusionsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listexclusions/SyncListExclusionsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listexclusions_string_sync] +// [START logging_v2_generated_Config_ListExclusions_String_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.ProjectName; @@ -41,4 +41,4 @@ public static void syncListExclusionsString() throws Exception { } } } -// [END logging_v2_generated_configclient_listexclusions_string_sync] +// [END logging_v2_generated_Config_ListExclusions_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinks.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinks.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinks.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinks.java index 46a682b0c0..bf52d0e488 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinks.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinks.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listsinks_async] +// [START logging_v2_generated_Config_ListSinks_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.ListSinksRequest; @@ -50,4 +50,4 @@ public static void asyncListSinks() throws Exception { } } } -// [END logging_v2_generated_configclient_listsinks_async] +// [END logging_v2_generated_Config_ListSinks_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinksPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinksPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinksPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinksPaged.java index 93d3ff719c..66fc641d8b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/AsyncListSinksPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/AsyncListSinksPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listsinks_paged_async] +// [START logging_v2_generated_Config_ListSinks_Paged_async] import com.google.cloud.logging.v2.ConfigClient; import com.google.common.base.Strings; import com.google.logging.v2.ListSinksRequest; @@ -58,4 +58,4 @@ public static void asyncListSinksPaged() throws Exception { } } } -// [END logging_v2_generated_configclient_listsinks_paged_async] +// [END logging_v2_generated_Config_ListSinks_Paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinks.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinks.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinks.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinks.java index 64d444f784..28a7508ada 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinks.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinks.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listsinks_sync] +// [START logging_v2_generated_Config_ListSinks_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.ListSinksRequest; import com.google.logging.v2.LogSink; @@ -47,4 +47,4 @@ public static void syncListSinks() throws Exception { } } } -// [END logging_v2_generated_configclient_listsinks_sync] +// [END logging_v2_generated_Config_ListSinks_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksBillingaccountname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksBillingaccountname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksBillingaccountname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksBillingaccountname.java index c0dde5f359..f90b7ddf60 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksBillingaccountname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksBillingaccountname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listsinks_billingaccountname_sync] +// [START logging_v2_generated_Config_ListSinks_Billingaccountname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.BillingAccountName; import com.google.logging.v2.LogSink; @@ -41,4 +41,4 @@ public static void syncListSinksBillingaccountname() throws Exception { } } } -// [END logging_v2_generated_configclient_listsinks_billingaccountname_sync] +// [END logging_v2_generated_Config_ListSinks_Billingaccountname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksFoldername.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksFoldername.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksFoldername.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksFoldername.java index 797aa9ab66..ac9330d556 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksFoldername.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksFoldername.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listsinks_foldername_sync] +// [START logging_v2_generated_Config_ListSinks_Foldername_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.FolderName; import com.google.logging.v2.LogSink; @@ -41,4 +41,4 @@ public static void syncListSinksFoldername() throws Exception { } } } -// [END logging_v2_generated_configclient_listsinks_foldername_sync] +// [END logging_v2_generated_Config_ListSinks_Foldername_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksOrganizationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksOrganizationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksOrganizationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksOrganizationname.java index a6f77fb803..110aff10e2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksOrganizationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksOrganizationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listsinks_organizationname_sync] +// [START logging_v2_generated_Config_ListSinks_Organizationname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.OrganizationName; @@ -41,4 +41,4 @@ public static void syncListSinksOrganizationname() throws Exception { } } } -// [END logging_v2_generated_configclient_listsinks_organizationname_sync] +// [END logging_v2_generated_Config_ListSinks_Organizationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksProjectname.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksProjectname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksProjectname.java index 345a523d78..991cf621c6 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listsinks_projectname_sync] +// [START logging_v2_generated_Config_ListSinks_Projectname_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.ProjectName; @@ -41,4 +41,4 @@ public static void syncListSinksProjectname() throws Exception { } } } -// [END logging_v2_generated_configclient_listsinks_projectname_sync] +// [END logging_v2_generated_Config_ListSinks_Projectname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksString.java index be0f4d5962..251b54b9cd 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listsinks/SyncListSinksString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listsinks/SyncListSinksString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listsinks_string_sync] +// [START logging_v2_generated_Config_ListSinks_String_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.ProjectName; @@ -41,4 +41,4 @@ public static void syncListSinksString() throws Exception { } } } -// [END logging_v2_generated_configclient_listsinks_string_sync] +// [END logging_v2_generated_Config_ListSinks_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViews.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViews.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViews.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViews.java index d864049690..5063a7df09 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViews.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViews.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listviews_async] +// [START logging_v2_generated_Config_ListViews_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.ListViewsRequest; @@ -49,4 +49,4 @@ public static void asyncListViews() throws Exception { } } } -// [END logging_v2_generated_configclient_listviews_async] +// [END logging_v2_generated_Config_ListViews_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViewsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViewsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViewsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViewsPaged.java index 1128e0c953..8e2b30f750 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/AsyncListViewsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/AsyncListViewsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listviews_paged_async] +// [START logging_v2_generated_Config_ListViews_Paged_async] import com.google.cloud.logging.v2.ConfigClient; import com.google.common.base.Strings; import com.google.logging.v2.ListViewsRequest; @@ -57,4 +57,4 @@ public static void asyncListViewsPaged() throws Exception { } } } -// [END logging_v2_generated_configclient_listviews_paged_async] +// [END logging_v2_generated_Config_ListViews_Paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViews.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViews.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViews.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViews.java index 952e9a693b..65ab409b36 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViews.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViews.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listviews_sync] +// [START logging_v2_generated_Config_ListViews_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.ListViewsRequest; import com.google.logging.v2.LogView; @@ -46,4 +46,4 @@ public static void syncListViews() throws Exception { } } } -// [END logging_v2_generated_configclient_listviews_sync] +// [END logging_v2_generated_Config_ListViews_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViewsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViewsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViewsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViewsString.java index 8823b13a83..90d4eb7a3f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/listviews/SyncListViewsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/listviews/SyncListViewsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_listviews_string_sync] +// [START logging_v2_generated_Config_ListViews_String_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogView; @@ -40,4 +40,4 @@ public static void syncListViewsString() throws Exception { } } } -// [END logging_v2_generated_configclient_listviews_string_sync] +// [END logging_v2_generated_Config_ListViews_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/AsyncUndeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/AsyncUndeleteBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/AsyncUndeleteBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/AsyncUndeleteBucket.java index 3ce4cbddee..4ac4f21600 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/AsyncUndeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/AsyncUndeleteBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_undeletebucket_async] +// [START logging_v2_generated_Config_UndeleteBucket_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogBucketName; @@ -48,4 +48,4 @@ public static void asyncUndeleteBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_undeletebucket_async] +// [END logging_v2_generated_Config_UndeleteBucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/SyncUndeleteBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/SyncUndeleteBucket.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/SyncUndeleteBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/SyncUndeleteBucket.java index 084e5535f4..a6d397c7bb 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/undeletebucket/SyncUndeleteBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/undeletebucket/SyncUndeleteBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_undeletebucket_sync] +// [START logging_v2_generated_Config_UndeleteBucket_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogBucketName; import com.google.logging.v2.UndeleteBucketRequest; @@ -45,4 +45,4 @@ public static void syncUndeleteBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_undeletebucket_sync] +// [END logging_v2_generated_Config_UndeleteBucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/AsyncUpdateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/AsyncUpdateBucket.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/AsyncUpdateBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/AsyncUpdateBucket.java index 0f0c1b04be..2bdf045fef 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/AsyncUpdateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/AsyncUpdateBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatebucket_async] +// [START logging_v2_generated_Config_UpdateBucket_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogBucket; @@ -51,4 +51,4 @@ public static void asyncUpdateBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_updatebucket_async] +// [END logging_v2_generated_Config_UpdateBucket_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/SyncUpdateBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/SyncUpdateBucket.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/SyncUpdateBucket.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/SyncUpdateBucket.java index dc2a527241..6bc0a81437 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatebucket/SyncUpdateBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatebucket/SyncUpdateBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatebucket_sync] +// [START logging_v2_generated_Config_UpdateBucket_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogBucket; import com.google.logging.v2.LogBucketName; @@ -48,4 +48,4 @@ public static void syncUpdateBucket() throws Exception { } } } -// [END logging_v2_generated_configclient_updatebucket_sync] +// [END logging_v2_generated_Config_UpdateBucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/AsyncUpdateCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/AsyncUpdateCmekSettings.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/AsyncUpdateCmekSettings.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/AsyncUpdateCmekSettings.java index 7dbb0368ce..075afc71d9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/AsyncUpdateCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/AsyncUpdateCmekSettings.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatecmeksettings_async] +// [START logging_v2_generated_Config_UpdateCmekSettings_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CmekSettings; @@ -49,4 +49,4 @@ public static void asyncUpdateCmekSettings() throws Exception { } } } -// [END logging_v2_generated_configclient_updatecmeksettings_async] +// [END logging_v2_generated_Config_UpdateCmekSettings_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/SyncUpdateCmekSettings.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/SyncUpdateCmekSettings.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/SyncUpdateCmekSettings.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/SyncUpdateCmekSettings.java index d3792e3208..066db0f221 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatecmeksettings/SyncUpdateCmekSettings.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatecmeksettings/SyncUpdateCmekSettings.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatecmeksettings_sync] +// [START logging_v2_generated_Config_UpdateCmekSettings_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.CmekSettings; import com.google.logging.v2.UpdateCmekSettingsRequest; @@ -45,4 +45,4 @@ public static void syncUpdateCmekSettings() throws Exception { } } } -// [END logging_v2_generated_configclient_updatecmeksettings_sync] +// [END logging_v2_generated_Config_UpdateCmekSettings_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/AsyncUpdateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/AsyncUpdateExclusion.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/AsyncUpdateExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/AsyncUpdateExclusion.java index e55d0d0fe9..e2c794e348 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/AsyncUpdateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/AsyncUpdateExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updateexclusion_async] +// [START logging_v2_generated_Config_UpdateExclusion_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; @@ -50,4 +50,4 @@ public static void asyncUpdateExclusion() throws Exception { } } } -// [END logging_v2_generated_configclient_updateexclusion_async] +// [END logging_v2_generated_Config_UpdateExclusion_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusion.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusion.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusion.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusion.java index 1db3dc488a..635ae3138a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusion.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusion.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updateexclusion_sync] +// [START logging_v2_generated_Config_UpdateExclusion_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.LogExclusionName; @@ -47,4 +47,4 @@ public static void syncUpdateExclusion() throws Exception { } } } -// [END logging_v2_generated_configclient_updateexclusion_sync] +// [END logging_v2_generated_Config_UpdateExclusion_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java index 78a1e5a986..019d31b844 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionLogexclusionnameLogexclusionFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updateexclusion_logexclusionnamelogexclusionfieldmask_sync] +// [START logging_v2_generated_Config_UpdateExclusion_LogexclusionnameLogexclusionFieldmask_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.LogExclusionName; @@ -42,4 +42,4 @@ public static void syncUpdateExclusionLogexclusionnameLogexclusionFieldmask() th } } } -// [END logging_v2_generated_configclient_updateexclusion_logexclusionnamelogexclusionfieldmask_sync] +// [END logging_v2_generated_Config_UpdateExclusion_LogexclusionnameLogexclusionFieldmask_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java index 75c16f8cae..0382f5dd3c 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateexclusion/SyncUpdateExclusionStringLogexclusionFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updateexclusion_stringlogexclusionfieldmask_sync] +// [START logging_v2_generated_Config_UpdateExclusion_StringLogexclusionFieldmask_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogExclusion; import com.google.logging.v2.LogExclusionName; @@ -42,4 +42,4 @@ public static void syncUpdateExclusionStringLogexclusionFieldmask() throws Excep } } } -// [END logging_v2_generated_configclient_updateexclusion_stringlogexclusionfieldmask_sync] +// [END logging_v2_generated_Config_UpdateExclusion_StringLogexclusionFieldmask_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/AsyncUpdateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/AsyncUpdateSink.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/AsyncUpdateSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/AsyncUpdateSink.java index 7fcf0bdf1c..ab63f731ff 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/AsyncUpdateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/AsyncUpdateSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatesink_async] +// [START logging_v2_generated_Config_UpdateSink_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; @@ -50,4 +50,4 @@ public static void asyncUpdateSink() throws Exception { } } } -// [END logging_v2_generated_configclient_updatesink_async] +// [END logging_v2_generated_Config_UpdateSink_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSink.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSink.java index 7c8807c8af..a642e8af7f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatesink_sync] +// [START logging_v2_generated_Config_UpdateSink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.LogSinkName; @@ -47,4 +47,4 @@ public static void syncUpdateSink() throws Exception { } } } -// [END logging_v2_generated_configclient_updatesink_sync] +// [END logging_v2_generated_Config_UpdateSink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsink.java index 78a81f8937..8a6d30e840 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatesink_logsinknamelogsink_sync] +// [START logging_v2_generated_Config_UpdateSink_LogsinknameLogsink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.LogSinkName; @@ -40,4 +40,4 @@ public static void syncUpdateSinkLogsinknameLogsink() throws Exception { } } } -// [END logging_v2_generated_configclient_updatesink_logsinknamelogsink_sync] +// [END logging_v2_generated_Config_UpdateSink_LogsinknameLogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java index e06b9c774c..32323d55d3 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkLogsinknameLogsinkFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatesink_logsinknamelogsinkfieldmask_sync] +// [START logging_v2_generated_Config_UpdateSink_LogsinknameLogsinkFieldmask_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.LogSinkName; @@ -42,4 +42,4 @@ public static void syncUpdateSinkLogsinknameLogsinkFieldmask() throws Exception } } } -// [END logging_v2_generated_configclient_updatesink_logsinknamelogsinkfieldmask_sync] +// [END logging_v2_generated_Config_UpdateSink_LogsinknameLogsinkFieldmask_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsink.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsink.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsink.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsink.java index 86cc0f5b95..8e7effd922 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsink.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsink.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatesink_stringlogsink_sync] +// [START logging_v2_generated_Config_UpdateSink_StringLogsink_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.LogSinkName; @@ -40,4 +40,4 @@ public static void syncUpdateSinkStringLogsink() throws Exception { } } } -// [END logging_v2_generated_configclient_updatesink_stringlogsink_sync] +// [END logging_v2_generated_Config_UpdateSink_StringLogsink_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java index b7f8f65122..1c7601f9e8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updatesink/SyncUpdateSinkStringLogsinkFieldmask.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updatesink_stringlogsinkfieldmask_sync] +// [START logging_v2_generated_Config_UpdateSink_StringLogsinkFieldmask_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogSink; import com.google.logging.v2.LogSinkName; @@ -42,4 +42,4 @@ public static void syncUpdateSinkStringLogsinkFieldmask() throws Exception { } } } -// [END logging_v2_generated_configclient_updatesink_stringlogsinkfieldmask_sync] +// [END logging_v2_generated_Config_UpdateSink_StringLogsinkFieldmask_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/AsyncUpdateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/AsyncUpdateView.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/AsyncUpdateView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/AsyncUpdateView.java index 3f0daf24c3..d184350a61 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/AsyncUpdateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/AsyncUpdateView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updateview_async] +// [START logging_v2_generated_Config_UpdateView_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogView; @@ -48,4 +48,4 @@ public static void asyncUpdateView() throws Exception { } } } -// [END logging_v2_generated_configclient_updateview_async] +// [END logging_v2_generated_Config_UpdateView_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/SyncUpdateView.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/SyncUpdateView.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/SyncUpdateView.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/SyncUpdateView.java index d1d3117133..de3ed279b0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configclient/updateview/SyncUpdateView.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/config/updateview/SyncUpdateView.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configclient_updateview_sync] +// [START logging_v2_generated_Config_UpdateView_sync] import com.google.cloud.logging.v2.ConfigClient; import com.google.logging.v2.LogView; import com.google.logging.v2.UpdateViewRequest; @@ -45,4 +45,4 @@ public static void syncUpdateView() throws Exception { } } } -// [END logging_v2_generated_configclient_updateview_sync] +// [END logging_v2_generated_Config_UpdateView_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configsettings/getbucket/SyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configsettings/getbucket/SyncGetBucket.java index 53cfac1f8f..4ce5011311 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configsettings/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/configsettings/getbucket/SyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_configsettings_getbucket_sync] +// [START logging_v2_generated_ConfigSettings_GetBucket_sync] import com.google.cloud.logging.v2.ConfigSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncGetBucket() throws Exception { ConfigSettings configSettings = configSettingsBuilder.build(); } } -// [END logging_v2_generated_configsettings_getbucket_sync] +// [END logging_v2_generated_ConfigSettings_GetBucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetCredentialsProvider.java index 1e0aca6062..d3e7fce859 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_create_setcredentialsprovider_sync] +// [START logging_v2_generated_Logging_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.logging.v2.LoggingClient; import com.google.cloud.logging.v2.LoggingSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { LoggingClient loggingClient = LoggingClient.create(loggingSettings); } } -// [END logging_v2_generated_loggingclient_create_setcredentialsprovider_sync] +// [END logging_v2_generated_Logging_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetEndpoint.java index 22c45b6a90..cc7769f0b0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_create_setendpoint_sync] +// [START logging_v2_generated_Logging_Create_SetEndpoint_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.cloud.logging.v2.LoggingSettings; import com.google.cloud.logging.v2.myEndpoint; @@ -37,4 +37,4 @@ public static void syncCreateSetEndpoint() throws Exception { LoggingClient loggingClient = LoggingClient.create(loggingSettings); } } -// [END logging_v2_generated_loggingclient_create_setendpoint_sync] +// [END logging_v2_generated_Logging_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/AsyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/AsyncDeleteLog.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/AsyncDeleteLog.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/AsyncDeleteLog.java index 0c04352731..65dfbf6fc4 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/AsyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/AsyncDeleteLog.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_deletelog_async] +// [START logging_v2_generated_Logging_DeleteLog_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.DeleteLogRequest; @@ -46,4 +46,4 @@ public static void asyncDeleteLog() throws Exception { } } } -// [END logging_v2_generated_loggingclient_deletelog_async] +// [END logging_v2_generated_Logging_DeleteLog_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLog.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLog.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLog.java index 92d383e7cb..f58e35379b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLog.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_deletelog_sync] +// [START logging_v2_generated_Logging_DeleteLog_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.DeleteLogRequest; import com.google.logging.v2.LogName; @@ -43,4 +43,4 @@ public static void syncDeleteLog() throws Exception { } } } -// [END logging_v2_generated_loggingclient_deletelog_sync] +// [END logging_v2_generated_Logging_DeleteLog_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogLogname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogLogname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogLogname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogLogname.java index 6a76c31d20..c12ea2f593 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogLogname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogLogname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_deletelog_logname_sync] +// [START logging_v2_generated_Logging_DeleteLog_Logname_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.LogName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteLogLogname() throws Exception { } } } -// [END logging_v2_generated_loggingclient_deletelog_logname_sync] +// [END logging_v2_generated_Logging_DeleteLog_Logname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogString.java index 65d291b1bc..fe86078e27 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/deletelog/SyncDeleteLogString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/deletelog/SyncDeleteLogString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_deletelog_string_sync] +// [START logging_v2_generated_Logging_DeleteLog_String_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.LogName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteLogString() throws Exception { } } } -// [END logging_v2_generated_loggingclient_deletelog_string_sync] +// [END logging_v2_generated_Logging_DeleteLog_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntries.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntries.java index c169336b22..ef5d7e8ccb 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogentries_async] +// [START logging_v2_generated_Logging_ListLogEntries_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.ListLogEntriesRequest; @@ -52,4 +52,4 @@ public static void asyncListLogEntries() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogentries_async] +// [END logging_v2_generated_Logging_ListLogEntries_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntriesPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntriesPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntriesPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntriesPaged.java index 311f40bbd9..2bfb1b6c3f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/AsyncListLogEntriesPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/AsyncListLogEntriesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogentries_paged_async] +// [START logging_v2_generated_Logging_ListLogEntries_Paged_async] import com.google.cloud.logging.v2.LoggingClient; import com.google.common.base.Strings; import com.google.logging.v2.ListLogEntriesRequest; @@ -60,4 +60,4 @@ public static void asyncListLogEntriesPaged() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogentries_paged_async] +// [END logging_v2_generated_Logging_ListLogEntries_Paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntries.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntries.java index e8b582e400..94861f9571 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogentries_sync] +// [START logging_v2_generated_Logging_ListLogEntries_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.ListLogEntriesRequest; import com.google.logging.v2.LogEntry; @@ -49,4 +49,4 @@ public static void syncListLogEntries() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogentries_sync] +// [END logging_v2_generated_Logging_ListLogEntries_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntriesListstringStringString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntriesListstringStringString.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntriesListstringStringString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntriesListstringStringString.java index 1bcaaf470e..94ce4dac9a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogentries/SyncListLogEntriesListstringStringString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogentries/SyncListLogEntriesListstringStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogentries_liststringstringstring_sync] +// [START logging_v2_generated_Logging_ListLogEntries_ListstringStringString_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.LogEntry; import java.util.ArrayList; @@ -45,4 +45,4 @@ public static void syncListLogEntriesListstringStringString() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogentries_liststringstringstring_sync] +// [END logging_v2_generated_Logging_ListLogEntries_ListstringStringString_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogs.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogs.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogs.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogs.java index bc7e1709c3..6152c9cb13 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogs.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogs.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogs_async] +// [START logging_v2_generated_Logging_ListLogs_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.ListLogsRequest; @@ -51,4 +51,4 @@ public static void asyncListLogs() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogs_async] +// [END logging_v2_generated_Logging_ListLogs_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogsPaged.java index 18e4bd70d9..e2b6c24eab 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/AsyncListLogsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/AsyncListLogsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogs_paged_async] +// [START logging_v2_generated_Logging_ListLogs_Paged_async] import com.google.cloud.logging.v2.LoggingClient; import com.google.common.base.Strings; import com.google.logging.v2.ListLogsRequest; @@ -59,4 +59,4 @@ public static void asyncListLogsPaged() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogs_paged_async] +// [END logging_v2_generated_Logging_ListLogs_Paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogs.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogs.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogs.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogs.java index 141b91f95f..ad9b101fe9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogs.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogs.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogs_sync] +// [START logging_v2_generated_Logging_ListLogs_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.ListLogsRequest; import com.google.logging.v2.ProjectName; @@ -48,4 +48,4 @@ public static void syncListLogs() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogs_sync] +// [END logging_v2_generated_Logging_ListLogs_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsBillingaccountname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsBillingaccountname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsBillingaccountname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsBillingaccountname.java index ca034d54fb..ea94e648b7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsBillingaccountname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsBillingaccountname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogs_billingaccountname_sync] +// [START logging_v2_generated_Logging_ListLogs_Billingaccountname_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.BillingAccountName; @@ -40,4 +40,4 @@ public static void syncListLogsBillingaccountname() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogs_billingaccountname_sync] +// [END logging_v2_generated_Logging_ListLogs_Billingaccountname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsFoldername.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsFoldername.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsFoldername.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsFoldername.java index 07aec77925..97385d41dc 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsFoldername.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsFoldername.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogs_foldername_sync] +// [START logging_v2_generated_Logging_ListLogs_Foldername_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.FolderName; @@ -40,4 +40,4 @@ public static void syncListLogsFoldername() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogs_foldername_sync] +// [END logging_v2_generated_Logging_ListLogs_Foldername_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsOrganizationname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsOrganizationname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsOrganizationname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsOrganizationname.java index ac63a26b68..f217a490ab 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsOrganizationname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsOrganizationname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogs_organizationname_sync] +// [START logging_v2_generated_Logging_ListLogs_Organizationname_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.OrganizationName; @@ -40,4 +40,4 @@ public static void syncListLogsOrganizationname() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogs_organizationname_sync] +// [END logging_v2_generated_Logging_ListLogs_Organizationname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsProjectname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsProjectname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsProjectname.java index 4ce1d9fe0b..baeac438a0 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogs_projectname_sync] +// [START logging_v2_generated_Logging_ListLogs_Projectname_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.ProjectName; @@ -40,4 +40,4 @@ public static void syncListLogsProjectname() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogs_projectname_sync] +// [END logging_v2_generated_Logging_ListLogs_Projectname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsString.java index 99b9cb3437..343ea0797d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listlogs/SyncListLogsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listlogs/SyncListLogsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listlogs_string_sync] +// [START logging_v2_generated_Logging_ListLogs_String_sync] import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.ProjectName; @@ -40,4 +40,4 @@ public static void syncListLogsString() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listlogs_string_sync] +// [END logging_v2_generated_Logging_ListLogs_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java index a24c719686..0393705c87 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptors.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listmonitoredresourcedescriptors_async] +// [START logging_v2_generated_Logging_ListMonitoredResourceDescriptors_async] import com.google.api.MonitoredResourceDescriptor; import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.LoggingClient; @@ -49,4 +49,4 @@ public static void asyncListMonitoredResourceDescriptors() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listmonitoredresourcedescriptors_async] +// [END logging_v2_generated_Logging_ListMonitoredResourceDescriptors_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java index 389ac1437d..a60e62e53f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/AsyncListMonitoredResourceDescriptorsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listmonitoredresourcedescriptors_paged_async] +// [START logging_v2_generated_Logging_ListMonitoredResourceDescriptors_Paged_async] import com.google.api.MonitoredResourceDescriptor; import com.google.cloud.logging.v2.LoggingClient; import com.google.common.base.Strings; @@ -57,4 +57,4 @@ public static void asyncListMonitoredResourceDescriptorsPaged() throws Exception } } } -// [END logging_v2_generated_loggingclient_listmonitoredresourcedescriptors_paged_async] +// [END logging_v2_generated_Logging_ListMonitoredResourceDescriptors_Paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java index 10f2bd95d2..0240d0ae20 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/listmonitoredresourcedescriptors/SyncListMonitoredResourceDescriptors.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_listmonitoredresourcedescriptors_sync] +// [START logging_v2_generated_Logging_ListMonitoredResourceDescriptors_sync] import com.google.api.MonitoredResourceDescriptor; import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.ListMonitoredResourceDescriptorsRequest; @@ -46,4 +46,4 @@ public static void syncListMonitoredResourceDescriptors() throws Exception { } } } -// [END logging_v2_generated_loggingclient_listmonitoredresourcedescriptors_sync] +// [END logging_v2_generated_Logging_ListMonitoredResourceDescriptors_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/taillogentries/AsyncTailLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/taillogentries/AsyncTailLogEntries.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/taillogentries/AsyncTailLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/taillogentries/AsyncTailLogEntries.java index 11ad1e4b8a..04500ea8a9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/taillogentries/AsyncTailLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/taillogentries/AsyncTailLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_taillogentries_async] +// [START logging_v2_generated_Logging_TailLogEntries_async] import com.google.api.gax.rpc.BidiStream; import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.TailLogEntriesRequest; @@ -52,4 +52,4 @@ public static void asyncTailLogEntries() throws Exception { } } } -// [END logging_v2_generated_loggingclient_taillogentries_async] +// [END logging_v2_generated_Logging_TailLogEntries_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/AsyncWriteLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/AsyncWriteLogEntries.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/AsyncWriteLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/AsyncWriteLogEntries.java index 9669ae5aa9..b8aac8db89 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/AsyncWriteLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/AsyncWriteLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_writelogentries_async] +// [START logging_v2_generated_Logging_WriteLogEntries_async] import com.google.api.MonitoredResource; import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.LoggingClient; @@ -56,4 +56,4 @@ public static void asyncWriteLogEntries() throws Exception { } } } -// [END logging_v2_generated_loggingclient_writelogentries_async] +// [END logging_v2_generated_Logging_WriteLogEntries_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntries.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntries.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntries.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntries.java index 034a50c322..649f1366b9 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntries.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntries.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_writelogentries_sync] +// [START logging_v2_generated_Logging_WriteLogEntries_sync] import com.google.api.MonitoredResource; import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.LogEntry; @@ -52,4 +52,4 @@ public static void syncWriteLogEntries() throws Exception { } } } -// [END logging_v2_generated_loggingclient_writelogentries_sync] +// [END logging_v2_generated_Logging_WriteLogEntries_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java index b122e0ca59..65ba673580 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesLognameMonitoredresourceMapstringstringListlogentry.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_writelogentries_lognamemonitoredresourcemapstringstringlistlogentry_sync] +// [START logging_v2_generated_Logging_WriteLogEntries_LognameMonitoredresourceMapstringstringListlogentry_sync] import com.google.api.MonitoredResource; import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.LogEntry; @@ -50,4 +50,4 @@ public static void syncWriteLogEntriesLognameMonitoredresourceMapstringstringLis } } } -// [END logging_v2_generated_loggingclient_writelogentries_lognamemonitoredresourcemapstringstringlistlogentry_sync] +// [END logging_v2_generated_Logging_WriteLogEntries_LognameMonitoredresourceMapstringstringListlogentry_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java index 90432747f1..d69e7f5f35 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingclient/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/logging/writelogentries/SyncWriteLogEntriesStringMonitoredresourceMapstringstringListlogentry.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingclient_writelogentries_stringmonitoredresourcemapstringstringlistlogentry_sync] +// [START logging_v2_generated_Logging_WriteLogEntries_StringMonitoredresourceMapstringstringListlogentry_sync] import com.google.api.MonitoredResource; import com.google.cloud.logging.v2.LoggingClient; import com.google.logging.v2.LogEntry; @@ -50,4 +50,4 @@ public static void syncWriteLogEntriesStringMonitoredresourceMapstringstringList } } } -// [END logging_v2_generated_loggingclient_writelogentries_stringmonitoredresourcemapstringstringlistlogentry_sync] +// [END logging_v2_generated_Logging_WriteLogEntries_StringMonitoredresourceMapstringstringListlogentry_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingsettings/deletelog/SyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingsettings/deletelog/SyncDeleteLog.java index 0eeb1e8ec1..11841688ba 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingsettings/deletelog/SyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/loggingsettings/deletelog/SyncDeleteLog.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_loggingsettings_deletelog_sync] +// [START logging_v2_generated_LoggingSettings_DeleteLog_sync] import com.google.cloud.logging.v2.LoggingSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncDeleteLog() throws Exception { LoggingSettings loggingSettings = loggingSettingsBuilder.build(); } } -// [END logging_v2_generated_loggingsettings_deletelog_sync] +// [END logging_v2_generated_LoggingSettings_DeleteLog_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetCredentialsProvider.java index 4a7fad7c9c..2b202407d3 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_create_setcredentialsprovider_sync] +// [START logging_v2_generated_Metrics_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.logging.v2.MetricsClient; import com.google.cloud.logging.v2.MetricsSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { MetricsClient metricsClient = MetricsClient.create(metricsSettings); } } -// [END logging_v2_generated_metricsclient_create_setcredentialsprovider_sync] +// [END logging_v2_generated_Metrics_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetEndpoint.java index f619e9fcd8..74cba5dfc8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_create_setendpoint_sync] +// [START logging_v2_generated_Metrics_Create_SetEndpoint_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.cloud.logging.v2.MetricsSettings; import com.google.cloud.logging.v2.myEndpoint; @@ -37,4 +37,4 @@ public static void syncCreateSetEndpoint() throws Exception { MetricsClient metricsClient = MetricsClient.create(metricsSettings); } } -// [END logging_v2_generated_metricsclient_create_setendpoint_sync] +// [END logging_v2_generated_Metrics_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/AsyncCreateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/AsyncCreateLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/AsyncCreateLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/AsyncCreateLogMetric.java index 4bd3ba3186..bedd6dc546 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/AsyncCreateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/AsyncCreateLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_createlogmetric_async] +// [START logging_v2_generated_Metrics_CreateLogMetric_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.CreateLogMetricRequest; @@ -47,4 +47,4 @@ public static void asyncCreateLogMetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_createlogmetric_async] +// [END logging_v2_generated_Metrics_CreateLogMetric_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetric.java index a88b849b70..f8fd7a6882 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_createlogmetric_sync] +// [START logging_v2_generated_Metrics_CreateLogMetric_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.CreateLogMetricRequest; import com.google.logging.v2.LogMetric; @@ -44,4 +44,4 @@ public static void syncCreateLogMetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_createlogmetric_sync] +// [END logging_v2_generated_Metrics_CreateLogMetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java index abe243b3ce..25844b26af 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricProjectnameLogmetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_createlogmetric_projectnamelogmetric_sync] +// [START logging_v2_generated_Metrics_CreateLogMetric_ProjectnameLogmetric_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; import com.google.logging.v2.ProjectName; @@ -40,4 +40,4 @@ public static void syncCreateLogMetricProjectnameLogmetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_createlogmetric_projectnamelogmetric_sync] +// [END logging_v2_generated_Metrics_CreateLogMetric_ProjectnameLogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricStringLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricStringLogmetric.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricStringLogmetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricStringLogmetric.java index 7c6ae95efa..0f3b22f116 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/createlogmetric/SyncCreateLogMetricStringLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/createlogmetric/SyncCreateLogMetricStringLogmetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_createlogmetric_stringlogmetric_sync] +// [START logging_v2_generated_Metrics_CreateLogMetric_StringLogmetric_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; import com.google.logging.v2.ProjectName; @@ -40,4 +40,4 @@ public static void syncCreateLogMetricStringLogmetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_createlogmetric_stringlogmetric_sync] +// [END logging_v2_generated_Metrics_CreateLogMetric_StringLogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/AsyncDeleteLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/AsyncDeleteLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/AsyncDeleteLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/AsyncDeleteLogMetric.java index aeaaa68a98..fabe228bf2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/AsyncDeleteLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/AsyncDeleteLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_deletelogmetric_async] +// [START logging_v2_generated_Metrics_DeleteLogMetric_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.DeleteLogMetricRequest; @@ -46,4 +46,4 @@ public static void asyncDeleteLogMetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_deletelogmetric_async] +// [END logging_v2_generated_Metrics_DeleteLogMetric_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetric.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetric.java index 246790429f..5130f428fa 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_deletelogmetric_sync] +// [START logging_v2_generated_Metrics_DeleteLogMetric_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.DeleteLogMetricRequest; import com.google.logging.v2.LogMetricName; @@ -43,4 +43,4 @@ public static void syncDeleteLogMetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_deletelogmetric_sync] +// [END logging_v2_generated_Metrics_DeleteLogMetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricLogmetricname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricLogmetricname.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricLogmetricname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricLogmetricname.java index 46b6b255ff..a512881e8f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricLogmetricname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricLogmetricname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_deletelogmetric_logmetricname_sync] +// [START logging_v2_generated_Metrics_DeleteLogMetric_Logmetricname_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetricName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteLogMetricLogmetricname() throws Exception { } } } -// [END logging_v2_generated_metricsclient_deletelogmetric_logmetricname_sync] +// [END logging_v2_generated_Metrics_DeleteLogMetric_Logmetricname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricString.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricString.java index 8cb923cf77..ac60ed04e7 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/deletelogmetric/SyncDeleteLogMetricString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/deletelogmetric/SyncDeleteLogMetricString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_deletelogmetric_string_sync] +// [START logging_v2_generated_Metrics_DeleteLogMetric_String_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetricName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteLogMetricString() throws Exception { } } } -// [END logging_v2_generated_metricsclient_deletelogmetric_string_sync] +// [END logging_v2_generated_Metrics_DeleteLogMetric_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/AsyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/AsyncGetLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/AsyncGetLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/AsyncGetLogMetric.java index b7db353cf2..32808dc48b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/AsyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/AsyncGetLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_getlogmetric_async] +// [START logging_v2_generated_Metrics_GetLogMetric_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.GetLogMetricRequest; @@ -46,4 +46,4 @@ public static void asyncGetLogMetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_getlogmetric_async] +// [END logging_v2_generated_Metrics_GetLogMetric_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetric.java index a9970e2b40..b73437233f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_getlogmetric_sync] +// [START logging_v2_generated_Metrics_GetLogMetric_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.GetLogMetricRequest; import com.google.logging.v2.LogMetric; @@ -43,4 +43,4 @@ public static void syncGetLogMetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_getlogmetric_sync] +// [END logging_v2_generated_Metrics_GetLogMetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricLogmetricname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricLogmetricname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricLogmetricname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricLogmetricname.java index d2c15e1c46..9fe81972fb 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricLogmetricname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricLogmetricname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_getlogmetric_logmetricname_sync] +// [START logging_v2_generated_Metrics_GetLogMetric_Logmetricname_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; import com.google.logging.v2.LogMetricName; @@ -39,4 +39,4 @@ public static void syncGetLogMetricLogmetricname() throws Exception { } } } -// [END logging_v2_generated_metricsclient_getlogmetric_logmetricname_sync] +// [END logging_v2_generated_Metrics_GetLogMetric_Logmetricname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricString.java index da9854a0df..49336d172d 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/getlogmetric/SyncGetLogMetricString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/getlogmetric/SyncGetLogMetricString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_getlogmetric_string_sync] +// [START logging_v2_generated_Metrics_GetLogMetric_String_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; import com.google.logging.v2.LogMetricName; @@ -39,4 +39,4 @@ public static void syncGetLogMetricString() throws Exception { } } } -// [END logging_v2_generated_metricsclient_getlogmetric_string_sync] +// [END logging_v2_generated_Metrics_GetLogMetric_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetrics.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetrics.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetrics.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetrics.java index 27a380cec9..9baa82c72e 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetrics.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetrics.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_listlogmetrics_async] +// [START logging_v2_generated_Metrics_ListLogMetrics_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.ListLogMetricsRequest; @@ -50,4 +50,4 @@ public static void asyncListLogMetrics() throws Exception { } } } -// [END logging_v2_generated_metricsclient_listlogmetrics_async] +// [END logging_v2_generated_Metrics_ListLogMetrics_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetricsPaged.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetricsPaged.java similarity index 94% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetricsPaged.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetricsPaged.java index 2d9de6a783..e403a31d81 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/AsyncListLogMetricsPaged.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/AsyncListLogMetricsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_listlogmetrics_paged_async] +// [START logging_v2_generated_Metrics_ListLogMetrics_Paged_async] import com.google.cloud.logging.v2.MetricsClient; import com.google.common.base.Strings; import com.google.logging.v2.ListLogMetricsRequest; @@ -58,4 +58,4 @@ public static void asyncListLogMetricsPaged() throws Exception { } } } -// [END logging_v2_generated_metricsclient_listlogmetrics_paged_async] +// [END logging_v2_generated_Metrics_ListLogMetrics_Paged_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetrics.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetrics.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetrics.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetrics.java index 2ac1b067e8..4cd6c5b24a 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetrics.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetrics.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_listlogmetrics_sync] +// [START logging_v2_generated_Metrics_ListLogMetrics_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.ListLogMetricsRequest; import com.google.logging.v2.LogMetric; @@ -47,4 +47,4 @@ public static void syncListLogMetrics() throws Exception { } } } -// [END logging_v2_generated_metricsclient_listlogmetrics_sync] +// [END logging_v2_generated_Metrics_ListLogMetrics_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsProjectname.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsProjectname.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsProjectname.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsProjectname.java index cf6269ed8a..c9311ec6f5 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsProjectname.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_listlogmetrics_projectname_sync] +// [START logging_v2_generated_Metrics_ListLogMetrics_Projectname_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; import com.google.logging.v2.ProjectName; @@ -41,4 +41,4 @@ public static void syncListLogMetricsProjectname() throws Exception { } } } -// [END logging_v2_generated_metricsclient_listlogmetrics_projectname_sync] +// [END logging_v2_generated_Metrics_ListLogMetrics_Projectname_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsString.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsString.java similarity index 92% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsString.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsString.java index 9ed1d30246..f549e4fcfd 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/listlogmetrics/SyncListLogMetricsString.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/listlogmetrics/SyncListLogMetricsString.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_listlogmetrics_string_sync] +// [START logging_v2_generated_Metrics_ListLogMetrics_String_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; import com.google.logging.v2.ProjectName; @@ -41,4 +41,4 @@ public static void syncListLogMetricsString() throws Exception { } } } -// [END logging_v2_generated_metricsclient_listlogmetrics_string_sync] +// [END logging_v2_generated_Metrics_ListLogMetrics_String_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/AsyncUpdateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/AsyncUpdateLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/AsyncUpdateLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/AsyncUpdateLogMetric.java index f7b38ecde5..b5b805473b 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/AsyncUpdateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/AsyncUpdateLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_updatelogmetric_async] +// [START logging_v2_generated_Metrics_UpdateLogMetric_async] import com.google.api.core.ApiFuture; import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; @@ -47,4 +47,4 @@ public static void asyncUpdateLogMetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_updatelogmetric_async] +// [END logging_v2_generated_Metrics_UpdateLogMetric_async] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetric.java similarity index 93% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetric.java index 3130ade661..d9ddd5cabf 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_updatelogmetric_sync] +// [START logging_v2_generated_Metrics_UpdateLogMetric_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; import com.google.logging.v2.LogMetricName; @@ -44,4 +44,4 @@ public static void syncUpdateLogMetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_updatelogmetric_sync] +// [END logging_v2_generated_Metrics_UpdateLogMetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java similarity index 90% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java index 350e4dedc8..95afee63f1 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricLogmetricnameLogmetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_updatelogmetric_logmetricnamelogmetric_sync] +// [START logging_v2_generated_Metrics_UpdateLogMetric_LogmetricnameLogmetric_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; import com.google.logging.v2.LogMetricName; @@ -40,4 +40,4 @@ public static void syncUpdateLogMetricLogmetricnameLogmetric() throws Exception } } } -// [END logging_v2_generated_metricsclient_updatelogmetric_logmetricnamelogmetric_sync] +// [END logging_v2_generated_Metrics_UpdateLogMetric_LogmetricnameLogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java similarity index 91% rename from test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java rename to test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java index ef975ac05c..72d5b2a914 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricsclient/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metrics/updatelogmetric/SyncUpdateLogMetricStringLogmetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricsclient_updatelogmetric_stringlogmetric_sync] +// [START logging_v2_generated_Metrics_UpdateLogMetric_StringLogmetric_sync] import com.google.cloud.logging.v2.MetricsClient; import com.google.logging.v2.LogMetric; import com.google.logging.v2.LogMetricName; @@ -40,4 +40,4 @@ public static void syncUpdateLogMetricStringLogmetric() throws Exception { } } } -// [END logging_v2_generated_metricsclient_updatelogmetric_stringlogmetric_sync] +// [END logging_v2_generated_Metrics_UpdateLogMetric_StringLogmetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricssettings/getlogmetric/SyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricssettings/getlogmetric/SyncGetLogMetric.java index 8d790e3197..7827c8c0a8 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricssettings/getlogmetric/SyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/metricssettings/getlogmetric/SyncGetLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.samples; -// [START logging_v2_generated_metricssettings_getlogmetric_sync] +// [START logging_v2_generated_MetricsSettings_GetLogMetric_sync] import com.google.cloud.logging.v2.MetricsSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncGetLogMetric() throws Exception { MetricsSettings metricsSettings = metricsSettingsBuilder.build(); } } -// [END logging_v2_generated_metricssettings_getlogmetric_sync] +// [END logging_v2_generated_MetricsSettings_GetLogMetric_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/configservicev2stubsettings/getbucket/SyncGetBucket.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/configservicev2stubsettings/getbucket/SyncGetBucket.java index bb2b8d8ed7..cf43da01a2 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/configservicev2stubsettings/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/configservicev2stubsettings/getbucket/SyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.stub.samples; -// [START logging_v2_generated_configservicev2stubsettings_getbucket_sync] +// [START logging_v2_generated_ConfigServiceV2StubSettings_GetBucket_sync] import com.google.cloud.logging.v2.stub.ConfigServiceV2StubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncGetBucket() throws Exception { ConfigServiceV2StubSettings configSettings = configSettingsBuilder.build(); } } -// [END logging_v2_generated_configservicev2stubsettings_getbucket_sync] +// [END logging_v2_generated_ConfigServiceV2StubSettings_GetBucket_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/loggingservicev2stubsettings/deletelog/SyncDeleteLog.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/loggingservicev2stubsettings/deletelog/SyncDeleteLog.java index c9ea0e0fe6..9dbb84f39f 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/loggingservicev2stubsettings/deletelog/SyncDeleteLog.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/loggingservicev2stubsettings/deletelog/SyncDeleteLog.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.stub.samples; -// [START logging_v2_generated_loggingservicev2stubsettings_deletelog_sync] +// [START logging_v2_generated_LoggingServiceV2StubSettings_DeleteLog_sync] import com.google.cloud.logging.v2.stub.LoggingServiceV2StubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncDeleteLog() throws Exception { LoggingServiceV2StubSettings loggingSettings = loggingSettingsBuilder.build(); } } -// [END logging_v2_generated_loggingservicev2stubsettings_deletelog_sync] +// [END logging_v2_generated_LoggingServiceV2StubSettings_DeleteLog_sync] diff --git a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/metricsservicev2stubsettings/getlogmetric/SyncGetLogMetric.java b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/metricsservicev2stubsettings/getlogmetric/SyncGetLogMetric.java index ef0eed0257..be68fa6143 100644 --- a/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/metricsservicev2stubsettings/getlogmetric/SyncGetLogMetric.java +++ b/test/integration/goldens/logging/samples/snippets/generated/main/java/com/google/cloud/logging/v2/stub/metricsservicev2stubsettings/getlogmetric/SyncGetLogMetric.java @@ -16,7 +16,7 @@ package com.google.cloud.logging.v2.stub.samples; -// [START logging_v2_generated_metricsservicev2stubsettings_getlogmetric_sync] +// [START logging_v2_generated_MetricsServiceV2StubSettings_GetLogMetric_sync] import com.google.cloud.logging.v2.stub.MetricsServiceV2StubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncGetLogMetric() throws Exception { MetricsServiceV2StubSettings metricsSettings = metricsSettingsBuilder.build(); } } -// [END logging_v2_generated_metricsservicev2stubsettings_getlogmetric_sync] +// [END logging_v2_generated_MetricsServiceV2StubSettings_GetLogMetric_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetCredentialsProvider.java index 8d6ba7006e..f66d3eb280 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_create_setcredentialsprovider_sync] +// [START pubsub_v1_generated_SchemaService_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.cloud.pubsub.v1.SchemaServiceSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { SchemaServiceClient schemaServiceClient = SchemaServiceClient.create(schemaServiceSettings); } } -// [END pubsub_v1_generated_schemaserviceclient_create_setcredentialsprovider_sync] +// [END pubsub_v1_generated_SchemaService_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java index 64b754ef54..6fef477696 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_create_setendpoint_sync] +// [START pubsub_v1_generated_SchemaService_Create_SetEndpoint_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.cloud.pubsub.v1.SchemaServiceSettings; import com.google.cloud.pubsub.v1.myEndpoint; @@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception { SchemaServiceClient schemaServiceClient = SchemaServiceClient.create(schemaServiceSettings); } } -// [END pubsub_v1_generated_schemaserviceclient_create_setendpoint_sync] +// [END pubsub_v1_generated_SchemaService_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/AsyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/AsyncCreateSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java index faf8677a74..8177b54efe 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/AsyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/AsyncCreateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_createschema_async] +// [START pubsub_v1_generated_SchemaService_CreateSchema_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.CreateSchemaRequest; @@ -48,4 +48,4 @@ public static void asyncCreateSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_createschema_async] +// [END pubsub_v1_generated_SchemaService_CreateSchema_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java index eb04b75b15..6318c403b5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_createschema_sync] +// [START pubsub_v1_generated_SchemaService_CreateSchema_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.CreateSchemaRequest; import com.google.pubsub.v1.ProjectName; @@ -45,4 +45,4 @@ public static void syncCreateSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_createschema_sync] +// [END pubsub_v1_generated_SchemaService_CreateSchema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaProjectnameSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaProjectnameSchemaString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java index 9aa8f43218..63d1ec61c0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaProjectnameSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaProjectnameSchemaString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_createschema_projectnameschemastring_sync] +// [START pubsub_v1_generated_SchemaService_CreateSchema_ProjectnameSchemaString_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Schema; @@ -41,4 +41,4 @@ public static void syncCreateSchemaProjectnameSchemaString() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_createschema_projectnameschemastring_sync] +// [END pubsub_v1_generated_SchemaService_CreateSchema_ProjectnameSchemaString_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaStringSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaStringSchemaString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java index 8fd4669d1e..e1e42c77df 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/createschema/SyncCreateSchemaStringSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/createschema/SyncCreateSchemaStringSchemaString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_createschema_stringschemastring_sync] +// [START pubsub_v1_generated_SchemaService_CreateSchema_StringSchemaString_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Schema; @@ -41,4 +41,4 @@ public static void syncCreateSchemaStringSchemaString() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_createschema_stringschemastring_sync] +// [END pubsub_v1_generated_SchemaService_CreateSchema_StringSchemaString_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/AsyncDeleteSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/AsyncDeleteSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java index 07b999d269..e278448b05 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/AsyncDeleteSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/AsyncDeleteSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_deleteschema_async] +// [START pubsub_v1_generated_SchemaService_DeleteSchema_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.protobuf.Empty; @@ -46,4 +46,4 @@ public static void asyncDeleteSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_deleteschema_async] +// [END pubsub_v1_generated_SchemaService_DeleteSchema_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java index 04ee5a3078..b7e421a8a8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_deleteschema_sync] +// [START pubsub_v1_generated_SchemaService_DeleteSchema_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.DeleteSchemaRequest; @@ -43,4 +43,4 @@ public static void syncDeleteSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_deleteschema_sync] +// [END pubsub_v1_generated_SchemaService_DeleteSchema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaSchemaname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaSchemaname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java index 600c71d0e5..af400a0849 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaSchemaname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaSchemaname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_deleteschema_schemaname_sync] +// [START pubsub_v1_generated_SchemaService_DeleteSchema_Schemaname_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SchemaName; @@ -39,4 +39,4 @@ public static void syncDeleteSchemaSchemaname() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_deleteschema_schemaname_sync] +// [END pubsub_v1_generated_SchemaService_DeleteSchema_Schemaname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java index 59d1983e02..52af2a9a27 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/deleteschema/SyncDeleteSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/deleteschema/SyncDeleteSchemaString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_deleteschema_string_sync] +// [START pubsub_v1_generated_SchemaService_DeleteSchema_String_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SchemaName; @@ -39,4 +39,4 @@ public static void syncDeleteSchemaString() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_deleteschema_string_sync] +// [END pubsub_v1_generated_SchemaService_DeleteSchema_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java index 89eee40dc0..17b5095bd3 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_getiampolicy_async] +// [START pubsub_v1_generated_SchemaService_GetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.iam.v1.GetIamPolicyRequest; @@ -48,4 +48,4 @@ public static void asyncGetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_getiampolicy_async] +// [END pubsub_v1_generated_SchemaService_GetIamPolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java index a479793be6..9490015035 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_getiampolicy_sync] +// [START pubsub_v1_generated_SchemaService_GetIamPolicy_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; @@ -45,4 +45,4 @@ public static void syncGetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_getiampolicy_sync] +// [END pubsub_v1_generated_SchemaService_GetIamPolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/AsyncGetSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/AsyncGetSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java index 2d2e1fd522..6ffacc689a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/AsyncGetSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/AsyncGetSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_getschema_async] +// [START pubsub_v1_generated_SchemaService_GetSchema_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.GetSchemaRequest; @@ -48,4 +48,4 @@ public static void asyncGetSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_getschema_async] +// [END pubsub_v1_generated_SchemaService_GetSchema_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java index dfe599dae7..5daf4351de 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_getschema_sync] +// [START pubsub_v1_generated_SchemaService_GetSchema_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.GetSchemaRequest; import com.google.pubsub.v1.Schema; @@ -45,4 +45,4 @@ public static void syncGetSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_getschema_sync] +// [END pubsub_v1_generated_SchemaService_GetSchema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaSchemaname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaSchemaname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java index 6f4c1ad2b2..c0a7730113 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaSchemaname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaSchemaname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_getschema_schemaname_sync] +// [START pubsub_v1_generated_SchemaService_GetSchema_Schemaname_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.Schema; import com.google.pubsub.v1.SchemaName; @@ -39,4 +39,4 @@ public static void syncGetSchemaSchemaname() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_getschema_schemaname_sync] +// [END pubsub_v1_generated_SchemaService_GetSchema_Schemaname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java index 1033d3f4b1..bc666dbc1c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/getschema/SyncGetSchemaString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/getschema/SyncGetSchemaString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_getschema_string_sync] +// [START pubsub_v1_generated_SchemaService_GetSchema_String_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.Schema; import com.google.pubsub.v1.SchemaName; @@ -39,4 +39,4 @@ public static void syncGetSchemaString() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_getschema_string_sync] +// [END pubsub_v1_generated_SchemaService_GetSchema_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemas.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemas.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java index db3e3f29dc..b32fd480b5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemas.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemas.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_listschemas_async] +// [START pubsub_v1_generated_SchemaService_ListSchemas_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ListSchemasRequest; @@ -52,4 +52,4 @@ public static void asyncListSchemas() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_listschemas_async] +// [END pubsub_v1_generated_SchemaService_ListSchemas_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemasPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemasPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java index 3b09948cd0..6076b5e966 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/AsyncListSchemasPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/AsyncListSchemasPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_listschemas_paged_async] +// [START pubsub_v1_generated_SchemaService_ListSchemas_Paged_async] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.common.base.Strings; import com.google.pubsub.v1.ListSchemasRequest; @@ -60,4 +60,4 @@ public static void asyncListSchemasPaged() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_listschemas_paged_async] +// [END pubsub_v1_generated_SchemaService_ListSchemas_Paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemas.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemas.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java index 944e349087..705545481f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemas.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemas.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_listschemas_sync] +// [START pubsub_v1_generated_SchemaService_ListSchemas_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ListSchemasRequest; import com.google.pubsub.v1.ProjectName; @@ -49,4 +49,4 @@ public static void syncListSchemas() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_listschemas_sync] +// [END pubsub_v1_generated_SchemaService_ListSchemas_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasProjectname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java index e763eab4fd..d8508321ea 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_listschemas_projectname_sync] +// [START pubsub_v1_generated_SchemaService_ListSchemas_Projectname_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Schema; @@ -41,4 +41,4 @@ public static void syncListSchemasProjectname() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_listschemas_projectname_sync] +// [END pubsub_v1_generated_SchemaService_ListSchemas_Projectname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java index f7e84a3903..51ece993eb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/listschemas/SyncListSchemasString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/listschemas/SyncListSchemasString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_listschemas_string_sync] +// [START pubsub_v1_generated_SchemaService_ListSchemas_String_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Schema; @@ -41,4 +41,4 @@ public static void syncListSchemasString() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_listschemas_string_sync] +// [END pubsub_v1_generated_SchemaService_ListSchemas_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java index f0bc564208..2ed22cb875 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_setiampolicy_async] +// [START pubsub_v1_generated_SchemaService_SetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.iam.v1.Policy; @@ -47,4 +47,4 @@ public static void asyncSetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_setiampolicy_async] +// [END pubsub_v1_generated_SchemaService_SetIamPolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java index 8adab7bd36..e5bd624781 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_setiampolicy_sync] +// [START pubsub_v1_generated_SchemaService_SetIamPolicy_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -44,4 +44,4 @@ public static void syncSetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_setiampolicy_sync] +// [END pubsub_v1_generated_SchemaService_SetIamPolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java index 5811d23d1c..f90e406a06 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_testiampermissions_async] +// [START pubsub_v1_generated_SchemaService_TestIamPermissions_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.iam.v1.TestIamPermissionsRequest; @@ -49,4 +49,4 @@ public static void asyncTestIamPermissions() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_testiampermissions_async] +// [END pubsub_v1_generated_SchemaService_TestIamPermissions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java index da49c01d54..2cc276ac72 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_testiampermissions_sync] +// [START pubsub_v1_generated_SchemaService_TestIamPermissions_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; @@ -45,4 +45,4 @@ public static void syncTestIamPermissions() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_testiampermissions_sync] +// [END pubsub_v1_generated_SchemaService_TestIamPermissions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/AsyncValidateMessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/AsyncValidateMessage.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java index 0697504355..9e14354d7b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/AsyncValidateMessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/AsyncValidateMessage.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_validatemessage_async] +// [START pubsub_v1_generated_SchemaService_ValidateMessage_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.protobuf.ByteString; @@ -51,4 +51,4 @@ public static void asyncValidateMessage() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_validatemessage_async] +// [END pubsub_v1_generated_SchemaService_ValidateMessage_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/SyncValidateMessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/SyncValidateMessage.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java index 12068a1d54..639b29346b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validatemessage/SyncValidateMessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validatemessage/SyncValidateMessage.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_validatemessage_sync] +// [START pubsub_v1_generated_SchemaService_ValidateMessage_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.protobuf.ByteString; import com.google.pubsub.v1.Encoding; @@ -47,4 +47,4 @@ public static void syncValidateMessage() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_validatemessage_sync] +// [END pubsub_v1_generated_SchemaService_ValidateMessage_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/AsyncValidateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/AsyncValidateSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java index 492fcf0803..ff299bad22 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/AsyncValidateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/AsyncValidateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_validateschema_async] +// [START pubsub_v1_generated_SchemaService_ValidateSchema_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ProjectName; @@ -49,4 +49,4 @@ public static void asyncValidateSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_validateschema_async] +// [END pubsub_v1_generated_SchemaService_ValidateSchema_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java index 0d2c0a78a3..4855420298 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_validateschema_sync] +// [START pubsub_v1_generated_SchemaService_ValidateSchema_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Schema; @@ -45,4 +45,4 @@ public static void syncValidateSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_validateschema_sync] +// [END pubsub_v1_generated_SchemaService_ValidateSchema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaProjectnameSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaProjectnameSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java index fb0ea01fed..02e4cd0c20 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaProjectnameSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaProjectnameSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_validateschema_projectnameschema_sync] +// [START pubsub_v1_generated_SchemaService_ValidateSchema_ProjectnameSchema_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Schema; @@ -41,4 +41,4 @@ public static void syncValidateSchemaProjectnameSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_validateschema_projectnameschema_sync] +// [END pubsub_v1_generated_SchemaService_ValidateSchema_ProjectnameSchema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaStringSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaStringSchema.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java index 2cca6e3130..0b99145866 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaserviceclient/validateschema/SyncValidateSchemaStringSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservice/validateschema/SyncValidateSchemaStringSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaserviceclient_validateschema_stringschema_sync] +// [START pubsub_v1_generated_SchemaService_ValidateSchema_StringSchema_sync] import com.google.cloud.pubsub.v1.SchemaServiceClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Schema; @@ -41,4 +41,4 @@ public static void syncValidateSchemaStringSchema() throws Exception { } } } -// [END pubsub_v1_generated_schemaserviceclient_validateschema_stringschema_sync] +// [END pubsub_v1_generated_SchemaService_ValidateSchema_StringSchema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservicesettings/createschema/SyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservicesettings/createschema/SyncCreateSchema.java index 91efa0a7a0..b19fdbf7fb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservicesettings/createschema/SyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/schemaservicesettings/createschema/SyncCreateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_schemaservicesettings_createschema_sync] +// [START pubsub_v1_generated_SchemaServiceSettings_CreateSchema_sync] import com.google.cloud.pubsub.v1.SchemaServiceSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncCreateSchema() throws Exception { SchemaServiceSettings schemaServiceSettings = schemaServiceSettingsBuilder.build(); } } -// [END pubsub_v1_generated_schemaservicesettings_createschema_sync] +// [END pubsub_v1_generated_SchemaServiceSettings_CreateSchema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/publisherstubsettings/createtopic/SyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/publisherstubsettings/createtopic/SyncCreateTopic.java index 659e6f2a4f..df62a5021b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/publisherstubsettings/createtopic/SyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/publisherstubsettings/createtopic/SyncCreateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.stub.samples; -// [START pubsub_v1_generated_publisherstubsettings_createtopic_sync] +// [START pubsub_v1_generated_PublisherStubSettings_CreateTopic_sync] import com.google.cloud.pubsub.v1.stub.PublisherStubSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncCreateTopic() throws Exception { PublisherStubSettings topicAdminSettings = topicAdminSettingsBuilder.build(); } } -// [END pubsub_v1_generated_publisherstubsettings_createtopic_sync] +// [END pubsub_v1_generated_PublisherStubSettings_CreateTopic_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/schemaservicestubsettings/createschema/SyncCreateSchema.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/schemaservicestubsettings/createschema/SyncCreateSchema.java index 9d6ccf77b1..5f9bbe406f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/schemaservicestubsettings/createschema/SyncCreateSchema.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/schemaservicestubsettings/createschema/SyncCreateSchema.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.stub.samples; -// [START pubsub_v1_generated_schemaservicestubsettings_createschema_sync] +// [START pubsub_v1_generated_SchemaServiceStubSettings_CreateSchema_sync] import com.google.cloud.pubsub.v1.stub.SchemaServiceStubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncCreateSchema() throws Exception { SchemaServiceStubSettings schemaServiceSettings = schemaServiceSettingsBuilder.build(); } } -// [END pubsub_v1_generated_schemaservicestubsettings_createschema_sync] +// [END pubsub_v1_generated_SchemaServiceStubSettings_CreateSchema_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/subscriberstubsettings/createsubscription/SyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/subscriberstubsettings/createsubscription/SyncCreateSubscription.java index be52f20f4f..ea4083396e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/subscriberstubsettings/createsubscription/SyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/stub/subscriberstubsettings/createsubscription/SyncCreateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.stub.samples; -// [START pubsub_v1_generated_subscriberstubsettings_createsubscription_sync] +// [START pubsub_v1_generated_SubscriberStubSettings_CreateSubscription_sync] import com.google.cloud.pubsub.v1.stub.SubscriberStubSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncCreateSubscription() throws Exception { SubscriberStubSettings subscriptionAdminSettings = subscriptionAdminSettingsBuilder.build(); } } -// [END pubsub_v1_generated_subscriberstubsettings_createsubscription_sync] +// [END pubsub_v1_generated_SubscriberStubSettings_CreateSubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/AsyncAcknowledge.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/AsyncAcknowledge.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/AsyncAcknowledge.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/AsyncAcknowledge.java index 1b3c606625..29614b0859 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/AsyncAcknowledge.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/AsyncAcknowledge.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_acknowledge_async] +// [START pubsub_v1_generated_SubscriptionAdmin_Acknowledge_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; @@ -48,4 +48,4 @@ public static void asyncAcknowledge() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_acknowledge_async] +// [END pubsub_v1_generated_SubscriptionAdmin_Acknowledge_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledge.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledge.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledge.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledge.java index b906a3e82c..751dfb0d78 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledge.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledge.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_acknowledge_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Acknowledge_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.AcknowledgeRequest; @@ -45,4 +45,4 @@ public static void syncAcknowledge() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_acknowledge_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Acknowledge_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeStringListstring.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeStringListstring.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeStringListstring.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeStringListstring.java index 5aa2df865d..8cdc60b790 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeStringListstring.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeStringListstring.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_acknowledge_stringliststring_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Acknowledge_StringListstring_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SubscriptionName; @@ -42,4 +42,4 @@ public static void syncAcknowledgeStringListstring() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_acknowledge_stringliststring_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Acknowledge_StringListstring_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java index 9c2dcf4927..c34aa36f1d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/acknowledge/SyncAcknowledgeSubscriptionnameListstring.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_acknowledge_subscriptionnameliststring_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Acknowledge_SubscriptionnameListstring_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SubscriptionName; @@ -42,4 +42,4 @@ public static void syncAcknowledgeSubscriptionnameListstring() throws Exception } } } -// [END pubsub_v1_generated_subscriptionadminclient_acknowledge_subscriptionnameliststring_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Acknowledge_SubscriptionnameListstring_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetCredentialsProvider.java index 3acdaf154e..9b5057e476 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_create_setcredentialsprovider_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.cloud.pubsub.v1.SubscriptionAdminSettings; @@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { SubscriptionAdminClient.create(subscriptionAdminSettings); } } -// [END pubsub_v1_generated_subscriptionadminclient_create_setcredentialsprovider_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetEndpoint.java index 8e5d38436b..e23042c9c3 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_create_setendpoint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Create_SetEndpoint_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.cloud.pubsub.v1.SubscriptionAdminSettings; import com.google.cloud.pubsub.v1.myEndpoint; @@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception { SubscriptionAdminClient.create(subscriptionAdminSettings); } } -// [END pubsub_v1_generated_subscriptionadminclient_create_setendpoint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/AsyncCreateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/AsyncCreateSnapshot.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/AsyncCreateSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/AsyncCreateSnapshot.java index 4eb276cd65..6fbc541b5e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/AsyncCreateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/AsyncCreateSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsnapshot_async] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.CreateSnapshotRequest; @@ -51,4 +51,4 @@ public static void asyncCreateSnapshot() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_async] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshot.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshot.java index dc2bdd6504..29edfc51c5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsnapshot_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.CreateSnapshotRequest; import com.google.pubsub.v1.Snapshot; @@ -47,4 +47,4 @@ public static void syncCreateSnapshot() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameString.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameString.java index a3a11e309b..6946725a40 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsnapshot_snapshotnamestring_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_SnapshotnameString_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.Snapshot; import com.google.pubsub.v1.SnapshotName; @@ -41,4 +41,4 @@ public static void syncCreateSnapshotSnapshotnameString() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_snapshotnamestring_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_SnapshotnameString_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java index 5d237c5280..8411049f9e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotSnapshotnameSubscriptionname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsnapshot_snapshotnamesubscriptionname_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_SnapshotnameSubscriptionname_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.Snapshot; import com.google.pubsub.v1.SnapshotName; @@ -41,4 +41,4 @@ public static void syncCreateSnapshotSnapshotnameSubscriptionname() throws Excep } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_snapshotnamesubscriptionname_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_SnapshotnameSubscriptionname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringString.java index 6be73f743d..da5863331b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsnapshot_stringstring_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_StringString_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.Snapshot; import com.google.pubsub.v1.SnapshotName; @@ -41,4 +41,4 @@ public static void syncCreateSnapshotStringString() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_stringstring_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_StringString_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java index e3c5c25fca..339814cabe 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsnapshot/SyncCreateSnapshotStringSubscriptionname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsnapshot_stringsubscriptionname_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_StringSubscriptionname_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.Snapshot; import com.google.pubsub.v1.SnapshotName; @@ -41,4 +41,4 @@ public static void syncCreateSnapshotStringSubscriptionname() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsnapshot_stringsubscriptionname_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_StringSubscriptionname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/AsyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/AsyncCreateSubscription.java similarity index 95% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/AsyncCreateSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/AsyncCreateSubscription.java index f5c291a69b..7d51d4ea88 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/AsyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/AsyncCreateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsubscription_async] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Duration; @@ -67,4 +67,4 @@ public static void asyncCreateSubscription() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_async] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscription.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscription.java index cf9498af7e..6f9ec0df0f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsubscription_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Duration; import com.google.pubsub.v1.DeadLetterPolicy; @@ -63,4 +63,4 @@ public static void syncCreateSubscription() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java index 29689fa996..04f5007d19 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringStringPushconfigInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsubscription_stringstringpushconfigint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_StringStringPushconfigInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PushConfig; import com.google.pubsub.v1.Subscription; @@ -45,4 +45,4 @@ public static void syncCreateSubscriptionStringStringPushconfigInt() throws Exce } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_stringstringpushconfigint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_StringStringPushconfigInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java index 8bb5df7f35..a67223a046 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionStringTopicnamePushconfigInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsubscription_stringtopicnamepushconfigint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_StringTopicnamePushconfigInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PushConfig; import com.google.pubsub.v1.Subscription; @@ -45,4 +45,4 @@ public static void syncCreateSubscriptionStringTopicnamePushconfigInt() throws E } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_stringtopicnamepushconfigint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_StringTopicnamePushconfigInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java index b88fb5fff0..574fe47706 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameStringPushconfigInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsubscription_subscriptionnamestringpushconfigint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_SubscriptionnameStringPushconfigInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PushConfig; import com.google.pubsub.v1.Subscription; @@ -45,4 +45,4 @@ public static void syncCreateSubscriptionSubscriptionnameStringPushconfigInt() t } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_subscriptionnamestringpushconfigint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_SubscriptionnameStringPushconfigInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java similarity index 89% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java index db965129bf..4aee56b88d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/createsubscription/SyncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_createsubscription_subscriptionnametopicnamepushconfigint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_SubscriptionnameTopicnamePushconfigInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PushConfig; import com.google.pubsub.v1.Subscription; @@ -46,4 +46,4 @@ public static void syncCreateSubscriptionSubscriptionnameTopicnamePushconfigInt( } } } -// [END pubsub_v1_generated_subscriptionadminclient_createsubscription_subscriptionnametopicnamepushconfigint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_SubscriptionnameTopicnamePushconfigInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/AsyncDeleteSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/AsyncDeleteSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/AsyncDeleteSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/AsyncDeleteSnapshot.java index feb62e0fbe..80b063f2d1 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/AsyncDeleteSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/AsyncDeleteSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_deletesnapshot_async] +// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; @@ -47,4 +47,4 @@ public static void asyncDeleteSnapshot() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_deletesnapshot_async] +// [END pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshot.java index 82a245cc5e..dd52f69b52 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_deletesnapshot_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.DeleteSnapshotRequest; @@ -43,4 +43,4 @@ public static void syncDeleteSnapshot() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_deletesnapshot_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotSnapshotname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotSnapshotname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotSnapshotname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotSnapshotname.java index 4ca1c0bcc6..4932bb9f6f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotSnapshotname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotSnapshotname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_deletesnapshot_snapshotname_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_Snapshotname_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SnapshotName; @@ -39,4 +39,4 @@ public static void syncDeleteSnapshotSnapshotname() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_deletesnapshot_snapshotname_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_Snapshotname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotString.java index b728a12ba8..eaf04e65ee 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesnapshot/SyncDeleteSnapshotString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesnapshot/SyncDeleteSnapshotString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_deletesnapshot_string_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_String_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SnapshotName; @@ -39,4 +39,4 @@ public static void syncDeleteSnapshotString() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_deletesnapshot_string_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/AsyncDeleteSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/AsyncDeleteSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/AsyncDeleteSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/AsyncDeleteSubscription.java index 8a55c39faf..b5b5cd8dab 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/AsyncDeleteSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/AsyncDeleteSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_deletesubscription_async] +// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; @@ -47,4 +47,4 @@ public static void asyncDeleteSubscription() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_deletesubscription_async] +// [END pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscription.java index 346e57f842..dad68bcb90 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_deletesubscription_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.DeleteSubscriptionRequest; @@ -43,4 +43,4 @@ public static void syncDeleteSubscription() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_deletesubscription_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionString.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionString.java index 075f759ed7..4b93510039 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_deletesubscription_string_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_String_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SubscriptionName; @@ -39,4 +39,4 @@ public static void syncDeleteSubscriptionString() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_deletesubscription_string_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java similarity index 89% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java index e66a3a93e2..cd58d7c94a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/deletesubscription/SyncDeleteSubscriptionSubscriptionname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_deletesubscription_subscriptionname_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_Subscriptionname_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SubscriptionName; @@ -39,4 +39,4 @@ public static void syncDeleteSubscriptionSubscriptionname() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_deletesubscription_subscriptionname_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_Subscriptionname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/AsyncGetIamPolicy.java index 0f9feb64d3..a4008113c5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getiampolicy_async] +// [START pubsub_v1_generated_SubscriptionAdmin_GetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.iam.v1.GetIamPolicyRequest; @@ -48,4 +48,4 @@ public static void asyncGetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getiampolicy_async] +// [END pubsub_v1_generated_SubscriptionAdmin_GetIamPolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/SyncGetIamPolicy.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/SyncGetIamPolicy.java index bdb63a6ab6..5f5010cdf0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getiampolicy_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_GetIamPolicy_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; @@ -45,4 +45,4 @@ public static void syncGetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getiampolicy_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_GetIamPolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/AsyncGetSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/AsyncGetSnapshot.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/AsyncGetSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/AsyncGetSnapshot.java index 5e95662956..b23e6c203a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/AsyncGetSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/AsyncGetSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getsnapshot_async] +// [START pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.GetSnapshotRequest; @@ -47,4 +47,4 @@ public static void asyncGetSnapshot() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getsnapshot_async] +// [END pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshot.java index bc865fa600..e6b917d600 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getsnapshot_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.GetSnapshotRequest; import com.google.pubsub.v1.Snapshot; @@ -43,4 +43,4 @@ public static void syncGetSnapshot() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getsnapshot_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotSnapshotname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotSnapshotname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotSnapshotname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotSnapshotname.java index e9fc164f91..9089e7a7eb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotSnapshotname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotSnapshotname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getsnapshot_snapshotname_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_Snapshotname_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.Snapshot; import com.google.pubsub.v1.SnapshotName; @@ -39,4 +39,4 @@ public static void syncGetSnapshotSnapshotname() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getsnapshot_snapshotname_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_Snapshotname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotString.java index 7de3b85c4e..d0b1834191 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsnapshot/SyncGetSnapshotString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsnapshot/SyncGetSnapshotString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getsnapshot_string_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_String_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.Snapshot; import com.google.pubsub.v1.SnapshotName; @@ -39,4 +39,4 @@ public static void syncGetSnapshotString() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getsnapshot_string_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/AsyncGetSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/AsyncGetSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/AsyncGetSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/AsyncGetSubscription.java index 9b1e63ebc0..5aa661cd09 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/AsyncGetSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/AsyncGetSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getsubscription_async] +// [START pubsub_v1_generated_SubscriptionAdmin_GetSubscription_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.GetSubscriptionRequest; @@ -47,4 +47,4 @@ public static void asyncGetSubscription() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getsubscription_async] +// [END pubsub_v1_generated_SubscriptionAdmin_GetSubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscription.java index cbeabada4d..af814f76d2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getsubscription_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_GetSubscription_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.GetSubscriptionRequest; import com.google.pubsub.v1.Subscription; @@ -43,4 +43,4 @@ public static void syncGetSubscription() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getsubscription_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_GetSubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionString.java index 3bd50b6001..96318e4fb6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getsubscription_string_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_GetSubscription_String_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.Subscription; import com.google.pubsub.v1.SubscriptionName; @@ -39,4 +39,4 @@ public static void syncGetSubscriptionString() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getsubscription_string_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_GetSubscription_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionSubscriptionname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionSubscriptionname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionSubscriptionname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionSubscriptionname.java index 4923c9dcf8..9139aaea83 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/getsubscription/SyncGetSubscriptionSubscriptionname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/getsubscription/SyncGetSubscriptionSubscriptionname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_getsubscription_subscriptionname_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_GetSubscription_Subscriptionname_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.Subscription; import com.google.pubsub.v1.SubscriptionName; @@ -39,4 +39,4 @@ public static void syncGetSubscriptionSubscriptionname() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_getsubscription_subscriptionname_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_GetSubscription_Subscriptionname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshots.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshots.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshots.java index ea951f4f41..4bdc239e58 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshots.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsnapshots_async] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.ListSnapshotsRequest; @@ -51,4 +51,4 @@ public static void asyncListSnapshots() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_async] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshotsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshotsPaged.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshotsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshotsPaged.java index 28bc0d2083..3a2e369ced 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/AsyncListSnapshotsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/AsyncListSnapshotsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsnapshots_paged_async] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_Paged_async] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.common.base.Strings; import com.google.pubsub.v1.ListSnapshotsRequest; @@ -59,4 +59,4 @@ public static void asyncListSnapshotsPaged() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_paged_async] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_Paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshots.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshots.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshots.java index 261d05cfa8..6fa3525272 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshots.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsnapshots_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.ListSnapshotsRequest; import com.google.pubsub.v1.ProjectName; @@ -47,4 +47,4 @@ public static void syncListSnapshots() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsProjectname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsProjectname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsProjectname.java index bd4d286c6d..f17df582c9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsnapshots_projectname_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_Projectname_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Snapshot; @@ -41,4 +41,4 @@ public static void syncListSnapshotsProjectname() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_projectname_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_Projectname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsString.java index 5b3cba3312..c5c71dcdb8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsnapshots/SyncListSnapshotsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsnapshots/SyncListSnapshotsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsnapshots_string_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_String_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Snapshot; @@ -41,4 +41,4 @@ public static void syncListSnapshotsString() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsnapshots_string_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptions.java index 8cc89c6856..c80178b90b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsubscriptions_async] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.ListSubscriptionsRequest; @@ -51,4 +51,4 @@ public static void asyncListSubscriptions() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_async] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptionsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptionsPaged.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptionsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptionsPaged.java index 8836db0ab2..5caf00064a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/AsyncListSubscriptionsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/AsyncListSubscriptionsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsubscriptions_paged_async] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_Paged_async] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.common.base.Strings; import com.google.pubsub.v1.ListSubscriptionsRequest; @@ -59,4 +59,4 @@ public static void asyncListSubscriptionsPaged() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_paged_async] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_Paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptions.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptions.java index d7bb4f92fe..888b1baf12 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsubscriptions_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.ListSubscriptionsRequest; import com.google.pubsub.v1.ProjectName; @@ -47,4 +47,4 @@ public static void syncListSubscriptions() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsProjectname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsProjectname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsProjectname.java index d36a99ac62..feec6ee394 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsubscriptions_projectname_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_Projectname_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Subscription; @@ -41,4 +41,4 @@ public static void syncListSubscriptionsProjectname() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_projectname_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_Projectname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsString.java index af1c8187dd..14e0d0a9e1 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/listsubscriptions/SyncListSubscriptionsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/listsubscriptions/SyncListSubscriptionsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_listsubscriptions_string_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_String_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Subscription; @@ -41,4 +41,4 @@ public static void syncListSubscriptionsString() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_listsubscriptions_string_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/AsyncModifyAckDeadline.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/AsyncModifyAckDeadline.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/AsyncModifyAckDeadline.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/AsyncModifyAckDeadline.java index 7cbd8d2a6f..62c37591bb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/AsyncModifyAckDeadline.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/AsyncModifyAckDeadline.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_async] +// [START pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; @@ -50,4 +50,4 @@ public static void asyncModifyAckDeadline() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_async] +// [END pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadline.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadline.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadline.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadline.java index 5be7ebb018..e606d1d958 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadline.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadline.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.ModifyAckDeadlineRequest; @@ -46,4 +46,4 @@ public static void syncModifyAckDeadline() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java index 7b40b2dbc2..9c80163831 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineStringListstringInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_stringliststringint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_StringListstringInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SubscriptionName; @@ -43,4 +43,4 @@ public static void syncModifyAckDeadlineStringListstringInt() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_stringliststringint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_StringListstringInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java similarity index 89% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java index 208b31b256..0f6c75fb28 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifyackdeadline/SyncModifyAckDeadlineSubscriptionnameListstringInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_subscriptionnameliststringint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_SubscriptionnameListstringInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.SubscriptionName; @@ -43,4 +43,4 @@ public static void syncModifyAckDeadlineSubscriptionnameListstringInt() throws E } } } -// [END pubsub_v1_generated_subscriptionadminclient_modifyackdeadline_subscriptionnameliststringint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_SubscriptionnameListstringInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/AsyncModifyPushConfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/AsyncModifyPushConfig.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/AsyncModifyPushConfig.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/AsyncModifyPushConfig.java index 668ec61965..e4f4b494a9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/AsyncModifyPushConfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/AsyncModifyPushConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_modifypushconfig_async] +// [START pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; @@ -49,4 +49,4 @@ public static void asyncModifyPushConfig() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_modifypushconfig_async] +// [END pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfig.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfig.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfig.java index 72f4e5369c..4b98fffbf3 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfig.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_modifypushconfig_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.ModifyPushConfigRequest; @@ -45,4 +45,4 @@ public static void syncModifyPushConfig() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_modifypushconfig_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigStringPushconfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigStringPushconfig.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigStringPushconfig.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigStringPushconfig.java index ac730021be..9d10bea2aa 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigStringPushconfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigStringPushconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_modifypushconfig_stringpushconfig_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_StringPushconfig_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.PushConfig; @@ -41,4 +41,4 @@ public static void syncModifyPushConfigStringPushconfig() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_modifypushconfig_stringpushconfig_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_StringPushconfig_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java similarity index 89% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java index de4a8dfbd9..a158e59cc0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/modifypushconfig/SyncModifyPushConfigSubscriptionnamePushconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_modifypushconfig_subscriptionnamepushconfig_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_SubscriptionnamePushconfig_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.PushConfig; @@ -41,4 +41,4 @@ public static void syncModifyPushConfigSubscriptionnamePushconfig() throws Excep } } } -// [END pubsub_v1_generated_subscriptionadminclient_modifypushconfig_subscriptionnamepushconfig_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_SubscriptionnamePushconfig_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/AsyncPull.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/AsyncPull.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/AsyncPull.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/AsyncPull.java index c893d34fee..f947a915b5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/AsyncPull.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/AsyncPull.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_pull_async] +// [START pubsub_v1_generated_SubscriptionAdmin_Pull_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PullRequest; @@ -48,4 +48,4 @@ public static void asyncPull() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_pull_async] +// [END pubsub_v1_generated_SubscriptionAdmin_Pull_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPull.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPull.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPull.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPull.java index 6704f86359..c1a1079c5d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPull.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPull.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_pull_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Pull_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PullRequest; import com.google.pubsub.v1.PullResponse; @@ -45,4 +45,4 @@ public static void syncPull() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_pull_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Pull_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringBooleanInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringBooleanInt.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringBooleanInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringBooleanInt.java index 00f4ebb1d1..bf9f3708ef 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringBooleanInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringBooleanInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_pull_stringbooleanint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Pull_StringBooleanInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PullResponse; import com.google.pubsub.v1.SubscriptionName; @@ -42,4 +42,4 @@ public static void syncPullStringBooleanInt() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_pull_stringbooleanint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Pull_StringBooleanInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringInt.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringInt.java index e0c3a4f0e9..33f0db5f86 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullStringInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullStringInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_pull_stringint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Pull_StringInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PullResponse; import com.google.pubsub.v1.SubscriptionName; @@ -40,4 +40,4 @@ public static void syncPullStringInt() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_pull_stringint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Pull_StringInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameBooleanInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameBooleanInt.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameBooleanInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameBooleanInt.java index 04beea7b2c..48adb74d45 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameBooleanInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameBooleanInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_pull_subscriptionnamebooleanint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Pull_SubscriptionnameBooleanInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PullResponse; import com.google.pubsub.v1.SubscriptionName; @@ -42,4 +42,4 @@ public static void syncPullSubscriptionnameBooleanInt() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_pull_subscriptionnamebooleanint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Pull_SubscriptionnameBooleanInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameInt.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameInt.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameInt.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameInt.java index 853c300295..5062165713 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/pull/SyncPullSubscriptionnameInt.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/pull/SyncPullSubscriptionnameInt.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_pull_subscriptionnameint_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Pull_SubscriptionnameInt_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.PullResponse; import com.google.pubsub.v1.SubscriptionName; @@ -40,4 +40,4 @@ public static void syncPullSubscriptionnameInt() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_pull_subscriptionnameint_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Pull_SubscriptionnameInt_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/AsyncSeek.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/AsyncSeek.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/AsyncSeek.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/AsyncSeek.java index d5443a89e1..55212dd97d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/AsyncSeek.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/AsyncSeek.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_seek_async] +// [START pubsub_v1_generated_SubscriptionAdmin_Seek_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.SeekRequest; @@ -46,4 +46,4 @@ public static void asyncSeek() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_seek_async] +// [END pubsub_v1_generated_SubscriptionAdmin_Seek_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/SyncSeek.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/SyncSeek.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/SyncSeek.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/SyncSeek.java index ce4818173c..70a99a9ef7 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/seek/SyncSeek.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/seek/SyncSeek.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_seek_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_Seek_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.SeekRequest; import com.google.pubsub.v1.SeekResponse; @@ -43,4 +43,4 @@ public static void syncSeek() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_seek_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_Seek_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/AsyncSetIamPolicy.java index 577c1380ff..ac7cb04a37 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_setiampolicy_async] +// [START pubsub_v1_generated_SubscriptionAdmin_SetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.iam.v1.Policy; @@ -47,4 +47,4 @@ public static void asyncSetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_setiampolicy_async] +// [END pubsub_v1_generated_SubscriptionAdmin_SetIamPolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/SyncSetIamPolicy.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/SyncSetIamPolicy.java index 7f0493ca7e..38453850c6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_setiampolicy_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_SetIamPolicy_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -44,4 +44,4 @@ public static void syncSetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_setiampolicy_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_SetIamPolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/streamingpull/AsyncStreamingPull.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/streamingpull/AsyncStreamingPull.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/streamingpull/AsyncStreamingPull.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/streamingpull/AsyncStreamingPull.java index 977dca9e23..72baf12607 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/streamingpull/AsyncStreamingPull.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/streamingpull/AsyncStreamingPull.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_streamingpull_async] +// [START pubsub_v1_generated_SubscriptionAdmin_StreamingPull_async] import com.google.api.gax.rpc.BidiStream; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.pubsub.v1.StreamingPullRequest; @@ -57,4 +57,4 @@ public static void asyncStreamingPull() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_streamingpull_async] +// [END pubsub_v1_generated_SubscriptionAdmin_StreamingPull_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/AsyncTestIamPermissions.java index e23f707afd..8cd6983fa8 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_testiampermissions_async] +// [START pubsub_v1_generated_SubscriptionAdmin_TestIamPermissions_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.iam.v1.TestIamPermissionsRequest; @@ -49,4 +49,4 @@ public static void asyncTestIamPermissions() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_testiampermissions_async] +// [END pubsub_v1_generated_SubscriptionAdmin_TestIamPermissions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/SyncTestIamPermissions.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/SyncTestIamPermissions.java index 12d3af92b3..b412b30fbb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_testiampermissions_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_TestIamPermissions_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; @@ -45,4 +45,4 @@ public static void syncTestIamPermissions() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_testiampermissions_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_TestIamPermissions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/AsyncUpdateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/AsyncUpdateSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/AsyncUpdateSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/AsyncUpdateSnapshot.java index d53c3e6002..36ce3fd425 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/AsyncUpdateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/AsyncUpdateSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_updatesnapshot_async] +// [START pubsub_v1_generated_SubscriptionAdmin_UpdateSnapshot_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.FieldMask; @@ -48,4 +48,4 @@ public static void asyncUpdateSnapshot() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_updatesnapshot_async] +// [END pubsub_v1_generated_SubscriptionAdmin_UpdateSnapshot_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/SyncUpdateSnapshot.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/SyncUpdateSnapshot.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/SyncUpdateSnapshot.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/SyncUpdateSnapshot.java index 07efdc75e4..742fd2aeb5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesnapshot/SyncUpdateSnapshot.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesnapshot/SyncUpdateSnapshot.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_updatesnapshot_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_UpdateSnapshot_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.FieldMask; import com.google.pubsub.v1.Snapshot; @@ -44,4 +44,4 @@ public static void syncUpdateSnapshot() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_updatesnapshot_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_UpdateSnapshot_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/AsyncUpdateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/AsyncUpdateSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/AsyncUpdateSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/AsyncUpdateSubscription.java index 61872dc63a..0d442b959b 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/AsyncUpdateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/AsyncUpdateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_updatesubscription_async] +// [START pubsub_v1_generated_SubscriptionAdmin_UpdateSubscription_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.FieldMask; @@ -48,4 +48,4 @@ public static void asyncUpdateSubscription() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_updatesubscription_async] +// [END pubsub_v1_generated_SubscriptionAdmin_UpdateSubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/SyncUpdateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/SyncUpdateSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/SyncUpdateSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/SyncUpdateSubscription.java index ef29dce71a..c4ec8bfe5f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminclient/updatesubscription/SyncUpdateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadmin/updatesubscription/SyncUpdateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminclient_updatesubscription_sync] +// [START pubsub_v1_generated_SubscriptionAdmin_UpdateSubscription_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.protobuf.FieldMask; import com.google.pubsub.v1.Subscription; @@ -44,4 +44,4 @@ public static void syncUpdateSubscription() throws Exception { } } } -// [END pubsub_v1_generated_subscriptionadminclient_updatesubscription_sync] +// [END pubsub_v1_generated_SubscriptionAdmin_UpdateSubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminsettings/createsubscription/SyncCreateSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminsettings/createsubscription/SyncCreateSubscription.java index 9f7b49153c..4b8fc85b52 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminsettings/createsubscription/SyncCreateSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/subscriptionadminsettings/createsubscription/SyncCreateSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_subscriptionadminsettings_createsubscription_sync] +// [START pubsub_v1_generated_SubscriptionAdminSettings_CreateSubscription_sync] import com.google.cloud.pubsub.v1.SubscriptionAdminSettings; import java.time.Duration; @@ -46,4 +46,4 @@ public static void syncCreateSubscription() throws Exception { SubscriptionAdminSettings subscriptionAdminSettings = subscriptionAdminSettingsBuilder.build(); } } -// [END pubsub_v1_generated_subscriptionadminsettings_createsubscription_sync] +// [END pubsub_v1_generated_SubscriptionAdminSettings_CreateSubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetCredentialsProvider.java index 73b3852ce3..2689c5e644 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_create_setcredentialsprovider_sync] +// [START pubsub_v1_generated_TopicAdmin_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.cloud.pubsub.v1.TopicAdminSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { TopicAdminClient topicAdminClient = TopicAdminClient.create(topicAdminSettings); } } -// [END pubsub_v1_generated_topicadminclient_create_setcredentialsprovider_sync] +// [END pubsub_v1_generated_TopicAdmin_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetEndpoint.java index d3010d7cdb..7a9873e2e1 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_create_setendpoint_sync] +// [START pubsub_v1_generated_TopicAdmin_Create_SetEndpoint_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.cloud.pubsub.v1.TopicAdminSettings; import com.google.cloud.pubsub.v1.myEndpoint; @@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception { TopicAdminClient topicAdminClient = TopicAdminClient.create(topicAdminSettings); } } -// [END pubsub_v1_generated_topicadminclient_create_setendpoint_sync] +// [END pubsub_v1_generated_TopicAdmin_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/AsyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/AsyncCreateTopic.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/AsyncCreateTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/AsyncCreateTopic.java index 9e392a2e53..d2e14dd073 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/AsyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/AsyncCreateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_createtopic_async] +// [START pubsub_v1_generated_TopicAdmin_CreateTopic_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.protobuf.Duration; @@ -55,4 +55,4 @@ public static void asyncCreateTopic() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_createtopic_async] +// [END pubsub_v1_generated_TopicAdmin_CreateTopic_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopic.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopic.java index 0811718acb..40695121e2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_createtopic_sync] +// [START pubsub_v1_generated_TopicAdmin_CreateTopic_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.protobuf.Duration; import com.google.pubsub.v1.MessageStoragePolicy; @@ -52,4 +52,4 @@ public static void syncCreateTopic() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_createtopic_sync] +// [END pubsub_v1_generated_TopicAdmin_CreateTopic_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicString.java index db218d5ab6..c7fbe1a507 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_createtopic_string_sync] +// [START pubsub_v1_generated_TopicAdmin_CreateTopic_String_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.Topic; import com.google.pubsub.v1.TopicName; @@ -39,4 +39,4 @@ public static void syncCreateTopicString() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_createtopic_string_sync] +// [END pubsub_v1_generated_TopicAdmin_CreateTopic_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicTopicname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicTopicname.java index 40c1e72690..a87e0a41ba 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/createtopic/SyncCreateTopicTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/createtopic/SyncCreateTopicTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_createtopic_topicname_sync] +// [START pubsub_v1_generated_TopicAdmin_CreateTopic_Topicname_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.Topic; import com.google.pubsub.v1.TopicName; @@ -39,4 +39,4 @@ public static void syncCreateTopicTopicname() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_createtopic_topicname_sync] +// [END pubsub_v1_generated_TopicAdmin_CreateTopic_Topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/AsyncDeleteTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/AsyncDeleteTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/AsyncDeleteTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/AsyncDeleteTopic.java index 4984ec56a2..54087a1a06 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/AsyncDeleteTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/AsyncDeleteTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_deletetopic_async] +// [START pubsub_v1_generated_TopicAdmin_DeleteTopic_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.protobuf.Empty; @@ -46,4 +46,4 @@ public static void asyncDeleteTopic() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_deletetopic_async] +// [END pubsub_v1_generated_TopicAdmin_DeleteTopic_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopic.java index fa1ed996ea..66d3598075 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_deletetopic_sync] +// [START pubsub_v1_generated_TopicAdmin_DeleteTopic_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.DeleteTopicRequest; @@ -43,4 +43,4 @@ public static void syncDeleteTopic() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_deletetopic_sync] +// [END pubsub_v1_generated_TopicAdmin_DeleteTopic_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicString.java index c4476880bb..54c2d3a70d 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_deletetopic_string_sync] +// [START pubsub_v1_generated_TopicAdmin_DeleteTopic_String_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.TopicName; @@ -39,4 +39,4 @@ public static void syncDeleteTopicString() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_deletetopic_string_sync] +// [END pubsub_v1_generated_TopicAdmin_DeleteTopic_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicTopicname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicTopicname.java index 3e06153b59..ecfd69242a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/deletetopic/SyncDeleteTopicTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/deletetopic/SyncDeleteTopicTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_deletetopic_topicname_sync] +// [START pubsub_v1_generated_TopicAdmin_DeleteTopic_Topicname_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.protobuf.Empty; import com.google.pubsub.v1.TopicName; @@ -39,4 +39,4 @@ public static void syncDeleteTopicTopicname() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_deletetopic_topicname_sync] +// [END pubsub_v1_generated_TopicAdmin_DeleteTopic_Topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/AsyncDetachSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/AsyncDetachSubscription.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/AsyncDetachSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/AsyncDetachSubscription.java index ea439643f6..570b9cba9c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/AsyncDetachSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/AsyncDetachSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_detachsubscription_async] +// [START pubsub_v1_generated_TopicAdmin_DetachSubscription_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.DetachSubscriptionRequest; @@ -47,4 +47,4 @@ public static void asyncDetachSubscription() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_detachsubscription_async] +// [END pubsub_v1_generated_TopicAdmin_DetachSubscription_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/SyncDetachSubscription.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/SyncDetachSubscription.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/SyncDetachSubscription.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/SyncDetachSubscription.java index 9921df6dc0..0078b627cc 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/detachsubscription/SyncDetachSubscription.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/detachsubscription/SyncDetachSubscription.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_detachsubscription_sync] +// [START pubsub_v1_generated_TopicAdmin_DetachSubscription_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.DetachSubscriptionRequest; import com.google.pubsub.v1.DetachSubscriptionResponse; @@ -43,4 +43,4 @@ public static void syncDetachSubscription() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_detachsubscription_sync] +// [END pubsub_v1_generated_TopicAdmin_DetachSubscription_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/AsyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/AsyncGetIamPolicy.java index 6d374e2d12..ba611dabba 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_getiampolicy_async] +// [START pubsub_v1_generated_TopicAdmin_GetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.iam.v1.GetIamPolicyRequest; @@ -48,4 +48,4 @@ public static void asyncGetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_getiampolicy_async] +// [END pubsub_v1_generated_TopicAdmin_GetIamPolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/SyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/SyncGetIamPolicy.java index 9a7b21f97b..469141c01e 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_getiampolicy_sync] +// [START pubsub_v1_generated_TopicAdmin_GetIamPolicy_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; @@ -45,4 +45,4 @@ public static void syncGetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_getiampolicy_sync] +// [END pubsub_v1_generated_TopicAdmin_GetIamPolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/AsyncGetTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/AsyncGetTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/AsyncGetTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/AsyncGetTopic.java index a9c350d1a9..38812517c2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/AsyncGetTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/AsyncGetTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_gettopic_async] +// [START pubsub_v1_generated_TopicAdmin_GetTopic_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.GetTopicRequest; @@ -46,4 +46,4 @@ public static void asyncGetTopic() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_gettopic_async] +// [END pubsub_v1_generated_TopicAdmin_GetTopic_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopic.java index 417ff4bbee..a33abdc612 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_gettopic_sync] +// [START pubsub_v1_generated_TopicAdmin_GetTopic_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.GetTopicRequest; import com.google.pubsub.v1.Topic; @@ -43,4 +43,4 @@ public static void syncGetTopic() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_gettopic_sync] +// [END pubsub_v1_generated_TopicAdmin_GetTopic_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicString.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicString.java index e18e0fd46d..8747bad91a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_gettopic_string_sync] +// [START pubsub_v1_generated_TopicAdmin_GetTopic_String_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.Topic; import com.google.pubsub.v1.TopicName; @@ -39,4 +39,4 @@ public static void syncGetTopicString() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_gettopic_string_sync] +// [END pubsub_v1_generated_TopicAdmin_GetTopic_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicTopicname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicTopicname.java index d5c014b004..e73310c483 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/gettopic/SyncGetTopicTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/gettopic/SyncGetTopicTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_gettopic_topicname_sync] +// [START pubsub_v1_generated_TopicAdmin_GetTopic_Topicname_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.Topic; import com.google.pubsub.v1.TopicName; @@ -39,4 +39,4 @@ public static void syncGetTopicTopicname() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_gettopic_topicname_sync] +// [END pubsub_v1_generated_TopicAdmin_GetTopic_Topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopics.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopics.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopics.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopics.java index 204698edd8..20e95874a9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopics.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopics.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopics_async] +// [START pubsub_v1_generated_TopicAdmin_ListTopics_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.ListTopicsRequest; @@ -50,4 +50,4 @@ public static void asyncListTopics() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopics_async] +// [END pubsub_v1_generated_TopicAdmin_ListTopics_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopicsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopicsPaged.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopicsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopicsPaged.java index 674eb38ee0..cd76f71f61 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/AsyncListTopicsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/AsyncListTopicsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopics_paged_async] +// [START pubsub_v1_generated_TopicAdmin_ListTopics_Paged_async] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.common.base.Strings; import com.google.pubsub.v1.ListTopicsRequest; @@ -58,4 +58,4 @@ public static void asyncListTopicsPaged() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopics_paged_async] +// [END pubsub_v1_generated_TopicAdmin_ListTopics_Paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopics.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopics.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopics.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopics.java index c613ba487b..225852c905 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopics.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopics.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopics_sync] +// [START pubsub_v1_generated_TopicAdmin_ListTopics_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.ListTopicsRequest; import com.google.pubsub.v1.ProjectName; @@ -47,4 +47,4 @@ public static void syncListTopics() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopics_sync] +// [END pubsub_v1_generated_TopicAdmin_ListTopics_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsProjectname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsProjectname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsProjectname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsProjectname.java index 85213f1674..8a77860953 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsProjectname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsProjectname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopics_projectname_sync] +// [START pubsub_v1_generated_TopicAdmin_ListTopics_Projectname_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Topic; @@ -41,4 +41,4 @@ public static void syncListTopicsProjectname() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopics_projectname_sync] +// [END pubsub_v1_generated_TopicAdmin_ListTopics_Projectname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsString.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsString.java index 6a8d893f07..7d5cef7204 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopics/SyncListTopicsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopics/SyncListTopicsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopics_string_sync] +// [START pubsub_v1_generated_TopicAdmin_ListTopics_String_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.ProjectName; import com.google.pubsub.v1.Topic; @@ -41,4 +41,4 @@ public static void syncListTopicsString() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopics_string_sync] +// [END pubsub_v1_generated_TopicAdmin_ListTopics_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshots.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshots.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshots.java index 9b862febb8..fe65e4f98c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshots.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsnapshots_async] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.ListTopicSnapshotsRequest; @@ -50,4 +50,4 @@ public static void asyncListTopicSnapshots() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_async] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java index 7d39cf98d3..b89916be96 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/AsyncListTopicSnapshotsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsnapshots_paged_async] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_Paged_async] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.common.base.Strings; import com.google.pubsub.v1.ListTopicSnapshotsRequest; @@ -58,4 +58,4 @@ public static void asyncListTopicSnapshotsPaged() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_paged_async] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_Paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshots.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshots.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshots.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshots.java index 4fe184cae8..dbf6f6c855 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshots.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshots.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsnapshots_sync] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.ListTopicSnapshotsRequest; import com.google.pubsub.v1.TopicName; @@ -46,4 +46,4 @@ public static void syncListTopicSnapshots() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_sync] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsString.java index 6c6ea28f01..b8fcb98460 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsnapshots_string_sync] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_String_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.TopicName; @@ -40,4 +40,4 @@ public static void syncListTopicSnapshotsString() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_string_sync] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java index 835c9ba0f1..143193b422 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsnapshots/SyncListTopicSnapshotsTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsnapshots_topicname_sync] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_Topicname_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.TopicName; @@ -40,4 +40,4 @@ public static void syncListTopicSnapshotsTopicname() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsnapshots_topicname_sync] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_Topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptions.java index 684c18072e..d81e41eb1f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsubscriptions_async] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.ListTopicSubscriptionsRequest; @@ -50,4 +50,4 @@ public static void asyncListTopicSubscriptions() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_async] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java index 056cacdc03..8e1e6e7443 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/AsyncListTopicSubscriptionsPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsubscriptions_paged_async] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_Paged_async] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.common.base.Strings; import com.google.pubsub.v1.ListTopicSubscriptionsRequest; @@ -58,4 +58,4 @@ public static void asyncListTopicSubscriptionsPaged() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_paged_async] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_Paged_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptions.java similarity index 92% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptions.java index 5106175cdf..ddacb54ab2 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsubscriptions_sync] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.ListTopicSubscriptionsRequest; import com.google.pubsub.v1.TopicName; @@ -46,4 +46,4 @@ public static void syncListTopicSubscriptions() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_sync] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsString.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsString.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsString.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsString.java index 0f3a7de139..d3b44f61bb 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsString.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsString.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsubscriptions_string_sync] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_String_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.TopicName; @@ -40,4 +40,4 @@ public static void syncListTopicSubscriptionsString() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_string_sync] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_String_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java similarity index 90% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java index c94024d9bd..0b7ba70458 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/listtopicsubscriptions/SyncListTopicSubscriptionsTopicname.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_listtopicsubscriptions_topicname_sync] +// [START pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_Topicname_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.TopicName; @@ -40,4 +40,4 @@ public static void syncListTopicSubscriptionsTopicname() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_listtopicsubscriptions_topicname_sync] +// [END pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_Topicname_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/AsyncPublish.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/AsyncPublish.java similarity index 94% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/AsyncPublish.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/AsyncPublish.java index 0428022c89..7be4c1d4a6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/AsyncPublish.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/AsyncPublish.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_publish_async] +// [START pubsub_v1_generated_TopicAdmin_Publish_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.PublishRequest; @@ -49,4 +49,4 @@ public static void asyncPublish() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_publish_async] +// [END pubsub_v1_generated_TopicAdmin_Publish_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublish.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublish.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublish.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublish.java index 82abe2dcc5..159a94a8b0 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublish.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublish.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_publish_sync] +// [START pubsub_v1_generated_TopicAdmin_Publish_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.PublishRequest; import com.google.pubsub.v1.PublishResponse; @@ -46,4 +46,4 @@ public static void syncPublish() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_publish_sync] +// [END pubsub_v1_generated_TopicAdmin_Publish_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishStringListpubsubmessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishStringListpubsubmessage.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishStringListpubsubmessage.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishStringListpubsubmessage.java index 304ed27e2d..0e293316b5 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishStringListpubsubmessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishStringListpubsubmessage.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_publish_stringlistpubsubmessage_sync] +// [START pubsub_v1_generated_TopicAdmin_Publish_StringListpubsubmessage_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.PublishResponse; import com.google.pubsub.v1.PubsubMessage; @@ -43,4 +43,4 @@ public static void syncPublishStringListpubsubmessage() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_publish_stringlistpubsubmessage_sync] +// [END pubsub_v1_generated_TopicAdmin_Publish_StringListpubsubmessage_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishTopicnameListpubsubmessage.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishTopicnameListpubsubmessage.java similarity index 91% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishTopicnameListpubsubmessage.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishTopicnameListpubsubmessage.java index 049d7bd628..3ee1c88f3f 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/publish/SyncPublishTopicnameListpubsubmessage.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/publish/SyncPublishTopicnameListpubsubmessage.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_publish_topicnamelistpubsubmessage_sync] +// [START pubsub_v1_generated_TopicAdmin_Publish_TopicnameListpubsubmessage_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.pubsub.v1.PublishResponse; import com.google.pubsub.v1.PubsubMessage; @@ -43,4 +43,4 @@ public static void syncPublishTopicnameListpubsubmessage() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_publish_topicnamelistpubsubmessage_sync] +// [END pubsub_v1_generated_TopicAdmin_Publish_TopicnameListpubsubmessage_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/AsyncSetIamPolicy.java index 99d5635a28..a1e5d19d56 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_setiampolicy_async] +// [START pubsub_v1_generated_TopicAdmin_SetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.iam.v1.Policy; @@ -47,4 +47,4 @@ public static void asyncSetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_setiampolicy_async] +// [END pubsub_v1_generated_TopicAdmin_SetIamPolicy_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/SyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/SyncSetIamPolicy.java index e362c3811a..25a50f9d5a 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_setiampolicy_sync] +// [START pubsub_v1_generated_TopicAdmin_SetIamPolicy_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -44,4 +44,4 @@ public static void syncSetIamPolicy() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_setiampolicy_sync] +// [END pubsub_v1_generated_TopicAdmin_SetIamPolicy_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/AsyncTestIamPermissions.java index 880ce9aa23..2c521262f6 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_testiampermissions_async] +// [START pubsub_v1_generated_TopicAdmin_TestIamPermissions_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.iam.v1.TestIamPermissionsRequest; @@ -49,4 +49,4 @@ public static void asyncTestIamPermissions() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_testiampermissions_async] +// [END pubsub_v1_generated_TopicAdmin_TestIamPermissions_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/SyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/SyncTestIamPermissions.java index de87ca7134..2dfa13eb66 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_testiampermissions_sync] +// [START pubsub_v1_generated_TopicAdmin_TestIamPermissions_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; @@ -45,4 +45,4 @@ public static void syncTestIamPermissions() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_testiampermissions_sync] +// [END pubsub_v1_generated_TopicAdmin_TestIamPermissions_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/AsyncUpdateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/AsyncUpdateTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/AsyncUpdateTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/AsyncUpdateTopic.java index 4455b8f198..4a1dc41af9 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/AsyncUpdateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/AsyncUpdateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_updatetopic_async] +// [START pubsub_v1_generated_TopicAdmin_UpdateTopic_async] import com.google.api.core.ApiFuture; import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.protobuf.FieldMask; @@ -47,4 +47,4 @@ public static void asyncUpdateTopic() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_updatetopic_async] +// [END pubsub_v1_generated_TopicAdmin_UpdateTopic_async] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/SyncUpdateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/SyncUpdateTopic.java similarity index 93% rename from test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/SyncUpdateTopic.java rename to test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/SyncUpdateTopic.java index 5ba8feede1..ea1839364c 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminclient/updatetopic/SyncUpdateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadmin/updatetopic/SyncUpdateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminclient_updatetopic_sync] +// [START pubsub_v1_generated_TopicAdmin_UpdateTopic_sync] import com.google.cloud.pubsub.v1.TopicAdminClient; import com.google.protobuf.FieldMask; import com.google.pubsub.v1.Topic; @@ -44,4 +44,4 @@ public static void syncUpdateTopic() throws Exception { } } } -// [END pubsub_v1_generated_topicadminclient_updatetopic_sync] +// [END pubsub_v1_generated_TopicAdmin_UpdateTopic_sync] diff --git a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminsettings/createtopic/SyncCreateTopic.java b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminsettings/createtopic/SyncCreateTopic.java index 5e38346067..e716aca1df 100644 --- a/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminsettings/createtopic/SyncCreateTopic.java +++ b/test/integration/goldens/pubsub/samples/snippets/generated/main/java/com/google/cloud/pubsub/v1/topicadminsettings/createtopic/SyncCreateTopic.java @@ -16,7 +16,7 @@ package com.google.cloud.pubsub.v1.samples; -// [START pubsub_v1_generated_topicadminsettings_createtopic_sync] +// [START pubsub_v1_generated_TopicAdminSettings_CreateTopic_sync] import com.google.cloud.pubsub.v1.TopicAdminSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncCreateTopic() throws Exception { TopicAdminSettings topicAdminSettings = topicAdminSettingsBuilder.build(); } } -// [END pubsub_v1_generated_topicadminsettings_createtopic_sync] +// [END pubsub_v1_generated_TopicAdminSettings_CreateTopic_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider.java index 84b8b68262..97a5a48105 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_create_setcredentialsprovider_sync] +// [START redis_v1beta1_generated_CloudRedis_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.CloudRedisSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { CloudRedisClient cloudRedisClient = CloudRedisClient.create(cloudRedisSettings); } } -// [END redis_v1beta1_generated_cloudredisclient_create_setcredentialsprovider_sync] +// [END redis_v1beta1_generated_CloudRedis_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java index dc877d2084..91b14d3867 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_create_setendpoint_sync] +// [START redis_v1beta1_generated_CloudRedis_Create_SetEndpoint_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.CloudRedisSettings; import com.google.cloud.redis.v1beta1.myEndpoint; @@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception { CloudRedisClient cloudRedisClient = CloudRedisClient.create(cloudRedisSettings); } } -// [END redis_v1beta1_generated_cloudredisclient_create_setendpoint_sync] +// [END redis_v1beta1_generated_CloudRedis_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java index 96519758d6..6e439e0dce 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_createinstance_async] +// [START redis_v1beta1_generated_CloudRedis_CreateInstance_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.CreateInstanceRequest; @@ -49,4 +49,4 @@ public static void asyncCreateInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_createinstance_async] +// [END redis_v1beta1_generated_CloudRedis_CreateInstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java index 35fea74142..6399d91963 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/AsyncCreateInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/AsyncCreateInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_createinstance_lro_async] +// [START redis_v1beta1_generated_CloudRedis_CreateInstance_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.CreateInstanceRequest; @@ -50,4 +50,4 @@ public static void asyncCreateInstanceLRO() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_createinstance_lro_async] +// [END redis_v1beta1_generated_CloudRedis_CreateInstance_LRO_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java index ba5cd839a1..c5ddf37679 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_createinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_CreateInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.CreateInstanceRequest; import com.google.cloud.redis.v1beta1.Instance; @@ -45,4 +45,4 @@ public static void syncCreateInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_createinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_CreateInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java index 4a0d38a859..11313ca84b 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceLocationnameStringInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceLocationnameStringInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_createinstance_locationnamestringinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_CreateInstance_LocationnameStringInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.LocationName; @@ -41,4 +41,4 @@ public static void syncCreateInstanceLocationnameStringInstance() throws Excepti } } } -// [END redis_v1beta1_generated_cloudredisclient_createinstance_locationnamestringinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_CreateInstance_LocationnameStringInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceStringStringInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceStringStringInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java index e3af6e6083..9ee0ca14d4 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/createinstance/SyncCreateInstanceStringStringInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/createinstance/SyncCreateInstanceStringStringInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_createinstance_stringstringinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_CreateInstance_StringStringInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.LocationName; @@ -41,4 +41,4 @@ public static void syncCreateInstanceStringStringInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_createinstance_stringstringinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_CreateInstance_StringStringInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java index be1676aca8..de5db2b35a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_deleteinstance_async] +// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.DeleteInstanceRequest; @@ -46,4 +46,4 @@ public static void asyncDeleteInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_async] +// [END redis_v1beta1_generated_CloudRedis_DeleteInstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java index d1eb442ee8..3ec5e853bf 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/AsyncDeleteInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/AsyncDeleteInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_deleteinstance_lro_async] +// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.DeleteInstanceRequest; @@ -48,4 +48,4 @@ public static void asyncDeleteInstanceLRO() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_lro_async] +// [END redis_v1beta1_generated_CloudRedis_DeleteInstance_LRO_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java index 33b0ebb99e..e1966e46ec 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_deleteinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.DeleteInstanceRequest; import com.google.cloud.redis.v1beta1.InstanceName; @@ -43,4 +43,4 @@ public static void syncDeleteInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_DeleteInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceInstancename.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceInstancename.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java index 942b4b99e3..88e9c960dd 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceInstancename.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceInstancename.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_deleteinstance_instancename_sync] +// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_Instancename_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.InstanceName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteInstanceInstancename() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_instancename_sync] +// [END redis_v1beta1_generated_CloudRedis_DeleteInstance_Instancename_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java index 64add1b20c..676a72f40e 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/deleteinstance/SyncDeleteInstanceString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/deleteinstance/SyncDeleteInstanceString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_deleteinstance_string_sync] +// [START redis_v1beta1_generated_CloudRedis_DeleteInstance_String_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.InstanceName; import com.google.protobuf.Empty; @@ -39,4 +39,4 @@ public static void syncDeleteInstanceString() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_deleteinstance_string_sync] +// [END redis_v1beta1_generated_CloudRedis_DeleteInstance_String_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java index dfef10de39..a708fea978 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_exportinstance_async] +// [START redis_v1beta1_generated_CloudRedis_ExportInstance_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.ExportInstanceRequest; @@ -47,4 +47,4 @@ public static void asyncExportInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_exportinstance_async] +// [END redis_v1beta1_generated_CloudRedis_ExportInstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java index 4eb0cd23e0..82df97b5f0 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/AsyncExportInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/AsyncExportInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_exportinstance_lro_async] +// [START redis_v1beta1_generated_CloudRedis_ExportInstance_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.ExportInstanceRequest; @@ -49,4 +49,4 @@ public static void asyncExportInstanceLRO() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_exportinstance_lro_async] +// [END redis_v1beta1_generated_CloudRedis_ExportInstance_LRO_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java index 0a6078e327..f67d16d01b 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_exportinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_ExportInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.ExportInstanceRequest; import com.google.cloud.redis.v1beta1.Instance; @@ -44,4 +44,4 @@ public static void syncExportInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_exportinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_ExportInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstanceStringOutputconfig.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstanceStringOutputconfig.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java index 1e3a19f42b..840fe4f0a4 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/exportinstance/SyncExportInstanceStringOutputconfig.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/exportinstance/SyncExportInstanceStringOutputconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_exportinstance_stringoutputconfig_sync] +// [START redis_v1beta1_generated_CloudRedis_ExportInstance_StringOutputconfig_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.OutputConfig; @@ -40,4 +40,4 @@ public static void syncExportInstanceStringOutputconfig() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_exportinstance_stringoutputconfig_sync] +// [END redis_v1beta1_generated_CloudRedis_ExportInstance_StringOutputconfig_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java index a6cf421f48..9d5dad8db3 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_failoverinstance_async] +// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.FailoverInstanceRequest; @@ -46,4 +46,4 @@ public static void asyncFailoverInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_async] +// [END redis_v1beta1_generated_CloudRedis_FailoverInstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java index 05f0f05aec..03091e3767 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/AsyncFailoverInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/AsyncFailoverInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_failoverinstance_lro_async] +// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.FailoverInstanceRequest; @@ -48,4 +48,4 @@ public static void asyncFailoverInstanceLRO() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_lro_async] +// [END redis_v1beta1_generated_CloudRedis_FailoverInstance_LRO_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java index f5c369f45f..9fd4f0823a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_failoverinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.FailoverInstanceRequest; import com.google.cloud.redis.v1beta1.Instance; @@ -43,4 +43,4 @@ public static void syncFailoverInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_FailoverInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java similarity index 88% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java index 7fdd68b0a1..725f87aa07 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceInstancenameFailoverinstancerequestdataprotectionmode.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_failoverinstance_instancenamefailoverinstancerequestdataprotectionmode_sync] +// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_InstancenameFailoverinstancerequestdataprotectionmode_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.FailoverInstanceRequest; import com.google.cloud.redis.v1beta1.Instance; @@ -43,4 +43,4 @@ public static void syncFailoverInstanceInstancenameFailoverinstancerequestdatapr } } } -// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_instancenamefailoverinstancerequestdataprotectionmode_sync] +// [END redis_v1beta1_generated_CloudRedis_FailoverInstance_InstancenameFailoverinstancerequestdataprotectionmode_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java similarity index 89% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java index 54d5a60b95..42404416ba 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/failoverinstance/SyncFailoverInstanceStringFailoverinstancerequestdataprotectionmode.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_failoverinstance_stringfailoverinstancerequestdataprotectionmode_sync] +// [START redis_v1beta1_generated_CloudRedis_FailoverInstance_StringFailoverinstancerequestdataprotectionmode_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.FailoverInstanceRequest; import com.google.cloud.redis.v1beta1.Instance; @@ -43,4 +43,4 @@ public static void syncFailoverInstanceStringFailoverinstancerequestdataprotecti } } } -// [END redis_v1beta1_generated_cloudredisclient_failoverinstance_stringfailoverinstancerequestdataprotectionmode_sync] +// [END redis_v1beta1_generated_CloudRedis_FailoverInstance_StringFailoverinstancerequestdataprotectionmode_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/AsyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/AsyncGetInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java index a447cd39e7..50e7e345fe 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/AsyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/AsyncGetInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_getinstance_async] +// [START redis_v1beta1_generated_CloudRedis_GetInstance_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.GetInstanceRequest; @@ -46,4 +46,4 @@ public static void asyncGetInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_getinstance_async] +// [END redis_v1beta1_generated_CloudRedis_GetInstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java index 4bc00a7ab7..51a60582bd 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_getinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_GetInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.GetInstanceRequest; import com.google.cloud.redis.v1beta1.Instance; @@ -43,4 +43,4 @@ public static void syncGetInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_getinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_GetInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceInstancename.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceInstancename.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java index e22472c887..06236cdee0 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceInstancename.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceInstancename.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_getinstance_instancename_sync] +// [START redis_v1beta1_generated_CloudRedis_GetInstance_Instancename_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.InstanceName; @@ -39,4 +39,4 @@ public static void syncGetInstanceInstancename() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_getinstance_instancename_sync] +// [END redis_v1beta1_generated_CloudRedis_GetInstance_Instancename_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java index 1d3b929808..884d4e2544 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstance/SyncGetInstanceString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstance/SyncGetInstanceString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_getinstance_string_sync] +// [START redis_v1beta1_generated_CloudRedis_GetInstance_String_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.InstanceName; @@ -39,4 +39,4 @@ public static void syncGetInstanceString() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_getinstance_string_sync] +// [END redis_v1beta1_generated_CloudRedis_GetInstance_String_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/AsyncGetInstanceAuthString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/AsyncGetInstanceAuthString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java index 070ea20e4e..8b6d217ea1 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/AsyncGetInstanceAuthString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/AsyncGetInstanceAuthString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_async] +// [START redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.GetInstanceAuthStringRequest; @@ -47,4 +47,4 @@ public static void asyncGetInstanceAuthString() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_async] +// [END redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java index 9bf0be720f..8e1750fb99 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_sync] +// [START redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.GetInstanceAuthStringRequest; import com.google.cloud.redis.v1beta1.InstanceAuthString; @@ -43,4 +43,4 @@ public static void syncGetInstanceAuthString() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_sync] +// [END redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java index 51ccae536e..aba48b769d 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringInstancename.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_instancename_sync] +// [START redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_Instancename_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.InstanceAuthString; import com.google.cloud.redis.v1beta1.InstanceName; @@ -39,4 +39,4 @@ public static void syncGetInstanceAuthStringInstancename() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_instancename_sync] +// [END redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_Instancename_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java index 2099b73459..01ce1d2431 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/getinstanceauthstring/SyncGetInstanceAuthStringString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/getinstanceauthstring/SyncGetInstanceAuthStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_string_sync] +// [START redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_String_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.InstanceAuthString; import com.google.cloud.redis.v1beta1.InstanceName; @@ -39,4 +39,4 @@ public static void syncGetInstanceAuthStringString() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_getinstanceauthstring_string_sync] +// [END redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_String_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java index d35688f486..3f62233680 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_importinstance_async] +// [START redis_v1beta1_generated_CloudRedis_ImportInstance_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.ImportInstanceRequest; @@ -47,4 +47,4 @@ public static void asyncImportInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_importinstance_async] +// [END redis_v1beta1_generated_CloudRedis_ImportInstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java index da4076dc26..d42251d1ef 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/AsyncImportInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/AsyncImportInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_importinstance_lro_async] +// [START redis_v1beta1_generated_CloudRedis_ImportInstance_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.ImportInstanceRequest; @@ -49,4 +49,4 @@ public static void asyncImportInstanceLRO() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_importinstance_lro_async] +// [END redis_v1beta1_generated_CloudRedis_ImportInstance_LRO_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java index 91af8a59c5..f263e715d8 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_importinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_ImportInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.ImportInstanceRequest; import com.google.cloud.redis.v1beta1.InputConfig; @@ -44,4 +44,4 @@ public static void syncImportInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_importinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_ImportInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstanceStringInputconfig.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstanceStringInputconfig.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java index 074dea83e1..ddea6e6e40 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/importinstance/SyncImportInstanceStringInputconfig.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/importinstance/SyncImportInstanceStringInputconfig.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_importinstance_stringinputconfig_sync] +// [START redis_v1beta1_generated_CloudRedis_ImportInstance_StringInputconfig_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.InputConfig; import com.google.cloud.redis.v1beta1.Instance; @@ -40,4 +40,4 @@ public static void syncImportInstanceStringInputconfig() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_importinstance_stringinputconfig_sync] +// [END redis_v1beta1_generated_CloudRedis_ImportInstance_StringInputconfig_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstances.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstances.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java index 666111e35e..20c7f67e8f 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstances.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstances.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_listinstances_async] +// [START redis_v1beta1_generated_CloudRedis_ListInstances_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; @@ -51,4 +51,4 @@ public static void asyncListInstances() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_listinstances_async] +// [END redis_v1beta1_generated_CloudRedis_ListInstances_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstancesPaged.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstancesPaged.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java index b528de4cfa..d9bfef025a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/AsyncListInstancesPaged.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/AsyncListInstancesPaged.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_listinstances_paged_async] +// [START redis_v1beta1_generated_CloudRedis_ListInstances_Paged_async] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.ListInstancesRequest; @@ -58,4 +58,4 @@ public static void asyncListInstancesPaged() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_listinstances_paged_async] +// [END redis_v1beta1_generated_CloudRedis_ListInstances_Paged_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstances.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstances.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java index 8b44b76ab9..f1273b5344 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstances.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstances.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_listinstances_sync] +// [START redis_v1beta1_generated_CloudRedis_ListInstances_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.ListInstancesRequest; @@ -47,4 +47,4 @@ public static void syncListInstances() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_listinstances_sync] +// [END redis_v1beta1_generated_CloudRedis_ListInstances_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesLocationname.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesLocationname.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java index 074b04ba05..9298fb26d5 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesLocationname.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesLocationname.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_listinstances_locationname_sync] +// [START redis_v1beta1_generated_CloudRedis_ListInstances_Locationname_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.LocationName; @@ -41,4 +41,4 @@ public static void syncListInstancesLocationname() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_listinstances_locationname_sync] +// [END redis_v1beta1_generated_CloudRedis_ListInstances_Locationname_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java index 32a46245a8..1e7395077b 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/listinstances/SyncListInstancesString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/listinstances/SyncListInstancesString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_listinstances_string_sync] +// [START redis_v1beta1_generated_CloudRedis_ListInstances_String_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.LocationName; @@ -41,4 +41,4 @@ public static void syncListInstancesString() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_listinstances_string_sync] +// [END redis_v1beta1_generated_CloudRedis_ListInstances_String_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java index 6afd7c602a..0cd397acca 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_async] +// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.InstanceName; @@ -49,4 +49,4 @@ public static void asyncRescheduleMaintenance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_async] +// [END redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java index d37e56f918..d9b3ae2e1b 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/AsyncRescheduleMaintenanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_lro_async] +// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; @@ -50,4 +50,4 @@ public static void asyncRescheduleMaintenanceLRO() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_lro_async] +// [END redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_LRO_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java index 8b8238870a..5b97aea2e8 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_sync] +// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.InstanceName; @@ -45,4 +45,4 @@ public static void syncRescheduleMaintenance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_sync] +// [END redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java similarity index 88% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java index 3cb0db55f3..b0291cf630 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceInstancenameReschedulemaintenancerequestrescheduletypeTimestamp.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_instancenamereschedulemaintenancerequestrescheduletypetimestamp_sync] +// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_InstancenameReschedulemaintenancerequestrescheduletypeTimestamp_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.InstanceName; @@ -48,4 +48,4 @@ public static void main(String[] args) throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_instancenamereschedulemaintenancerequestrescheduletypetimestamp_sync] +// [END redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_InstancenameReschedulemaintenancerequestrescheduletypeTimestamp_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java similarity index 89% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java index ec59dafbe3..c9f19c0ff2 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/reschedulemaintenance/SyncRescheduleMaintenanceStringReschedulemaintenancerequestrescheduletypeTimestamp.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_stringreschedulemaintenancerequestrescheduletypetimestamp_sync] +// [START redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_StringReschedulemaintenancerequestrescheduletypeTimestamp_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.InstanceName; @@ -47,4 +47,4 @@ public static void main(String[] args) throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_reschedulemaintenance_stringreschedulemaintenancerequestrescheduletypetimestamp_sync] +// [END redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_StringReschedulemaintenancerequestrescheduletypeTimestamp_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java index 5e60c29ba8..bbfd0e043a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_updateinstance_async] +// [START redis_v1beta1_generated_CloudRedis_UpdateInstance_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; @@ -48,4 +48,4 @@ public static void asyncUpdateInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_updateinstance_async] +// [END redis_v1beta1_generated_CloudRedis_UpdateInstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java index fcbc0ff763..342b132f9d 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/AsyncUpdateInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/AsyncUpdateInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_updateinstance_lro_async] +// [START redis_v1beta1_generated_CloudRedis_UpdateInstance_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; @@ -49,4 +49,4 @@ public static void asyncUpdateInstanceLRO() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_updateinstance_lro_async] +// [END redis_v1beta1_generated_CloudRedis_UpdateInstance_LRO_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java index f1bea39c8f..8bb1c193fe 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_updateinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_UpdateInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.UpdateInstanceRequest; @@ -44,4 +44,4 @@ public static void syncUpdateInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_updateinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_UpdateInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java index d400476d73..65d41c35ab 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/updateinstance/SyncUpdateInstanceFieldmaskInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/updateinstance/SyncUpdateInstanceFieldmaskInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_updateinstance_fieldmaskinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_UpdateInstance_FieldmaskInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.protobuf.FieldMask; @@ -40,4 +40,4 @@ public static void syncUpdateInstanceFieldmaskInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_updateinstance_fieldmaskinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_UpdateInstance_FieldmaskInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java index 9f91d32f63..64e797aed0 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_upgradeinstance_async] +// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_async] import com.google.api.core.ApiFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.InstanceName; @@ -47,4 +47,4 @@ public static void asyncUpgradeInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_upgradeinstance_async] +// [END redis_v1beta1_generated_CloudRedis_UpgradeInstance_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstanceLRO.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java similarity index 93% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstanceLRO.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java index 9837b00214..9db9a43a4f 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/AsyncUpgradeInstanceLRO.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/AsyncUpgradeInstanceLRO.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_upgradeinstance_lro_async] +// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_LRO_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; @@ -49,4 +49,4 @@ public static void asyncUpgradeInstanceLRO() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_upgradeinstance_lro_async] +// [END redis_v1beta1_generated_CloudRedis_UpgradeInstance_LRO_async] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java similarity index 92% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstance.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java index 54ad26057c..64108a66fc 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_upgradeinstance_sync] +// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.InstanceName; @@ -44,4 +44,4 @@ public static void syncUpgradeInstance() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_upgradeinstance_sync] +// [END redis_v1beta1_generated_CloudRedis_UpgradeInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceInstancenameString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java similarity index 90% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceInstancenameString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java index b2249259df..6026622393 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceInstancenameString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceInstancenameString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_upgradeinstance_instancenamestring_sync] +// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_InstancenameString_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.InstanceName; @@ -40,4 +40,4 @@ public static void syncUpgradeInstanceInstancenameString() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_upgradeinstance_instancenamestring_sync] +// [END redis_v1beta1_generated_CloudRedis_UpgradeInstance_InstancenameString_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceStringString.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java similarity index 91% rename from test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceStringString.java rename to test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java index 4dfc6e9b85..2081697271 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredisclient/upgradeinstance/SyncUpgradeInstanceStringString.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredis/upgradeinstance/SyncUpgradeInstanceStringString.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredisclient_upgradeinstance_stringstring_sync] +// [START redis_v1beta1_generated_CloudRedis_UpgradeInstance_StringString_sync] import com.google.cloud.redis.v1beta1.CloudRedisClient; import com.google.cloud.redis.v1beta1.Instance; import com.google.cloud.redis.v1beta1.InstanceName; @@ -40,4 +40,4 @@ public static void syncUpgradeInstanceStringString() throws Exception { } } } -// [END redis_v1beta1_generated_cloudredisclient_upgradeinstance_stringstring_sync] +// [END redis_v1beta1_generated_CloudRedis_UpgradeInstance_StringString_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredissettings/getinstance/SyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredissettings/getinstance/SyncGetInstance.java index 09bc7209e5..e8fb16fa8a 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredissettings/getinstance/SyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/cloudredissettings/getinstance/SyncGetInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.samples; -// [START redis_v1beta1_generated_cloudredissettings_getinstance_sync] +// [START redis_v1beta1_generated_CloudRedisSettings_GetInstance_sync] import com.google.cloud.redis.v1beta1.CloudRedisSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncGetInstance() throws Exception { CloudRedisSettings cloudRedisSettings = cloudRedisSettingsBuilder.build(); } } -// [END redis_v1beta1_generated_cloudredissettings_getinstance_sync] +// [END redis_v1beta1_generated_CloudRedisSettings_GetInstance_sync] diff --git a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/stub/cloudredisstubsettings/getinstance/SyncGetInstance.java b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/stub/cloudredisstubsettings/getinstance/SyncGetInstance.java index 4e3bd14b06..364e543a79 100644 --- a/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/stub/cloudredisstubsettings/getinstance/SyncGetInstance.java +++ b/test/integration/goldens/redis/samples/snippets/generated/main/java/com/google/cloud/redis/v1beta1/stub/cloudredisstubsettings/getinstance/SyncGetInstance.java @@ -16,7 +16,7 @@ package com.google.cloud.redis.v1beta1.stub.samples; -// [START redis_v1beta1_generated_cloudredisstubsettings_getinstance_sync] +// [START redis_v1beta1_generated_CloudRedisStubSettings_GetInstance_sync] import com.google.cloud.redis.v1beta1.stub.CloudRedisStubSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncGetInstance() throws Exception { CloudRedisStubSettings cloudRedisSettings = cloudRedisSettingsBuilder.build(); } } -// [END redis_v1beta1_generated_cloudredisstubsettings_getinstance_sync] +// [END redis_v1beta1_generated_CloudRedisStubSettings_GetInstance_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/AsyncComposeObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/AsyncComposeObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/AsyncComposeObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/AsyncComposeObject.java index 600ff7ed69..0e7d8f5b05 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/AsyncComposeObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/AsyncComposeObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_composeobject_async] +// [START storage_v2_generated_Storage_ComposeObject_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; @@ -59,4 +59,4 @@ public static void asyncComposeObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_composeobject_async] +// [END storage_v2_generated_Storage_ComposeObject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/SyncComposeObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/SyncComposeObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java index 981389805d..3ae9348e7b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/composeobject/SyncComposeObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/composeobject/SyncComposeObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_composeobject_sync] +// [START storage_v2_generated_Storage_ComposeObject_sync] import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.ComposeObjectRequest; @@ -56,4 +56,4 @@ public static void syncComposeObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_composeobject_sync] +// [END storage_v2_generated_Storage_ComposeObject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetCredentialsProvider.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetCredentialsProvider.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java index 85bff4fd73..c17ea693e1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetCredentialsProvider.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetCredentialsProvider.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_create_setcredentialsprovider_sync] +// [START storage_v2_generated_Storage_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.storage.v2.StorageClient; import com.google.storage.v2.StorageSettings; @@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { StorageClient storageClient = StorageClient.create(storageSettings); } } -// [END storage_v2_generated_storageclient_create_setcredentialsprovider_sync] +// [END storage_v2_generated_Storage_Create_SetCredentialsProvider_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetEndpoint.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetEndpoint.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java index c25efcc648..b43c1b1baa 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/create/SyncCreateSetEndpoint.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/create/SyncCreateSetEndpoint.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_create_setendpoint_sync] +// [START storage_v2_generated_Storage_Create_SetEndpoint_sync] import com.google.storage.v2.StorageClient; import com.google.storage.v2.StorageSettings; import com.google.storage.v2.myEndpoint; @@ -37,4 +37,4 @@ public static void syncCreateSetEndpoint() throws Exception { StorageClient storageClient = StorageClient.create(storageSettings); } } -// [END storage_v2_generated_storageclient_create_setendpoint_sync] +// [END storage_v2_generated_Storage_Create_SetEndpoint_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/AsyncCreateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/AsyncCreateBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java index bdce3c935b..6ffaca8866 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/AsyncCreateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/AsyncCreateBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createbucket_async] +// [START storage_v2_generated_Storage_CreateBucket_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.Bucket; import com.google.storage.v2.CreateBucketRequest; @@ -52,4 +52,4 @@ public static void asyncCreateBucket() throws Exception { } } } -// [END storage_v2_generated_storageclient_createbucket_async] +// [END storage_v2_generated_Storage_CreateBucket_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java index 933718403f..5978d8d46e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createbucket_sync] +// [START storage_v2_generated_Storage_CreateBucket_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.CreateBucketRequest; import com.google.storage.v2.PredefinedBucketAcl; @@ -49,4 +49,4 @@ public static void syncCreateBucket() throws Exception { } } } -// [END storage_v2_generated_storageclient_createbucket_sync] +// [END storage_v2_generated_Storage_CreateBucket_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketProjectnameBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketProjectnameBucketString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java index 40af1d09c1..38fba8446b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketProjectnameBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketProjectnameBucketString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createbucket_projectnamebucketstring_sync] +// [START storage_v2_generated_Storage_CreateBucket_ProjectnameBucketString_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncCreateBucketProjectnameBucketString() throws Exception { } } } -// [END storage_v2_generated_storageclient_createbucket_projectnamebucketstring_sync] +// [END storage_v2_generated_Storage_CreateBucket_ProjectnameBucketString_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketStringBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketStringBucketString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java index 347bcd2613..7c6327688c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createbucket/SyncCreateBucketStringBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createbucket/SyncCreateBucketStringBucketString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createbucket_stringbucketstring_sync] +// [START storage_v2_generated_Storage_CreateBucket_StringBucketString_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncCreateBucketStringBucketString() throws Exception { } } } -// [END storage_v2_generated_storageclient_createbucket_stringbucketstring_sync] +// [END storage_v2_generated_Storage_CreateBucket_StringBucketString_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/AsyncCreateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/AsyncCreateHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java index a309a09f9c..82e3900e95 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/AsyncCreateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/AsyncCreateHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createhmackey_async] +// [START storage_v2_generated_Storage_CreateHmacKey_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.CreateHmacKeyRequest; @@ -50,4 +50,4 @@ public static void asyncCreateHmacKey() throws Exception { } } } -// [END storage_v2_generated_storageclient_createhmackey_async] +// [END storage_v2_generated_Storage_CreateHmacKey_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java index 1fc92bad1b..6a77091f33 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createhmackey_sync] +// [START storage_v2_generated_Storage_CreateHmacKey_sync] import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.CreateHmacKeyRequest; import com.google.storage.v2.CreateHmacKeyResponse; @@ -46,4 +46,4 @@ public static void syncCreateHmacKey() throws Exception { } } } -// [END storage_v2_generated_storageclient_createhmackey_sync] +// [END storage_v2_generated_Storage_CreateHmacKey_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyProjectnameString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyProjectnameString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java index f5ec47da68..fc3577f1aa 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyProjectnameString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyProjectnameString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createhmackey_projectnamestring_sync] +// [START storage_v2_generated_Storage_CreateHmacKey_ProjectnameString_sync] import com.google.storage.v2.CreateHmacKeyResponse; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncCreateHmacKeyProjectnameString() throws Exception { } } } -// [END storage_v2_generated_storageclient_createhmackey_projectnamestring_sync] +// [END storage_v2_generated_Storage_CreateHmacKey_ProjectnameString_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java index dc0ad3ab2b..9223e5e485 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createhmackey/SyncCreateHmacKeyStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createhmackey/SyncCreateHmacKeyStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createhmackey_stringstring_sync] +// [START storage_v2_generated_Storage_CreateHmacKey_StringString_sync] import com.google.storage.v2.CreateHmacKeyResponse; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncCreateHmacKeyStringString() throws Exception { } } } -// [END storage_v2_generated_storageclient_createhmackey_stringstring_sync] +// [END storage_v2_generated_Storage_CreateHmacKey_StringString_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/AsyncCreateNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/AsyncCreateNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java index fdaee0a18f..6155ee24d4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/AsyncCreateNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/AsyncCreateNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createnotification_async] +// [START storage_v2_generated_Storage_CreateNotification_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.CreateNotificationRequest; import com.google.storage.v2.Notification; @@ -48,4 +48,4 @@ public static void asyncCreateNotification() throws Exception { } } } -// [END storage_v2_generated_storageclient_createnotification_async] +// [END storage_v2_generated_Storage_CreateNotification_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java index e184870aee..f48aec3a56 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createnotification_sync] +// [START storage_v2_generated_Storage_CreateNotification_sync] import com.google.storage.v2.CreateNotificationRequest; import com.google.storage.v2.Notification; import com.google.storage.v2.ProjectName; @@ -44,4 +44,4 @@ public static void syncCreateNotification() throws Exception { } } } -// [END storage_v2_generated_storageclient_createnotification_sync] +// [END storage_v2_generated_Storage_CreateNotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationProjectnameNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationProjectnameNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java index 18b1de9bc4..bacc5f080b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationProjectnameNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationProjectnameNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createnotification_projectnamenotification_sync] +// [START storage_v2_generated_Storage_CreateNotification_ProjectnameNotification_sync] import com.google.storage.v2.Notification; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncCreateNotificationProjectnameNotification() throws Except } } } -// [END storage_v2_generated_storageclient_createnotification_projectnamenotification_sync] +// [END storage_v2_generated_Storage_CreateNotification_ProjectnameNotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationStringNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationStringNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java index d46baddb9e..8958897191 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/createnotification/SyncCreateNotificationStringNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/createnotification/SyncCreateNotificationStringNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_createnotification_stringnotification_sync] +// [START storage_v2_generated_Storage_CreateNotification_StringNotification_sync] import com.google.storage.v2.Notification; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncCreateNotificationStringNotification() throws Exception { } } } -// [END storage_v2_generated_storageclient_createnotification_stringnotification_sync] +// [END storage_v2_generated_Storage_CreateNotification_StringNotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/AsyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/AsyncDeleteBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java index dffde3bea3..383879beda 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/AsyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/AsyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletebucket_async] +// [START storage_v2_generated_Storage_DeleteBucket_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.storage.v2.BucketName; @@ -50,4 +50,4 @@ public static void asyncDeleteBucket() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletebucket_async] +// [END storage_v2_generated_Storage_DeleteBucket_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java index 0ba562f105..9f273a03b6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletebucket_sync] +// [START storage_v2_generated_Storage_DeleteBucket_sync] import com.google.protobuf.Empty; import com.google.storage.v2.BucketName; import com.google.storage.v2.CommonRequestParams; @@ -47,4 +47,4 @@ public static void syncDeleteBucket() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletebucket_sync] +// [END storage_v2_generated_Storage_DeleteBucket_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketBucketname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java index df4a03d236..058b3ba4e2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketBucketname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletebucket_bucketname_sync] +// [START storage_v2_generated_Storage_DeleteBucket_Bucketname_sync] import com.google.protobuf.Empty; import com.google.storage.v2.BucketName; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncDeleteBucketBucketname() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletebucket_bucketname_sync] +// [END storage_v2_generated_Storage_DeleteBucket_Bucketname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java index 2da6d7f5e1..5f2ad3506c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletebucket/SyncDeleteBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletebucket/SyncDeleteBucketString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletebucket_string_sync] +// [START storage_v2_generated_Storage_DeleteBucket_String_sync] import com.google.protobuf.Empty; import com.google.storage.v2.BucketName; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncDeleteBucketString() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletebucket_string_sync] +// [END storage_v2_generated_Storage_DeleteBucket_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/AsyncDeleteHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/AsyncDeleteHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java index 76bc4d96ca..4d5371ce77 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/AsyncDeleteHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/AsyncDeleteHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletehmackey_async] +// [START storage_v2_generated_Storage_DeleteHmacKey_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.storage.v2.CommonRequestParams; @@ -49,4 +49,4 @@ public static void asyncDeleteHmacKey() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletehmackey_async] +// [END storage_v2_generated_Storage_DeleteHmacKey_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java index 7963ea332d..4c4987aae3 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletehmackey_sync] +// [START storage_v2_generated_Storage_DeleteHmacKey_sync] import com.google.protobuf.Empty; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.DeleteHmacKeyRequest; @@ -46,4 +46,4 @@ public static void syncDeleteHmacKey() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletehmackey_sync] +// [END storage_v2_generated_Storage_DeleteHmacKey_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java index 94737c7400..8268243bb2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletehmackey_stringprojectname_sync] +// [START storage_v2_generated_Storage_DeleteHmacKey_StringProjectname_sync] import com.google.protobuf.Empty; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncDeleteHmacKeyStringProjectname() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletehmackey_stringprojectname_sync] +// [END storage_v2_generated_Storage_DeleteHmacKey_StringProjectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java index af28259644..0c80aa1abd 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletehmackey/SyncDeleteHmacKeyStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletehmackey/SyncDeleteHmacKeyStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletehmackey_stringstring_sync] +// [START storage_v2_generated_Storage_DeleteHmacKey_StringString_sync] import com.google.protobuf.Empty; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncDeleteHmacKeyStringString() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletehmackey_stringstring_sync] +// [END storage_v2_generated_Storage_DeleteHmacKey_StringString_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/AsyncDeleteNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/AsyncDeleteNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java index 9750969abe..13375c27c8 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/AsyncDeleteNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/AsyncDeleteNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletenotification_async] +// [START storage_v2_generated_Storage_DeleteNotification_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.storage.v2.DeleteNotificationRequest; @@ -46,4 +46,4 @@ public static void asyncDeleteNotification() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletenotification_async] +// [END storage_v2_generated_Storage_DeleteNotification_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java index 61711276a6..eb16ccf746 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletenotification_sync] +// [START storage_v2_generated_Storage_DeleteNotification_sync] import com.google.protobuf.Empty; import com.google.storage.v2.DeleteNotificationRequest; import com.google.storage.v2.NotificationName; @@ -43,4 +43,4 @@ public static void syncDeleteNotification() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletenotification_sync] +// [END storage_v2_generated_Storage_DeleteNotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationNotificationname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationNotificationname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java index 997e2a981a..2066a7f99b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationNotificationname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationNotificationname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletenotification_notificationname_sync] +// [START storage_v2_generated_Storage_DeleteNotification_Notificationname_sync] import com.google.protobuf.Empty; import com.google.storage.v2.NotificationName; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncDeleteNotificationNotificationname() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletenotification_notificationname_sync] +// [END storage_v2_generated_Storage_DeleteNotification_Notificationname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java index fb4a6eb0f2..fdae07c684 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deletenotification/SyncDeleteNotificationString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deletenotification/SyncDeleteNotificationString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deletenotification_string_sync] +// [START storage_v2_generated_Storage_DeleteNotification_String_sync] import com.google.protobuf.Empty; import com.google.storage.v2.NotificationName; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncDeleteNotificationString() throws Exception { } } } -// [END storage_v2_generated_storageclient_deletenotification_string_sync] +// [END storage_v2_generated_Storage_DeleteNotification_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/AsyncDeleteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/AsyncDeleteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java index 7a2be04630..714cd0468b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/AsyncDeleteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/AsyncDeleteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deleteobject_async] +// [START storage_v2_generated_Storage_DeleteObject_async] import com.google.api.core.ApiFuture; import com.google.protobuf.Empty; import com.google.storage.v2.CommonObjectRequestParams; @@ -56,4 +56,4 @@ public static void asyncDeleteObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_deleteobject_async] +// [END storage_v2_generated_Storage_DeleteObject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java index 7a75b1b37f..2256af68a9 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deleteobject_sync] +// [START storage_v2_generated_Storage_DeleteObject_sync] import com.google.protobuf.Empty; import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; @@ -53,4 +53,4 @@ public static void syncDeleteObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_deleteobject_sync] +// [END storage_v2_generated_Storage_DeleteObject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java index 71bd69ab79..17f92a5fb8 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deleteobject_stringstring_sync] +// [START storage_v2_generated_Storage_DeleteObject_StringString_sync] import com.google.protobuf.Empty; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncDeleteObjectStringString() throws Exception { } } } -// [END storage_v2_generated_storageclient_deleteobject_stringstring_sync] +// [END storage_v2_generated_Storage_DeleteObject_StringString_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringStringLong.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringStringLong.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java index 95901e4bff..96ece21926 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/deleteobject/SyncDeleteObjectStringStringLong.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/deleteobject/SyncDeleteObjectStringStringLong.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_deleteobject_stringstringlong_sync] +// [START storage_v2_generated_Storage_DeleteObject_StringStringLong_sync] import com.google.protobuf.Empty; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncDeleteObjectStringStringLong() throws Exception { } } } -// [END storage_v2_generated_storageclient_deleteobject_stringstringlong_sync] +// [END storage_v2_generated_Storage_DeleteObject_StringStringLong_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/AsyncGetBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/AsyncGetBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java index 4ffc9d602a..3dcdced845 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/AsyncGetBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/AsyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getbucket_async] +// [START storage_v2_generated_Storage_GetBucket_async] import com.google.api.core.ApiFuture; import com.google.protobuf.FieldMask; import com.google.storage.v2.Bucket; @@ -52,4 +52,4 @@ public static void asyncGetBucket() throws Exception { } } } -// [END storage_v2_generated_storageclient_getbucket_async] +// [END storage_v2_generated_Storage_GetBucket_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java index 7041a17529..7f538febb9 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getbucket_sync] +// [START storage_v2_generated_Storage_GetBucket_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.Bucket; import com.google.storage.v2.BucketName; @@ -49,4 +49,4 @@ public static void syncGetBucket() throws Exception { } } } -// [END storage_v2_generated_storageclient_getbucket_sync] +// [END storage_v2_generated_Storage_GetBucket_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketBucketname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java index 423ab72d7b..4380dde62d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketBucketname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getbucket_bucketname_sync] +// [START storage_v2_generated_Storage_GetBucket_Bucketname_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.BucketName; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncGetBucketBucketname() throws Exception { } } } -// [END storage_v2_generated_storageclient_getbucket_bucketname_sync] +// [END storage_v2_generated_Storage_GetBucket_Bucketname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java index 8c45b96b53..b405ab5bf8 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getbucket/SyncGetBucketString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getbucket/SyncGetBucketString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getbucket_string_sync] +// [START storage_v2_generated_Storage_GetBucket_String_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.BucketName; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncGetBucketString() throws Exception { } } } -// [END storage_v2_generated_storageclient_getbucket_string_sync] +// [END storage_v2_generated_Storage_GetBucket_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/AsyncGetHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/AsyncGetHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java index 496208daa2..6296790f3a 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/AsyncGetHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/AsyncGetHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_gethmackey_async] +// [START storage_v2_generated_Storage_GetHmacKey_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.GetHmacKeyRequest; @@ -49,4 +49,4 @@ public static void asyncGetHmacKey() throws Exception { } } } -// [END storage_v2_generated_storageclient_gethmackey_async] +// [END storage_v2_generated_Storage_GetHmacKey_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java index 279f0db52c..3e10b16928 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_gethmackey_sync] +// [START storage_v2_generated_Storage_GetHmacKey_sync] import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.GetHmacKeyRequest; import com.google.storage.v2.HmacKeyMetadata; @@ -46,4 +46,4 @@ public static void syncGetHmacKey() throws Exception { } } } -// [END storage_v2_generated_storageclient_gethmackey_sync] +// [END storage_v2_generated_Storage_GetHmacKey_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java index b301e0005a..1f9a3af72e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_gethmackey_stringprojectname_sync] +// [START storage_v2_generated_Storage_GetHmacKey_StringProjectname_sync] import com.google.storage.v2.HmacKeyMetadata; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncGetHmacKeyStringProjectname() throws Exception { } } } -// [END storage_v2_generated_storageclient_gethmackey_stringprojectname_sync] +// [END storage_v2_generated_Storage_GetHmacKey_StringProjectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java index a83efed1ad..2d474fe1f7 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/gethmackey/SyncGetHmacKeyStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/gethmackey/SyncGetHmacKeyStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_gethmackey_stringstring_sync] +// [START storage_v2_generated_Storage_GetHmacKey_StringString_sync] import com.google.storage.v2.HmacKeyMetadata; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncGetHmacKeyStringString() throws Exception { } } } -// [END storage_v2_generated_storageclient_gethmackey_stringstring_sync] +// [END storage_v2_generated_Storage_GetHmacKey_StringString_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/AsyncGetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/AsyncGetIamPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java index 9ffab60de8..3ad40f83e0 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/AsyncGetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/AsyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getiampolicy_async] +// [START storage_v2_generated_Storage_GetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; @@ -50,4 +50,4 @@ public static void asyncGetIamPolicy() throws Exception { } } } -// [END storage_v2_generated_storageclient_getiampolicy_async] +// [END storage_v2_generated_Storage_GetIamPolicy_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java index f6ef5b73fa..8afb23d68d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getiampolicy_sync] +// [START storage_v2_generated_Storage_GetIamPolicy_sync] import com.google.iam.v1.GetIamPolicyRequest; import com.google.iam.v1.GetPolicyOptions; import com.google.iam.v1.Policy; @@ -47,4 +47,4 @@ public static void syncGetIamPolicy() throws Exception { } } } -// [END storage_v2_generated_storageclient_getiampolicy_sync] +// [END storage_v2_generated_Storage_GetIamPolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyResourcename.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyResourcename.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java index d8c2afdd95..7957b007f7 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyResourcename.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyResourcename.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getiampolicy_resourcename_sync] +// [START storage_v2_generated_Storage_GetIamPolicy_Resourcename_sync] import com.google.api.resourcenames.ResourceName; import com.google.iam.v1.Policy; import com.google.storage.v2.CryptoKeyName; @@ -41,4 +41,4 @@ public static void syncGetIamPolicyResourcename() throws Exception { } } } -// [END storage_v2_generated_storageclient_getiampolicy_resourcename_sync] +// [END storage_v2_generated_Storage_GetIamPolicy_Resourcename_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java index df87a09e17..abf33118f1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getiampolicy/SyncGetIamPolicyString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getiampolicy/SyncGetIamPolicyString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getiampolicy_string_sync] +// [START storage_v2_generated_Storage_GetIamPolicy_String_sync] import com.google.iam.v1.Policy; import com.google.storage.v2.CryptoKeyName; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncGetIamPolicyString() throws Exception { } } } -// [END storage_v2_generated_storageclient_getiampolicy_string_sync] +// [END storage_v2_generated_Storage_GetIamPolicy_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/AsyncGetNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/AsyncGetNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java index f836ad97b6..e435ab17d9 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/AsyncGetNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/AsyncGetNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getnotification_async] +// [START storage_v2_generated_Storage_GetNotification_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.BucketName; import com.google.storage.v2.GetNotificationRequest; @@ -46,4 +46,4 @@ public static void asyncGetNotification() throws Exception { } } } -// [END storage_v2_generated_storageclient_getnotification_async] +// [END storage_v2_generated_Storage_GetNotification_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotification.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotification.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java index 68baa46722..cf7daa57e1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotification.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotification.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getnotification_sync] +// [START storage_v2_generated_Storage_GetNotification_sync] import com.google.storage.v2.BucketName; import com.google.storage.v2.GetNotificationRequest; import com.google.storage.v2.Notification; @@ -43,4 +43,4 @@ public static void syncGetNotification() throws Exception { } } } -// [END storage_v2_generated_storageclient_getnotification_sync] +// [END storage_v2_generated_Storage_GetNotification_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationBucketname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java index 836c0fb469..c02279bd04 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationBucketname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getnotification_bucketname_sync] +// [START storage_v2_generated_Storage_GetNotification_Bucketname_sync] import com.google.storage.v2.BucketName; import com.google.storage.v2.Notification; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncGetNotificationBucketname() throws Exception { } } } -// [END storage_v2_generated_storageclient_getnotification_bucketname_sync] +// [END storage_v2_generated_Storage_GetNotification_Bucketname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java index d7bbf4beb9..c986a36bd9 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getnotification/SyncGetNotificationString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getnotification/SyncGetNotificationString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getnotification_string_sync] +// [START storage_v2_generated_Storage_GetNotification_String_sync] import com.google.storage.v2.BucketName; import com.google.storage.v2.Notification; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncGetNotificationString() throws Exception { } } } -// [END storage_v2_generated_storageclient_getnotification_string_sync] +// [END storage_v2_generated_Storage_GetNotification_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/AsyncGetObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/AsyncGetObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java index bb46a24b2e..7c9ec69f23 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/AsyncGetObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/AsyncGetObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getobject_async] +// [START storage_v2_generated_Storage_GetObject_async] import com.google.api.core.ApiFuture; import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonObjectRequestParams; @@ -57,4 +57,4 @@ public static void asyncGetObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_getobject_async] +// [END storage_v2_generated_Storage_GetObject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java index ef07fe163d..2df38b0411 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getobject_sync] +// [START storage_v2_generated_Storage_GetObject_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; @@ -54,4 +54,4 @@ public static void syncGetObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_getobject_sync] +// [END storage_v2_generated_Storage_GetObject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java index fd0bbefc1e..055976559c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getobject_stringstring_sync] +// [START storage_v2_generated_Storage_GetObject_StringString_sync] import com.google.storage.v2.Object; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncGetObjectStringString() throws Exception { } } } -// [END storage_v2_generated_storageclient_getobject_stringstring_sync] +// [END storage_v2_generated_Storage_GetObject_StringString_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringStringLong.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringStringLong.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java index 815106ef57..d1b7872f9f 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getobject/SyncGetObjectStringStringLong.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getobject/SyncGetObjectStringStringLong.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getobject_stringstringlong_sync] +// [START storage_v2_generated_Storage_GetObject_StringStringLong_sync] import com.google.storage.v2.Object; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncGetObjectStringStringLong() throws Exception { } } } -// [END storage_v2_generated_storageclient_getobject_stringstringlong_sync] +// [END storage_v2_generated_Storage_GetObject_StringStringLong_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/AsyncGetServiceAccount.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/AsyncGetServiceAccount.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java index f582fbccbf..5a7bc7f5bd 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/AsyncGetServiceAccount.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/AsyncGetServiceAccount.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getserviceaccount_async] +// [START storage_v2_generated_Storage_GetServiceAccount_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.GetServiceAccountRequest; @@ -49,4 +49,4 @@ public static void asyncGetServiceAccount() throws Exception { } } } -// [END storage_v2_generated_storageclient_getserviceaccount_async] +// [END storage_v2_generated_Storage_GetServiceAccount_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccount.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccount.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java index 0460911b38..ac6aa64809 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccount.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccount.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getserviceaccount_sync] +// [START storage_v2_generated_Storage_GetServiceAccount_sync] import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.GetServiceAccountRequest; import com.google.storage.v2.ProjectName; @@ -45,4 +45,4 @@ public static void syncGetServiceAccount() throws Exception { } } } -// [END storage_v2_generated_storageclient_getserviceaccount_sync] +// [END storage_v2_generated_Storage_GetServiceAccount_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java index 55c604cec5..9c73fbfd80 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getserviceaccount_projectname_sync] +// [START storage_v2_generated_Storage_GetServiceAccount_Projectname_sync] import com.google.storage.v2.ProjectName; import com.google.storage.v2.ServiceAccount; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncGetServiceAccountProjectname() throws Exception { } } } -// [END storage_v2_generated_storageclient_getserviceaccount_projectname_sync] +// [END storage_v2_generated_Storage_GetServiceAccount_Projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java index 41643f50af..366ed9739e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/getserviceaccount/SyncGetServiceAccountString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/getserviceaccount/SyncGetServiceAccountString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_getserviceaccount_string_sync] +// [START storage_v2_generated_Storage_GetServiceAccount_String_sync] import com.google.storage.v2.ProjectName; import com.google.storage.v2.ServiceAccount; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncGetServiceAccountString() throws Exception { } } } -// [END storage_v2_generated_storageclient_getserviceaccount_string_sync] +// [END storage_v2_generated_Storage_GetServiceAccount_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBuckets.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBuckets.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java index d04519c59b..ee836eb681 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBuckets.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBuckets.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listbuckets_async] +// [START storage_v2_generated_Storage_ListBuckets_async] import com.google.api.core.ApiFuture; import com.google.protobuf.FieldMask; import com.google.storage.v2.Bucket; @@ -55,4 +55,4 @@ public static void asyncListBuckets() throws Exception { } } } -// [END storage_v2_generated_storageclient_listbuckets_async] +// [END storage_v2_generated_Storage_ListBuckets_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBucketsPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBucketsPaged.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java index adf9444d2d..50804dc510 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/AsyncListBucketsPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/AsyncListBucketsPaged.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listbuckets_paged_async] +// [START storage_v2_generated_Storage_ListBuckets_Paged_async] import com.google.common.base.Strings; import com.google.protobuf.FieldMask; import com.google.storage.v2.Bucket; @@ -63,4 +63,4 @@ public static void asyncListBucketsPaged() throws Exception { } } } -// [END storage_v2_generated_storageclient_listbuckets_paged_async] +// [END storage_v2_generated_Storage_ListBuckets_Paged_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBuckets.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBuckets.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java index 53c374d5d3..e8a5825092 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBuckets.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBuckets.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listbuckets_sync] +// [START storage_v2_generated_Storage_ListBuckets_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.Bucket; import com.google.storage.v2.CommonRequestParams; @@ -52,4 +52,4 @@ public static void syncListBuckets() throws Exception { } } } -// [END storage_v2_generated_storageclient_listbuckets_sync] +// [END storage_v2_generated_Storage_ListBuckets_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java index 603a1b7d05..e9c9424c1a 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listbuckets_projectname_sync] +// [START storage_v2_generated_Storage_ListBuckets_Projectname_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncListBucketsProjectname() throws Exception { } } } -// [END storage_v2_generated_storageclient_listbuckets_projectname_sync] +// [END storage_v2_generated_Storage_ListBuckets_Projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java index e9aca45a50..630f6bc297 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listbuckets/SyncListBucketsString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listbuckets/SyncListBucketsString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listbuckets_string_sync] +// [START storage_v2_generated_Storage_ListBuckets_String_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncListBucketsString() throws Exception { } } } -// [END storage_v2_generated_storageclient_listbuckets_string_sync] +// [END storage_v2_generated_Storage_ListBuckets_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeys.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeys.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java index 2880515eb3..93a5d2848d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeys.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeys.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listhmackeys_async] +// [START storage_v2_generated_Storage_ListHmacKeys_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.HmacKeyMetadata; @@ -55,4 +55,4 @@ public static void asyncListHmacKeys() throws Exception { } } } -// [END storage_v2_generated_storageclient_listhmackeys_async] +// [END storage_v2_generated_Storage_ListHmacKeys_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeysPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeysPaged.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java index e65983b0e4..4ab0838fb2 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/AsyncListHmacKeysPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/AsyncListHmacKeysPaged.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listhmackeys_paged_async] +// [START storage_v2_generated_Storage_ListHmacKeys_Paged_async] import com.google.common.base.Strings; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.HmacKeyMetadata; @@ -62,4 +62,4 @@ public static void asyncListHmacKeysPaged() throws Exception { } } } -// [END storage_v2_generated_storageclient_listhmackeys_paged_async] +// [END storage_v2_generated_Storage_ListHmacKeys_Paged_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeys.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeys.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java index 9eaf07bc4e..aa3911a12e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeys.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeys.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listhmackeys_sync] +// [START storage_v2_generated_Storage_ListHmacKeys_sync] import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.HmacKeyMetadata; import com.google.storage.v2.ListHmacKeysRequest; @@ -51,4 +51,4 @@ public static void syncListHmacKeys() throws Exception { } } } -// [END storage_v2_generated_storageclient_listhmackeys_sync] +// [END storage_v2_generated_Storage_ListHmacKeys_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java index 672f339b41..4a4791ca22 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listhmackeys_projectname_sync] +// [START storage_v2_generated_Storage_ListHmacKeys_Projectname_sync] import com.google.storage.v2.HmacKeyMetadata; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncListHmacKeysProjectname() throws Exception { } } } -// [END storage_v2_generated_storageclient_listhmackeys_projectname_sync] +// [END storage_v2_generated_Storage_ListHmacKeys_Projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java index a5852cea5b..cc45b359b6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listhmackeys/SyncListHmacKeysString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listhmackeys/SyncListHmacKeysString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listhmackeys_string_sync] +// [START storage_v2_generated_Storage_ListHmacKeys_String_sync] import com.google.storage.v2.HmacKeyMetadata; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncListHmacKeysString() throws Exception { } } } -// [END storage_v2_generated_storageclient_listhmackeys_string_sync] +// [END storage_v2_generated_Storage_ListHmacKeys_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotifications.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotifications.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java index a3e87303b1..24f3399182 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotifications.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotifications.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listnotifications_async] +// [START storage_v2_generated_Storage_ListNotifications_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.ListNotificationsRequest; import com.google.storage.v2.Notification; @@ -51,4 +51,4 @@ public static void asyncListNotifications() throws Exception { } } } -// [END storage_v2_generated_storageclient_listnotifications_async] +// [END storage_v2_generated_Storage_ListNotifications_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotificationsPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotificationsPaged.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java index b7db1c172d..9f14a283b1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/AsyncListNotificationsPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/AsyncListNotificationsPaged.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listnotifications_paged_async] +// [START storage_v2_generated_Storage_ListNotifications_Paged_async] import com.google.common.base.Strings; import com.google.storage.v2.ListNotificationsRequest; import com.google.storage.v2.ListNotificationsResponse; @@ -59,4 +59,4 @@ public static void asyncListNotificationsPaged() throws Exception { } } } -// [END storage_v2_generated_storageclient_listnotifications_paged_async] +// [END storage_v2_generated_Storage_ListNotifications_Paged_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotifications.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotifications.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java index 65dabd0edb..0ccd2eb0d3 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotifications.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotifications.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listnotifications_sync] +// [START storage_v2_generated_Storage_ListNotifications_sync] import com.google.storage.v2.ListNotificationsRequest; import com.google.storage.v2.Notification; import com.google.storage.v2.ProjectName; @@ -47,4 +47,4 @@ public static void syncListNotifications() throws Exception { } } } -// [END storage_v2_generated_storageclient_listnotifications_sync] +// [END storage_v2_generated_Storage_ListNotifications_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java index 8b545ca5f4..d7ee513685 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listnotifications_projectname_sync] +// [START storage_v2_generated_Storage_ListNotifications_Projectname_sync] import com.google.storage.v2.Notification; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncListNotificationsProjectname() throws Exception { } } } -// [END storage_v2_generated_storageclient_listnotifications_projectname_sync] +// [END storage_v2_generated_Storage_ListNotifications_Projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java index 10dc0ca3fc..34898b1a5c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listnotifications/SyncListNotificationsString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listnotifications/SyncListNotificationsString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listnotifications_string_sync] +// [START storage_v2_generated_Storage_ListNotifications_String_sync] import com.google.storage.v2.Notification; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncListNotificationsString() throws Exception { } } } -// [END storage_v2_generated_storageclient_listnotifications_string_sync] +// [END storage_v2_generated_Storage_ListNotifications_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjects.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjects.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java index 540d821a45..b3dc4aab67 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjects.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjects.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listobjects_async] +// [START storage_v2_generated_Storage_ListObjects_async] import com.google.api.core.ApiFuture; import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonRequestParams; @@ -60,4 +60,4 @@ public static void asyncListObjects() throws Exception { } } } -// [END storage_v2_generated_storageclient_listobjects_async] +// [END storage_v2_generated_Storage_ListObjects_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjectsPaged.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjectsPaged.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java index 38ab63055e..52ec978572 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/AsyncListObjectsPaged.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/AsyncListObjectsPaged.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listobjects_paged_async] +// [START storage_v2_generated_Storage_ListObjects_Paged_async] import com.google.common.base.Strings; import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonRequestParams; @@ -68,4 +68,4 @@ public static void asyncListObjectsPaged() throws Exception { } } } -// [END storage_v2_generated_storageclient_listobjects_paged_async] +// [END storage_v2_generated_Storage_ListObjects_Paged_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjects.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjects.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java index 52ee085997..0a7b1bf7c9 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjects.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjects.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listobjects_sync] +// [START storage_v2_generated_Storage_ListObjects_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.ListObjectsRequest; @@ -57,4 +57,4 @@ public static void syncListObjects() throws Exception { } } } -// [END storage_v2_generated_storageclient_listobjects_sync] +// [END storage_v2_generated_Storage_ListObjects_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsProjectname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsProjectname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java index d58a09ddd8..ffeab2e800 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsProjectname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsProjectname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listobjects_projectname_sync] +// [START storage_v2_generated_Storage_ListObjects_Projectname_sync] import com.google.storage.v2.Object; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncListObjectsProjectname() throws Exception { } } } -// [END storage_v2_generated_storageclient_listobjects_projectname_sync] +// [END storage_v2_generated_Storage_ListObjects_Projectname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java index eb5365e3db..07d0103f29 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/listobjects/SyncListObjectsString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/listobjects/SyncListObjectsString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_listobjects_string_sync] +// [START storage_v2_generated_Storage_ListObjects_String_sync] import com.google.storage.v2.Object; import com.google.storage.v2.ProjectName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncListObjectsString() throws Exception { } } } -// [END storage_v2_generated_storageclient_listobjects_string_sync] +// [END storage_v2_generated_Storage_ListObjects_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java index 9e1629faf5..0a03174d88 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/AsyncLockBucketRetentionPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_lockbucketretentionpolicy_async] +// [START storage_v2_generated_Storage_LockBucketRetentionPolicy_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.Bucket; import com.google.storage.v2.BucketName; @@ -50,4 +50,4 @@ public static void asyncLockBucketRetentionPolicy() throws Exception { } } } -// [END storage_v2_generated_storageclient_lockbucketretentionpolicy_async] +// [END storage_v2_generated_Storage_LockBucketRetentionPolicy_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java similarity index 92% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java index ef748a5b05..47cfec99e8 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_lockbucketretentionpolicy_sync] +// [START storage_v2_generated_Storage_LockBucketRetentionPolicy_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.BucketName; import com.google.storage.v2.CommonRequestParams; @@ -46,4 +46,4 @@ public static void syncLockBucketRetentionPolicy() throws Exception { } } } -// [END storage_v2_generated_storageclient_lockbucketretentionpolicy_sync] +// [END storage_v2_generated_Storage_LockBucketRetentionPolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java index 34a49422c7..975b421c1f 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyBucketname.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_lockbucketretentionpolicy_bucketname_sync] +// [START storage_v2_generated_Storage_LockBucketRetentionPolicy_Bucketname_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.BucketName; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncLockBucketRetentionPolicyBucketname() throws Exception { } } } -// [END storage_v2_generated_storageclient_lockbucketretentionpolicy_bucketname_sync] +// [END storage_v2_generated_Storage_LockBucketRetentionPolicy_Bucketname_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java index 2a3a6a6d20..9a368ae767 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/lockbucketretentionpolicy/SyncLockBucketRetentionPolicyString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_lockbucketretentionpolicy_string_sync] +// [START storage_v2_generated_Storage_LockBucketRetentionPolicy_String_sync] import com.google.storage.v2.Bucket; import com.google.storage.v2.BucketName; import com.google.storage.v2.StorageClient; @@ -39,4 +39,4 @@ public static void syncLockBucketRetentionPolicyString() throws Exception { } } } -// [END storage_v2_generated_storageclient_lockbucketretentionpolicy_string_sync] +// [END storage_v2_generated_Storage_LockBucketRetentionPolicy_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/AsyncQueryWriteStatus.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/AsyncQueryWriteStatus.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java index 77d3793d69..920ed5636d 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/AsyncQueryWriteStatus.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/AsyncQueryWriteStatus.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_querywritestatus_async] +// [START storage_v2_generated_Storage_QueryWriteStatus_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; @@ -50,4 +50,4 @@ public static void asyncQueryWriteStatus() throws Exception { } } } -// [END storage_v2_generated_storageclient_querywritestatus_async] +// [END storage_v2_generated_Storage_QueryWriteStatus_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatus.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatus.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java index 1e9a839858..c6ca964f02 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatus.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatus.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_querywritestatus_sync] +// [START storage_v2_generated_Storage_QueryWriteStatus_sync] import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.QueryWriteStatusRequest; @@ -46,4 +46,4 @@ public static void syncQueryWriteStatus() throws Exception { } } } -// [END storage_v2_generated_storageclient_querywritestatus_sync] +// [END storage_v2_generated_Storage_QueryWriteStatus_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatusString.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatusString.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java index 8e893433d6..edce608da6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/querywritestatus/SyncQueryWriteStatusString.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/querywritestatus/SyncQueryWriteStatusString.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_querywritestatus_string_sync] +// [START storage_v2_generated_Storage_QueryWriteStatus_String_sync] import com.google.storage.v2.QueryWriteStatusResponse; import com.google.storage.v2.StorageClient; @@ -38,4 +38,4 @@ public static void syncQueryWriteStatusString() throws Exception { } } } -// [END storage_v2_generated_storageclient_querywritestatus_string_sync] +// [END storage_v2_generated_Storage_QueryWriteStatus_String_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/readobject/AsyncReadObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/readobject/AsyncReadObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java index 2c973e42a9..9c514c72f7 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/readobject/AsyncReadObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/readobject/AsyncReadObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_readobject_async] +// [START storage_v2_generated_Storage_ReadObject_async] import com.google.api.gax.rpc.ServerStream; import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonObjectRequestParams; @@ -60,4 +60,4 @@ public static void asyncReadObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_readobject_async] +// [END storage_v2_generated_Storage_ReadObject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/AsyncRewriteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java similarity index 96% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/AsyncRewriteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java index 299e85e484..a85b895d7f 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/AsyncRewriteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/AsyncRewriteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_rewriteobject_async] +// [START storage_v2_generated_Storage_RewriteObject_async] import com.google.api.core.ApiFuture; import com.google.protobuf.ByteString; import com.google.storage.v2.BucketName; @@ -76,4 +76,4 @@ public static void asyncRewriteObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_rewriteobject_async] +// [END storage_v2_generated_Storage_RewriteObject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/SyncRewriteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java similarity index 96% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/SyncRewriteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java index 18fb3abe11..b51f59f440 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/rewriteobject/SyncRewriteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/rewriteobject/SyncRewriteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_rewriteobject_sync] +// [START storage_v2_generated_Storage_RewriteObject_sync] import com.google.protobuf.ByteString; import com.google.storage.v2.BucketName; import com.google.storage.v2.CommonObjectRequestParams; @@ -73,4 +73,4 @@ public static void syncRewriteObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_rewriteobject_sync] +// [END storage_v2_generated_Storage_RewriteObject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/AsyncSetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/AsyncSetIamPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java index fcfef46b4e..d4ee7afcc6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/AsyncSetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/AsyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_setiampolicy_async] +// [START storage_v2_generated_Storage_SetIamPolicy_async] import com.google.api.core.ApiFuture; import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; @@ -49,4 +49,4 @@ public static void asyncSetIamPolicy() throws Exception { } } } -// [END storage_v2_generated_storageclient_setiampolicy_async] +// [END storage_v2_generated_Storage_SetIamPolicy_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java index 162a976b3a..83ce240bc6 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_setiampolicy_sync] +// [START storage_v2_generated_Storage_SetIamPolicy_sync] import com.google.iam.v1.Policy; import com.google.iam.v1.SetIamPolicyRequest; import com.google.storage.v2.CryptoKeyName; @@ -46,4 +46,4 @@ public static void syncSetIamPolicy() throws Exception { } } } -// [END storage_v2_generated_storageclient_setiampolicy_sync] +// [END storage_v2_generated_Storage_SetIamPolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java index eeb939ee73..b8c315d928 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyResourcenamePolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_setiampolicy_resourcenamepolicy_sync] +// [START storage_v2_generated_Storage_SetIamPolicy_ResourcenamePolicy_sync] import com.google.api.resourcenames.ResourceName; import com.google.iam.v1.Policy; import com.google.storage.v2.CryptoKeyName; @@ -42,4 +42,4 @@ public static void syncSetIamPolicyResourcenamePolicy() throws Exception { } } } -// [END storage_v2_generated_storageclient_setiampolicy_resourcenamepolicy_sync] +// [END storage_v2_generated_Storage_SetIamPolicy_ResourcenamePolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyStringPolicy.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyStringPolicy.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java index 7e952f016d..39e5e74725 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/setiampolicy/SyncSetIamPolicyStringPolicy.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/setiampolicy/SyncSetIamPolicyStringPolicy.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_setiampolicy_stringpolicy_sync] +// [START storage_v2_generated_Storage_SetIamPolicy_StringPolicy_sync] import com.google.iam.v1.Policy; import com.google.storage.v2.CryptoKeyName; import com.google.storage.v2.StorageClient; @@ -41,4 +41,4 @@ public static void syncSetIamPolicyStringPolicy() throws Exception { } } } -// [END storage_v2_generated_storageclient_setiampolicy_stringpolicy_sync] +// [END storage_v2_generated_Storage_SetIamPolicy_StringPolicy_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/AsyncStartResumableWrite.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/AsyncStartResumableWrite.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java index 1fd68bad18..6475b7054e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/AsyncStartResumableWrite.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/AsyncStartResumableWrite.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_startresumablewrite_async] +// [START storage_v2_generated_Storage_StartResumableWrite_async] import com.google.api.core.ApiFuture; import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; @@ -51,4 +51,4 @@ public static void asyncStartResumableWrite() throws Exception { } } } -// [END storage_v2_generated_storageclient_startresumablewrite_async] +// [END storage_v2_generated_Storage_StartResumableWrite_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/SyncStartResumableWrite.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/SyncStartResumableWrite.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java index e89e5828c4..3b707f8b52 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/startresumablewrite/SyncStartResumableWrite.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/startresumablewrite/SyncStartResumableWrite.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_startresumablewrite_sync] +// [START storage_v2_generated_Storage_StartResumableWrite_sync] import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.StartResumableWriteRequest; @@ -47,4 +47,4 @@ public static void syncStartResumableWrite() throws Exception { } } } -// [END storage_v2_generated_storageclient_startresumablewrite_sync] +// [END storage_v2_generated_Storage_StartResumableWrite_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/AsyncTestIamPermissions.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/AsyncTestIamPermissions.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java index 66726a9a22..c8eb1c9640 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/AsyncTestIamPermissions.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/AsyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_testiampermissions_async] +// [START storage_v2_generated_Storage_TestIamPermissions_async] import com.google.api.core.ApiFuture; import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; @@ -51,4 +51,4 @@ public static void asyncTestIamPermissions() throws Exception { } } } -// [END storage_v2_generated_storageclient_testiampermissions_async] +// [END storage_v2_generated_Storage_TestIamPermissions_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissions.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissions.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java index f0b6301795..dae7ffbb49 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissions.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissions.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_testiampermissions_sync] +// [START storage_v2_generated_Storage_TestIamPermissions_sync] import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; import com.google.storage.v2.CryptoKeyName; @@ -47,4 +47,4 @@ public static void syncTestIamPermissions() throws Exception { } } } -// [END storage_v2_generated_storageclient_testiampermissions_sync] +// [END storage_v2_generated_Storage_TestIamPermissions_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java index 8e12e2e1b1..fe6593f2b1 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsResourcenameListstring.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_testiampermissions_resourcenameliststring_sync] +// [START storage_v2_generated_Storage_TestIamPermissions_ResourcenameListstring_sync] import com.google.api.resourcenames.ResourceName; import com.google.iam.v1.TestIamPermissionsResponse; import com.google.storage.v2.CryptoKeyName; @@ -44,4 +44,4 @@ public static void syncTestIamPermissionsResourcenameListstring() throws Excepti } } } -// [END storage_v2_generated_storageclient_testiampermissions_resourcenameliststring_sync] +// [END storage_v2_generated_Storage_TestIamPermissions_ResourcenameListstring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsStringListstring.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsStringListstring.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java index b0c702d65d..607b2ed2a4 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/testiampermissions/SyncTestIamPermissionsStringListstring.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/testiampermissions/SyncTestIamPermissionsStringListstring.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_testiampermissions_stringliststring_sync] +// [START storage_v2_generated_Storage_TestIamPermissions_StringListstring_sync] import com.google.iam.v1.TestIamPermissionsResponse; import com.google.storage.v2.CryptoKeyName; import com.google.storage.v2.StorageClient; @@ -43,4 +43,4 @@ public static void syncTestIamPermissionsStringListstring() throws Exception { } } } -// [END storage_v2_generated_storageclient_testiampermissions_stringliststring_sync] +// [END storage_v2_generated_Storage_TestIamPermissions_StringListstring_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/AsyncUpdateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/AsyncUpdateBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java index 692e032a0c..0c093f5357 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/AsyncUpdateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/AsyncUpdateBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_updatebucket_async] +// [START storage_v2_generated_Storage_UpdateBucket_async] import com.google.api.core.ApiFuture; import com.google.protobuf.FieldMask; import com.google.storage.v2.Bucket; @@ -55,4 +55,4 @@ public static void asyncUpdateBucket() throws Exception { } } } -// [END storage_v2_generated_storageclient_updatebucket_async] +// [END storage_v2_generated_Storage_UpdateBucket_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucket.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java index 2a4bf571f4..af6de69a6a 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_updatebucket_sync] +// [START storage_v2_generated_Storage_UpdateBucket_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.Bucket; import com.google.storage.v2.CommonRequestParams; @@ -52,4 +52,4 @@ public static void syncUpdateBucket() throws Exception { } } } -// [END storage_v2_generated_storageclient_updatebucket_sync] +// [END storage_v2_generated_Storage_UpdateBucket_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucketBucketFieldmask.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucketBucketFieldmask.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java index 6155dfd464..def1e336a3 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatebucket/SyncUpdateBucketBucketFieldmask.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatebucket/SyncUpdateBucketBucketFieldmask.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_updatebucket_bucketfieldmask_sync] +// [START storage_v2_generated_Storage_UpdateBucket_BucketFieldmask_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.Bucket; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncUpdateBucketBucketFieldmask() throws Exception { } } } -// [END storage_v2_generated_storageclient_updatebucket_bucketfieldmask_sync] +// [END storage_v2_generated_Storage_UpdateBucket_BucketFieldmask_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/AsyncUpdateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/AsyncUpdateHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java index 4d6bc6bf21..e64d3b00af 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/AsyncUpdateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/AsyncUpdateHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_updatehmackey_async] +// [START storage_v2_generated_Storage_UpdateHmacKey_async] import com.google.api.core.ApiFuture; import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonRequestParams; @@ -49,4 +49,4 @@ public static void asyncUpdateHmacKey() throws Exception { } } } -// [END storage_v2_generated_storageclient_updatehmackey_async] +// [END storage_v2_generated_Storage_UpdateHmacKey_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKey.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java similarity index 93% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKey.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java index 348190181b..315cefd0cd 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKey.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKey.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_updatehmackey_sync] +// [START storage_v2_generated_Storage_UpdateHmacKey_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonRequestParams; import com.google.storage.v2.HmacKeyMetadata; @@ -46,4 +46,4 @@ public static void syncUpdateHmacKey() throws Exception { } } } -// [END storage_v2_generated_storageclient_updatehmackey_sync] +// [END storage_v2_generated_Storage_UpdateHmacKey_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java similarity index 90% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java index 8250c51372..188f04a358 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updatehmackey/SyncUpdateHmacKeyHmackeymetadataFieldmask.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_updatehmackey_hmackeymetadatafieldmask_sync] +// [START storage_v2_generated_Storage_UpdateHmacKey_HmackeymetadataFieldmask_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.HmacKeyMetadata; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncUpdateHmacKeyHmackeymetadataFieldmask() throws Exception } } } -// [END storage_v2_generated_storageclient_updatehmackey_hmackeymetadatafieldmask_sync] +// [END storage_v2_generated_Storage_UpdateHmacKey_HmackeymetadataFieldmask_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/AsyncUpdateObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/AsyncUpdateObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java index 2d58d876e7..a91c083c6c 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/AsyncUpdateObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/AsyncUpdateObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_updateobject_async] +// [START storage_v2_generated_Storage_UpdateObject_async] import com.google.api.core.ApiFuture; import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonObjectRequestParams; @@ -57,4 +57,4 @@ public static void asyncUpdateObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_updateobject_async] +// [END storage_v2_generated_Storage_UpdateObject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java similarity index 94% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java index e754240336..e5dbbf698a 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_updateobject_sync] +// [START storage_v2_generated_Storage_UpdateObject_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; @@ -54,4 +54,4 @@ public static void syncUpdateObject() throws Exception { } } } -// [END storage_v2_generated_storageclient_updateobject_sync] +// [END storage_v2_generated_Storage_UpdateObject_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObjectObjectFieldmask.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java similarity index 91% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObjectObjectFieldmask.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java index 7e6d83d11a..c33865a01e 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/updateobject/SyncUpdateObjectObjectFieldmask.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/updateobject/SyncUpdateObjectObjectFieldmask.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_updateobject_objectfieldmask_sync] +// [START storage_v2_generated_Storage_UpdateObject_ObjectFieldmask_sync] import com.google.protobuf.FieldMask; import com.google.storage.v2.Object; import com.google.storage.v2.StorageClient; @@ -40,4 +40,4 @@ public static void syncUpdateObjectObjectFieldmask() throws Exception { } } } -// [END storage_v2_generated_storageclient_updateobject_objectfieldmask_sync] +// [END storage_v2_generated_Storage_UpdateObject_ObjectFieldmask_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/writeobject/AsyncWriteObject.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java similarity index 95% rename from test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/writeobject/AsyncWriteObject.java rename to test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java index 8ef622a7ea..15ab73a6aa 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storageclient/writeobject/AsyncWriteObject.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storage/writeobject/AsyncWriteObject.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storageclient_writeobject_async] +// [START storage_v2_generated_Storage_WriteObject_async] import com.google.api.gax.rpc.ApiStreamObserver; import com.google.storage.v2.CommonObjectRequestParams; import com.google.storage.v2.CommonRequestParams; @@ -69,4 +69,4 @@ public void onCompleted() { } } } -// [END storage_v2_generated_storageclient_writeobject_async] +// [END storage_v2_generated_Storage_WriteObject_async] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storagesettings/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storagesettings/deletebucket/SyncDeleteBucket.java index 064574c4d5..22d518e905 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storagesettings/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/storagesettings/deletebucket/SyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.samples; -// [START storage_v2_generated_storagesettings_deletebucket_sync] +// [START storage_v2_generated_StorageSettings_DeleteBucket_sync] import com.google.storage.v2.StorageSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncDeleteBucket() throws Exception { StorageSettings storageSettings = storageSettingsBuilder.build(); } } -// [END storage_v2_generated_storagesettings_deletebucket_sync] +// [END storage_v2_generated_StorageSettings_DeleteBucket_sync] diff --git a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/stub/storagestubsettings/deletebucket/SyncDeleteBucket.java b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/stub/storagestubsettings/deletebucket/SyncDeleteBucket.java index 4ac8cb2ed7..73a1bc3c2b 100644 --- a/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/stub/storagestubsettings/deletebucket/SyncDeleteBucket.java +++ b/test/integration/goldens/storage/samples/snippets/generated/main/java/com/google/storage/v2/stub/storagestubsettings/deletebucket/SyncDeleteBucket.java @@ -16,7 +16,7 @@ package com.google.storage.v2.stub.samples; -// [START storage_v2_generated_storagestubsettings_deletebucket_sync] +// [START storage_v2_generated_StorageStubSettings_DeleteBucket_sync] import com.google.storage.v2.stub.StorageStubSettings; import java.time.Duration; @@ -45,4 +45,4 @@ public static void syncDeleteBucket() throws Exception { StorageStubSettings storageSettings = storageSettingsBuilder.build(); } } -// [END storage_v2_generated_storagestubsettings_deletebucket_sync] +// [END storage_v2_generated_StorageStubSettings_DeleteBucket_sync] From 7b811538f43bce565459a320eaaba052ccf1cdce Mon Sep 17 00:00:00 2001 From: Alice Li Date: Wed, 19 Oct 2022 10:26:20 -0400 Subject: [PATCH 3/3] refactor ClassNames --- .../api/generator/gapic/composer/utils/ClassNames.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/google/api/generator/gapic/composer/utils/ClassNames.java b/src/main/java/com/google/api/generator/gapic/composer/utils/ClassNames.java index ed4f6f4305..9d3a93162b 100644 --- a/src/main/java/com/google/api/generator/gapic/composer/utils/ClassNames.java +++ b/src/main/java/com/google/api/generator/gapic/composer/utils/ClassNames.java @@ -26,8 +26,8 @@ public class ClassNames { // Using constants since many of these class names are used often. private static final String MOCK_SERVICE_CLASS_NAME_PATTERN = "Mock%s"; private static final String MOCK_SERVICE_IMPL_CLASS_NAME_PATTERN = "Mock%sImpl"; - private static final String SERVICE_CLIENT_CLASS_NAME_PATTERN = "%sClient"; - private static final String SERVICE_REGION_TAG_NAME_PATTERN = "%s"; + private static final String CLIENT_SUFFIX = "Client"; + private static final String SERVICE_CLIENT_CLASS_NAME_PATTERN = "%s" + CLIENT_SUFFIX; private static final String SERVICE_CLIENT_TEST_CLASS_NAME_PATTERN = "%sClientTest"; private static final String SERVICE_CLIENT_TRANSPORT_TEST_CLASS_NAME_PATTERN = "%sClient%sTest"; private static final String SERVICE_SETTINGS_CLASS_NAME_PATTERN = "%sSettings"; @@ -127,7 +127,7 @@ private static String monolithBackwardsCompatibleName(String rawServiceName) { // For region tags, the service name should not include `Client` in the name public static String getPureServiceName(String serviceClassName) { return String.format( - SERVICE_REGION_TAG_NAME_PATTERN, - Iterables.getFirst(Splitter.on("Client").split(serviceClassName), serviceClassName)); + "%s", + Iterables.getFirst(Splitter.on(CLIENT_SUFFIX).split(serviceClassName), serviceClassName)); } }